Skip to content

Commit

Permalink
feat: Add Provision Watchers tab to Metadata
Browse files Browse the repository at this point in the history
Signed-off-by: wei.jin <wei.jin@thundersoft.com>
  • Loading branch information
wei.jin committed Aug 22, 2023
1 parent e723d52 commit a321165
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ export class AddProvisionWatcherComponent implements OnInit {
this.newProvisionWatcher.identifiers.address = this.provisionWatcherIdentifiersAddress,
this.newProvisionWatcher.identifiers.port = this.provisionWatcherIdentifiersPort,
this.newProvisionWatcher.blockingIdentifiers.port = this.provisionWatcherBlockingIdentifiers?.split(','),
console.log(this.newProvisionWatcher)

this.metaSvc.addProvisionWatcher(this.newProvisionWatcher).subscribe((resp:any) => {
if(this.errorSvc.handleErrorForAPI(resp)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export class EditProvisionWatcherComponent implements OnInit {
}
this.metaSvc.findProvisionWatcherByName(provisionWatcherName).subscribe((data: ProvisionWatcherResponse) => {
this.provisionWatcher = data.provisionWatcher;
console.log(this.provisionWatcher)
this.provisionWatcherLabels = this.provisionWatcher.labels?.join(',');
this.setDefaultDeviceSvcSelected(this.provisionWatcher.serviceName);
this.setDefaultDeviceProfileSelected(this.provisionWatcher.discoveredDevice.profileName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export class ProvisionWatcherListComponent implements OnInit {
getProvisionWatcherListPagination() {
this.metaSvc.allProvisionWatchersPagination(this.pageOffset, this.pageLimit).subscribe((data: MultiProvisionWatcherResponse) => {
this.provisionWatcherList = data.provisionWatchers;
console.log(this.provisionWatcherList);
});
}
edit() {
Expand Down Expand Up @@ -135,7 +134,6 @@ export class ProvisionWatcherListComponent implements OnInit {
}

nextPage() {
console.log('next');
this.setPagination(1);
this.getProvisionWatcherList();
}
Expand Down

0 comments on commit a321165

Please sign in to comment.