Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #670 from hmcts/hmis-1144-test
Browse files Browse the repository at this point in the history
Hmis 1144 test
  • Loading branch information
praveenrach authored Mar 1, 2023
2 parents 8067763 + dcaf7d3 commit af5a2ad
Show file tree
Hide file tree
Showing 19 changed files with 2,047 additions and 658 deletions.
998 changes: 998 additions & 0 deletions infrastructure/logic-app/rota/hmi-la-rota-copy-files.json

Large diffs are not rendered by default.

45 changes: 30 additions & 15 deletions infrastructure/logic-app/rota/hmi-la-rota-file-pub.json
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,22 @@
"dependsOn": [
"[resourceId('Microsoft.Web/connections', 'azureblob')]",
"[resourceId('Microsoft.Web/connections', 'keyvault')]",
"[resourceId('Microsoft.Web/connections', 'azuretables')]"
"[resourceId('Microsoft.Web/connections', 'azuretables')]",
"[resourceId('Microsoft.Web/connections', 'azuretables-1')]",
"[resourceId('Microsoft.Web/connections', 'azuretables-2')]",
"[resourceId('Microsoft.Web/connections', 'azuretables-3')]",
"[resourceId('Microsoft.Web/connections', 'azuretables-4')]",
"[resourceId('Microsoft.Web/connections', 'azuretables-5')]",
"[resourceId('Microsoft.Web/connections', 'azuretables-6')]",
"[resourceId('Microsoft.Web/connections', 'azuretables-7')]",
"[resourceId('Microsoft.Web/connections', 'azuretables-8')]",
"[resourceId('Microsoft.Web/connections', 'azuretables-9')]",
"[resourceId('Microsoft.Web/connections', 'azuretables-10')]",
"[resourceId('Microsoft.Web/connections', 'azuretables-11')]",
"[resourceId('Microsoft.Web/connections', 'azuretables-12')]",
"[resourceId('Microsoft.Web/connections', 'azuretables-13')]",
"[resourceId('Microsoft.Web/connections', 'azuretables-14')]",
"[resourceId('Microsoft.Web/connections', 'azuretables-15')]"
],
"properties": {
"state": "Enabled",
Expand Down Expand Up @@ -630,7 +645,7 @@
"method": "post",
"path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent('AccountNameFromSettings'))}/files",
"queries": {
"folderPath": "/rota/input/",
"folderPath": "/rota/primaryinput/",
"name": "read.me",
"queryParametersSingleEncoded": true
}
Expand All @@ -650,7 +665,7 @@
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['azuretables']['connectionId']"
"name": "@parameters('$connections')[concat('azuretables-',rand(1,15))]['connectionId']"
}
},
"method": "get",
Expand Down Expand Up @@ -705,7 +720,7 @@
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['azuretables']['connectionId']"
"name": "@parameters('$connections')[concat('azuretables-',rand(1,15))]['connectionId']"
}
},
"method": "get",
Expand All @@ -725,7 +740,7 @@
},
"host": {
"connection": {
"name": "@parameters('$connections')['azuretables']['connectionId']"
"name": "@parameters('$connections')[concat('azuretables-',rand(1,15))]['connectionId']"
}
},
"method": "patch",
Expand All @@ -745,7 +760,7 @@
},
"host": {
"connection": {
"name": "@parameters('$connections')['azuretables']['connectionId']"
"name": "@parameters('$connections')[concat('azuretables-',rand(1,15))]['connectionId']"
}
},
"method": "patch",
Expand Down Expand Up @@ -1108,7 +1123,7 @@
"method": "post",
"path": "/datasets/default/files",
"queries": {
"folderPath": "/rota/input/",
"folderPath": "/rota/primaryinput/",
"name": "read.me",
"queryParametersSingleEncoded": true
}
Expand Down Expand Up @@ -1194,10 +1209,10 @@
"method": "post",
"path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent('AccountNameFromSettings'))}/copyFile",
"queries": {
"destination": "/rota/input@{items('For_each_error_file')?['PartitionKey']}",
"destination": "/rota/primaryinput@{items('For_each_error_file')?['PartitionKey']}",
"overwrite": true,
"queryParametersSingleEncoded": true,
"source": "/rota/input/@{items('For_each_error_file')?['PartitionKey']}"
"source": "/rota/primaryinput/@{items('For_each_error_file')?['PartitionKey']}"
}
}
},
Expand All @@ -1218,7 +1233,7 @@
}
},
"method": "delete",
"path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent('AccountNameFromSettings'))}/files/@{encodeURIComponent(encodeURIComponent('/rota/input/',items('For_each_error_file')?['PartitionKey']))}"
"path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent('AccountNameFromSettings'))}/files/@{encodeURIComponent(encodeURIComponent('/rota/primaryinput/',items('For_each_error_file')?['PartitionKey']))}"
}
},
"Get_secret_SNow_client": {
Expand Down Expand Up @@ -1298,7 +1313,7 @@
},
"host": {
"connection": {
"name": "@parameters('$connections')['azuretables']['connectionId']"
"name": "@parameters('$connections')[concat('azuretables-',rand(1,15))]['connectionId']"
}
},
"method": "patch",
Expand Down Expand Up @@ -1326,7 +1341,7 @@
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['azuretables']['connectionId']"
"name": "@parameters('$connections')[concat('azuretables-',rand(1,15))]['connectionId']"
}
},
"method": "get",
Expand All @@ -1349,7 +1364,7 @@
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['azuretables']['connectionId']"
"name": "@parameters('$connections')[concat('azuretables-',rand(1,15))]['connectionId']"
}
},
"method": "get",
Expand Down Expand Up @@ -1520,7 +1535,7 @@
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['azuretables']['connectionId']"
"name": "@parameters('$connections')[concat('azuretables-',rand(1,15))]['connectionId']"
}
},
"method": "get",
Expand Down Expand Up @@ -1582,7 +1597,7 @@
}
},
"method": "get",
"path": "/datasets/default/foldersV2/@{encodeURIComponent(encodeURIComponent('/rota/input'))}",
"path": "/datasets/default/foldersV2/@{encodeURIComponent(encodeURIComponent('/rota/primaryinput'))}",
"queries": {
"nextPageMarker": "",
"useFlatListing": false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@
"destination": "@{concat('rota/output/', body('Parse_JSON')?['filename'])}",
"overwrite": true,
"queryParametersSingleEncoded": true,
"source": "@{concat('rota/input/', body('Parse_JSON')?['filename'])}"
"source": "@{concat('rota/primaryinput/', body('Parse_JSON')?['filename'])}"
}
}
},
Expand All @@ -608,7 +608,7 @@
}
},
"method": "delete",
"path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent('AccountNameFromSettings'))}/files/@{encodeURIComponent(encodeURIComponent(concat('rota/input/', body('Parse_JSON')?['filename'])))}"
"path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent('AccountNameFromSettings'))}/files/@{encodeURIComponent(encodeURIComponent(concat('rota/primaryinput/', body('Parse_JSON')?['filename'])))}"
}
},
"For_each_CLP": {
Expand Down Expand Up @@ -749,7 +749,7 @@
}
},
"method": "get",
"path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent('AccountNameFromSettings'))}/files/@{encodeURIComponent(encodeURIComponent(concat('rota/input/', body('Parse_JSON')?['filename'])))}/content",
"path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent('AccountNameFromSettings'))}/files/@{encodeURIComponent(encodeURIComponent(concat('rota/primaryinput/', body('Parse_JSON')?['filename'])))}/content",
"queries": {
"inferContentType": true
}
Expand Down
Loading

0 comments on commit af5a2ad

Please sign in to comment.