diff options
-rw-r--r-- | interface-definitions/https.xml.in | 6 | ||||
-rwxr-xr-x | src/conf_mode/http-api.py | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/interface-definitions/https.xml.in b/interface-definitions/https.xml.in index d2c393036..775fae122 100644 --- a/interface-definitions/https.xml.in +++ b/interface-definitions/https.xml.in @@ -107,6 +107,12 @@ <valueless/> </properties> </leafNode> + <leafNode name="gql"> + <properties> + <help>GraphQL support</help> + <valueless/> + </properties> + </leafNode> <node name="cors"> <properties> <help>Set CORS options</help> diff --git a/src/conf_mode/http-api.py b/src/conf_mode/http-api.py index 4a7906c17..1ea7b86cd 100755 --- a/src/conf_mode/http-api.py +++ b/src/conf_mode/http-api.py @@ -66,12 +66,6 @@ def get_config(config=None): if conf.exists('debug'): http_api['debug'] = True - # this node is not available by CLI by default, and is reserved for - # the graphql tools. One can enable it for testing, with the warning - # that this will open an unauthenticated server. To do so - # mkdir /opt/vyatta/share/vyatta-cfg/templates/service/https/api/gql - # touch /opt/vyatta/share/vyatta-cfg/templates/service/https/api/gql/node.def - # and configure; editing the config alone is insufficient. if conf.exists('gql'): http_api['gql'] = True |