zowe / zowe/api-layer

z/OSMF incorrect version number and URL in API Catalog

Open
#4,055 0 comments 2 reactions 1 assignee View on GitHub

@hrishikesh-nalawade is already working on this.

Since Jan 7, 2026.

bug Priority: High size/S V3
Dominant language
Java
Stars
92
Forks
81
Avg merge
1d 9h
Merged PRs (30d)
46

Description

Image

It appears the z/OSMF static registration Discovery does has 2 problems:

  1. It does not have API version as documented in https://docs.zowe.org/stable/extend/extend-apiml/onboard-static-definition , and API catalog responds to having no version field by putting "vnull" on the screen, which users think means something is wrong.

  2. It has a URL "https://:/ibmzosmf..." which appears to be because its trying to use environment variables that havent been around since v1?

Not sure how to solve 1, as the z/OSMF version isn't easily known at the time this file is substituted.

But 2 should be a matter of changing this line to use more relevant environment variables https://github.com/zowe/api-layer/blob/a33f50760b8f4839559172f197175d36d2256d6b/discovery-package/src/main/resources/zosmf-static-definition.yaml.template#L9
Such as, ZWE_zowe_externalDomains_0 : ZWE_zowe_externalPort

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.