Graphman import fails with error "resolutionPath is not defined"
search cancel

Graphman import fails with error "resolutionPath is not defined"

book

Article ID: 405604

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

During testing Graphman to export/import our policies we ran into this error:

"message": "Error encountered while processing the graphQL request: Invalid GraphQL bundle properties. Caused by: Invalid entity mapping instruction, resolutionPath is not defined"

We are using graphman.sh (https://github.com/Layer7-Community/graphman-client) to export two bundles and execute the diff:

graphman.sh export --gateway <VALUE> --using all --output <VALUE>.json

graphman.sh diff --input-source <SRC>.json --input-target <TRG>.json --output delta.json --options.renewEntities --options.extensions multiline-text-diff --options.includeDeletes

When we import the difference file it fails with the above error .

Environment

Gateway 11.0

Resolution

This error is resolved  with gateway 11.1.1 and 11.1.2