Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rmqplus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenVMS
WASD
rmqplus
Commits
1b9a5fbe9cc1
Commit
1b9a5fbe9cc1
authored
4 years ago
by
jfp
Browse files
Options
Downloads
Patches
Plain Diff
Add usage information
parent
af309834765f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+29
-12
29 additions, 12 deletions
README.md
with
29 additions
and
12 deletions
README.md
+
29
−
12
View file @
1b9a5fbe
rmqplus proxy a web request to RabbitMQ.
rmqplus proxy a web request to RabbitMQ.
Example of WASD rule :
## Installation
1.
Create file rmqpluscmd.com
<br>
`copy rmqpluscmd.template file to rmqpluscmd.com`
2.
Edit rmqpluscmd.com and update at least
-
RMQPLUS_HOSTNAME
-
RMQPLUS_USERNAME
-
RMQPLUS_PASSWORD
3.
Set the WASD rules
-
example:
```
```
set /rmqplus/* script=query=relaxed
set /rmqplus/* script=query=relaxed
set /rmqplus/* throttle=1,,,30
set /rmqplus/* throttle=1,,,30
...
@@ -9,4 +17,13 @@
...
@@ -9,4 +17,13 @@
set /rmqplus/* ods=5 script=syntax=unix
set /rmqplus/* ods=5 script=syntax=unix
set /rmqplus/* cgiprefix=""
set /rmqplus/* cgiprefix=""
script+ /rmqplus/* /dev/dir/rmqpluscmd*
script+ /rmqplus/* /dev/dir/rmqpluscmd*
```
```
\ No newline at end of file
4.
Optional run the provided example
<br>
-
create a RabbitMQ
`rpc_queue`
queue
-
run the python example server
<br>
`python rpc_server.py ip_rabbitmq_server username password`
-
Execute a test request
<br>
`http://wasd_server/rmqplus//?FirstField=for&SecondField=other`
-
This should display a result json
```
json
{
"status"
:
1
,
"value"
:
"for other"
}
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment