Skip to content

Commit

Permalink
changed the input as per the input parameter
Browse files Browse the repository at this point in the history
Signed-off-by: GOKULRAJ136 <[email protected]>
  • Loading branch information
GOKULRAJ136 committed Feb 5, 2024
1 parent c765a1e commit f30e342
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pmp-ui/src/app/core/services/data-storage.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class DataStorageService {

createMisp(data: RequestModel): Observable<any> {
return this.http.post(
"https://api-internal.dev2.mosip.net/partnermanagement/v1/misps/misps",data
"https://dev..mosip.net/partnermanagement/v1/misps/misps",data
);
}
createPolicy(data: RequestModel): Observable<any> {
Expand Down
2 changes: 1 addition & 1 deletion pmp-ui/src/app/core/services/misp.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class MispService {

constructor(public http: HttpClient, public appService: AppConfigService) { }

public BASE_URL = "https://api-internal.dev2.mosip.net/partnermanagement/v1/misps";
public BASE_URL = "https://dev..mosip.net/partnermanagement/v1/misps";

getRegistrationMispDetails(request: RequestModel): Observable<any> {
return this.http.get(this.BASE_URL +"/misps");;
Expand Down
2 changes: 1 addition & 1 deletion pmp-ui/src/app/core/services/policy.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class PolicyService{

constructor(public http:HttpClient, public appService:AppConfigService){}

public BASE_URL = "https://api-internal.dev2.mosip.net/partnermanagement/v1/policies";
public BASE_URL = "https://dev..mosip.net/partnermanagement/v1/policies";

getPolicyDetails(request: RequestModel): Observable<any> {
console.log("request>>>"+JSON.stringify(request));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ export class MaterDataCommonBodyComponent implements OnInit {
else if(url === "datasharepolicy"){
this.pageName = "Data Share Policy";
this.primaryData = {"name": "", "desc": "", "policies": "", "policyGroupName": "", "policyType": "DataShare", "version": "1.1"};
this.getPolicyGroup("policyGroupName");
this.getPolicyGroup();
}
else if(url === "authpolicy"){
this.pageName = "Auth Policy";
this.primaryData = {"name": "", "desc": "", "policies": "", "policyGroupName": "", "policyType": "Auth", "version": "1.1"};
this.getPolicyGroup("policyGroupName");
this.getPolicyGroup();
}
else if(url === "policymapping"){
this.pageName = "Map Policy";
Expand Down
2 changes: 1 addition & 1 deletion pmp-ui/src/assets/config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"primaryLangCode": "eng",
"secondaryLangCode": "ara",
"baseUrl": "https://api-internal.dev2.mosip.net/",
"baseUrl": "https://dev..mosip.net/",
"pmpUrl":"/",
"version":"v1/"
}

0 comments on commit f30e342

Please sign in to comment.