From bfbcd772732740d645456596834e08f085c477cd Mon Sep 17 00:00:00 2001 From: sumanvpacewisdom Date: Mon, 12 Feb 2024 14:25:48 +0530 Subject: [PATCH 1/3] cleaned login interface and added internalcall api --- src/constants/config.json | 35 +++++++++++++---------------------- 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/src/constants/config.json b/src/constants/config.json index 31dd584..0301165 100644 --- a/src/constants/config.json +++ b/src/constants/config.json @@ -82,28 +82,6 @@ } ] }, - { - "sourceRoute": "/interface/v1/account/login", - "type": "POST", - "priority": "MUST_HAVE", - "inSequence": true, - "orchestrated": true, - "responseMessage": "User logged in successfully.", - "targetPackages": [ - { - "basePackageName": "user", - "packageName": "elevate-user", - "targetBody": [], - "responseBody": [] - }, - { - "basePackageName": "mentoring", - "packageName": "elevate-mentoring", - "targetBody": [], - "responseBody": [{ "sourceField": "permissions", "targetField": "user.permissions[]" }] - } - ] - }, { "sourceRoute": "/user/v1/account/login", "type": "POST", @@ -273,6 +251,19 @@ } ] }, + { + "sourceRoute": "/user/v1/role-permission-mapping/internalList", + "type": "POST", + "priority": "MUST_HAVE", + "inSequence": false, + "orchestrated": false, + "targetPackages": [ + { + "basePackageName": "user", + "packageName": "elevate-user" + } + ] + }, { "sourceRoute": "/user/v1/account/acceptTermsAndCondition", "type": "PATCH", From 1ce38eecab315fcc1ac93649214920960e05f665 Mon Sep 17 00:00:00 2001 From: sumanvpacewisdom Date: Tue, 13 Feb 2024 13:42:50 +0530 Subject: [PATCH 2/3] clean up code --- src/constants/config.json | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/constants/config.json b/src/constants/config.json index 0301165..3c84321 100644 --- a/src/constants/config.json +++ b/src/constants/config.json @@ -251,19 +251,6 @@ } ] }, - { - "sourceRoute": "/user/v1/role-permission-mapping/internalList", - "type": "POST", - "priority": "MUST_HAVE", - "inSequence": false, - "orchestrated": false, - "targetPackages": [ - { - "basePackageName": "user", - "packageName": "elevate-user" - } - ] - }, { "sourceRoute": "/user/v1/account/acceptTermsAndCondition", "type": "PATCH", From 59f315831d65ad2d274b213a632e5cd3feb5b47a Mon Sep 17 00:00:00 2001 From: sumanvpacewisdom Date: Tue, 26 Mar 2024 12:01:52 +0530 Subject: [PATCH 3/3] change_password Api --- src/constants/config.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/constants/config.json b/src/constants/config.json index 0ffe534..7eef8c2 100644 --- a/src/constants/config.json +++ b/src/constants/config.json @@ -2927,6 +2927,19 @@ "packageName": "elevate-user" } ] + }, + { + "sourceRoute": "/user/v1/account/changePassword", + "type": "POST", + "priority": "MUST_HAVE", + "inSequence": false, + "orchestrated": false, + "targetPackages": [ + { + "basePackageName": "user", + "packageName": "elevate-user" + } + ] } ], "requiredEnvs": {