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

@@ -8,18 +8,16 @@ import * as appstate from '../appstate.js';
@customElement('cloudly-view-secretsgroups')
export class CloudlyViewSecretGroups extends DeesElement {
@state()
private data: appstate.IDataState = {
secretGroups: [],
secretBundles: [],
};
private data: appstate.IDataState = {};
constructor() {
super();
appstate.dataState
const subscription = appstate.dataState
.select((stateArg) => stateArg)
.subscribe((dataArg) => {
this.data = dataArg;
});
this.rxSubscriptions.push(subscription);
}
public static styles = [
@@ -36,7 +34,7 @@ export class CloudlyViewSecretGroups extends DeesElement {
<dees-table
heading1="SecretGroups"
heading2="decoded in client"
.data=${this.data.secretGroups}
.data=${this.data.secretGroups || []}
.displayFunction=${(secretGroup: plugins.interfaces.data.ISecretGroup) => {
return {
name: secretGroup.data.name,