Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

orange-cloudfoundry/elpaaso-sandbox-ui

Repository files navigation

elpaaso-sandbox-ui Build Status

Apache Version 2 Licence Bintray JCenter Join the chat at https://gitter.im/Orange-OpenSource/elpaaso

Overview

elpaaso sandbox ui is an Angular and spring Oauth2 security based GUI to create a sandbox space leveraging sandbox-service.

Following the UAA login screen with user consent, then the following screen displays the created sandbox space details: Sandbox-ui screenshot

Credits to spring security angular sample.

Tech specs of the sandbox service

Overview

seq diagram

Build

To be able to build this project, you have to update your maven settings. You can use the one provided here

Running Tests

Unit Tests

  • mvn clean install

Integration Tests

  • mvn clean install -PrunITs

Install

Deploy on CloudFoundry

Please use manifest-reference.yml as template for your CF CLI manifest file.

$ mvn package
$ cf push sanbox-ui -p target/elpaaso-sandbox-ui-1.0-SNAPSHOT.jar -m manifest.yml

Adding trusted self-signed root CA Certificate to the JVM truststore

If required, trusted Self-Signed Root CA Certificate can be added using TRUSTED_CA_CERTIFICATE env property.

Here is snippet of manifest.yml :

applications:
- name: elpaaso-sandbox-ui
  env:
     TRUSTED_CA_CERTIFICATE: |
          -----BEGIN CERTIFICATE-----
                        XXXXXX
          -----END CERTIFICATE-----

Running

Pre-requisites

  • An OAuth2 identity provider (accessToken and userAuthorization)
  • A Sandbox service