Table of Contents
- Node zosconnect
- Connecting to z/OS Connect
- Module Long Term Support Policy
A wrapper service for z/OS® Connect EE, enabling node applications to discover and access zSystems resources that are service enabled by z/OS® Connect. Version 2 of this module pre-reqs z/OS Connect EE V3.0.8 or later.
Services and APIs are identified by name that is unique within the scope of the target z/OS® Connect instance (or cluster). The node application uses pre-existing knowledge of the service or API name, or discovers it dynamically by retrieving a list of available services or APIs. The z/OS® Connect node wrapper provides access to JSON request and response schemas for the specific z/OS® Connect service and the Swagger document for APIs, enabling the node application to invoke that service and process the response.
npm install zosconnect-node
Connecting to z/OS Connect
var ZosConnect = ;var options =uri:''var zosconnect = options;
options object matches exactly the options described by the request/request module. The uri or url parameter must be specified.
Create the options object with locations for the CA certificate file and optionally the client certificate and client private key (if using client authentication). If the strictSSL option is set to false then invalid SSL certificates can be used which may be of use in development environments.
var fs = ;var path = ;var caFile = path;var certFile = path;var keyFile = path;var options =uri:''ca: fscert: fskey: fspassphrase: 'passw0rd'strictSSL: true
Add the authentication credentials to the options object.
var options =uri: ''auth:user: 'userId'pass: 'password'
Retrieve a list of APIs
Get an API
Create an API
Call an API
Get the Swagger document for an API
Start or Stop an API
Update an API
Delete an API
Retrieve a list of services
Create a Service
Get a service
zosconnect;//normally this would then go on and work with the service
Invoke a service
Get the request schema
Get the response schema
Update a Service
Delete a Service
Module Long Term Support Policy
This module adopts the Module Long Term Support (LTS) policy, with the following End Of Life (EOL) dates:
|Module Version||Release Date||Minimum EOL||EOL With||Status|
|2.x.x||Jul 2018||Dec 2019||Current|
|1.x.x||Jul 2017||Dec 2019||Node 8||LTS|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.