DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  cleanup unused objects in datapower

    Posted 04/06/21 10:58 AM

    Hi team, I would like to clean up unused objects in DataPower, Could someone help and share the XSLT that run over the export file to find out the unused objects



    #DataPower
    #Support
    #SupportMigration


  • 2.  RE: cleanup unused objects in datapower

    Posted 04/08/21 08:22 AM

    That is a very complex task. In case you really want to go that route, I would save config, and then work on export.xml from a Domain .zip export. You would need to parse all objects, and for those based on others you need to mark all its sub objects as "used". Most difficult part is that some objects are referenced by (string) name.

    A better approach would be to save and export a domain. Then delete domain, and create it freshly. Finally import only the onjects you are interested from the export -- objects needed should be pulled in automatically.



    #DataPower
    #Support
    #SupportMigration


  • 3.  RE: cleanup unused objects in datapower

    Posted 04/08/21 09:17 AM

    https://www.ibm.com/mysupport/s/question/0D50z00006AB0p1/defaultunused-objects?language=en_US

    Some one shared xslt in the above post ,As its old link seems files are not available



    #DataPower
    #Support
    #SupportMigration


  • 4.  RE: cleanup unused objects in datapower

    Posted 04/09/21 06:37 AM

    In addition to what Hermann stated, if you want to prevent "orphan" objects, delete things programatically. We are using Ant scripts combined with SOMA requests for deleting for example MPGW and WSP configs with all the dependent objects.

    --HP



    #DataPower
    #Support
    #SupportMigration