openshift/origin-apiman

Name: origin-apiman

Owner: OpenShift

Description: null

Created: 2016-04-20 21:21:25.0

Updated: 2017-04-15 12:18:31.0

Pushed: 2016-06-13 11:15:45.0

Homepage: null

Size: 73

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

APIMan integration with OpenShift

APIMan provides common management capabilities for API providers and consumers. You can learn more about the project at its home page or the code at its github page.

Once this integration is deployed, APIs deployed as services on OpenShift can be exposed externally via the APIMan gateway which controls API usage. The management policy can be configured via the APIMan web console, which is available to producers and consumers of APIs according to their roles in OpenShift projects.

This project supplies the code and configuration for building the APIMan integration.

Building from source

The image for the integration can be built on OpenShift. Create the builds from the build template:

$ oc new-app -f hack/dev-builds.yaml

This builds from the standard source repository locations. To build from a fork or branch, you can supply template parameters to new-app.

ImageStreams for the deployer components are created and the builds populate them when they complete.

Deploying the integration

The deployer README gives general directions for deployment. To use images from source builds, supply the IMAGE_PREFIX corresponding to the local registry which can be found in the ImageStreams. For instance, for the following output:

 get is
                   DOCKER REPO                                     TAGS                           UPDATED
an-builder         172.30.7.241:5000/apiman/apiman-builder         latest                         18 hours ago
an-console         172.30.7.241:5000/apiman/apiman-console         latest                         18 hours ago
an-curator         172.30.7.241:5000/apiman/apiman-curator         latest                         18 hours ago
an-deployer        172.30.7.241:5000/apiman/apiman-deployer        latest                         18 hours ago
an-elasticsearch   172.30.7.241:5000/apiman/apiman-elasticsearch   latest                         18 hours ago
an-gateway         172.30.7.241:5000/apiman/apiman-gateway         latest                         18 hours ago
os                 library/centos                                  6.7,7,latest + 2 more...       18 hours ago
in                 openshift/origin                                latest,v0.4,v0.5 + 2 more...   18 hours ago

… supply the template parameter IMAGE_PREFIX=172.30.7.241:5000/apiman/ so that the deployer will run with the built image.

End-to-end (e2e) testing

Dev builds can be tested with the e2e script. See the testing README for details.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.