-
Notifications
You must be signed in to change notification settings - Fork 21
gatewayapi
Stephen Laws edited this page Jun 20, 2022
·
1 revision
The GatewayAopi project provides Health Gateway specific services (User Profile, Notes, Comments etc) for the consumption of WebClient and the Mobile app.
The Patient service needs to be configured.
No special configuration required at this time.
cd $GATEWAYHOME/Apps/GatewayApi
dotnet run
- Select the GatewayApi project
- Say Yes or Accept any popups regarding adding assets for debugging
- Select the GatewayApi Solution and click Enter which should create a .vscode/launch.json
- Click F5 or Run/Start Debugging
- Right Click on the solution and select Properties
- Select Multiple startup projects
- Set GatewayApi action to Start
- Click Ok
- Click F5 or Debug/Start Debugging
- Ensure WebClient is running
- Open a Chrome session to http://localhost:5000
- Open Developer tools.
- Logon to WebClient
- In the console make note of the HDID or you can likely use: P6FFO433A5WPMVTGM7T4ZVWBKCSVNAYGTWTU3J2LWMGUMERKI72A
- Go to the network tab and refresh the page.
- You will want to look for a failed call to Medication or Immunization go to the Headers tab and copy the text after Authorization: Bearer
- Open Chrome session to http://localhost:3000/swagger
- Click on the Authorize button and paste in the bearer token, then click Authorize and Close.
- Scroll down and Click on the UserProfile GET API to expand it.
- Click on Try it out button.
- Paste the HDID into the text input.
- Click on Execute
You should see a response of 200 and a body containing UserProfile information.
-
Developer Standard and Processes
-
Workstation Setup
-
IDE Configuration
-
Application Config
-
RedHat SSO Authorization Server
-
Known Issues