Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cloudfoundry/service-fabrik-blueprint-app

Service fabrik's blueprint app which is a test app to test the blueprint service
https://github.com/cloudfoundry/service-fabrik-blueprint-app

cff-wg-service-management

Last synced: 23 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Service Fabrik Blueprint App

## Overview

This application is used to perform simple HTTP requests to a bound [blueprint-service](https://github.com/sap/service-fabrik-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](https://github.com/SAP/service-fabrik-broker#installing-bosh-lite)
- Working Cloud Foundry Installation on Bosh Lite. Please refer instructions [here](https://github.com/SAP/service-fabrik-broker#installing-cloud-foundry)

## 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
cf set-env blueprint-app ADMINPASS
```

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](https://github.com/sap/service-fabrik-backup-restore/issues). 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](LICENSE) file