Skip to content

Service fabrik's blueprint app which is a test app to test the blueprint service

License

Notifications You must be signed in to change notification settings

cloudfoundry/service-fabrik-blueprint-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Service fabrik's blueprint app which is a test app to test the blueprint service

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published