Update service data model to include requiresDomain and domain status fields.
This commit is contained in:
15
path/to/service_model.js
Normal file
15
path/to/service_model.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// Update the service data model to include requiresDomain and domain status fields.
|
||||||
|
|
||||||
|
class Service {
|
||||||
|
String name;
|
||||||
|
boolean requiresDomain;
|
||||||
|
DomainStatus domainStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Enum to represent domain status health checks for services
|
||||||
|
enum DomainStatus {
|
||||||
|
MISSING,
|
||||||
|
MISCONFIGURED,
|
||||||
|
CONNECTED,
|
||||||
|
UNKNOWN
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user