From 6187c942bedebeb2f452ed0856652f90cd5c5772 Mon Sep 17 00:00:00 2001 From: Idan Amit Date: Sun, 15 Apr 2018 19:19:08 +0300 Subject: New observable notify design in pubsub Implemented the new subscription mechanism for the pub sub notify function Change-Id: I5e6484adf1a0413d48b54b55048cda1a59b387ee Issue-ID: SDC-1178 Signed-off-by: Idan Amit --- catalog-ui/src/app/services/components/resource-service.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'catalog-ui/src/app/services/components/resource-service.ts') diff --git a/catalog-ui/src/app/services/components/resource-service.ts b/catalog-ui/src/app/services/components/resource-service.ts index aabc14f8bd..15ef51e475 100644 --- a/catalog-ui/src/app/services/components/resource-service.ts +++ b/catalog-ui/src/app/services/components/resource-service.ts @@ -26,7 +26,6 @@ import * as _ from "lodash"; import {IComponentService, ComponentService} from "./component-service"; import {PropertyModel, IAppConfigurtaion, Resource, Component} from "../../models"; import {SharingService} from "../sharing-service"; -import {EventBusService} from "../../ng2/services/event-bus.service"; export interface IResourceService extends IComponentService { updateResourceGroupProperties(uniqueId:string, groupId:string, properties:Array):ng.IPromise> @@ -39,18 +38,16 @@ export class ResourceService extends ComponentService implements IResourceServic 'sdcConfig', 'Sdc.Services.SharingService', '$q', - '$base64', - 'EventBusService' + '$base64' ]; constructor(protected restangular:restangular.IElement, protected sdcConfig:IAppConfigurtaion, protected sharingService:SharingService, protected $q:ng.IQService, - protected $base64:any, - protected eventBusService:EventBusService + protected $base64:any ) { - super(restangular, sdcConfig, sharingService, $q, $base64, eventBusService); + super(restangular, sdcConfig, sharingService, $q, $base64); this.restangular = restangular.one("resources"); } -- cgit 1.2.3-korg