Skip to content

Commit

Permalink
Convert ABDM into Plug - Part 3/3 (#2312)
Browse files Browse the repository at this point in the history
Convert ABDM into Plug - Part 3/3 (#2312)

---------

Co-authored-by: Aakash Singh <mail@singhaakash.dev>
Co-authored-by: Khavin Shankar <khavinshankar@Khavins-MacBook-Air.local>
Co-authored-by: Vignesh Hari <14056798+vigneshhari@users.noreply.github.com>
  • Loading branch information
4 people authored Oct 18, 2024
1 parent 0677656 commit e9303a0
Show file tree
Hide file tree
Showing 55 changed files with 60 additions and 5,839 deletions.
2 changes: 0 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ DATABASE_URL=postgres://postgres:postgres@localhost:5433/care
REDIS_URL=redis://localhost:6380
CELERY_BROKER_URL=redis://localhost:6380/0

FIDELIUS_URL=http://localhost:8092

DJANGO_DEBUG=False

BUCKET_REGION=ap-south-1
Expand Down
16 changes: 4 additions & 12 deletions aws/backend.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,29 +114,21 @@
"value": "True"
},
{
"name": "ENABLE_ABDM",
"value": "True"
},
{
"name": "ABDM_URL",
"name": "ABDM_GATEWAY_URL",
"value": "https://dev.abdm.gov.in"
},
{
"name": "HEALTH_SERVICE_API_URL",
"value": "https://healthidsbx.abdm.gov.in/api"
"name": "ABDM_ABHA_URL",
"value": "https://abhasbx.abdm.gov.in"
},
{
"name": "ABDM_FACILITY_URL",
"value": "https://facilitysbx.abdm.gov.in"
},
{
"name": "X_CM_ID",
"name": "ABDM_CM_ID",
"value": "sbx"
},
{
"name": "FIDELIUS_URL",
"value": "https://fidelius.ohc.network"
},
{
"name": "SENTRY_TRACES_SAMPLE_RATE",
"value": "1.0"
Expand Down
42 changes: 13 additions & 29 deletions aws/celery.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
}
},
"portMappings": [],
"command": [
"/app/celery_beat-ecs.sh"
],
"command": ["/app/celery_beat-ecs.sh"],
"cpu": 128,
"environment": [
{
Expand Down Expand Up @@ -97,29 +95,21 @@
"value": "True"
},
{
"name": "ENABLE_ABDM",
"value": "True"
},
{
"name": "ABDM_URL",
"name": "ABDM_GATEWAY_URL",
"value": "https://dev.abdm.gov.in"
},
{
"name": "HEALTH_SERVICE_API_URL",
"value": "https://healthidsbx.abdm.gov.in/api"
"name": "ABDM_ABHA_URL",
"value": "https://abhasbx.abdm.gov.in"
},
{
"name": "ABDM_FACILITY_URL",
"value": "https://facilitysbx.abdm.gov.in"
},
{
"name": "X_CM_ID",
"name": "ABDM_CM_ID",
"value": "sbx"
},
{
"name": "FIDELIUS_URL",
"value": "https://fidelius.ohc.network"
},
{
"name": "SENTRY_TRACES_SAMPLE_RATE",
"value": "1.0"
Expand Down Expand Up @@ -296,9 +286,7 @@
"awslogs-stream-prefix": "ecs"
}
},
"command": [
"/app/celery_worker-ecs.sh"
],
"command": ["/app/celery_worker-ecs.sh"],
"cpu": 384,
"memory": 1536,
"memoryReservation": 1536,
Expand Down Expand Up @@ -384,24 +372,20 @@
"value": "True"
},
{
"name": "ENABLE_ABDM",
"value": "True"
},
{
"name": "ABDM_URL",
"name": "ABDM_GATEWAY_URL",
"value": "https://dev.abdm.gov.in"
},
{
"name": "HEALTH_SERVICE_API_URL",
"value": "https://healthidsbx.abdm.gov.in/api"
"name": "ABDM_ABHA_URL",
"value": "https://abhasbx.abdm.gov.in"
},
{
"name": "X_CM_ID",
"value": "sbx"
"name": "ABDM_FACILITY_URL",
"value": "https://facilitysbx.abdm.gov.in"
},
{
"name": "FIDELIUS_URL",
"value": "https://fidelius.ohc.network"
"name": "ABDM_CM_ID",
"value": "sbx"
},
{
"name": "SENTRY_TRACES_SAMPLE_RATE",
Expand Down
Empty file removed care/abdm/__init__.py
Empty file.
1 change: 0 additions & 1 deletion care/abdm/admin.py

This file was deleted.

Empty file removed care/abdm/api/__init__.py
Empty file.
20 changes: 0 additions & 20 deletions care/abdm/api/serializers/abha_number.py

This file was deleted.

24 changes: 0 additions & 24 deletions care/abdm/api/serializers/auth.py

This file was deleted.

33 changes: 0 additions & 33 deletions care/abdm/api/serializers/consent.py

This file was deleted.

12 changes: 0 additions & 12 deletions care/abdm/api/serializers/health_facility.py

This file was deleted.

66 changes: 0 additions & 66 deletions care/abdm/api/serializers/healthid.py

This file was deleted.

33 changes: 0 additions & 33 deletions care/abdm/api/serializers/hip.py

This file was deleted.

50 changes: 0 additions & 50 deletions care/abdm/api/viewsets/abha_number.py

This file was deleted.

Loading

0 comments on commit e9303a0

Please sign in to comment.