diff options
author | Ittay Stern <ittay.stern@att.com> | 2020-03-26 06:52:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-26 06:52:03 +0000 |
commit | 6ffdec2e4c70db07fa598eb9612d2c8124a29ccc (patch) | |
tree | 3bb3e05d6c4c49b582f90a5e7a6b25f3504bcb4b /vid-webpack-master/src/app/shared/services/aaiService/aai.service.ts | |
parent | e53d09ea02e5f1cfcff0b7614a5e69effaa707a7 (diff) | |
parent | 29187fc161058afd00ba38917ed3d62ed41f1d4c (diff) |
Merge "Revert "VNF's LCP regions found by Line-of-business (and owning-entity)" This reverts commit e2a7abb45b953d405fc5aa1917f74e2da9f188c0."
Diffstat (limited to 'vid-webpack-master/src/app/shared/services/aaiService/aai.service.ts')
-rw-r--r-- | vid-webpack-master/src/app/shared/services/aaiService/aai.service.ts | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/vid-webpack-master/src/app/shared/services/aaiService/aai.service.ts b/vid-webpack-master/src/app/shared/services/aaiService/aai.service.ts index 603ba814d..adb7017be 100644 --- a/vid-webpack-master/src/app/shared/services/aaiService/aai.service.ts +++ b/vid-webpack-master/src/app/shared/services/aaiService/aai.service.ts @@ -228,45 +228,6 @@ export class AaiService { cloudRegionId+AaiService.formatCloudOwnerTrailer(cloudOwner) : cloudRegionId; }; - - - - - getLcpRegionsByOwningEntityAndLineOfBusiness = (owningEntityName, lineOfBusinessName): Observable<LcpRegion[]> => { - // let pathQuery: string = Constants.Path.AAI_GET_LCP_REGIONS_BY____ - // + "?" - // + "owningEntityName=" + owningEntityName - // + "lineOfBusinessName=" + lineOfBusinessName; - - return of([ - new LcpRegion("foo-id", "foo-name", true, "foo-cloud-owner"), - new LcpRegion("foo2-id", "foo2-name", true, "foo2-cloud-owner"), - ]); - }; - - - getTenantsByCloudOwnerAndCloudRegionId = (cloudOwner, cloudRegionId): Observable<Tenant[]> => { - // let pathQuery: string = Constants.Path.AAI_GET_TENANTS_BY____ - // + "?" - // + "cloudOwner=" + cloudOwner - // + "&cloudRegionId=" + cloudRegionId; - - return of([ - new Tenant({ - tenantID: "tenantID", tenantName: "tenantName", - cloudOwner: "cloudOwner", ['is-permitted']: true, - }), - new Tenant({ - tenantID: "tenant2ID", tenantName: "tenant2Name", - cloudOwner: "cloudOwner", ['is-permitted']: true, - }), - ]) - }; - - - - - public static formatCloudOwnerTrailer(cloudOwner: string):string { return " ("+ cloudOwner.trim().toLowerCase().replace(/^[^-]*-/, "").toUpperCase() + ")"; } |