hmcts / roadmap-platform-operations

0 stars 0 forks source link

Create a new ADO/Jenkins Job for STE for running aggregate rebuild JMX command (155) #2300

Open hmcts-platform-operations opened 2 weeks ago

hmcts-platform-operations commented 2 weeks ago

DTSPO-22131

Summary

Create a new Jenkins Job for STE for running aggregate rebuild JMX command

Why are we carrying this out?

To be able to run the rebuild aggregate JMX command

Work to complete

Additional Information

  As a user{},{} I want to run aggregate rebuild snapshot JMX command like

./runSystemCommand.sh REBUILD_SNAPSHOTS baa2ec52-296b-3f38-922a-9e641c1f94d3  uk.gov.moj.cpp.results.domain.aggregate.ProsecutionAuthorityAggregate

,_ so that _so that the aggregate snapshot is rebuilt for the provided streamId and aggregate type

Note that this JMX command is currently experimental and is available only in the results context

https://codereview.mdv.cpp.nonlive/plugins/gitiles/cpp.context.results/+/refs/heads/dev/regenerate-snapshots-command/runSystemCommand.sh 

This job could be a clone of the existing

https://build.mdv.cpp.nonlive/job/aks*jobs_ccm-jobs_jmx*job.groovy/

Later one, this job will take over the above/existing one once we make the new JMX command available on all contexts

Intended Outcome

What is the outcome going to be