X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Fservices%2Fpolicy%2Fpolicy.service.ts;h=b92e8f11b37e2329bb3be1e734b8a5e7d8db2276;hb=23c9d465c66e1d4c6168b09224bc78a90980754c;hp=c5ee5798ac24a288a3d82b3775536f4cf7254fcb;hpb=efa04691a875bc467b43f23f3542a71271b3c3ad;p=portal%2Fnonrtric-controlpanel.git diff --git a/webapp-frontend/src/app/services/policy/policy.service.ts b/webapp-frontend/src/app/services/policy/policy.service.ts index c5ee579..b92e8f1 100644 --- a/webapp-frontend/src/app/services/policy/policy.service.ts +++ b/webapp-frontend/src/app/services/policy/policy.service.ts @@ -88,13 +88,14 @@ export class PolicyService { * @returns Observable that should yield a response code, no data */ putPolicy(policyTypeId: string, policyInstanceId: string, policyJson: string, ric: string): Observable { - const url = this.buildPath(this.policyTypePath, policyTypeId, this.policyPath, policyInstanceId) + "?ric=" + ric; + const url = this.buildPath(this.policyTypePath, policyTypeId, this.policyPath, policyInstanceId) + '?ric=' + ric; return this.httpClient.put(url, policyJson, { observe: 'response' }); } /** * Deletes a policy instance. - * @param policyTypeId + * @param policyTypeId ID of the policy type that the instance belong to + * @param policyInstanceId ID of the instance * @returns Observable that should yield a response code, no data */ deletePolicy(policyTypeId: string, policyInstanceId: string): Observable {