@meshmakers/octo-services 3.3.1150 → 3.3.1160
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4093,6 +4093,22 @@ class CommunicationService {
|
|
|
4093
4093
|
const response = await firstValueFrom(this.httpClient.get(uri));
|
|
4094
4094
|
return response ?? [];
|
|
4095
4095
|
}
|
|
4096
|
+
/**
|
|
4097
|
+
* Returns every template placeholder a workload can reference in its
|
|
4098
|
+
* `hostname`, non-secret `valueOverride.value` or `valuesYaml`. Spans
|
|
4099
|
+
* the three families `context.tenantId`, `domain.NAME`, `service.NAME`
|
|
4100
|
+
* in one ordered list so the workload editor can offer a single
|
|
4101
|
+
* suggestion source. Read-only; result is identical per tenant on the
|
|
4102
|
+
* instance.
|
|
4103
|
+
*/
|
|
4104
|
+
async getWorkloadVariables(tenantId) {
|
|
4105
|
+
if (!this.communicationServicesUrl) {
|
|
4106
|
+
return [];
|
|
4107
|
+
}
|
|
4108
|
+
const uri = `${this.communicationServicesUrl}${tenantId}/v1/communication/workload-variables`;
|
|
4109
|
+
const response = await firstValueFrom(this.httpClient.get(uri));
|
|
4110
|
+
return response ?? [];
|
|
4111
|
+
}
|
|
4096
4112
|
/**
|
|
4097
4113
|
* Undeploys a single workload (Adapter or Application). Triggers a
|
|
4098
4114
|
* helm-uninstall for the workload only; the pool itself stays deployed.
|