Documentation is WORK IN PROGRESS
SAP Cloud Platform deployable Keycloak secured system that deploys multiple microservices that takes advantage of the built in search index, geospatial and text analysis libraries in SAP HANA as well as manage SAP Cloud Platform Workflows for visitor management
export CP_USER=i999111
export CP_PASSWORD=MyAccountPassword55
export PG_ADDR=cp-rtwp.random-string-text.us-east-1.rds.amazonaws.com
export PG_PASSWORD=WholeBunchOfCharacters
export KEYCLOAK=false
Deployed with cf-keycloak.sh
postgres
PG_ADDR
variable is just the hostname or ip address: sample-app.abcdefg.us-east-1.rds.amazonaws.com
Keycloak security is disabled by default. Changing the environment variable to true enables integration
Requires a PostgreSQL backend.
This project was developed with a free tier Amazon RDS instance.
Run the build script to copy over the custom CoreUI based theme
cd keycloak
./docker-build.sh
keycloak/docker-run.sh
to have the values for your PostgreSQL instance.PG_ADDR
and PG_PASSWORD
are externalized to environment variables to avoid being checked into source control
cd keycloak
./docker-run.sh
docker ps -f ancestor=quay.io/mechevarria/keycloak-coreui | awk '{print $1}'
$container
with the value from the previous command. The system themes are automatically ignored by gitdocker cp $container:/opt/jboss/keycloak/themes keycloak/
cd keycloak
./docker-build-dev.sh
cd keycloak
./docker-run-dev.sh
keycloak/themes
will be seen when you refresh server pages in your browser.cf-db.sh
hdi-hana-deployer
will be created in SAP Cloud Platform to deploy the hana database, populate data and create tables, indexes, etc. The container will then be stopped once completeRequires the SAP HANA database container to be deployed. Local development requires the SAP HANA host to whitelist external addresses
rtwp-api
run the following to install all dependenciesnpm install
cd rtw-api
npm install
./local-run.sh
cf-express-api.sh
KEYCLOAK
environment variable to true to enable sso integrationRequires the Express container to be deployed
cd rtwp-vue
npm install
./local-setup.sh
npm run serve
npm run build
You can create an account for free at SAP Cloud Platform
Make sure you have the Cloud Foundry Command Line Interface (cf CLI) installed
Update the cf-login.sh
script with the values found in the SAP Cloud Foundry Cockpit. Then run the script to login.
./cf-login.sh
./cf-rtwp-vue.sh
Author: openNS2
Source Code: https://github.com/openNS2/cp-rtwp
#vuejs #vue #javascript