Skip to content

Commit

Permalink
removed abdm config from plug_config
Browse files Browse the repository at this point in the history
  • Loading branch information
khavinshankar committed Oct 18, 2024
1 parent 7471c65 commit f1c2f77
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 28 deletions.
10 changes: 0 additions & 10 deletions docker/.local.env
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,3 @@ HCX_PASSWORD=Opensaber@123
HCX_PROTOCOL_BASE_PATH=http://staging-hcx.swasth.app/api/v0.7
HCX_USERNAME=qwertyreboot@gmail.com
HCX_CERT_URL=https://raw.githubusercontent.com/Swasth-Digital-Health-Foundation/hcx-platform/main/demo-app/server/resources/keys/x509-self-signed-certificate.pem

# ABDM envs: added to avoid test failures
ABDM_CLIENT_ID=SBX_001
ABDM_CLIENT_SECRET=xxxx
ABDM_GATEWAY_URL=https://dev.abdm.gov.in
ABDM_ABHA_URL=https://abhasbx.abdm.gov.in
ABDM_FACILITY_URL=https://facilitysbx.abdm.gov.in
ABDM_CM_ID=sbx
CURRENT_DOMAIN=https://care.ohc.network
BACKEND_DOMAIN=https://careapi.ohc.network
10 changes: 0 additions & 10 deletions docker/.prebuilt.env
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,3 @@ HCX_PASSWORD=Opensaber@123
HCX_PROTOCOL_BASE_PATH=http://staging-hcx.swasth.app/api/v0.7
HCX_USERNAME=qwertyreboot@gmail.com
HCX_CERT_URL=https://raw.githubusercontent.com/Swasth-Digital-Health-Foundation/hcx-platform/main/demo-app/server/resources/keys/x509-self-signed-certificate.pem

# ABDM envs: added to avoid test failures
ABDM_CLIENT_ID=SBX_001
ABDM_CLIENT_SECRET=xxxx
ABDM_GATEWAY_URL=https://dev.abdm.gov.in
ABDM_ABHA_URL=https://abhasbx.abdm.gov.in
ABDM_FACILITY_URL=https://facilitysbx.abdm.gov.in
ABDM_CM_ID=sbx
CURRENT_DOMAIN=https://care.ohc.network
BACKEND_DOMAIN=https://careapi.ohc.network
9 changes: 1 addition & 8 deletions plug_config.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
from plugs.manager import PlugManager
from plugs.plug import Plug

abdm_plugin = Plug(
name="abdm",
package_name="git+https://github.com/ohcnetwork/care_abdm.git",
version="@main",
configs={},
)

hcx_plugin = Plug(
name="hcx",
package_name="git+https://github.com/ohcnetwork/care_hcx.git",
version="@main",
configs={},
)

plugs = [hcx_plugin, abdm_plugin]
plugs = [hcx_plugin]

manager = PlugManager(plugs)

0 comments on commit f1c2f77

Please sign in to comment.