feat(deployment): Implement Deployment and DeploymentManager classes with CRUD operations and service integration

This commit is contained in:
2025-09-08 12:46:23 +00:00
parent 4e38d2ff43
commit ce047d1bb0
11 changed files with 462 additions and 41 deletions

View File

@@ -14,6 +14,8 @@ export class ServiceManager {
constructor(cloudlyRef: Cloudly) {
this.cloudlyRef = cloudlyRef;
this.cloudlyRef.typedrouter.addTypedRouter(this.typedrouter);
this.typedrouter.addTypedHandler(
new plugins.typedrequest.TypedHandler<plugins.servezoneInterfaces.requests.service.IRequest_Any_Cloudly_GetServices>(
@@ -97,4 +99,14 @@ export class ServiceManager {
)
);
}
public async start() {
// ServiceManager is ready - handlers are already registered in constructor
console.log('ServiceManager started');
}
public async stop() {
// Cleanup if needed
console.log('ServiceManager stopped');
}
}