#1113 Add uml-reverse-mapper plugin
This commit is contained in:
		@@ -0,0 +1,43 @@
 | 
			
		||||
@startuml
 | 
			
		||||
package com.iluwatar.aggregator.microservices {
 | 
			
		||||
  class Aggregator {
 | 
			
		||||
    - informationClient : ProductInformationClient
 | 
			
		||||
    - inventoryClient : ProductInventoryClient
 | 
			
		||||
    + Aggregator()
 | 
			
		||||
    + getProduct() : Product
 | 
			
		||||
  }
 | 
			
		||||
  class App {
 | 
			
		||||
    + App()
 | 
			
		||||
    + main(args : String[]) {static}
 | 
			
		||||
  }
 | 
			
		||||
  class Product {
 | 
			
		||||
    - productInventories : int
 | 
			
		||||
    - title : String
 | 
			
		||||
    + Product()
 | 
			
		||||
    + getProductInventories() : int
 | 
			
		||||
    + getTitle() : String
 | 
			
		||||
    + setProductInventories(productInventories : int)
 | 
			
		||||
    + setTitle(title : String)
 | 
			
		||||
  }
 | 
			
		||||
  interface ProductInformationClient {
 | 
			
		||||
    + getProductTitle() : String {abstract}
 | 
			
		||||
  }
 | 
			
		||||
  class ProductInformationClientImpl {
 | 
			
		||||
    - LOGGER : Logger {static}
 | 
			
		||||
    + ProductInformationClientImpl()
 | 
			
		||||
    + getProductTitle() : String
 | 
			
		||||
  }
 | 
			
		||||
  interface ProductInventoryClient {
 | 
			
		||||
    + getProductInventories() : Integer {abstract}
 | 
			
		||||
  }
 | 
			
		||||
  class ProductInventoryClientImpl {
 | 
			
		||||
    - LOGGER : Logger {static}
 | 
			
		||||
    + ProductInventoryClientImpl()
 | 
			
		||||
    + getProductInventories() : Integer
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
Aggregator -->  "-informationClient" ProductInformationClient
 | 
			
		||||
Aggregator -->  "-inventoryClient" ProductInventoryClient
 | 
			
		||||
ProductInformationClientImpl ..|> ProductInformationClient 
 | 
			
		||||
ProductInventoryClientImpl ..|> ProductInventoryClient 
 | 
			
		||||
@enduml
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
@startuml
 | 
			
		||||
@enduml
 | 
			
		||||
@@ -0,0 +1,12 @@
 | 
			
		||||
@startuml
 | 
			
		||||
package com.iluwatar.information.microservice {
 | 
			
		||||
  class InformationApplication {
 | 
			
		||||
    + InformationApplication()
 | 
			
		||||
    + main(args : String[]) {static}
 | 
			
		||||
  }
 | 
			
		||||
  class InformationController {
 | 
			
		||||
    + InformationController()
 | 
			
		||||
    + getProductTitle() : String
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@enduml
 | 
			
		||||
@@ -0,0 +1,12 @@
 | 
			
		||||
@startuml
 | 
			
		||||
package com.iluwatar.inventory.microservice {
 | 
			
		||||
  class InventoryApplication {
 | 
			
		||||
    + InventoryApplication()
 | 
			
		||||
    + main(args : String[]) {static}
 | 
			
		||||
  }
 | 
			
		||||
  class InventoryController {
 | 
			
		||||
    + InventoryController()
 | 
			
		||||
    + getProductInventories() : int
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@enduml
 | 
			
		||||
		Reference in New Issue
	
	Block a user