Skip to content

Commit 606b3fd

Browse files
author
Wout Feys
committed
8084 -> 8094 and 8085 -> 8095 for flask-mongo
1 parent bb9a472 commit 606b3fd

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

end2end/flask_mongo_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import pytest
22
import requests
33
# e2e tests for flask_mysql sample app
4-
post_url_fw = "http://localhost:8084/create"
5-
post_url_nofw = "http://localhost:8085/create"
4+
post_url_fw = "http://localhost:8094/create"
5+
post_url_nofw = "http://localhost:8095/create"
66

7-
post_json_url_fw = "http://localhost:8084/auth"
8-
post_json_url_nofw = "http://localhost:8085/auth"
7+
post_json_url_fw = "http://localhost:8094/auth"
8+
post_json_url_nofw = "http://localhost:8095/auth"
99

1010
# Create dogs:
1111
def test_create_dog_fw():

sample-apps/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Overview :
88
- Runs on 8082. Without Aikido runs on 8083
99
- `flask-mongo/` is a Flask app using MongoDB.
1010
- It runs **multi-threaded**
11-
- Runs on 8084. Without Aikido runs on 8085
11+
- Runs on 8094. Without Aikido runs on 8095
1212
- `flask-mysql/` is a Flask app using MySQL.
1313
- It runs **single-threaded**
1414
- Runs on 8086. Without Aikido runs on 8087

sample-apps/flask-mongo/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ Run (with docker-compose installed) :
77
docker-compose up --build
88
```
99

10-
- You'll be able to access the Flask Server at : [localhost:8084](http://localhost:8084)
11-
- To Create a reference test dog use `http://localhost:8084/create/`
12-
- To test the nosql injection go to `http://localhost:8084/auth/`
10+
- You'll be able to access the Flask Server at : [localhost:8094](http://localhost:8094)
11+
- To Create a reference test dog use `http://localhost:8094/create/`
12+
- To test the nosql injection go to `http://localhost:8094/auth/`

sample-apps/flask-mongo/docker-compose.benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
volumes:
88
- .:/app
99
ports:
10-
- "8085:5000"
10+
- "8095:5000"
1111
depends_on:
1212
- db
1313
networks:

sample-apps/flask-mongo/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ services:
2727
volumes:
2828
- .:/app
2929
ports:
30-
- "8084:5000"
30+
- "8094:5000"
3131
depends_on:
3232
- db
3333
networks:

0 commit comments

Comments
 (0)