zosconnect / sample-cics-api Goto Github PK
View Code? Open in Web Editor NEWA sample API project showing how to connect to CICS TS
License: Apache License 2.0
A sample API project showing how to connect to CICS TS
License: Apache License 2.0
The OAS specs have set the servers definition to:
servers:
- url: /project
- url: http://localhost:9080/
- url: https://localhost:9443/
which means the designer's test tool, API explorer will only work if the designer is accessible on local host (as the API is hosted on / so /project doesn't work either).
Updating it to:
servers:
- url: /
should make the it work in more scenarios, such as CodeReady workspaces where the host name depends on where the workspace.
This was an oversight when creating the sample. Making the change to import the correct copybook will ensure that all /operations/* files could be copied directly into a project which already had a catalogProgram asset as made using the Doc.
When building and deploying the current 'finish' project to a v3.0.74 z/OS Connect native server, we receive the following error:
CWWKM0101E: The system could not process archive data for /var/zosconnect/servers/baqsrvr2/apps/api.war.
CWWKZ0021E: The server is not configured to handle the resource at location /var/zosconnect/servers/baqsrvr2/apps/api.war.
Setting WL log level to info, we also see the following in stdout:
FFDC1015I: An FFDC Incident has been created: "java.util.zip.ZipException: Cannot find central directory end record in zip. File Ý /var/zosconnect/servers/baqsrvr2/apps/api.war ¨ com.ibm.ws.artifact.zip.internal.ZipValidator 119" at ffdc_23.11.15_15.50.47.0.log
The war file does not appear to be corrupted, however. We can still extract it and read its contents fine.
Other info:
(WAS FOR Z/OS 23.0.0.6, z/OS Connect 03.00.74/wlp-1.0.78.cl230620230612-1100) on IBM J9 VM, version 8.0.8.0 - pmz6480sr8-20230314_01(SR8) (en_US)
Update FROM statements and devfile for new version.
Mirror change in base API Project template to prefer local repo.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.