Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/19 gateway centralized swagger UI #83

Open
wants to merge 13 commits into
base: development
Choose a base branch
from

Conversation

ChromaChroma
Copy link
Collaborator

Closes #19
Closes #82
Added Eureka server module for service registry
Added Multiple OpenApi Definition Cache for registered services
Added Central Swagger UI to gateway that can load and show OpenApi Definitions of registered services.

Moved some gradle dependencies to each submodule that requires it to reduce submodules with unused dependencies.
Add Eureka server and Eureka discovery client to dependencies
Add dependency docs
Add eureka server
Add eureka to all client services and properties
Fix Person service has product application name
Add configurable eureka registry service routes
Compact the properties of gateway
* Add In memory store of docs of active services
* Add service api docs endpoint
* Add custom UI multi OpenApi Definitions to config
Convert OpnApiDefinition from annotation to programmatically
Remove bartap- prefix from application names adn their processing
@github-actions
Copy link

github-actions bot commented Jul 31, 2022

Test Results

  13 files   - 10    13 suites   - 10   4s ⏱️ -6s
131 tests  - 62  131 ✔️  - 62  0 💤 ±0  0 ±0 
131 runs   - 64  131 ✔️  - 64  0 💤 ±0  0 ±0 

Results for commit 5fd6246. ± Comparison against base commit 416930d.

This pull request removes 67 and adds 5 tests. Note that renamed tests count towards both.
com.tungstun.bill.domain.bill.OrderTest ‑ [1] expectedValue=2.0, amountOfProducts=1, product=com.tungstun.bill.domain.product.Product@339e6538
com.tungstun.bill.domain.bill.OrderTest ‑ [2] expectedValue=4.0, amountOfProducts=2, product=com.tungstun.bill.domain.product.Product@673faddf
com.tungstun.bill.domain.bill.OrderTest ‑ [3] expectedValue=0.0, amountOfProducts=1, product=com.tungstun.bill.domain.product.Product@5cbf2d80
com.tungstun.bill.domain.bill.OrderTest ‑ [4] expectedValue=0.0, amountOfProducts=2, product=com.tungstun.bill.domain.product.Product@2c93fefb
com.tungstun.gateway.GatewayApplicationTests ‑ contextLoads()
com.tungstun.person.PersonApplicationTests ‑ contextLoads()
com.tungstun.product.ProductApplicationTests ‑ contextLoads()
com.tungstun.product.application.product.ProductCommandHandlerMessageTest ‑ createProduct_PublishesProductCreated()
com.tungstun.product.application.product.ProductCommandHandlerMessageTest ‑ deleteProduct_PublishesProductDeleted()
com.tungstun.product.application.product.ProductCommandHandlerMessageTest ‑ updateProduct_PublishesProductUpdated()
…
com.tungstun.bill.domain.bill.OrderTest ‑ [1] expectedValue=2.0, amountOfProducts=1, product=com.tungstun.bill.domain.product.Product@62deaad1
com.tungstun.bill.domain.bill.OrderTest ‑ [2] expectedValue=4.0, amountOfProducts=2, product=com.tungstun.bill.domain.product.Product@73f84c1a
com.tungstun.bill.domain.bill.OrderTest ‑ [3] expectedValue=0.0, amountOfProducts=1, product=com.tungstun.bill.domain.product.Product@2be86b46
com.tungstun.bill.domain.bill.OrderTest ‑ [4] expectedValue=0.0, amountOfProducts=2, product=com.tungstun.bill.domain.product.Product@25f4a381
com.tungstun.eurekaserver.EurekaServerApplicationTests ‑ contextLoads()

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Service registry Central Gateway Swagger-UI showing all service's openapi docs
1 participant