-
Notifications
You must be signed in to change notification settings - Fork 11
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
Improvement/refactor configurable api gateway #67
base: master
Are you sure you want to change the base?
Improvement/refactor configurable api gateway #67
Conversation
Co-Authored-By: Filip Artur Kowalski <filip.artur.kowalski@gmail.com>
@@ -1,8 +1,8 @@ | |||
--- | |||
title: Configurable API gateway | |||
author: marcinkp | |||
author: mateuszgrab-cognifide |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure we can change the author when we do some improvements. @mateuszgrab-cognifide: I hope you are not disappointed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, understood, I've recovered original author.
```java | ||
package io.knotx.example.payment.utils; | ||
|
||
import io.vertx.core.json.JsonArray; | ||
import io.vertx.core.json.JsonObject; | ||
|
||
public final class ProvidersProvider { | ||
public final class PaymentProvidersProcessor { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I liked this tricky
name ;) Sure, change it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please apply those changes in the example code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will create dedicated PR for example code and will share PR link shortly.
ports: | ||
- "3000:8080" | ||
networks: | ||
- knotnet | ||
|
||
knotx: | ||
image: knotx-example/gateway-api:latest | ||
image: knotx-example/api-gateway:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice !
@@ -1,9 +1,9 @@ | |||
--- | |||
title: Configurable API gateway | |||
author: marcinkp | |||
author: mateuszgrab-cognifide |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same. Maybe we can specify here more authors?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't managed to find a way to specify two authors, I've recovered original author.
@@ -0,0 +1,8 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should stay here :)
ports: | ||
- "3000:8080" | ||
networks: | ||
- knotnet | ||
|
||
knotx: | ||
image: knotx-example/gateway-api:latest | ||
image: knotx-example/api-gateway:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
image: knotx-example/api-gateway:latest | |
image: knotx-example/composing-many-apis:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please check other references to api-gateway - composing-many-apis ?
```java | ||
package io.knotx.example.payment.utils; | ||
|
||
import io.vertx.core.json.JsonArray; | ||
import io.vertx.core.json.JsonObject; | ||
|
||
public final class ProvidersProvider { | ||
public final class PaymentProvidersProcessor { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please apply those changes in the example code.
Fix remarks to PR
No description provided.