Skip to content

Merged 3.8.2 from branch - #172

Merged
vishwab1 merged 11 commits into
release-3.8.2from
vb/stoptb
Jul 23, 2026
Merged

Merged 3.8.2 from branch#172
vishwab1 merged 11 commits into
release-3.8.2from
vb/stoptb

Conversation

@vishwab1

Copy link
Copy Markdown
Member

📋 Description

JIRA ID:

Please provide a summary of the change and the motivation behind it. Include relevant context and details.


✅ Type of Change

  • 🐞 Bug fix (non-breaking change which resolves an issue)
  • New feature (non-breaking change which adds functionality)
  • 🔥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🛠 Refactor (change that is neither a fix nor a new feature)
  • ⚙️ Config change (configuration file or build script updates)
  • 📚 Documentation (updates to docs or readme)
  • 🧪 Tests (adding new or updating existing tests)
  • 🎨 UI/UX (changes that affect the user interface)
  • 🚀 Performance (improves performance)
  • 🧹 Chore (miscellaneous changes that don't modify src or test files)

ℹ️ Additional Information

Please describe how the changes were tested, and include any relevant screenshots, logs, or other information that provides additional context.

vishwab1 and others added 11 commits June 4, 2026 12:25
After MMU user selects their service point/van via getUserVanSpDetails,
write camp:vanID and camp:parkingPlaceID to Redis with 30-day TTL.
FLW-API and TM-API read these keys to stamp correct vanID on all
Stop TB records, enabling MMU DataSync to push data to central.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…l data sync

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…_opd to VALID_TABLES

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…zation

Central RoleAuthenticationFilter reads Jwttoken header, not Authorization.
Sending as Authorization caused 401 on all central data sync calls.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add /dataSync to skip list in JwtUserIdValidationFilter
- Add /dataSync/** to permitAll in SecurityConfig
- Revert RestTemplateUtil to send Authorization header for datasync

Restores release-3.4.2 behavior for datasync path while keeping
WASA security for all other endpoints.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Consistent with release-3.4.2 behavior. Security maintained by
@RequestMapping(headers="Authorization") requirement and skip/permitAll
configuration for /dataSync/** endpoints.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… records on central

Stop TB tables use vanID (camelCase) while standard AMRIT tables use VanID (PascalCase).
HashMap lookup was case-sensitive causing cleanRecord.get("VanID") to return null for
Stop TB tables, resulting in duplicate check always returning 0 and every sync run
inserting a new record instead of updating the existing one.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Identity-API's saveGeneratedBenIDToLocalServer expects a plain JSON array,
not a wrapped object with vanID and benIDList fields.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…to Identity-API

Central response does not include vanID in each record. Added loop to
inject vanID from the original request into each element of the array.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…BLES

These tables were registered in m_synctabledetail but rejected by
central's sync endpoint because DataSyncRepositoryCentral's VALID_TABLES
whitelist didn't include them, causing "Invalid identifiers provided"
errors on every sync attempt.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 324cb304-6640-4775-a196-fc4dcd9c0bb0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@vishwab1
vishwab1 requested a review from SauravBizbRolly July 23, 2026 05:04
@vishwab1
vishwab1 merged commit 09895e1 into release-3.8.2 Jul 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants