File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Blue Button 2.0 Sample Application Development Documentation
2+
3+ ## Introduction
4+
5+ This README contains information related to developing the SDK.
6+
7+ It is intended for BB2 team members or others performing sample application development work.
8+
9+ ## Run selenium tests in docker
10+
11+ Configure the remote target BB2 instance where the tested app is registered (as described above "Running the Back-end & Front-end")
12+
13+ Change your ` callback_url ` configuration to use ` server ` instead of ` localhost ` . For example:
14+ ``` JSON
15+ "callback_url" : " http://server:3001/api/bluebutton/callback/"
16+ ```
17+
18+ You will also need to add this URL to your ` redirect_uris ` list in your application's configuration on the BB2 Sandbox UI.
19+
20+ Go to local repository base directory and run docker compose as below:
21+
22+ docker-compose -f docker-compose.selenium.yml up --abort-on-container-exit
23+
24+ Note: --abort-on-container-exit will abort client and server containers when selenium tests ends
25+
26+ Note: You may need to clean up already existing Docker containers, if you are having issues or have changed your configuration file.
27+
28+ ## Visual trouble shoot
29+
30+ Install VNC viewer and point browser to http://localhost:5900 to monitor web UI interactions
Original file line number Diff line number Diff line change @@ -70,24 +70,6 @@ Debugging server component
7070--------------------------
7171debugpy remote debugging enabled on port 5678 for server in docker compose, developer can attach to server from IDE e.g. vscode.
7272
73- ## Run selenium tests in docker
74-
75- Configure the remote target BB2 instance where the tested app is registered (as described above "Running the Back-end & Front-end")
76-
77- Also use below call back URL in configuration, and add it as redirect URI at Blue Button API app registry:
78-
79- http://server:3001/api/bluebutton/callback/
80-
81- Go to local repository base directory and run docker compose as below:
82-
83- docker-compose -f docker-compose.selenium.yml up --abort-on-container-exit
84-
85- Note: --abort-on-container-exit will abort client and server containers when selenium tests ends
86-
87- ## Visual trouble shoot
88-
89- Install VNC viewer and point browser to http://localhost:5900 to monitor web UI interactions
90-
9173Error Responses and handling:
9274-----------------------------
9375[ See ErrorResponses.md] ( ./ErrorResponses.md )
You can’t perform that action at this time.
0 commit comments