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

Support for Kong 0.10rc1 #70

Closed
ghost opened this issue Jan 13, 2017 · 10 comments
Closed

Support for Kong 0.10rc1 #70

ghost opened this issue Jan 13, 2017 · 10 comments

Comments

@ghost
Copy link

ghost commented Jan 13, 2017

Kong 0.10rc1 has new API routing features

Kong/kong#1970

https://github.com/Mashape/kong/releases/tag/0.10.0rc1

@Platzii
Copy link

Platzii commented Jan 31, 2017

0.10.0rc3 has been released several days ago

https://github.com/Mashape/kong/releases/tag/0.10.0rc3

@shaowin16
Copy link

Yes,i'm expectant for support kong: 0.10.0

@mbugeia
Copy link

mbugeia commented Mar 3, 2017

Hi, any news on this ?

@maxtuzz
Copy link
Contributor

maxtuzz commented Mar 8, 2017

0.10 has now been officially released.

@PGBI PGBI mentioned this issue Mar 9, 2017
@PGBI
Copy link
Owner

PGBI commented Mar 9, 2017

So, I'm aware of the last kong release. Didn't have time to test it yet. Does anybody have an exhaustive list of things to be fixed in Kong-dashboard to be compatible with Kong 0.10?

Also, feel free to submit PRs :)

@jhenry82
Copy link

jhenry82 commented Mar 9, 2017

The most significant change (in terms of kong-dashboard being pretty broken without it) the expansion and renaming of the fields describing an API. Compare https://getkong.org/docs/0.10.x/admin-api/#add-api vs https://getkong.org/docs/0.9.x/admin-api/#add-api.

Adding an API in 0.9.x:

$ curl -i -X POST \
  --url http://localhost:8001/apis/ \
  -d 'name=mockbin' \
  -d 'upstream_url=http://mockbin.com/' \
  -d 'request_host=mockbin.com' \
  -d 'request_path=/status'

Adding an API in 0.10.x:

$ curl -i -X POST http://localhost:8001/apis/ \
    -d 'name=my-api' \
    -d 'upstream_url=http://my-api.com' \
    -d 'hosts=example.com,service.com' \
    -d 'uris=/my-api' \
    -d 'methods=GET,HEAD'
HTTP/1.1 201 Created

Instead of request_host and request_path, you now pass hosts (which can be a comma-separated list of allowable hosts) and uris (again as a list). The API returns these as JSON arrays

hosts: ["example.com" , "service.com"]

There are also a bunch of new optional parameters for routing by method (GET,POST,etc), determining HTTPS behavior, and specifying various timeouts.

@Boggin
Copy link

Boggin commented Mar 13, 2017

Is this linked to #85 ?

@haha1903
Copy link
Contributor

haha1903 commented Mar 15, 2017

Please check PR #86 @PGBI

Publish Docker to haha1903/kong-dashboard

@EvanDylan
Copy link

@haha1903 thx for your work

@PGBI
Copy link
Owner

PGBI commented Apr 2, 2017

Kong-dashboard 2.0.0 has been released and is compatible with Kong 0.10.x

@PGBI PGBI closed this as completed Apr 2, 2017
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

No branches or pull requests

10 participants