Layer7 API Management

  • 1.  Update Action on CWP Using GMU Manage Mapping Command

    Posted May 17, 2018 09:49 AM

    Hi All,

     

    I was working on this particular use case :-

     

    1. There are 100 Clusterwide properties created in DEV in which 25 belong to DEV, 25 belongs to UAT, 25 belong to SIT and 25 belong to prod. 

    2. Situation here is , once i move the code from DEV to UAT then only those 25 CWP should migrate which belong to UAT rest all other 75 CWP should be ignored. similarly for SIT and Prod.

    3. Is there any way we can do this using regular expression, as all clusterwide properties are in format like (env.uat.***,env.dev.***, env.sit.***,env.prod.***)

    4. there is a way to individually put this on the managemapping script but if new properties are created with this same pattern we have to put it manually on the script. this is not the ask.

    5. I am looking for a formal approach where cwp of above pattern are updated with mapping as "NewOrUpdate" and rest CWP as "NewOrExisting".

     

    Note : developer doesn't have access to higher environment where they can edit the CWP. manual task is not requested. 

     

    Thanks & Regards, 

    Grajesh Chandra



  • 2.  Re: Update Action on CWP Using GMU Manage Mapping Command
    Best Answer

    Broadcom Employee
    Posted May 17, 2018 09:16 PM

    Dear chagr04 ,

    If you don't migrateOut all, then only the dependent CWP will be migrateOut.

    You may create a dummy service to access all the CWP you want to migrate, then when you migrateOut this dummy service, the bundle file will include all the CWP.

     

    Regards,

    Mark