We recently upgraded our DEV Env to 11.2.0. Our QA & UAT is 11.1.3.
When we do Diff between DEV & QA we see this error
D:\Graphman_Automation\Batch_Script\NonProd>graphman diff --input-source C:\temp\mtls.json --input-target @qa-core --output C:\temp\mtls_diff.json
[info] retrieving qa-core gateway configuration summary
[info] exporting from qa-core gateway
[warn] pre-request graphman extension is not enabled, falling back to the default
[warn] errors detected while retrieving qa-core gateway configuration summary
[error] errors encountered while analyzing the differences [
{
"message": "Error encountered while processing the graphQL request: Unknown field 'serviceAliases' for type Query"
}
]
When we import to QA below error is popping up
D:\Graphman_Automation\Batch_Script\NonProd>graphman import --gateway qa-core --input C:\Temp\mtls.json --options.comment BM-3287
[info] inspecting policies
[info] transforming the code field for the entity Add_mTLS_x_forwarded_proto_header-[Add_mTLS_x_forwarded_proto_header-FRAGMENT]
[warn] unknown entities, properties
[warn] unknown entities, properties
[warn] pre-import graphman extension is not enabled, falling back to the default
[warn] pre-request graphman extension is not enabled, falling back to the default
{
"errors": [
{
"message": "Error encountered while processing the graphQL request: The variables input contains a field name 'enabled' that is not defined for input object type 'L7PolicyInput' "
}
]
}
DEV Export:
D:\Graphman_Automation\Batch_Script\NonProd>graphman export --gateway dev-core --using policy --variables.name Add_mTLS_x_forwarded_proto_header --output C:\temp\mtls.json --options.policyCodeFormat code
[info] exporting from dev-core gateway
[warn] pre-request graphman extension is not enabled, falling back to the default
[info] sanitizing policyByName to policies
[warn] post-export graphman extension is not enabled, falling back to the default
[info] writing to file C:\temp\mtls.json
-------------------------------------------