Corrected the property name#194
Conversation
Signed-off-by: ase-101 <sunkadaeanusha@gmail.com>
WalkthroughConfiguration properties in the identity plugin are refactored from URL-based to domain-based organization. Multiple service endpoints for identity management, key management, credential requests, and authentication mechanisms are updated to derive from new domain-based properties instead of full URLs. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip You can customize the tone of the review comments and chat replies.Configure the |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
mosip-identity-plugin/src/main/resources/application.properties (1)
48-48: Consider centralizing repeated masterdata base path.
${mosip.esignet.masterdata.domain}/v1/masterdatais repeated in multiple properties; a shared base property would reduce drift risk in future edits.Refactor sketch
+mosip.esignet.masterdata.base-url=${mosip.esignet.masterdata.domain}/v1/masterdata -mosip.signup.idrepo.schema-url=${mosip.esignet.masterdata.domain}/v1/masterdata/idschema/latest?schemaVersion= +mosip.signup.idrepo.schema-url=${mosip.esignet.masterdata.base-url}/idschema/latest?schemaVersion= -mosip.signup.mosipid.get-ui-spec.endpoint=${mosip.esignet.masterdata.domain}/v1/masterdata/uispec/esignet-signup/latest?type=schema +mosip.signup.mosipid.get-ui-spec.endpoint=${mosip.esignet.masterdata.base-url}/uispec/esignet-signup/latest?type=schema -mosip.signup.mosipid.dynamic-fields.endpoint=${mosip.esignet.masterdata.domain}/v1/masterdata/dynamicfields?pageNumber=%d&pageSize=%d +mosip.signup.mosipid.dynamic-fields.endpoint=${mosip.esignet.masterdata.base-url}/dynamicfields?pageNumber=%d&pageSize=%d -mosip.signup.mosipid.doc-types-category.endpoint=${mosip.esignet.masterdata.domain}/v1/masterdata/applicanttype/000/languages?languages=eng +mosip.signup.mosipid.doc-types-category.endpoint=${mosip.esignet.masterdata.base-url}/applicanttype/000/languages?languages=engAlso applies to: 58-58, 60-60, 63-63
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@mosip-identity-plugin/src/main/resources/application.properties` at line 48, Create a new shared base property (e.g., mosip.masterdata.base=${mosip.esignet.masterdata.domain}/v1/masterdata) and update all properties that currently inline `${mosip.esignet.masterdata.domain}/v1/masterdata`—including mosip.signup.idrepo.schema-url and the other entries flagged in the file—to reference the new base property (e.g., ${mosip.masterdata.base}/idschema/latest?schemaVersion=) so the repeated masterdata path is centralized and easier to maintain.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@mosip-identity-plugin/src/main/resources/application.properties`:
- Line 48: Create a new shared base property (e.g.,
mosip.masterdata.base=${mosip.esignet.masterdata.domain}/v1/masterdata) and
update all properties that currently inline
`${mosip.esignet.masterdata.domain}/v1/masterdata`—including
mosip.signup.idrepo.schema-url and the other entries flagged in the file—to
reference the new base property (e.g.,
${mosip.masterdata.base}/idschema/latest?schemaVersion=) so the repeated
masterdata path is centralized and easier to maintain.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 170f26cf-903a-4a01-b24e-84dd482509da
📒 Files selected for processing (1)
mosip-identity-plugin/src/main/resources/application.properties
Signed-off-by: ase-101 <sunkadaeanusha@gmail.com>
* Update README.md (#187) Signed-off-by: Rajapandi M <138785181+rajapandi1234@users.noreply.github.com> * ES-2914 (#190) * ES-2914 Signed-off-by: ase-101 <sunkadaeanusha@gmail.com> * Fixed review comments Signed-off-by: ase-101 <sunkadaeanusha@gmail.com> * Fixed review comments Signed-off-by: ase-101 <sunkadaeanusha@gmail.com> * Fixed review comments Signed-off-by: ase-101 <sunkadaeanusha@gmail.com> * Fixed review comments Signed-off-by: ase-101 <sunkadaeanusha@gmail.com> --------- Signed-off-by: ase-101 <sunkadaeanusha@gmail.com> * ES-2914 (#191) * Fixed mock identity validation issue removed unnecessary configurations Signed-off-by: ase-101 <sunkadaeanusha@gmail.com> * Removed unnecessary configurations Signed-off-by: ase-101 <sunkadaeanusha@gmail.com> * Fixed review comment Signed-off-by: ase-101 <sunkadaeanusha@gmail.com> * Fixed review comment Signed-off-by: ase-101 <sunkadaeanusha@gmail.com> * Fixed review comments Signed-off-by: ase-101 <sunkadaeanusha@gmail.com> --------- Signed-off-by: ase-101 <sunkadaeanusha@gmail.com> * ES-2955 idrepo update identity workaround (#193) * fix: idrepo update identity workaround Signed-off-by: Nandhukumar <nandhukumare@gmail.com> * ES-2955 | fix: idrepo update identity workaround Signed-off-by: Nandhukumar <nandhukumare@gmail.com> --------- Signed-off-by: Nandhukumar <nandhukumare@gmail.com> * Corrected the property name (#194) Signed-off-by: ase-101 <sunkadaeanusha@gmail.com> --------- Signed-off-by: Rajapandi M <138785181+rajapandi1234@users.noreply.github.com> Signed-off-by: ase-101 <sunkadaeanusha@gmail.com> Signed-off-by: Nandhukumar <nandhukumare@gmail.com> Co-authored-by: Rajapandi M <138785181+rajapandi1234@users.noreply.github.com> Co-authored-by: ase-101 <sunkadaeanusha@gmail.com> Co-authored-by: Nandhukumar <nandhukumare@gmail.com>
Summary by CodeRabbit