-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified response type of car and polygon services to return detailed…
… cars and strategic respectively, cars are returned in the list by car service sorted according to their vin, implemented end to end flows of position service, impleemnted algorithm to check if a poijht lies within a polygon in position service, implemented unit tests for verifying car and polygon placement algorithm with all edge cases, added networking attributes, host names in docker compose
- Loading branch information
1 parent
7ed90a9
commit a71f5c6
Showing
58 changed files
with
902 additions
and
334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
version: "3.9" | ||
|
||
services: | ||
|
||
documentdb-service: | ||
image: mongo:4.4-bionic | ||
container_name: documentdb-service | ||
hostname: documentdb-service | ||
volumes: | ||
- "/data/db:/opt/sharenow-coding-challenge-data/mongodb" | ||
ports: | ||
- "27017:27017" | ||
|
||
naming-service: | ||
image: teenthofabud/sharenow-coding-challenge-naming-service:1.0.0-SNAPSHOT | ||
container_name: naming-service | ||
hostname: naming-service | ||
ports: | ||
- "8761:8761" | ||
|
||
configuration-service: | ||
image: teenthofabud/sharenow-coding-challenge-configuration-service:1.0.0-SNAPSHOT | ||
container_name: configuration-service | ||
hostname: configuration-service | ||
ports: | ||
- "8888:8888" | ||
|
||
tracing-service: | ||
image: openzipkin/zipkin | ||
container_name: tracing-service | ||
hostname: tracing-service | ||
ports: | ||
- "9411:9411" | ||
|
||
polygon-service: | ||
image: teenthofabud/sharenow-coding-challenge-polygon-service:1.0.0-SNAPSHOT | ||
container_name: polygon-service | ||
hostname: polygon-service | ||
environment: | ||
- PROFILE=staging | ||
- DOCUMENTDB_SERVER_HOST=documentdb-service | ||
- DOCUMENTDB_SERVER_PORT=27017 | ||
- TRACING_SERVER_URL=http://tracing-service:9411 | ||
- CONFIGURATION_SERVER_URL=http://configuration-service:8888 | ||
- NAMING_SERVER_URL=http://naming-service:8761 | ||
depends_on: | ||
- documentdb-service | ||
- configuration-service | ||
- naming-service | ||
- tracing-service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
...nthofabud/codingchallenge/sharenow/gateway/configuration/GatewayServiceConfiguration.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.