Database API sample project is inoperable
search cancel

Database API sample project is inoperable

book

Article ID: 439314

calendar_today

Updated On:

Products

Datacom

Issue/Introduction

With the Datacom Metadata Server up and running , the Database Explorer extension got installed and the DBAPI sample project in VS-Code got installed successfully too. But when expanding any of the Database Metadata Service branches, nothing happens. There are no error messages (either in VS-Code or on the mainframe).

Environment

Database Business API Generator Datacom (DBAPI)  1.0.4

Cause

Configuration instructions are wrong.

Resolution

In the profiles.json file , remove the trailing slash in the Database Metadata Service URL specifications. 

It should look this :

[
    {
        "name": "Database Metadata Service – 1",
        "url": "https://server1.com:12345/api/v1"
    },
    {
        "name": "Database Metadata Service – 2",
        "url": "https://server2.com:12346/api/v1"
    },
    {
        "name": "Database Metadata Service – 3",
        "url": "https://server3.com:12347/api/v1"
    }
  ]

Additional Information

Make sure that the username and password in the AUTH variable are correct too. .

For documentation on the DBAPI sample project, see Configure the Database API Sample Project .