The main branch of the project is used to support following blog posts:
Here is a short overview of the vend application example functionalities and how the example application is realized.
-
What it does?
- Uses basic authenication to secure the REST endpoint for an user and an admin
- Provides
access codes
by REST endpoints to an user - Updates of
access codes
can be done with an admin user - You get
access codes
as an user - It logs parts of the REST API invokation in an IBM Cloudant Database, if the database is configured.
- It logs parts of the REST API invokation and startup procedure in a local log file.
-
How the example application is realized?
-
Is a Node.js server application to provide access codes
-
The application can be executed in a container
-
For deployments in an OpenShift cluster it has preconfigured
Configmap
for application configurationDeployment
for the applicationPersistent volumes
for local log filesSecrets
for user and admin passwordsKubernetes Service
OpenShift route
to access the application from the internet (HTTP only)
-