Layer7-Community / graphman-client

This repository contains a Postman collection, a Node.js CLI application, sample queries for the CLI, and GraphQL schemas for the Graphman API.
Other
7 stars 5 forks source link

renew issue : fails with missing field information: globalPolicyByName #62

Closed muemi03 closed 2 months ago

muemi03 commented 2 months ago

Hi Team. My actual tests are failing when trying to renew a bundle., containing globalPolicies. not sure. but: Obviously the renew tries to fetch the globalPolicies by globalPolicyByName. Looking at the schema, this query is not existent. But globalPolicyByTag exist. Potentially a mismatch in type definition: Original schema.gql : > @l7-identity-fields name should be

@l7-identity-fields tag I gave the above approach a try , after a schema refresh, it worked well. Please review. Thanks. ...Michael

graju256 commented 2 months ago

@muemi03 Let me check. Thanks. BTW, GlobalPolicy is in the deprecated list, use L7Policy instead.

muemi03 commented 2 months ago

Oh yes. I should have mention that I tried to backport the schema.gql and metadata_base.json to our gw version11.0-CR02. And that might be the real(!!) root cause of the problem. However, many things are just working. Sorry. For potentiallly pointing into a wrong direction. And thanks for taking a look anyway.

muemi03 commented 2 months ago

Okay: this is my test scenario , now with supported gw version 11.1:

muemi03 commented 2 months ago

Hi Raju. Sorry for any waste of time. The issue is related to my attempt to backport the schema to v11.0.2 ! With a supported gw version v11.1.00. all is working fine if working with "policies".