diff --git a/operational/flexera/cco/billing_centers_from_dimensions/billing_centers_from_dimensions.pt b/operational/flexera/cco/billing_centers_from_dimensions/billing_centers_from_dimensions.pt index a8f14a8252..52bbcdb2de 100644 --- a/operational/flexera/cco/billing_centers_from_dimensions/billing_centers_from_dimensions.pt +++ b/operational/flexera/cco/billing_centers_from_dimensions/billing_centers_from_dimensions.pt @@ -157,7 +157,7 @@ datasource "ds_billing_centers" do request do auth $auth_flexera host rs_optima_host - path join(["/analytics/orgs/",rs_org_id,"/billing_centers"]) + path join(["/analytics/orgs/", rs_org_id, "/billing_centers"]) query "view", "allocation_table" header "Api-Version", "1.0" header "User-Agent", "RS Policies" @@ -731,12 +731,12 @@ define billing_center_create($data, $rs_org_id, $rs_optima_host) do if $bc["billing_center_index"] == 0 || $bc["billing_center_parent_id"] != null $parent_href = null if $bc["billing_center_parent_id"] != null - $parent_href = join(["/analytics/orgs/",$rs_org_id,"/billing_centers/",$bc["billing_center_parent_id"]]) + $parent_href = join(["/analytics/orgs/", $rs_org_id, "/billing_centers/", $bc["billing_center_parent_id"]]) end call log_message(to_s($data_index)+"/"+to_s($data_total)+" Creating billing center: "+$bc["billing_center_name"]+" under parent: "+to_s($parent_href)) $request = { "auth": $$auth_flexera, - "url": join(["https://",$rs_optima_host,"/analytics/orgs/",$rs_org_id,"/billing_centers"]), + "url": join(["https://", $rs_optima_host, "/analytics/orgs/", $rs_org_id, "/billing_centers"]), "headers": {"Api-Version": "1.0" }, "body": { "description": "Billing Center for "+$bc["billing_center_name"], @@ -758,7 +758,7 @@ define billing_center_create($data, $rs_org_id, $rs_optima_host) do # If we encountered any errors, use `raise` to mark the CWF process as errored if inspect($$errors) != "null" - raise join($$errors,"\n") + raise join($$errors, "\n") end end @@ -774,7 +774,7 @@ define billing_center_delete($data, $rs_org_id, $rs_optima_host) do call log_message(to_s($data_index)+"/"+to_s($data_total)+" Starting delete billing center: "+$bc["billing_center_name"]+ "("+$bc["billing_center_id"] + ")" ) $request = { "auth": $$auth_flexera, - "url": join(["https://",$rs_optima_host,"/analytics/orgs/",$rs_org_id,"/billing_centers/", $bc["billing_center_id"]]), + "url": join(["https://", $rs_optima_host , "/analytics/orgs/", $rs_org_id, "/billing_centers/", $bc["billing_center_id"]]), "headers": {"Api-Version": "1.0" } } $response = http_delete($request) @@ -792,7 +792,7 @@ define billing_center_delete($data, $rs_org_id, $rs_optima_host) do # If we encountered any errors, use `raise` to mark the CWF process as errored if inspect($$errors) != "null" - raise join($$errors,"\n") + raise join($$errors, "\n") end end