Graphman - Validation Error
search cancel

Graphman - Validation Error

book

Article ID: 375574

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

Setup Graphman client 1.3, node v20.13.1, and jq-1.7.1 on local windows box.  Then follow documented step on github "graphman-client"

C:\Graphman\layer7-graphman-wrapper>graphman.bat export --using all

[info] exporting from default gateway

[info] unexpected data {

  "errors": [

    {

      "message": "Validation error of type FieldUndefined: Field 'wsdlUrl' in type 'L7Service' is undefined @ 'services/wsdlUrl'",

      "locations": [

        {

          "line": 25,

          "column": 5

        }

      ],

      "extensions": {

        "classification": "ValidationError"

      }

    },

.

.

.

 

Environment

Gateway 11.1

Cause

Schema related issue with the base version of Gateway 11.1 with initial release of graphman

Resolution

Update Gateway 11.1 with patches

Layer7_API_PMS_Debian_v2.0.0-20240715115049

Layer7_API_PlatformUpdate_64bit_v11.1-Debian-2024-07-28

Layer7_API_Gateway_Debian_v11.1.1-18484

 

Example:

C:\Graphman\layer7-graphman-wrapper>graphman.bat export --using all

[info] exporting from default gateway

[info] sanitizing services to services

[info] sanitizing auditConfigurations to auditConfigurations

[info] sanitizing clusterProperties to clusterProperties

[info] sanitizing dtds to dtds

[info] sanitizing internalIdps to internalIdps

[info] sanitizing internalUsers to internalUsers

[info] sanitizing keys to keys

[info] sanitizing listenPorts to listenPorts

[info] sanitizing logSinks to logSinks

[info] sanitizing schemas to schemas

[info] sanitizing trustedCerts to trustedCerts

{

  "auditConfigurations": [

    {

.

.

.