Giter VIP home page Giter VIP logo

bridgeintegrationtests's Introduction

BridgeIntegrationTests

Integration tests for the BridgeServer2 server.

The integration tests use the Bridge Java REST SDK, and both the SDK and the tests need some properties to be set in order to run (in the following property files):

~/bridge-sdk.properties

log.level = warn
env = local
languages = en

~/bridge-sdk-test.properties

dev.name = <dev name>

synapse.test.user = <user name>
synapse.test.user.id = <numerical account ID>
synapse.test.user.password = <password>
synapse.test.user.api.key = <api key>

The synapse.test.* keys for environments other than local are available in LastPass.

Server configuration

On startup, the BridgeServer2 server will create the following apps and accounts if they do not currently exist on the server in your environment:

In all environments the bootstrapper creates three apps with the IDs of api, api-2, and shared. The API apps are used solely for testing, while the shared app is used to test shared assessment functionality outside of production. In production, shared is only used to host our shared assessment library.

It also reads the admin.email and admin.synapse.user.id properties in the ~/BridgeServer2.conf file. The admin.synapse.user.id property should have the same number as the synapse.test.user.id property described above.

In local, development, and staging environments: the bootstrapper creates three admin accounts, one in each of the api, api-2, and shared apps. The accounts will have the role of SUPERADMIN.

In the production environment: the bootstrapper creates three admin accounts, one in each of the api, api-2, and shared apps. The accounts will have the role of ADMIN (NOT SUPERADMIN).

Once the Bridge server has started, it should be possible to run the test suite with mvn clean test.

bridgeintegrationtests's People

Contributors

alxdark avatar alxdarksage avatar chuguoxipo avatar dependabot[bot] avatar dwaynejengsage avatar imranmaj avatar janaechan avatar jnelsonjava avatar kellyyangsong avatar kss39 avatar liujoshua avatar nategbrown9 avatar zaclinsage avatar zaro0508 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.