Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

z/OSMF API endpoints missing from catalog #900

Closed
Destabilizator opened this issue Oct 21, 2020 · 6 comments
Closed

z/OSMF API endpoints missing from catalog #900

Destabilizator opened this issue Oct 21, 2020 · 6 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@Destabilizator
Copy link

Several z/OSMF z/OS data set and file REST interface services are missing from API ML catalog:
Copying datasets
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.4.0/com.ibm.zos.v2r4.izua700/IZUHPINFO_API_PutDataSetMemberUtilities.htm

List + filter the members of a z/OS data set
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.4.0/com.ibm.zos.v2r4.izua700/IZUHPINFO_API_GetListDataSetMembers.htm

Model for allocating datasets doesn't support storage class and other properties
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.4.0/com.ibm.zos.v2r4.izua700/IZUHPINFO_API_CreateDataSet.htm#CreateDataSet__Reqbod

@Destabilizator Destabilizator added bug Verified defect in functionality new New issue that has not been worked on yet labels Oct 21, 2020
@anton-brezina anton-brezina added clarification Issue is being clarified in the discussion with the creator of the issue and removed new New issue that has not been worked on yet labels Oct 27, 2020
@jordanCain
Copy link
Contributor

I have checked my Zowe 1.16.0 Api Catalog which is on a z/OS 2.3 system with z/OSMF and the APIs mentioned as missing are present for me along with all the properties I would expect under the allocate dataset model,

volser | stringVolume.
unit | stringDevice type.
dsorg | stringData set organization.
alcunit | stringUnit of space allocation.
primary | integerPrimary space allocation.
secondary | integerSecondary space allocation.
dirblk | integerNumber of directory blocks.
avgblk | integerAverage block.
recfm | stringRecord format.
blksize | integerBlock size.
lrecl | integerRecord length.
storclass | stringStorage class.
mgntclass | stringManagement class.
dataclass | stringData class.
dsntype | stringDataset type.

@Destabilizator Are you able to verify the missing APIs can be seen directly via z/OSMF? You can check this by going to https://host.com:zosmfPort/zosmf/api/explorer/#/Dataset_APIs

@Destabilizator
Copy link
Author

If I got to the link you've posted, I can see all the APIs. But when I go to API ML Catalog, I cannot. Create dataset for example has the limited model I have mentioned (the example uses all supported by model)
image

@balhar-jakub
Copy link
Member

@jordanCain There are few changes happening within the API Catalogue Services when processing the zOSMF Swagger as we had some issues with validity. Can you take a look whether maybe there is some issue there?

@jordanCain
Copy link
Contributor

@Destabilizator Could you clarify if you're looking at the api's provided directly from z/OSMF (accessed via the api gateway) or the ones that are provided by Zowe that front the z/OSMF APIs?

I've attached an image to try and make it clear which APIs are which.
Screen Shot 2020-11-03 at 3 31 43 PM

If it's the case of the Zowe APIs fronting z/OSMF then this is not a bug with the api catalog, but in fact a lack of feature of the Zowe APIs, the issues for the Zowe data-sets api's are here https://github.com/zowe/data-sets/issues and we can look to create a feature enhancement there.

@Destabilizator
Copy link
Author

I'm looking at the Zowe APIs fronting z/OSMF. Can we somehow move this to data-sets/issues then?

@jordanCain
Copy link
Contributor

I have raised zowe/data-sets#178 and zowe/data-sets#179 to track the work in the data-sets repo. I will close this issue as a result
@Destabilizator FYI

@jordanCain jordanCain added invalid This doesn't seem right and removed bug Verified defect in functionality clarification Issue is being clarified in the discussion with the creator of the issue labels Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

4 participants