Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 2.05 KB

README.md

File metadata and controls

51 lines (33 loc) · 2.05 KB

Service Fabrik Blueprint App

Overview

This application is used to perform simple HTTP requests to a bound blueprint-service. The intention is to check whether the blueprint-service is consumable regularly and fulfills its specification. Therefore, the HTTP responses will be evaluated and their correctness will be verified.

Requirements

To try out the application locally,

  • You would need a functional Bosh Lite setup on your local system. Please refer instructions here
  • Working Cloud Foundry Installation on Bosh Lite. Please refer instructions here

Download and Installation

Clone the repository for Service Fabrik Blueprint App

git clone https://github.com/sap/service-fabrik-blueprint-app

This would clone the repository in your current working directory. Then, run this code from the command line

cd service-fabrik-blueprint-app/
npm install
cf push

Reachable under the resource /test, all files stored within the test/ directory will be loaded and executed. If you may want to perform only a single test, use the resource /test/{TheResourceYouWantToTest}, e.g. /test/files.

To execute tests for the /admin resource of the blueprint-service as well, you will need to provide the admin credentials to the blueprint-app via its environment.

cf set-env blueprint-app ADMINUSER <USERNAME>
cf set-env blueprint-app ADMINPASS <PASSWORD>

The relating test file /test/admin.spec.js will only be executed if these environment variables are set.

How to obtain support

If you need any support, have any question or have found a bug, please report it in the GitHub bug tracking system. We shall get back to you.

LICENSE

This project is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file