Skip to content

Commit

Permalink
Merge branch 'dev' into feat/srs-127b
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhila-aot committed Jan 31, 2024
2 parents 1a2e9bc + 49a62c9 commit d34d980
Show file tree
Hide file tree
Showing 11 changed files with 1,296 additions and 1,050 deletions.
2 changes: 1 addition & 1 deletion etl/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ curl -u <username>:<password> -H "Content-Type: application/json" -d @register-p
```
curl -u <username>:<password> -H "Content-Type: application/json" -d @register-oracle-jdbc-sink-connector.json http://localhost:8083/connectors/
curl -u <username>:<password> -H "Content-Type: application/json" -d @register-oracle-jdbc-sink-connector.json https://debezium-jdbc-latest.apps.silver.devops.gov.bc.ca/connectors/
curl -u <username>:<password> -H "Content-Type: application/json" -d @register-oracle-jdbc-sink-connector.json https://debezium-jdbc-dev.apps.silver.devops.gov.bc.ca/connectors/
```
Expand Down
7 changes: 6 additions & 1 deletion etl/register-postgres-source-connector.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
"transforms.unwrap.type": "io.debezium.transforms.ExtractNewRecordState",
"transforms.unwrap.drop.tombstones": "false",
"include.schema.changes": "false",
"time.precision.mode":"connect"
"time.precision.mode":"connect",
"heartbeat.action.query": "SELECT 1;",
"errors.retry.timeout": -1,
"errors.max.retries": "5",
"retry.backoff.ms": "30000",
"retriable.restart.connector.wait.ms": "30000"
}
}
22 changes: 11 additions & 11 deletions forms-flow-ai/epd-forms/Site Risk Classification Report.json
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
"height": ""
},
"type": "button",
"custom": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\nconst roles = UserDetails[\"role\"];\r\n\r\nif(roles.includes(\"formsflow-reviewer/cssa-manager\") && \r\n(data.selectSdm===''|| data.selectCaseworker===''||data.selectSrco===''))\r\n{\r\n alert('Please assign reviewers to continue!');\r\n \r\n}\r\nelse\r\n{\r\n const submissionId = form._submission._id;\r\n const formId = form._submission.form;\r\n const formDataReqUrl = form.formio?form.formio.formUrl:(localStorage.getItem('customSubmissionUrl')+'/form/'+formId)+'/submission/'+submissionId;\r\n const formDataReqObj1 = { \"_id\": submissionId, \"data\": data};\r\n const formio = new Formio(formDataReqUrl);\r\n formio.saveSubmission(formDataReqObj1).then( result => {\r\n form.emit('customEvent', {\r\n type: \"actionComplete\", \r\n component: component,\r\n actionType: 'Accepted'\r\n }); \r\n }).catch((error)=>{\r\n //Error callback on not Save\r\n form.emit('customEvent', {\r\n type: \"actionError\", \r\n component: component,\r\n actionType:'Accepted'\r\n }); \r\n });\r\n}",
"custom": "const submissionId = form._submission._id;\n const formId = form._submission.form;\n const formDataReqUrl = form.formio?form.formio.formUrl:(localStorage.getItem('customSubmissionUrl')+'/form/'+formId)+'/submission/'+submissionId;\n const formDataReqObj1 = { \"_id\": submissionId, \"data\": data};\n const formio = new Formio(formDataReqUrl);\n formio.saveSubmission(formDataReqObj1).then( result => {\n form.emit('customEvent', {\n type: \"actionComplete\", \n component: component,\n actionType: 'Accepted'\n }); \n }).catch((error)=>{\n //Error callback on not Save\n form.emit('customEvent', {\n type: \"actionError\", \n component: component,\n actionType:'Accepted'\n }); \n });",
"input": true,
"keyModified": true,
"placeholder": "",
Expand Down Expand Up @@ -305,7 +305,7 @@
"showWordCount": false,
"allowMultipleMasks": false,
"addons": [],
"id": "ei0fqxf"
"id": "ee2sv6m"
},
{
"label": "Approved",
Expand Down Expand Up @@ -785,7 +785,7 @@
"allowCalculateOverride": false,
"validateOn": "change",
"validate": {
"required": true,
"required": false,
"onlyAvailableItems": false,
"customMessage": "",
"custom": "",
Expand Down Expand Up @@ -847,7 +847,7 @@
"include": "score",
"threshold": 0.3
},
"id": "el5mtlj",
"id": "eqqpt0n",
"defaultValue": "",
"sort": ""
}
Expand Down Expand Up @@ -928,7 +928,7 @@
"allowCalculateOverride": false,
"validateOn": "change",
"validate": {
"required": true,
"required": false,
"onlyAvailableItems": false,
"customMessage": "",
"custom": "",
Expand Down Expand Up @@ -990,7 +990,7 @@
"include": "score",
"threshold": 0.3
},
"id": "ea94sof",
"id": "e0djsx",
"defaultValue": "",
"sort": ""
}
Expand Down Expand Up @@ -1071,7 +1071,7 @@
"allowCalculateOverride": false,
"validateOn": "change",
"validate": {
"required": true,
"required": false,
"onlyAvailableItems": false,
"customMessage": "",
"custom": "",
Expand Down Expand Up @@ -1133,7 +1133,7 @@
"include": "score",
"threshold": 0.3
},
"id": "epvp7yj",
"id": "ee27bwl",
"defaultValue": "",
"sort": ""
}
Expand Down Expand Up @@ -4303,7 +4303,7 @@
"attributes": {},
"components": [
{
"id": "ele95t000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"id": "ele95t000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"key": "spropertyOwnerAndOrOperator",
"tree": false,
"type": "panel",
Expand Down Expand Up @@ -13713,7 +13713,7 @@
"attributes": {},
"components": [
{
"id": "eks0gu00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"id": "eks0gu00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"key": "exposurePathwayQuestionnaireAffectedParcel",
"tree": false,
"type": "panel",
Expand Down Expand Up @@ -17656,7 +17656,7 @@
}
],
"collapsible": false,
"id": "eo5mwyp000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"id": "eo5mwyp000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"placeholder": "",
"prefix": "",
"customClass": "",
Expand Down
Loading

0 comments on commit d34d980

Please sign in to comment.