Skip to content

Commit

Permalink
turn on rest_system_scopes_api in dev docker environments (openemr#4253)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Feb 23, 2021
1 parent c24ae09 commit b09371e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/ciLibrary.source
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ install_configure() {
docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c 'mysql -u openemr --password="openemr" -h mysql -e "UPDATE globals SET gl_value = 1 WHERE gl_name = \"rest_fhir_api\"" openemr' || failTest=true
docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c 'mysql -u openemr --password="openemr" -h mysql -e "UPDATE globals SET gl_value = 1 WHERE gl_name = \"rest_portal_api\"" openemr' || failTest=true
docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c 'mysql -u openemr --password="openemr" -h mysql -e "UPDATE globals SET gl_value = 3 WHERE gl_name = \"oauth_password_grant\"" openemr' || failTest=true
docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c 'mysql -u openemr --password="openemr" -h mysql -e "UPDATE globals SET gl_value = 1 WHERE gl_name = \"rest_system_scopes_api\"" openemr' || failTest=true
if $failTest; then
exit 1
fi
Expand Down
1 change: 1 addition & 0 deletions docker/development-easy-arm32/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ services:
OPENEMR_DOCKER_ENV_TAG: easy-dev-docker
OPENEMR_SETTING_site_addr_oath: 'https://localhost:9300'
OPENEMR_SETTING_oauth_password_grant: 3
OPENEMR_SETTING_rest_system_scopes_api: 1
OPENEMR_SETTING_rest_api: 1
OPENEMR_SETTING_rest_fhir_api: 1
OPENEMR_SETTING_rest_portal_api: 1
Expand Down
1 change: 1 addition & 0 deletions docker/development-easy-arm64/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ services:
OPENEMR_DOCKER_ENV_TAG: easy-dev-docker
OPENEMR_SETTING_site_addr_oath: 'https://localhost:9300'
OPENEMR_SETTING_oauth_password_grant: 3
OPENEMR_SETTING_rest_system_scopes_api: 1
OPENEMR_SETTING_rest_api: 1
OPENEMR_SETTING_rest_fhir_api: 1
OPENEMR_SETTING_rest_portal_api: 1
Expand Down
1 change: 1 addition & 0 deletions docker/development-easy-light/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ services:
OPENEMR_DOCKER_ENV_TAG: easy-dev-docker
OPENEMR_SETTING_site_addr_oath: 'https://localhost:9300'
OPENEMR_SETTING_oauth_password_grant: 3
OPENEMR_SETTING_rest_system_scopes_api: 1
OPENEMR_SETTING_rest_api: 1
OPENEMR_SETTING_rest_fhir_api: 1
OPENEMR_SETTING_rest_portal_api: 1
Expand Down
1 change: 1 addition & 0 deletions docker/development-easy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ services:
OPENEMR_DOCKER_ENV_TAG: easy-dev-docker
OPENEMR_SETTING_site_addr_oath: 'https://localhost:9300'
OPENEMR_SETTING_oauth_password_grant: 3
OPENEMR_SETTING_rest_system_scopes_api: 1
OPENEMR_SETTING_rest_api: 1
OPENEMR_SETTING_rest_fhir_api: 1
OPENEMR_SETTING_rest_portal_api: 1
Expand Down
1 change: 1 addition & 0 deletions docker/development-insane/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ services:
GITHUB_COMPOSER_TOKEN: c313de1ed5a00eb6ff9309559ec9ad01fcc553f0
OPENEMR_SETTING_site_addr_oath: 'https://localhost:9084'
OPENEMR_SETTING_oauth_password_grant: 3
OPENEMR_SETTING_rest_system_scopes_api: 1
OPENEMR_SETTING_rest_api: 1
OPENEMR_SETTING_rest_fhir_api: 1
OPENEMR_SETTING_rest_portal_api: 1
Expand Down

0 comments on commit b09371e

Please sign in to comment.