Skip to content

Commit cd48a87

Browse files
authored
Merge pull request #606 from rodrigondec/fix/587-exercise-setups-names
Fix/587 exercise setups names
2 parents ef0c588 + 0b8e79d commit cd48a87

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

owasp-top10-2021-apps/a1/ecommerce-api/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ GODEP ?= $(GOBIN)/dep
99
GOLINT ?= $(GOBIN)/golint
1010
GOSEC ?= $(GOBIN)/gosec
1111

12-
A5APIBIN ?= a5ecommerceapi
12+
A1APIBIN ?= a1ecommerceapi
1313

1414
COLOR_RESET = \033[0m
1515
COLOR_COMMAND = \033[36m

owasp-top10-2021-apps/a1/ecommerce-api/deployments/api.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM golang:1.14
22

3-
WORKDIR /go/src/github.com/globocom/secDevLabs/owasp-top10-2017-apps/a5/ecommerce-api/app
3+
WORKDIR /go/src/github.com/globocom/secDevLabs/owasp-top10-2021-apps/a1/ecommerce-api/app
44

55
COPY app/go.mod app/go.sum ./
66
RUN go mod download

owasp-top10-2021-apps/a1/ecommerce-api/deployments/check-init.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ COLOR_GREEN='\033[32m'
99
COLOR_BLUE='\033[1;34m'
1010
COLOR_RESET='\033[0m'
1111

12-
PROJECT='A5 Vulnerable Ecommerce API'
12+
PROJECT='A1 Vulnerable Ecommerce API'
1313
PORT=10005
1414
TRIES=480
1515
LOADING=0
@@ -69,4 +69,4 @@ if [ $TRIES == 0 ]; then
6969
printf "\n${COLOR_RED}SecDevLabs: Ooops! Something went wrong, please check api details for more information!\n${COLOR_RESET}"
7070
else
7171
printf "\n${COLOR_GREEN}SecDevLabs: 🔥 ${PROJECT} is now running at ${COLOR_RESET}${COLOR_BLUE}http://localhost:$PORT${COLOR_RESET}\n"
72-
fi
72+
fi

owasp-top10-2021-apps/a1/ecommerce-api/deployments/docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
version: '3'
22
services:
33

4-
a5api:
5-
container_name: a5api
4+
a1api:
5+
container_name: a1api
66
environment:
77
GOPATH: /go/
88
API_PORT: 10005
@@ -21,7 +21,7 @@ services:
2121
ports:
2222
- "10005:10005"
2323
networks:
24-
- a5_net
24+
- a1_net
2525
depends_on:
2626
- mongodb
2727

@@ -38,9 +38,9 @@ services:
3838
volumes:
3939
- mongo_vol:/data/db
4040
networks:
41-
- a5_net
41+
- a1_net
4242
networks:
43-
a5_net:
43+
a1_net:
4444

4545
volumes:
4646
docker_vol:

0 commit comments

Comments
 (0)