Layer7 API Management

 View Only
  • 1.  List of policies and their targets?

    Posted Dec 02, 2019 10:59 AM

    Hello,

    Is there an easy way to produce a list for export, listing all the published services but also include the target URL that they forward to?

    I could look at each policy manually for the "route to https…." statement but surely there's an easier way?

    Thanks

    Ken



    ------------------------------
    Platform Owner
    TalkTalk PLC
    ------------------------------


  • 2.  RE: List of policies and their targets?
    Best Answer

    Broadcom Employee
    Posted Dec 02, 2019 11:03 AM
      |   view attached
    Good morning,

    The attached policy will list all published services with a routing assertion and display the target URL.
    You will need to have a JDBC connection on the Gateway that points to the ssg database for this to work. 

    Regards,
    Joe

    Attachment(s)

    xml
    policy_search_V2.xml   13 KB 1 version


  • 3.  RE: List of policies and their targets?

    Posted Jan 08, 2020 10:59 AM
    Hello,

    This policy works fine if the target URL doesn't contain any context variables, otherwsise no useful info are reported back.

    Anyone has worked on a similar scenario ?

    regards, Roberto