diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..8a25498 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,43 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "java", + "name": "Current File", + "request": "launch", + "mainClass": "${file}" + }, + { + "type": "java", + "name": "GiftCodeServiceApplication", + "request": "launch", + "mainClass": "com.dken.giftcodeservice.GiftCodeServiceApplication", + "projectName": "gift-code-service", + "env": { + "SPRING_PROFILES_ACTIVE": "dev" + } + }, + { + "type": "java", + "name": "UserServiceApplication", + "request": "launch", + "mainClass": "com.dken.userservice.UserServiceApplication", + "projectName": "user-service", + "env": { + "SPRING_PROFILES_ACTIVE": "dev" + } + } + ], + "compounds": [ + { + "name": "Run User + GiftCode", + "configurations": [ + "UserServiceApplication", + "GiftCodeServiceApplication" + ] + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..8f2b711 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "java.compile.nullAnalysis.mode": "disabled" +} \ No newline at end of file diff --git a/giftCode-service/src/main/resources/application-docker.yml b/giftCode-service/src/main/resources/application-docker.yml deleted file mode 100644 index b3e7b90..0000000 --- a/giftCode-service/src/main/resources/application-docker.yml +++ /dev/null @@ -1,14 +0,0 @@ -server: - port: 8602 - -spring: - application: - name: gift-code-service - data: - mongodb: - host: mongodb - port: 27017 - database: gift-codedb - redis: - host: redis - port: 6379 \ No newline at end of file diff --git a/user-service/src/main/resources/application-docker.yml b/user-service/src/main/resources/application-docker.yml deleted file mode 100644 index 63279e1..0000000 --- a/user-service/src/main/resources/application-docker.yml +++ /dev/null @@ -1,18 +0,0 @@ -server: - port: 8601 - -giftcode: - service: - url: http://giftcode-service:8602 - -spring: - application: - name: user-service - data: - mongodb: - host: mongodb - port: 27017 - database: userdb - redis: - host: redis - port: 6379 \ No newline at end of file