GMU Command:
# java -jar GatewayMigrationUtility.jar migrateIn --trustHostname --argFile in.args --bundle facilities-buildings.xml --map overrideMappings.xml -r results.xml –test
The error:
</l7:Mapping>
<l7:Mapping action="NewOrExisting" errorType="ImproperMapping" srcId="023000ae041de2e80b0429518798ae65" srcUri="https://<gateway_hostname>:8443/restman/1.0/folders/023000ae041de2e80b0429518798ae65" type="FOLDER">
<l7:Properties>
<l7:Property key="ErrorMessage">
<l7:StringValue>Incorrect mapping instructions: Mapping by PATH but could not deduce a target PATH to map to from the given bundle. Please specify a target PATH to map to. Mapping for: EntityHeader. Name=null, id=023000ae041de2e80b0429518798ae65, description=null, type = FOLDER</l7:StringValue>
</l7:Property>
<l7:Property key="MapBy">
<l7:StringValue>path</l7:StringValue>
</l7:Property>
</l7:Properties>
</l7:Mapping>
Release : 10.0
Component : API GATEWAY
The FOLDER does match source and destination
Run migrateIn specifying the destFolder during migraeIn
Example
--destFolder "/Test/0.8"
migrateIn --argFile C:\GMU\<gateway>.properties --trustCertificate --bundle "C:\GMU\bundle\bundle.xml" --destFolder "/Test/0.8" --results "C:\GMU\results\migrate.xml" -test