-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch project.yaml error to allow deployment using CLI
- Loading branch information
Showing
2 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"endpoint": "http://localhost:4000", | ||
"statePath": "./projectState.json", | ||
"specPath": "./project.yaml" | ||
"specPath": "./project.yaml", | ||
"apiKey": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJKb2tlbiIsImlhdCI6MTcyMjMxOTY4NiwiaXNzIjoiSm9rZW4iLCJqdGkiOiIydmplaDg4cWtka2toMW41aDAwMDA1MjIiLCJuYmYiOjE3MjIzMTk2ODYsInVzZXJfaWQiOiI4NzA2MDBmNi1jMWEzLTRmNGQtOTc5OC1hOTAyNjkwODA3MzgifQ.kTiymGqw5nH07DPrY93K7gqo3WuGPhe7vD2wsGCLl5U" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ workflows: | |
name: Workflow [TEST] Get TEIs from DHIS2 | ||
jobs: | ||
[TEST]-Get-TEIs-from-DHIS2: | ||
name: [TEST] Get TEIs from DHIS2 | ||
name: TEST Get TEIs from DHIS2 | ||
adaptor: '@openfn/[email protected]' | ||
enabled: false | ||
globals: | ||
|
@@ -41,11 +41,12 @@ workflows: | |
source_trigger: Daily-@-6:00AM | ||
target_job: [TEST]-Get-TEIs-from-DHIS2 | ||
condition: always | ||
condition_type: always | ||
Workflow-WF2-1.-Get-patients-from-OpenMRS: | ||
name: Workflow WF2-1. Get patients from OpenMRS | ||
jobs: | ||
WF2-1.-Get-patients-from-OpenMRS: | ||
name: WF2-1. Get patients from OpenMRS | ||
name: WF2-1 Get patients from OpenMRS | ||
adaptor: '@openfn/[email protected]' | ||
enabled: true | ||
globals: | ||
|
@@ -101,7 +102,7 @@ workflows: | |
}); | ||
WF2-2.-Upsert-TEIs-in-DHIS2: | ||
name: WF2-2. Upsert TEIs in DHIS2 | ||
name: WF2-2 Upsert TEIs in DHIS2 | ||
adaptor: '@openfn/[email protected]' | ||
enabled: true | ||
globals: | ||
|
@@ -250,7 +251,7 @@ workflows: | |
fn(state => ({ ...state, data: {} })); | ||
WF2-3.-Get-new-Encounters-from-OMRS: | ||
name: WF2-3. Get new Encounters from OMRS | ||
name: WF2-3 Get new Encounters from OMRS | ||
adaptor: '@openfn/[email protected]' | ||
enabled: true | ||
globals: | ||
|
@@ -278,7 +279,7 @@ workflows: | |
}); | ||
WF2-4.-Get-OCL-Mapping: | ||
name: WF2-4. Get OCL Mapping | ||
name: WF2-4 Get OCL Mapping | ||
adaptor: '@openfn/[email protected]' | ||
enabled: true | ||
globals: | ||
|
@@ -350,7 +351,7 @@ workflows: | |
// ); | ||
WF2-5.-Create-Events-in-DHIS2: | ||
name: WF2-5. Create Events in DHIS2 | ||
name: WF2-5 Create Events in DHIS2 | ||
adaptor: '@openfn/[email protected]' | ||
enabled: true | ||
globals: | ||
|
@@ -494,27 +495,32 @@ workflows: | |
source_trigger: Daily-@-6:00AM | ||
target_job: WF2-1.-Get-patients-from-OpenMRS | ||
condition: always | ||
condition_type: always | ||
WF2-1.-Get-patients-from-OpenMRS->WF2-2.-Upsert-TEIs-in-DHIS2: | ||
source_job: WF2-1.-Get-patients-from-OpenMRS | ||
target_job: WF2-2.-Upsert-TEIs-in-DHIS2 | ||
condition: on_job_success | ||
condition_type: always | ||
WF2-2.-Upsert-TEIs-in-DHIS2->WF2-3.-Get-new-Encounters-from-OMRS: | ||
source_job: WF2-2.-Upsert-TEIs-in-DHIS2 | ||
target_job: WF2-3.-Get-new-Encounters-from-OMRS | ||
condition: on_job_success | ||
condition_type: always | ||
WF2-3.-Get-new-Encounters-from-OMRS->WF2-4.-Get-OCL-Mapping: | ||
source_job: WF2-3.-Get-new-Encounters-from-OMRS | ||
target_job: WF2-4.-Get-OCL-Mapping | ||
condition: on_job_success | ||
condition_type: always | ||
WF2-4.-Get-OCL-Mapping->WF2-5.-Create-Events-in-DHIS2: | ||
source_job: WF2-4.-Get-OCL-Mapping | ||
target_job: WF2-5.-Create-Events-in-DHIS2 | ||
condition: on_job_success | ||
condition_type: always | ||
Workflow-WF1-1.-Get-active-TEIs-from-DHIS2: | ||
name: Workflow WF1-1. Get active TEIs from DHIS2 | ||
jobs: | ||
WF1-1.-Get-active-TEIs-from-DHIS2: | ||
name: WF1-1. Get active TEIs from DHIS2 | ||
name: WF1-1 Get active TEIs from DHIS2 | ||
adaptor: '@openfn/[email protected]' | ||
enabled: true | ||
globals: | ||
|
@@ -569,7 +575,7 @@ workflows: | |
); | ||
WF1-2.-Create-Patients-in-OpenMRS: | ||
name: WF1-2. Create Patients in OpenMRS | ||
name: WF1-2 Create Patients in OpenMRS | ||
adaptor: '@openfn/[email protected]' | ||
enabled: true | ||
globals: | ||
|
@@ -697,7 +703,7 @@ workflows: | |
fn(state => ({ ...state, data: {}, references: [] })); | ||
WF1-3.-Update-DHIS2-TEIs-with-uuid: | ||
name: WF1-3. Update DHIS2 TEIs with uuid | ||
name: WF1-3 Update DHIS2 TEIs with uuid | ||
adaptor: '@openfn/[email protected]' | ||
enabled: true | ||
globals: | ||
|
@@ -748,14 +754,17 @@ workflows: | |
source_trigger: Yearly-on-Jan-1 | ||
target_job: WF1-1.-Get-active-TEIs-from-DHIS2 | ||
condition: always | ||
condition_type: always | ||
WF1-1.-Get-active-TEIs-from-DHIS2->WF1-2.-Create-Patients-in-OpenMRS: | ||
source_job: WF1-1.-Get-active-TEIs-from-DHIS2 | ||
target_job: WF1-2.-Create-Patients-in-OpenMRS | ||
condition: on_job_success | ||
condition_type: always | ||
WF1-2.-Create-Patients-in-OpenMRS->WF1-3.-Update-DHIS2-TEIs-with-uuid: | ||
source_job: WF1-2.-Create-Patients-in-OpenMRS | ||
target_job: WF1-3.-Update-DHIS2-TEIs-with-uuid | ||
condition: on_job_success | ||
condition_type: always | ||
Workflow-test-http-get: | ||
name: Workflow test http get | ||
jobs: | ||
|
@@ -794,3 +803,4 @@ workflows: | |
source_trigger: Daily-@-6:00AM | ||
target_job: test-http-get | ||
condition: always | ||
condition_type: always |