Broadcom API Gateway - List Encapsulated Assertion Dependencies using the Gateway Migration Utility

by
Jeremy Canfield |
Updated: February 23 2022
| Broadcom API Gateway articles
If you are not familiar with how to list an encapsulated assertion, refer to Broadcom API Gateway - List Encapsulated Assertions using the Gateway Migration Utility (GMU). Let's say you are returning a single encapsulated assertion by including the ID of the encapsulated assertion.
/path/to/GatewayMigrationUtility.sh restman
-host apig.example.com
-port 8443
-username john.doe
-password f5VPX0yUJPg.m4BrjdgMv84UgktddJD3xA
-method GET
-path '1.0/encapsulatedAssertions/fa003c1f2478cc407b0a8acbba2aa199'
Or the -argFile option can be used, to reduce the number of options that are used on the command line.
/path/to/GatewayMigrationUtility.sh restman
-argFile example.properties
-method GET
-path '1.0/encapsulatedAssertions/fa003c1f2478cc407b0a8acbba2aa199'
The dependencies endpoint can be included to return the encapsulated assertion dependencies.
/path/to/GatewayMigrationUtility.sh restman
-argFile example.properties
-method GET
-path '1.0/encapsulatedAssertions/fa003c1f2478cc407b0a8acbba2aa199/dependencies'
Which could return something like this.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<l7:Item xmlns:l7="http://ns.l7tech.com/2010/04/gateway-management">
<l7:Name>assertion001 dependencies</l7:Name>
<l7:Type>DEPENDENCY</l7:Type>
<l7:TimeStamp>2021-01-05T22:02:39.926-06:00</l7:TimeStamp>
<l7:Link rel="self" uri="https://apig.example.com:8443/restman/1.0/encapsulatedAssertions/f380d7b766f92ef13d6238d1c0da09ac/dependencies"/>
<l7:Resource>
<l7:DependencyList>
<l7:Reference>
<l7:Name>assertion001</l7:Name>
<l7:Id>f380d7b766f92ef13d6238d1c0da09ac</l7:Id>
<l7:Type>ENCAPSULATED_ASSERTION</l7:Type>
<l7:Dependencies>
<l7:Dependency>
<l7:Name>assertion001</l7:Name>
<l7:Id>f380d7b766f92ef13d6238d1c0d0ed89</l7:Id>
<l7:Type>POLICY</l7:Type>
</l7:Dependency>
</l7:Dependencies>
</l7:Reference>
<l7:Dependencies>
<l7:Dependency>
<l7:Name>cwp001</l7:Name>
<l7:Id>b04f1d5eccc9f7828b11275151d4f133</l7:Id>
<l7:Type>CLUSTER_PROPERTY</l7:Type>
</l7:Dependency>
<l7:Dependency>
<l7:Name>key001</l7:Name>
<l7:Id>00000000000000000000000000000002:key001</l7:Id>
<l7:Type>SSG_KEY_ENTRY</l7:Type>
</l7:Dependency>
<l7:Dependency>
<l7:Name>assertion001</l7:Name>
<l7:Id>f380d7b766f92ef13d6238d1c0d0ed89</l7:Id>
<l7:Type>POLICY</l7:Type>
<l7:Dependencies>
<l7:Dependency>
<l7:Name>cwp001</l7:Name>
<l7:Id>b04f1d5eccc9f7828b11275151d4f133</l7:Id>
<l7:Type>CLUSTER_PROPERTY</l7:Type>
</l7:Dependency>
<l7:Dependency>
<l7:Name>key001</l7:Name>
<l7:Id>00000000000000000000000000000002:key001</l7:Id>
<l7:Type>SSG_KEY_ENTRY</l7:Type>
</l7:Dependency>
</l7:Dependencies>
</l7:Dependency>
</l7:Dependencies>
<l7:MissingDependencies/>
</l7:DependencyList>
</l7:Resource>
</l7:Item>
Did you find this article helpful?
If so, consider buying me a coffee over at