Skip to content

Commit

Permalink
Layout content of on-demand subprocesses (#130)
Browse files Browse the repository at this point in the history
* first layouting attempt

* Layout contents of on-demand subprocesses

* Clean up

* Simplify functionality

* Avoid copying ServiceTask attributes to SubProcess

* fix urlParts

* fix dedicated gateway logic

* adjust selfservice and qprov endpoint url

* Lint modeler

* Fix dedicated gateways

* fix blacklist

* Fix on-demand scripts

* Fix groovy syntax

* Add QProv endpoint for on-demand deployment

---------

Co-authored-by: mbeisel <[email protected]>
  • Loading branch information
wederbn and mbeisel authored Dec 8, 2023
1 parent fe5b116 commit 56c8480
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,18 +181,18 @@ export async function bindUsingPush(csar, serviceTaskId, elementRegistry) {
async function extractSelfserviceApplicationUrl(propertiesUrl) {
let buildPlanResponse = await fetchDataFromEndpoint(propertiesUrl);
console.log(buildPlanResponse);
const selfserviceApplicationUrl = buildPlanResponse.outputs.filter(
(x) => x.name === "selfserviceApplicationUrl"
const selfServiceApplicationUrl = buildPlanResponse.outputs.filter(
(x) => x.name === "selfServiceApplicationUrl"
);
if (
selfserviceApplicationUrl === undefined ||
selfserviceApplicationUrl.length < 1
selfServiceApplicationUrl === undefined ||
selfServiceApplicationUrl.length < 1
) {
console.error(
"Unable to fetch selfserviceApplicationUrl from: " + propertiesUrl
"Unable to fetch selfServiceApplicationUrl from: " + propertiesUrl
);
return undefined;
}
console.log(selfserviceApplicationUrl);
return selfserviceApplicationUrl[0].value;
console.log(selfServiceApplicationUrl);
return selfServiceApplicationUrl[0].value;
}
Loading

0 comments on commit 56c8480

Please sign in to comment.