Skip to content

Commit 2a6d4cb

Browse files
committed
fix: correct endpoints of most models slightly or completely
1 parent 4b3ed4c commit 2a6d4cb

File tree

13 files changed

+45
-45
lines changed

13 files changed

+45
-45
lines changed

dataset/apssouza22_java-microservice/apssouza22_java-microservice.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ digraph dfd2{
1414
eureka_server [label = "{Service: eureka_server | --service_discovery--\n--infrastructural--\n--local_logging--\nService Discovery: Eureka\nPort: 8010\n}" shape = Mrecord];
1515
config_server -> eureka_server [label = " --restful_http--\n"]
1616
eureka_server -> admin [label = " --restful_http--\n"]
17-
user_service [label = "{Service: user_service | --internal--\n--local_logging--\nPort: 8016\n}" shape = Mrecord];
17+
user_service [label = "{Service: user_service | --internal--\n--local_logging--\nPort: 8016\nEndpoints: ['/accounts', '/accounts/{id}', '/accounts/search', '/users']}" shape = Mrecord];
1818
admin -> user_service [label = " --restful_http--\n"]
1919
config_server -> user_service [label = " --restful_http--\n"]
2020
kafka [label = "{Service: kafka | --message_broker--\n--infrastructural--\nMessage Broker: Kafka\nPort: 9092\n}" shape = Mrecord];
21-
mailer [label = "{Service: mailer | --internal--\n--local_logging--\nPort: 8020\n}" shape = Mrecord];
21+
mailer [label = "{Service: mailer | --internal--\n--local_logging--\nPort: 8020\nEndpoints: ['/emails', '/send', '/send/email']}" shape = Mrecord];
2222
admin -> mailer [label = " --restful_http--\n"]
2323
config_server -> mailer [label = " --restful_http--\n"]
2424
mailer -> eureka_server [label = " --restful_http--\n"]
2525
kafka -> mailer [label = " --restful_http--\n--message_consumer_kafka--\n'Consumer Topic': todo-mail\n"]
26-
reminder [label = "{Service: reminder | --internal--\n--local_logging--\nPort: 8015\n}" shape = Mrecord];
26+
reminder [label = "{Service: reminder | --internal--\n--local_logging--\nPort: 8015\nEndpoints: ['/todo-changes', '/todos', '/todos/search', '/todos/{id}', '/todos/{id}/status', '/todo-statistics']}" shape = Mrecord];
2727
reminder -> eureka_server [label = " --restful_http--\n"]
2828
admin -> reminder [label = " --restful_http--\n"]
2929
config_server -> reminder [label = " --restful_http--\n"]
3030
reminder -> kafka [label = " --restful_http--\n--message_producer_kafka--\n'Producer Topic': todo-mail\n"]
31-
api_gateway [label = "{Service: api_gateway | --gateway--\n--circuit_breaker--\n--resource_server--\n--infrastructural--\n--csrf_disabled--\n--local_logging--\nCircuit Breaker: Hystrix\nPort: 8018\n}" shape = Mrecord];
31+
api_gateway [label = "{Service: api_gateway | --gateway--\n--circuit_breaker--\n--resource_server--\n--infrastructural--\n--csrf_disabled--\n--local_logging--\nCircuit Breaker: Hystrix\nPort: 8018\nEndpoints: ['/todos', '/accounts', '/accounts/me', '/accounts/me/todos']}" shape = Mrecord];
3232
eureka_server -> api_gateway [label = " --restful_http--\n"]
3333
admin -> api_gateway [label = " --restful_http--\n"]
3434
config_server -> api_gateway [label = " --restful_http--\n"]

dataset/callistaenterprise_blog-microservices/callistaenterprise_blog-microservices.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ digraph dfd2{
3232
turbine_server -> monitor_dashboard [label = " --restful_http--\n"]
3333
zipkin_server [label = "{Service: zipkin_server | --infrastructural--\n--tracing_server--\nPort: 9411\nTracing Server: Zipkin\n}" shape = Mrecord];
3434
rabbitmq -> zipkin_server [label = " --restful_http--\n"]
35-
product_service [label = "{Service: product_service | --internal--\n--local_logging--\nPort: 8080\nEndpoints: ['/product/\{productId\}', '/set-Serviceing-time']\n}" shape = Mrecord];
35+
product_service [label = "{Service: product_service | --internal--\n--local_logging--\nPort: 8080\nEndpoints: ['/product/\{productId\}', '/set-processing-time']\n}" shape = Mrecord];
3636
config_server -> product_service [label = " --restful_http--\nProtocol: HTTPS"]
3737
product_service -> discovery_server [label = " --restful_http--\n"]
38-
recommendation_service [label = "{Service: recommendation_service | --internal--\n--local_logging--\nPort: 8080\nEndpoints: ['/recommendation', '/set-Serviceing-time']\n}" shape = Mrecord];
38+
recommendation_service [label = "{Service: recommendation_service | --internal--\n--local_logging--\nPort: 8080\nEndpoints: ['/recommendation', '/set-processing-time']\n}" shape = Mrecord];
3939
config_server -> recommendation_service [label = " --restful_http--\nProtocol: HTTPS"]
4040
recommendation_service -> discovery_server [label = " --restful_http--\n"]
41-
review_service [label = "{Service: review_service | --internal--\n--local_logging--\nPort: 8080\nEndpoints: ['/review', '/set-Serviceing-time']\n}" shape = Mrecord];
41+
review_service [label = "{Service: review_service | --internal--\n--local_logging--\nPort: 8080\nEndpoints: ['/review', '/set-processing-time']\n}" shape = Mrecord];
4242
config_server -> review_service [label = " --restful_http--\nProtocol: HTTPS"]
4343
review_service -> discovery_server [label = " --restful_http--\n"]
4444
composite_service [label = "{Service: composite_service | --internal--\n--local_logging--\n--load_balancer--\n--circuit_breaker--\n--resource_server--\nPort: 8080\nEndpoints: ['/', '/\{productId\}']\nLoad Balancer: Spring Cloud\n}" shape = Mrecord];

dataset/ewolff_microservice-kafka/ewolff_microservice-kafka.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ digraph dfd2{
1111
zookeeper [label = "{Service: zookeeper | --configuration_server--\n--infrastructural--\nConfiguration Server: ZooKeeper\n}" shape = Mrecord];
1212
kafka [label = "{Service: kafka | --message_broker--\n--infrastructural--\nMessage Broker: Kafka\nPort: 9092\n}" shape = Mrecord];
1313
zookeeper -> kafka [label = " --restful_http--\n"]
14-
order [label = "{Service: order | --internal--\nPort: 8080\nEndpoints: ['/order']\n}" shape = Mrecord];
14+
order [label = "{Service: order | --internal--\nPort: 8080\nEndpoints: ['/', '/form.html', '/line', '/\{id\}']\n}" shape = Mrecord];
1515
order -> kafka [label = " --restful_http--\n--message_producer_kafka--\n'Producer Topic': order\n"]
16-
invoicing [label = "{Service: invoicing | --internal--\n--local_logging--\nPort: 8080\n}" shape = Mrecord];
16+
invoicing [label = "{Service: invoicing | --internal--\n--local_logging--\nPort: 8080\nEndpoints: ['/', '/\{id\}']}" shape = Mrecord];
1717
kafka -> invoicing [label = " --restful_http--\n--message_consumer_kafka--\n'Consumer Topic': order\n"]
18-
shipping [label = "{Service: shipping | --internal--\n--local_logging--\nPort: 8080\n}" shape = Mrecord];
18+
shipping [label = "{Service: shipping | --internal--\n--local_logging--\nPort: 8080\nEndpoints: ['/', '/\{id\}']}" shape = Mrecord];
1919
kafka -> shipping [label = " --restful_http--\n--message_consumer_kafka--\n'Consumer Topic': order\n"]
2020
apache [label = "{Service: apache | --web_server--\n--infrastructural--\nWeb Server: Apache httpd\nPort: 80\n}" shape = Mrecord];
2121
apache -> order [label = " --restful_http--\n"]

dataset/ewolff_microservice/ewolff_microservice.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ digraph dfd2{
1616
zuul -> user [label = " --restful_http--\n"]
1717
turbine [label = "{Service: turbine | --monitoring_server--\n--monitoring_dashboard--\n--infrastructural--\nMonitoring Server: Turbine\nMonitoring Dashboard: Hystrix\nPort: 8989\n}" shape = Mrecord];
1818
turbine -> eureka [label = " --restful_http--\n"]
19-
catalog [label = "{Service: catalog | --internal--\nPort: 8080\nEndpoints: ['/catalog', '/\{id\}.html', '/list.html', '/form.html', '/searchForm.html', '/searchByName.html']\n}" shape = Mrecord];
19+
catalog [label = "{Service: catalog | --internal--\nPort: 8080\nEndpoints: ['/\{id\}.html', '/list.html', '/form.html', '/searchForm.html', '/searchByName.html']\n}" shape = Mrecord];
2020
catalog -> eureka [label = " --restful_http--\n"]
21-
customer [label = "{Service: customer | --internal--\nPort: 8080\nEndpoints: ['/form.html', '/list.html', '/\{id\}.html', '/customer']\n}" shape = Mrecord];
21+
customer [label = "{Service: customer | --internal--\nPort: 8080\nEndpoints: ['/form.html', '/list.html', '/\{id\}.html']\n}" shape = Mrecord];
2222
customer -> eureka [label = " --restful_http--\n"]
23-
order [label = "{Service: order | --internal--\n--load_balancer--\n--circuit_breaker--\n--local_logging--\nLoad Balancer: Ribbon\nCircuit Breaker: Hystrix\nPort: 8080\nEndpoints: ['/', '/form.html', '/\{id\}', '/line', '/order']\n}" shape = Mrecord];
23+
order [label = "{Service: order | --internal--\n--load_balancer--\n--circuit_breaker--\n--local_logging--\nLoad Balancer: Ribbon\nCircuit Breaker: Hystrix\nPort: 8080\nEndpoints: ['/', '/form.html', '/\{id\}', '/line']\n}" shape = Mrecord];
2424
order -> eureka [label = " --restful_http--\n"]
2525
order -> catalog [label = " --restful_http--\n"]
2626
order -> customer [label = " --restful_http--\n"]

dataset/fernandoabcampos_spring-netflix-oss-microservices/fernandoabcampos_spring-netflix-oss-microservices.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ digraph dfd2{
1414
discovery_service [label = "{Service: discovery_service | --service_discovery--\n--infrastructural--\nService Discovery: Eureka\nPort: 8761\n}" shape = Mrecord];
1515
config_server -> discovery_service [label = " --restful_http--\n"]
1616
rabbitmq [label = "{Service: rabbitmq | --message_broker--\n--infrastructural--\nMessage Broker: RabbitMQ\nPort: 5672\n}" shape = Mrecord];
17-
monitor_dashboard [label = "{Service: monitor_dashboard | --monitoring_dashboard--\n--infrastructural--\nMonitoring Dashboard: Hystrix\nPort: 8179\n}" shape = Mrecord];
17+
monitor_dashboard [label = "{Service: monitor_dashboard | --monitoring_dashboard--\n--infrastructural--\nMonitoring Dashboard: Hystrix\nPort: 8179\nEndpoints: ['/']}" shape = Mrecord];
1818
monitor_dashboard -> discovery_service [label = " --restful_http--\n"]
1919
config_server -> monitor_dashboard [label = " --restful_http--\n"]
2020
turbine [label = "{Service: turbine | --monitoring_server--\n--infrastructural--\nMonitoring Server: Turbine\nPort: 8989\n}" shape = Mrecord];
2121
turbine -> discovery_service [label = " --restful_http--\n"]
2222
rabbitmq -> turbine [label = " --restful_http--\n"]
2323
config_server -> turbine [label = " --restful_http--\n"]
2424
turbine -> monitor_dashboard [label = " --restful_http--\n"]
25-
statement_service [label = "{Service: statement_service | --internal--\nPort: 8080\n}" shape = Mrecord];
25+
statement_service [label = "{Service: statement_service | --internal--\nPort: 8080\nEndpoints: ['/api', '/api/statement/\{statementId\}', '/api/statement', /api/statements']}" shape = Mrecord];
2626
statement_service -> discovery_service [label = " --restful_http--\n"]
2727
config_server -> statement_service [label = " --restful_http--\n"]
28-
card_service [label = "{Service: card_service | --internal--\nPort: 8080\n}" shape = Mrecord];
28+
card_service [label = "{Service: card_service | --internal--\nPort: 8080\nEndpoints: ['/api', '/api/cards', '/api/card/\{cardId\}', '/api/new-card']}" shape = Mrecord];
2929
card_service -> discovery_service [label = " --restful_http--\n"]
3030
config_server -> card_service [label = " --restful_http--\n"]
31-
card_statement_composite [label = "{Service: card_statement_composite | --internal--\n--circuit_breaker--\nPort: 8080\nCircuit Breaker: Hystrix\n}" shape = Mrecord];
31+
card_statement_composite [label = "{Service: card_statement_composite | --internal--\n--circuit_breaker--\nPort: 8080\nCircuit Breaker: Hystrix\nEndpoints: ['/api', '/api/cards', '/api/card/\{cardId\}', '/api/new-card', '/api/statement-by-card', '/api/statement/\{statementId\}', '/api/statement', '/api/statements']}" shape = Mrecord];
3232
card_statement_composite -> discovery_service [label = " --restful_http--\n--circuit_breaker_link--\n"]
3333
card_statement_composite -> card_service [label = " --restful_http--\n--circuit_breaker_link--\n--feign_connection--\n--load_balanced_link--\n'Circuit Breaker': Hystrix\n 'Load Balancer': Ribbon\n"]
3434
card_statement_composite -> statement_service [label = " --restful_http--\n--circuit_breaker_link--\n--feign_connection--\n--load_balanced_link--\n'Circuit Breaker': Hystrix\n 'Load Balancer': Ribbon\n"]

dataset/georgwittberger_apache-spring-boot-microservice-example/georgwittberger_apache-spring-boot-microservice-example.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ skinparam defaultFontSize 11
88

99
digraph dfd2{
1010
node[shape=record]
11-
apache_server [label = "{Service: apache_server | --web_server--\n--infrastructural--\nWeb Server: Apache httpd\n}" shape = Mrecord];
12-
user [label = "{External Entity: user | --user_stereotype--\n--entrypoint--\n--exitpoint--\n}"];
13-
user -> apache_server [label = " --restful_http--\n"]
14-
apache_server -> user [label = " --restful_http--\n"]
15-
content_service [label = "{Service: content_service | --internal--\nPort: 11080\n}" shape = Mrecord];
16-
product_service [label = "{Service: product_service | --internal--\nPort: 11081\n}" shape = Mrecord];
17-
cart_service [label = "{Service: cart_service | --internal--\nPort: 11082\n}" shape = Mrecord];
18-
cart_service -> product_service [label = " --restful_http--\n"]
19-
apache_server -> cart_service [label = " --restful_http--\n"]
20-
apache_server -> product_service [label = " --restful_http--\n"]
21-
apache_server -> content_service [label = " --restful_http--\n"]
11+
apache_server [label = "{Service: apache_server | --web_server--\n--infrastructural--\nWeb Server: Apache httpd}" shape = Mrecord];
12+
user [label = "{External Entity: user | --user_stereotype--\n--entrypoint--\n--exitpoint--}"];
13+
user -> apache_server [label = " --restful_http--"]
14+
apache_server -> user [label = " --restful_http--"]
15+
content_service [label = "{Service: content_service | --internal--\nPort: 11080\nEndpoints: ['/']}" shape = Mrecord];
16+
product_service [label = "{Service: product_service | --internal--\nPort: 11081\nEndpoints: ['/', '/add/\{seoName\}']}" shape = Mrecord];
17+
cart_service [label = "{Service: cart_service | --internal--\nPort: 11082\nEndpoints: ['/', '/count', '/\{seoName\}']}" shape = Mrecord];
18+
cart_service -> product_service [label = " --restful_http--"]
19+
apache_server -> cart_service [label = " --restful_http--"]
20+
apache_server -> product_service [label = " --restful_http--"]
21+
apache_server -> content_service [label = " --restful_http--"]
2222

2323
}
2424
@enduml

dataset/jferrater_tap-and-eat-microservices/jferrater_tap-and-eat-microservices.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ digraph dfd2{
2222
store_service [label = "{Service: store_service | --internal--\nPort: 8003\nEndpoints: ['/stores']\n}" shape = Mrecord];
2323
config_service -> store_service [label = " --restful_http--\n"]
2424
store_service -> discovery_service [label = " --restful_http--\n"]
25-
item_service [label = "{Service: item_service | --internal--\nPort: 8004\nEndpoints: ['/items']\n}" shape = Mrecord];
25+
item_service [label = "{Service: item_service | --internal--\nPort: 8004\nEndpoints: ['/items/search/findByItemCode?itemCode=\{itemCode\}']\n}" shape = Mrecord];
2626
config_service -> item_service [label = " --restful_http--\n"]
2727
item_service -> discovery_service [label = " --restful_http--\n"]
28-
price_service [label = "{Service: price_service | --internal--\nPort: 8001\nEndpoints: ['/prices']\n}" shape = Mrecord];
28+
price_service [label = "{Service: price_service | --internal--\nPort: 8001\nEndpoints: ['/prices/search/findByItemCode?itemCode=\{itemCode\}']\n}" shape = Mrecord];
2929
config_service -> price_service [label = " --restful_http--\n"]
3030
price_service -> discovery_service [label = " --restful_http--\n"]
3131
foodtray_service [label = "{Service: foodtray_service | --infrastructural--\n--monitoring_dashboard--\n--circuit_breaker--\nMonitoring Dashboard: Hystrix\nCircuit Breaker: Hystrix\nPort: 8005\nEndpoints: ['/foodtrays', '/foodtrays/\{itemCode\}', '/foodtrays/price/\{itemCode\}', '/foodtrays/item/\{itemCode\}']\n}" shape = Mrecord];

dataset/mdeket_spring-cloud-movie-recommendation/mdeket_spring-cloud-movie-recommendation.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ digraph dfd2{
1818
config_service -> movie_service [label = " --restful_http--\n"]
1919
database_movie_service [label = "{External Entity: database_movie_service | --entrypoint--\n--exitpoint--\n--external_database--\n}"];
2020
database_movie_service -> movie_service [label = " --jdbc--\n"]
21-
user_service [label = "{Service: user_service | --internal--\nPort: 8001\nEndpoints: ['/user', '/user/\{userId\}']\n}" shape = Mrecord];
21+
user_service [label = "{Service: user_service | --internal--\nPort: 8001\nEndpoints: ['/user', '/user/\{userId\}', '/newuser']\n}" shape = Mrecord];
2222
user_service -> eureka_service [label = " --restful_http--\n"]
2323
config_service -> user_service [label = " --restful_http--\n"]
2424
database_user_service [label = "{External Entity: database_user_service | --entrypoint--\n--exitpoint--\n--external_database--\n--plaintext_credentials--\nPort: 3306\nDatabase: MySQL\nUsername: root\nPassword: root\n}"];
@@ -28,7 +28,7 @@ digraph dfd2{
2828
config_service -> recommendation_service [label = " --restful_http--\n"]
2929
database_recommendation_service [label = "{External Entity: database_recommendation_service | --exitpoint--\n--entrypoint--\n--external_database--\n--plaintext_credentials--\nDatabase: Neo4j\nPort: 7474\nUsername: neo4j\nPassword: root\n}"];
3030
database_recommendation_service -> recommendation_service [label = " --jdbc--\n--plaintext_credentials_link--\n'Username': neo4j\n 'Password': root\n"]
31-
recommendation_client [label = "{Service: recommendation_client | --gateway--\n--monitoring_dashboard--\n--local_logging--\n--infrastructural--\n--circuit_breaker--\n--load_balancer--\nPort: 9000\nGateway: Zuul\nMonitoring Dashboard: Hystrix\nCircuit Breaker: Hystrix\nLoad Balancer: Ribbon\nEndpoints: ['/user/\{userId\}', '/api/userDetails/\{userId\}', '/user', '/api', '/recommendation/dummyData', '/movie/dummyData', '/newuser', '/api/recommendation/user/\{userId\}', '/movie']\n}" shape = Mrecord];
31+
recommendation_client [label = "{Service: recommendation_client | --gateway--\n--monitoring_dashboard--\n--local_logging--\n--infrastructural--\n--circuit_breaker--\n--load_balancer--\nPort: 9000\nGateway: Zuul\nMonitoring Dashboard: Hystrix\nCircuit Breaker: Hystrix\nLoad Balancer: Ribbon\nEndpoints: ['/api/userDetails/\{userId\}', '/api', '/api/recommendation/user/\{userId\}']\n}" shape = Mrecord];
3232
eureka_service -> recommendation_client [label = " --restful_http--\n"]
3333
user [label = "{External Entity: user | --user_stereotype--\n--entrypoint--\n--exitpoint--\n}"];
3434
user -> recommendation_client [label = " --restful_http--\n"]

0 commit comments

Comments
 (0)