Skip to content

Commit

Permalink
Final details
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidJGapCR committed Aug 20, 2024
1 parent 2ffd3c4 commit 8ba3501
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@
" claimsetIdsCreated.push(await createClaimset(claimsetNamesCreated[i]).then(claimsetId => claimsetId));\r",
" }\r",
" \r",
" for (let i = 0; i < pm.collectionVariables.get(\"APPLICATIONCOUNT\"); i++) {\r",
" for (let i = 0; i < applicationcount; i++) {\r",
" let claimsetName = claimsetNamesCreated[i];\r",
" let applicationName = generateAlphanumericString();\r",
"\r",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@
" return shuffleString(result);\r",
"}\r",
"\r",
"const createClaimsets = (name) => new Promise((resolve) => {\r",
"const createClaimset = (name) => new Promise((resolve) => {\r",
" pm.sendRequest({\r",
" url: `${pm.variables.get(\"API_URL\")}/v2/claimSets`,\r",
" method: 'POST',\r",
Expand Down Expand Up @@ -768,12 +768,12 @@
" }\r",
"\r",
" let claimsetsToDelete = [];\r",
" for (let i = 0; i < pm.collectionVariables.get(\"CLAIMSETCOUNT\"); i++) {\r",
" for (let i = 0; i < parseInt(pm.collectionVariables.get(\"CLAIMSETCOUNT\"), 10); i++) {\r",
" let name = generateAlphanumericString();\r",
"\r",
" pm.collectionVariables.set(\"FILTERNAME\", name);\r",
"\r",
" claimsetsToDelete.push(await createClaimsets(name));\r",
" claimsetsToDelete.push(await createClaimset(name).then(claimsetId => claimsetId));\r",
" }\r",
"\r",
" pm.collectionVariables.set(\"CLAIMSETSTODELETE\", JSON.stringify(claimsetsToDelete));\r",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@
" return shuffleString(result);\r",
"}\r",
"\r",
"const createODSInstances = (name, instanceType) => new Promise((resolve) => {\r",
"const createODSInstance = (name, instanceType) => new Promise((resolve) => {\r",
" pm.sendRequest({\r",
" url: `${pm.variables.get(\"API_URL\")}/v2/odsInstances`,\r",
" method: 'POST',\r",
Expand Down Expand Up @@ -1020,14 +1020,14 @@
" }\r",
"\r",
" odsInstancesToDelete = [];\r",
" for (let i = 0; i < pm.collectionVariables.get(\"ODSINSTANCECOUNT\"); i++) {\r",
" for (let i = 0; i < parseInt(pm.collectionVariables.get(\"ODSINSTANCECOUNT\"), 10); i++) {\r",
" let name = `TestOdsInstance${generateAlphanumericString()}`;\r",
" let instanceType = generateAlphanumericString();\r",
"\r",
" pm.collectionVariables.set(\"FILTERNAME\", name);\r",
" pm.collectionVariables.set(\"FILTERINSTANCETYPE\", instanceType);\r",
"\r",
" odsInstancesToDelete.push(await createODSInstances(name, instanceType));\r",
" odsInstancesToDelete.push(await createODSInstance(name, instanceType).then(odsInstanceId => odsInstanceId));\r",
" }\r",
"\r",
" pm.collectionVariables.set(\"ODSINSTANCESTODELETE\", JSON.stringify(odsInstancesToDelete));\r",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@
" }\r",
"\r",
" let profilesToDelete = [];\r",
" for (let i = 0; i < pm.collectionVariables.get(\"PROFILECOUNT\"); i++) {\r",
" for (let i = 0; i < parseInt(pm.collectionVariables.get(\"PROFILECOUNT\"), 10); i++) {\r",
" let name = generateAlphanumericString();\r",
"\r",
" pm.collectionVariables.set(\"FILTERNAME\", name);\r",
Expand Down

0 comments on commit 8ba3501

Please sign in to comment.