Product billing options service

Features

The service allows Hetzner TFA test the auditing functionality but providing end points that creates audit events.

Non-functional requirements

Dependencies

Ubiquitous language

Usage

Documentation

yard server --reload

Browse to localhost:8808

Testing

Make sure that an instance of SOAR_SC is running with your code injected as jewels. See the Install section.

The testing suite uses three environment variables.

  • SOAR_SC_URL: is the URL to the running instance of SOAR_SC.

  • APP_NAME: is the application name on the server the services are running. You will use these when you are running WAR files on a Tomcat server. For example: http://incubator.dev.auto-h.net:8080/product_billing_info_production_soar_sc/, where product_billing_info_production_soar_sc is the APP_NAME.

  • TEST_ORCHESTRATION_PROVIDER: the version of the tests you are running. Current options are: stub, tfa, and production.

Examples of running the test suite:

Stub

TEST_ORCHESTRATION_PROVIDER=stub bundle exec cucumber features

TFA

SOAR_SC_URL=http://localhost:9393/ SOAR_SC=/Users/youruser/soar_sc TEST_ORCHESTRATION_PROVIDER=tfa bundle exec cucumber features

Production

DO NOT USE IN PRODUCTION

Install

Deploy

CI