Layer7 API Management

 View Only

Error Deploy API Gateway Policy Plugin

  • 1.  Error Deploy API Gateway Policy Plugin

    Posted May 07, 2021 12:06 PM

    Hi, we're trying to deploy all api gateway entities from Dev Environment to QA Environment using the Gateway Policy Plugin component using the script bellow:

    - gradle import-bundle

    The response message return all the entities with an error upon one of them as you can see in the following script section:

     

    <l7:Mapping action="NewOrUpdate" errorType="ImproperMapping" srcId="8018cb69284f284de2a0e9607c295aaf" type="RESOURCE_ENTRY">
       <l7:Properties>
        <l7:Property key="ErrorMessage">
         <l7:StringValue>Incorrect mapping instructions: Attempting to map an entity by name that cannot be mapped by name.. Mapping for: EntityHeader. Name=null, id=8018cb69284f284de2a0e9607c295aaf, description=null, type = RESOURCE_ENTRY</l7:StringValue>
        </l7:Property>
        <l7:Property key="MapBy">
         <l7:StringValue>name</l7:StringValue>
        </l7:Property>
        <l7:Property key="MapTo">
         <l7:StringValue>http://www.xxxxxxx.gov.co/GEL-XML/1.0/schemas/Proyectos/xxxxx/Core</l7:StringValue>
        </l7:Property>
       </l7:Properties>
      </l7:Mapping>

     

    I ask for your support in order to achieve the deployment goal from dev to qa.