When creating a bundle with Gateway version 11.1.2, policy comments are bundled with:
".properties": {
".left.comment": "comment1"
".right.comment": "comment2",
}
When creating a bundle with Gateway version 11.2.1, policy comments are bundled with:
"_leftComment": "comment1",
"_rightComment": "comment2"
This seems to be the case regardless of specified policy schema in graphman.
Bundles created with 11.1.2 can be imported in GW version 11.2.1, however, bundles created with 11.2.1 are rejected when importing to 11.1.2 with the following message:
"description": "Error creating or updating SERVICE entity, Field (_rightComment) config is missing for the bean com.l7tech.policy.assertion.composite.OneOrMoreAssertion"
This is also the case for field _leftComment and other assertions like AllAssertion, SetvariableAssertion, Include, FalseAssertion, etc.
graphman revise does not modify this comment structure when revising with --options.schema v11.1.2. (also, but nonrelated, it seems to always output json format, regardless of policyCodeFormat).
Since we are in an upgrade cycle in out DTAP environment and the Development & Test gateways are upgraded, whilst the Acceptance and Production gateways are not, this is impacting our deployment strategy.
Is there something we could do to mitigate this behaviour. We're working with graphman version 2.0.19 at the moment, however we did some testing with 2.0.22 but ran into the same issue.
When creating a bundle with Gateway version 11.1.2, policy comments are bundled with:
".properties": {
".left.comment": "comment1"
".right.comment": "comment2",
}
When creating a bundle with Gateway version 11.2.1, policy comments are bundled with:
"_leftComment": "comment1",
"_rightComment": "comment2"
This seems to be the case regardless of specified policy schema in graphman.
Bundles created with 11.1.2 can be imported in GW version 11.2.1, however, bundles created with 11.2.1 are rejected when importing to 11.1.2 with the following message:
"description": "Error creating or updating SERVICE entity, Field (_rightComment) config is missing for the bean com.l7tech.policy.assertion.composite.OneOrMoreAssertion"
This is also the case for field _leftComment and other assertions like AllAssertion, SetvariableAssertion, Include, FalseAssertion, etc.
graphman revise does not modify this comment structure when revising with --options.schema v11.1.2. (also, but nonrelated, it seems to always output json format, regardless of policyCodeFormat).
Since we are in an upgrade cycle in out DTAP environment and the Development & Test gateways are upgraded, whilst the Acceptance and Production gateways are not, this is impacting our deployment strategy.
Is there something we could do to mitigate this behaviour. We're working with graphman version 2.0.19 at the moment, however we did some testing with 2.0.22 but ran into the same issue.