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

Improvement/refactor configurable api gateway #67

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mateuszgrab-cognifide
Copy link

No description provided.

Co-Authored-By: Filip Artur Kowalski <filip.artur.kowalski@gmail.com>
@mateuszgrab-cognifide mateuszgrab-cognifide changed the base branch from master to getting-started-2-0 October 22, 2019 12:41
@mateuszgrab-cognifide mateuszgrab-cognifide changed the base branch from getting-started-2-0 to master October 22, 2019 12:41
@@ -1,8 +1,8 @@
---
title: Configurable API gateway
author: marcinkp
author: mateuszgrab-cognifide
Copy link
Member

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.

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 {
Copy link
Member

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.

Copy link
Member

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.

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
Copy link
Member

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
Copy link
Member

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?

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 @@
---
Copy link
Member

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
image: knotx-example/api-gateway:latest
image: knotx-example/composing-many-apis:latest

Copy link
Member

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 {
Copy link
Member

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.

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.

3 participants