Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Hola, es posible integrar Apigee API Platform con Openshift.

Not applicable

Quiero saber si esposible integrar apigee platform con Openshift, y cuales son los requerimientos para hacerlo, me serรญa muy util su ayuda, comentarios y respuestas.

Gracias.

Solved Solved
0 9 960
1 ACCEPTED SOLUTION

Hi, when you say integration I assume that you want to automatically create an APIGEE proxy for each Openshift Application deployment.

As far as I know, we don't have any official guide on that, but we can make use of Apigee Management APIs and Apigee Maven plugin, use a CICD pipeline which will deploy applications to Openshift & also create a Proxy in Apigee.

  1. Openshift internally uses Kubernates, all similar Pods are internally load balanced via a Service Layer which can be linked to a Route to access data.
  2. This Route can be pre-defined in Openshift such as, http(s)://<application-name>-<project>.<default-domain-suffix>.com
  3. When using Apigee Maven Plugin, we can replace the target value in the config.json with the pre-defined Openshift Route.

This is just basic configuration, you can modify as required.

View solution in original post

9 REPLIES 9

Hi, when you say integration I assume that you want to automatically create an APIGEE proxy for each Openshift Application deployment.

As far as I know, we don't have any official guide on that, but we can make use of Apigee Management APIs and Apigee Maven plugin, use a CICD pipeline which will deploy applications to Openshift & also create a Proxy in Apigee.

  1. Openshift internally uses Kubernates, all similar Pods are internally load balanced via a Service Layer which can be linked to a Route to access data.
  2. This Route can be pre-defined in Openshift such as, http(s)://<application-name>-<project>.<default-domain-suffix>.com
  3. When using Apigee Maven Plugin, we can replace the target value in the config.json with the pre-defined Openshift Route.

This is just basic configuration, you can modify as required.

Not applicable

Gracias, por su ayuda, ahora tengo otra duda.

ยฟLa integraciรณn se da de igual forma si se tiene Apigge On-premise que Apigee Cloud ?

Yes, the above procedure remains the same for Apigee Cloud & On-Prem.

Gracias, por la ayuda.

Not applicable

Otra duda, como puedo consumir un servicio war en apigee

Gracias de antemano

We can use a JAR in Apigee using Java Callout Policy, but I think we cannot use a WAR/EAR.

https://docs.apigee.com/api-platform/reference/policies/java-callout-policy

Si en tu war, expones servicios REST o SOAP, estos se pueden exponer en diferentes puertos que no sea el principal donde corre tu aplicaciรณn. web

puedes configurar que los proxies de apigee, apunten directamente a tu target server.

el cual esta constituido por ip y puerto.

IP de tu aplicaciรณn

puerto del servicios REST o SOAP que expongas.

Saludos.

Not applicable

Muchas gracias por contestar mis dudas, soy nuevo en esto y todo me espanta. ๐Ÿ™‚

Cuando realizar un deploy en openshift, todo queda expuesto vรญa tu ingress gateway o balanceador principal de openshift.

Todo lo que corras en openshift normalmente no queda expuesto a menos que definas un ingress gateway.

Te recomendarรญa usar istio, el cual genera un ingress central para poder acceder a todos los microservicios o aplicaciones deployadas en kubernetes.

aparte te da muchas cosas por el uso de sidecar proxies, como trazabilidad, monitoreo, resiliencia y tolerancia a fallos, etc.

el proxie de apigee, en el target enpoint puedes direccionarlo a un target server, el cual consta de tu ip y puerto.

ip del balanceador master de openshift y puerto del mismo.


los microservicios podrรญan correr en el mismo puerto y los va ser diferente cada path, vรญa el service discovery se podrรกn encontrar los containers.