Tyk-Eureka Integration

Imported Google Group message. Original thread at: Redirecting to Google Groups Import Date: 2016-01-19 21:39:21 +0000.
Sender:[email protected].
Date:Saturday, 2 January 2016 06:18:01 UTC.

Hey Martin,

We’ve Setup Tyk successfully with occasional hassles and now we plan to implement service discovery.
We’ve implemented Eureka and are able to register various services with eureka.

Just need further guidance as to how to integrate Eureka with Tyk as eureka endpoint returns an XML of the Services that it has registered.

Regards,
Balaji

Imported Google Group message.
Sender:Martin Buhr.
Date:Monday, 4 January 2016 13:19:47 UTC.

Hi Balaji,

Tyk service discovery client does not support XML I’m afraid, you’ll need to use a JSON endpoint, see the docs here:

https://tyk.io/v1.9/api-management/service-discovery

And the tests:

https://github.com/TykTechnologies/tyk/blob/master/service_discovery_test.go

Looking (very briefly) at the Eureka docs I can see it supports JSON payloads.

I would also suggest searching on this forum as this topic has been covered by other posts before. Unless you have a specific question that isn’t covered by either the docs, change logs or other forum posts, that’s about as much guidance there is.

Cheers,
Martin


From: [email protected]
Sent: Saturday, January 2, 2016 06:18
Subject: Tyk-Eureka Integration
To: Tyk Community Support [email protected]

  • show quoted text -


You received this message because you are subscribed to the Google Groups “Tyk Community Support” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web, visit https://groups.google.com/d/msgid/tyk-community-support/109ef135-9f57-46f6-ad2c-37711497f21b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.