-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix cli apply:introspection-query-policy (#338)
- Loading branch information
1 parent
006708d
commit 8e0fae6
Showing
4 changed files
with
13 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,170 +1 @@ | ||
{ | ||
"version": "0.0.17", | ||
"commands": { | ||
"apply:base-policy": { | ||
"id": "apply:base-policy", | ||
"description": "Apply base policy", | ||
"pluginName": "stitch-cli", | ||
"pluginType": "core", | ||
"aliases": [], | ||
"examples": ["\n $ stitch apply:base-policy base-policy.yaml\n Uploaded successfully!\n "], | ||
"flags": { | ||
"registry-url": { | ||
"name": "registry-url", | ||
"type": "option", | ||
"description": "Url of the registry", | ||
"required": true | ||
}, | ||
"dry-run": { | ||
"name": "dry-run", | ||
"type": "boolean", | ||
"description": "Should perform a dry run", | ||
"required": false, | ||
"allowNo": false | ||
}, | ||
"authorization-header": { | ||
"name": "authorization-header", | ||
"type": "option", | ||
"description": "Custom authorization header", | ||
"required": false | ||
}, | ||
"timeout": { | ||
"name": "timeout", | ||
"type": "option", | ||
"description": "Request timeout", | ||
"required": false, | ||
"default": 10000 | ||
} | ||
}, | ||
"args": [{ "name": "resourcePath", "required": true }] | ||
}, | ||
"apply:introspection-query-policy": { | ||
"id": "apply:introspection-query-policy", | ||
"description": "Apply introspection query policy", | ||
"pluginName": "stitch-cli", | ||
"pluginType": "core", | ||
"aliases": [], | ||
"examples": [ | ||
"\n $ stitch apply:introspection-query-policy introspection-query-policy.yaml\n Uploaded successfully!\n " | ||
], | ||
"flags": { | ||
"registry-url": { | ||
"name": "registry-url", | ||
"type": "option", | ||
"description": "Url of the registry", | ||
"required": true | ||
}, | ||
"dry-run": { | ||
"name": "dry-run", | ||
"type": "boolean", | ||
"description": "Should perform a dry run", | ||
"required": false, | ||
"allowNo": false | ||
}, | ||
"authorization-header": { | ||
"name": "authorization-header", | ||
"type": "option", | ||
"description": "Custom authorization header", | ||
"required": false | ||
}, | ||
"timeout": { | ||
"name": "timeout", | ||
"type": "option", | ||
"description": "Request timeout", | ||
"required": false, | ||
"default": 10000 | ||
} | ||
}, | ||
"args": [{ "name": "resourcePath", "required": true }] | ||
}, | ||
"apply:resources": { | ||
"id": "apply:resources", | ||
"description": "Apply resources", | ||
"pluginName": "stitch-cli", | ||
"pluginType": "core", | ||
"aliases": [], | ||
"examples": ["$ stitch apply:resources schema.gql\nUploaded successfully!\n"], | ||
"flags": { | ||
"registry-url": { | ||
"name": "registry-url", | ||
"type": "option", | ||
"description": "Url of the registry", | ||
"required": true | ||
}, | ||
"dry-run": { | ||
"name": "dry-run", | ||
"type": "boolean", | ||
"description": "Should perform a dry run", | ||
"required": false, | ||
"allowNo": false | ||
}, | ||
"authorization-header": { | ||
"name": "authorization-header", | ||
"type": "option", | ||
"description": "Custom authorization header", | ||
"required": false | ||
}, | ||
"skip-resource-types": { | ||
"name": "skip-resource-types", | ||
"type": "option", | ||
"description": "Resource types to skip", | ||
"required": false | ||
}, | ||
"timeout": { | ||
"name": "timeout", | ||
"type": "option", | ||
"description": "Request timeout", | ||
"required": false, | ||
"default": 10000 | ||
}, | ||
"verbose": { | ||
"name": "verbose", | ||
"type": "boolean", | ||
"description": "Verbose mode", | ||
"required": false, | ||
"allowNo": false | ||
} | ||
}, | ||
"args": [{ "name": "resourcesPath", "required": true }] | ||
}, | ||
"refresh:remote-schema": { | ||
"id": "refresh:remote-schema", | ||
"description": "Refresh remote schema", | ||
"pluginName": "stitch-cli", | ||
"pluginType": "core", | ||
"aliases": [], | ||
"examples": [ | ||
"$ stitch refresh:remote-schema http://remote-graphql-server/graphql\nRemote schema refreshed successfully!\n" | ||
], | ||
"flags": { | ||
"registry-url": { | ||
"name": "registry-url", | ||
"type": "option", | ||
"description": "Url of the registry", | ||
"required": true | ||
}, | ||
"authorization-header": { | ||
"name": "authorization-header", | ||
"type": "option", | ||
"description": "Custom authorization header", | ||
"required": false | ||
}, | ||
"timeout": { | ||
"name": "timeout", | ||
"type": "option", | ||
"description": "Request timeout", | ||
"required": false, | ||
"default": 10000 | ||
}, | ||
"verbose": { | ||
"name": "verbose", | ||
"type": "boolean", | ||
"description": "Verbose mode", | ||
"required": false, | ||
"allowNo": false | ||
} | ||
}, | ||
"args": [{ "name": "remoteServerUrl", "required": true }] | ||
} | ||
} | ||
} | ||
{"version":"0.0.18","commands":{"apply:base-policy":{"id":"apply:base-policy","description":"Apply base policy","pluginName":"stitch-cli","pluginType":"core","aliases":[],"examples":["\n $ stitch apply:base-policy base-policy.yaml\n Uploaded successfully!\n "],"flags":{"registry-url":{"name":"registry-url","type":"option","description":"Url of the registry","required":true},"dry-run":{"name":"dry-run","type":"boolean","description":"Should perform a dry run","required":false,"allowNo":false},"authorization-header":{"name":"authorization-header","type":"option","description":"Custom authorization header","required":false},"timeout":{"name":"timeout","type":"option","description":"Request timeout","required":false,"default":10000}},"args":[{"name":"resourcePath","required":true}]},"apply:introspection-query-policy":{"id":"apply:introspection-query-policy","description":"Apply introspection query policy","pluginName":"stitch-cli","pluginType":"core","aliases":[],"examples":["\n $ stitch apply:introspection-query-policy introspection-query-policy.yaml\n Uploaded successfully!\n "],"flags":{"registry-url":{"name":"registry-url","type":"option","description":"Url of the registry","required":true},"dry-run":{"name":"dry-run","type":"boolean","description":"Should perform a dry run","required":false,"allowNo":false},"authorization-header":{"name":"authorization-header","type":"option","description":"Custom authorization header","required":false},"timeout":{"name":"timeout","type":"option","description":"Request timeout","required":false,"default":10000}},"args":[{"name":"resourcePath","required":true}]},"apply:resources":{"id":"apply:resources","description":"Apply resources","pluginName":"stitch-cli","pluginType":"core","aliases":[],"examples":["$ stitch apply:resources schema.gql\nUploaded successfully!\n"],"flags":{"registry-url":{"name":"registry-url","type":"option","description":"Url of the registry","required":true},"dry-run":{"name":"dry-run","type":"boolean","description":"Should perform a dry run","required":false,"allowNo":false},"authorization-header":{"name":"authorization-header","type":"option","description":"Custom authorization header","required":false},"skip-resource-types":{"name":"skip-resource-types","type":"option","description":"Resource types to skip","required":false},"timeout":{"name":"timeout","type":"option","description":"Request timeout","required":false,"default":10000},"verbose":{"name":"verbose","type":"boolean","description":"Verbose mode","required":false,"allowNo":false}},"args":[{"name":"resourcesPath","required":true}]},"refresh:remote-schema":{"id":"refresh:remote-schema","description":"Refresh remote schema","pluginName":"stitch-cli","pluginType":"core","aliases":[],"examples":["$ stitch refresh:remote-schema http://remote-graphql-server/graphql\nRemote schema refreshed successfully!\n"],"flags":{"registry-url":{"name":"registry-url","type":"option","description":"Url of the registry","required":true},"authorization-header":{"name":"authorization-header","type":"option","description":"Custom authorization header","required":false},"timeout":{"name":"timeout","type":"option","description":"Request timeout","required":false,"default":10000},"verbose":{"name":"verbose","type":"boolean","description":"Verbose mode","required":false,"allowNo":false}},"args":[{"name":"remoteServerUrl","required":true}]}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters