jfgarcia268 / vlocity-es_devops_tools

Other
20 stars 6 forks source link

Need inputs for CMT admin tasks #99

Open ramesh-karanji opened 1 year ago

ramesh-karanji commented 1 year ago

I'm trying to automate the CMT admin jobs through your vlocityestools:jobs:executejobs and unsure how to progress with following tasks:

  1. Maintenance Jobs → PRODUCT HIERARCHY MAINTENANCE (Ensure to tick ‘Delete old data’ ) - which method and what option can be used to select Delete old data option in jobs.yml. I assume "startProductHierarchyJob" is the method name

  2. Maintenance Jobs → REFRESH PLATFORM CACHE (FULL) Select the pricelist before Start - when we use this method refreshPriceBook, if no pricelists are passed to it, will it run on all the available pricelist or its mandatory to pass the list using selectedlist?

  3. Cache Catalog Product Definition Jobs → Click Start → Select all catalogs → Click ‘OK’ → in GENERATE CATALOG PRODUCT DEFINITIONS - which method name need to be used for this and list of catalogs to pass. I assume "startPopulateCatalogCodeBatchJob" is the method name

@jfgarcia268 @92SGupta Appreciate your inputs on this at the earliest.

jfgarcia268 commented 1 year ago

@ramesh-karanji Please try this: 1 '{"methodName":"startProductHierarchyJob","deleteOldData":"true"}' 2 '{"methodName":"refreshPricebook","priceBookId":"xxxxx"}' 3 I am not sure but I think you are right.