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

Commit

Permalink
Rota tokens (#622)
Browse files Browse the repository at this point in the history
* tags clean-up

* using pipeline var for url

* reverted to old build

* added resource group

* removed SNow  params

* removed SNow params

* removed unused params

* using errorBody varable

* removed unused params

* correctted sitting-pattern

* using random azuretables

Co-authored-by: Milan Jotic <[email protected]>
  • Loading branch information
mjotichmcts and mjotic authored Sep 6, 2022
1 parent f2b9f40 commit bc523c4
Show file tree
Hide file tree
Showing 19 changed files with 24 additions and 369 deletions.
26 changes: 7 additions & 19 deletions infrastructure/logic-app/rota/hmi-la-rota-file-pub.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"name": "azureblob",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"api": {
"id": "[concat('subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Web/locations/', resourceGroup().location, '/managedApis/azureblob')]"
Expand All @@ -115,12 +109,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"kind": "V1",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"displayName": "HMI DTU Rota",
"statuses": [
Expand Down Expand Up @@ -246,7 +234,7 @@
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['azuretables']['connectionId']"
"name": "@parameters('$connections')[concat('azuretables-',rand(1,15))]['connectionId']"
}
},
"method": "get",
Expand All @@ -266,7 +254,7 @@
},
"host": {
"connection": {
"name": "@parameters('$connections')['azuretables']['connectionId']"
"name": "@parameters('$connections')[concat('azuretables-',rand(1,15))]s['connectionId']"
}
},
"method": "patch",
Expand All @@ -286,7 +274,7 @@
},
"host": {
"connection": {
"name": "@parameters('$connections')['azuretables']['connectionId']"
"name": "@parameters('$connections')[concat('azuretables-',rand(1,15))]['connectionId']"
}
},
"method": "patch",
Expand Down Expand Up @@ -821,7 +809,7 @@
},
"host": {
"connection": {
"name": "@parameters('$connections')['azuretables']['connectionId']"
"name": "@parameters('$connections')[concat('azuretables-',rand(1,15))]['connectionId']"
}
},
"method": "patch",
Expand All @@ -846,7 +834,7 @@
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['azuretables']['connectionId']"
"name": "@parameters('$connections')[concat('azuretables-',rand(1,15))]['connectionId']"
}
},
"method": "get",
Expand All @@ -866,7 +854,7 @@
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['azuretables']['connectionId']"
"name": "@parameters('$connections')[concat('azuretables-',rand(1,15))]['connectionId']"
}
},
"method": "get",
Expand Down Expand Up @@ -1019,7 +1007,7 @@
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['azuretables']['connectionId']"
"name": "@parameters('$connections')[concat('azuretables-',rand(1,15))]['connectionId']"
}
},
"method": "get",
Expand Down
111 changes: 0 additions & 111 deletions infrastructure/logic-app/rota/hmi-la-rota-session-enricher.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,6 @@
},
"environmentName": {
"type": "string"
},
"serviceNowHostUrl": {
"type": "string"
},
"serviceNowAssignemntGroupId": {
"type": "string"
},
"serviceNowUserRoleTypeId": {
"type": "string"
},
"serviceNowServiceOfferingId": {
"type": "string"
},
"serviceNowCallerId": {
"type": "string"
}
},
"variables": {},
Expand All @@ -44,12 +29,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"name": "azureblob",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"api": {
"id": "[concat('subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Web/locations/', resourceGroup().location, '/managedApis/azureblob')]"
Expand All @@ -73,12 +52,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"kind": "V1",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"displayName": "HMI DTU Rota",
"statuses": [
Expand Down Expand Up @@ -108,12 +81,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"kind": "V1",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"displayName": "HMI DTU Rota",
"statuses": [
Expand Down Expand Up @@ -143,12 +110,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"kind": "V1",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"displayName": "HMI DTU Rota",
"statuses": [
Expand Down Expand Up @@ -178,12 +139,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"kind": "V1",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"displayName": "HMI DTU Rota",
"statuses": [
Expand Down Expand Up @@ -213,12 +168,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"kind": "V1",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"displayName": "HMI DTU Rota",
"statuses": [
Expand Down Expand Up @@ -248,12 +197,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"kind": "V1",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"displayName": "HMI DTU Rota",
"statuses": [
Expand Down Expand Up @@ -283,12 +226,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"kind": "V1",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"displayName": "HMI DTU Rota",
"statuses": [
Expand Down Expand Up @@ -318,12 +255,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"kind": "V1",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"displayName": "HMI DTU Rota",
"statuses": [
Expand Down Expand Up @@ -353,12 +284,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"kind": "V1",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"displayName": "HMI DTU Rota",
"statuses": [
Expand Down Expand Up @@ -388,12 +313,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"kind": "V1",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"displayName": "HMI DTU Rota",
"statuses": [
Expand Down Expand Up @@ -423,12 +342,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"kind": "V1",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"displayName": "HMI DTU Rota",
"statuses": [
Expand Down Expand Up @@ -458,12 +371,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"kind": "V1",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"displayName": "HMI DTU Rota",
"statuses": [
Expand Down Expand Up @@ -493,12 +400,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"kind": "V1",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"displayName": "HMI DTU Rota",
"statuses": [
Expand Down Expand Up @@ -528,12 +429,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"kind": "V1",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"displayName": "HMI DTU Rota",
"statuses": [
Expand Down Expand Up @@ -563,12 +458,6 @@
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"kind": "V1",
"tags": {
"environment": "[parameters('environmentName')]",
"application": "hearings-management-interface",
"businessarea": "cross-cutting",
"builtFrom": "hmcts/hmi-api-gateway-fh"
},
"properties": {
"displayName": "HMI DTU Rota",
"statuses": [
Expand Down
Loading

0 comments on commit bc523c4

Please sign in to comment.