@meshmakers/octo-services 3.3.1100 → 3.3.1120
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.
|
@@ -4079,6 +4079,20 @@ class CommunicationService {
|
|
|
4079
4079
|
await firstValueFrom(this.httpClient.post(uri, null, { params, observe: 'response' }));
|
|
4080
4080
|
}
|
|
4081
4081
|
}
|
|
4082
|
+
/**
|
|
4083
|
+
* Returns the named public base domains configured on the Communication
|
|
4084
|
+
* Controller instance. Workload editors use the result to populate the
|
|
4085
|
+
* hint list / dropdown behind the `{{domain.NAME}}` Hostname template
|
|
4086
|
+
* syntax. Read-only; result is identical per tenant on the instance.
|
|
4087
|
+
*/
|
|
4088
|
+
async getDomains(tenantId) {
|
|
4089
|
+
if (!this.communicationServicesUrl) {
|
|
4090
|
+
return [];
|
|
4091
|
+
}
|
|
4092
|
+
const uri = `${this.communicationServicesUrl}${tenantId}/v1/communication/domains`;
|
|
4093
|
+
const response = await firstValueFrom(this.httpClient.get(uri));
|
|
4094
|
+
return response ?? [];
|
|
4095
|
+
}
|
|
4082
4096
|
/**
|
|
4083
4097
|
* Undeploys a single workload (Adapter or Application). Triggers a
|
|
4084
4098
|
* helm-uninstall for the workload only; the pool itself stays deployed.
|