From a4876fd2404fc77f8f540ae8a3b1f28eaed35f17 Mon Sep 17 00:00:00 2001 From: Evan Shortiss Date: Thu, 18 Feb 2021 14:06:36 +0000 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 920110e..aafd673 100644 --- a/README.md +++ b/README.md @@ -36,3 +36,16 @@ Exposes the application on `http://localhost:8080` and enables live reload. ```bash ./mvnw clean package -Dquarkus.kubernetes.deploy=true -Dquarkus.openshift.expose=true ``` + +### Import to 3scale API Management + +Add the following annotations and label to the Service associated with the Quarkus application you deployed in the previous section: + +```bash +oc annotate svc/rhoam-openapi "discovery.3scale.net/description-path=/openapi?format=json" +oc annotate svc/rhoam-openapi discovery.3scale.net/port="8080" +oc annotate svc/rhoam-openapi discovery.3scale.net/scheme=http +oc label svc/rhoam-openapi discovery.3scale.net="true" +``` + +Now you can import the Service using 3scale Service Discovery.