Minor readme fixes
This commit is contained in:
parent
7f29c2455f
commit
cd20e7a3f4
@ -101,7 +101,7 @@ public class ConfigureForUnixVisitor implements ZoomVisitor {
|
||||
}
|
||||
```
|
||||
|
||||
Finally here are the visitors in action.
|
||||
Finally, here are the visitors in action.
|
||||
|
||||
```java
|
||||
var conUnix = new ConfigureForUnixVisitor();
|
||||
|
@ -12,9 +12,8 @@ tags:
|
||||
Wrapper
|
||||
|
||||
## Intent
|
||||
Convert the interface of a class into another interface the clients
|
||||
expect. Adapter lets classes work together that couldn't otherwise because of
|
||||
incompatible interfaces.
|
||||
Convert the interface of a class into another interface the clients expect. Adapter lets classes work together that
|
||||
couldn't otherwise because of incompatible interfaces.
|
||||
|
||||
## Explanation
|
||||
|
||||
|
@ -17,7 +17,7 @@ The user makes a single call to the aggregator service, and the aggregator then
|
||||
Real world example
|
||||
|
||||
> Our web marketplace needs information about products and their current inventory. It makes a call to an aggregator
|
||||
> service that in turn calls the product information microservice and product inventory microservice returning the
|
||||
> service which in turn calls the product information microservice and product inventory microservice returning the
|
||||
> combined information.
|
||||
|
||||
In plain words
|
||||
@ -41,7 +41,7 @@ public class Product {
|
||||
}
|
||||
```
|
||||
|
||||
Next we can introduct our `Aggregator` microservice. It contains clients `ProductInformationClient` and
|
||||
Next we can introduce our `Aggregator` microservice. It contains clients `ProductInformationClient` and
|
||||
`ProductInventoryClient` for calling respective microservices.
|
||||
|
||||
```java
|
||||
|
Loading…
x
Reference in New Issue
Block a user