Aias00 opened a new pull request, #791:
URL: https://github.com/apache/rocketmq-dashboard/pull/791

   ### Which Issue(s) This PR Fixes
   
   Fixes #790
   
   ### Brief Description
   
   `InMemoryInstanceRepository` currently seeds demo production/staging/dev 
instances as soon as the backend starts. This PR makes demo instance data 
opt-in so a fresh Studio backend does not fabricate instance resources by 
default.
   
   Changes:
   
   - Add `studio.instance.seed-demo-data`, defaulting to `false`.
   - Seed `InMemoryInstanceRepository` only when that flag is enabled.
   - Update repository tests to cover both default empty state and explicit 
demo seeding.
   
   ### How Did You Test This Change?
   
   - 
`JAVA_HOME=/Users/aias/Library/Java/JavaVirtualMachines/openjdk-21.0.2/Contents/Home
 mvn -Dtest=InMemoryInstanceRepositoryTest,StudioApplicationTest test`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to