Compare commits
2 Commits
master
...
dev-testin
Author | SHA1 | Date | |
---|---|---|---|
90b09b55ea | |||
d07eb28f58 |
@ -38,7 +38,7 @@ steps:
|
|||||||
- name: coverage
|
- name: coverage
|
||||||
image: python:3.8
|
image: python:3.8
|
||||||
environment:
|
environment:
|
||||||
REDIS_URL: "redis://cache"
|
PRODUCER_REDIS: cache
|
||||||
commands:
|
commands:
|
||||||
- pip3 install --cache-dir='./.pipcache' -r requirements.txt
|
- pip3 install --cache-dir='./.pipcache' -r requirements.txt
|
||||||
- pip3 install --cache-dir='./.pipcache' coverage pytest
|
- pip3 install --cache-dir='./.pipcache' coverage pytest
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
=================
|
|
||||||
Producer endpoint
|
|
||||||
=================
|
|
||||||
Manages IP changes of consumers. If a consumer sends a message to /ip endpoint, it will write the gotten IP address into the redis DB.
|
|
||||||
|
|
||||||
Produced by GoldenPogácsa Inc.
|
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
curl --header "Content-Type: application/json" \
|
curl --header "Content-Type: application/json" \
|
||||||
--request POST \
|
--request POST \
|
||||||
--data '{"uuid":"c959ad81-58f9-4445-aab4-8f3d68aee1ad", "ip":"127.1.2.3"}' \
|
--data '{"uuid":"c959ad81-58f9-4445-aab4-8f3d68aee1ad", "ip":"127.1.2.3"}' \
|
||||||
http://localhost:5000/ip
|
http://localhost:5000/ip
|
||||||
|
Reference in New Issue
Block a user