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

Introduce a Ballerina connector for IBM CICS Transaction Gateway #7240

Open
ayeshLK opened this issue Oct 9, 2024 · 1 comment · May be fixed by ballerina-platform/module-ballerinax-ibm.ctg#3

Comments

@ayeshLK
Copy link
Member

ayeshLK commented Oct 9, 2024

Description:

$subject

Related to: #207

@ayeshLK
Copy link
Member Author

ayeshLK commented Oct 11, 2024

Initial design for the IBM CTG connector

1. Connection configurations

ConnectionConfig record

public type ConnectionConfig record {|
    string host;
    int port;
    string cicsServer;
    Auth auth;
    SecureSocket secureSocket?;
|};

Auth record

public type Auth record {|
    string userId;
    string password;
|};

SecureSocket record

public type SecureSocket record {|
    string sslKeyring;
    string sslkeyringPassword?;
    string[] sslCipherSuites?;
|};

2. Client API

EciRequest record

public type EciRequest record {|
    string programName;
    byte[] commArea?;
    int commAreaSize?;
    int timeout = 10;
|};

Client definition

public type Client distinct client object {
    remote function execute(*EciRequest request) returns byte[]|Error?;

    remote function close() returns Error?;
};

3. Errors

public type Error distinct error;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant