Provide test coverage of PolicyService
[portal/nonrtric-controlpanel.git] / webapp-frontend / src / app / services / policy / policy.service.ts
index 8c6d015..879b758 100644 (file)
@@ -83,18 +83,6 @@ export class PolicyService {
     return this.httpClient.get<PolicyStatus>(url);
   }
 
-  /**
-   * Gets policy parameters.
-   * @returns Observable that should yield a policy instance
-   */
-  getPolicy(policyTypeId: string, policyInstanceId: string): Observable<any> {
-    const url =
-      this.buildPath(this.policyPath, policyInstanceId) +
-      "?type=" +
-      policyTypeId;
-    return this.httpClient.get<any>(url);
-  }
-
   /**
    * Creates or replaces policy instance.
    * @param policyTypeId ID of the policy type that the instance will have