-
Notifications
You must be signed in to change notification settings - Fork 285
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
build(api-client): generate java, go clients #393
Comments
This blew up in complexity because the |
For the Go artifacts, publishing the api-client code (as a commit to cacti github code) itself will act as the artifact, right? |
The kotlin jar generation is broken, mostly due to openapi-generator upgrade, will fix those alongwith this issue. |
@jagpreetsinghsasan Yes, works fine for me. Please open a follow-up issue there to mimic how it is being done for the weaver components (@sandeepnRES wrote some scripts or GH actions to do tag based releases IIRC) |
One of the issues I faced during generating java artifacts was that in |
JAR parsing for Other devs are also facing the same issue: OpenAPITools/openapi-generator#12556 (comment) |
|
Primary Changes --------------- 1. Updated package.json of packages to include the new codegen scripts 2. Added a new workflow to create and upload the jars from the newly added code Changes required to incorporate 1) --------------------------------- 3. Added replace package to assist the codegen scripts written in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Primary Changes --------------- 1. Updated package.json of packages to include the new codegen scripts 2. Added a new workflow to create and upload the jars from the newly added code Changes required to incorporate 1) --------------------------------- 3. Added replace package to assist the codegen scripts written in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Primary Changes --------------- 1. Updated package.json of packages to include the new codegen scripts 2. Added a new workflow to create and upload the jars from the newly added code Changes required to incorporate 1) --------------------------------- 3. Added replace package to assist the codegen scripts written in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Primary Changes --------------- 1. Updated package.json of packages to include the new codegen scripts 2. Added a new workflow to create and upload the jars from the newly added code Changes required to incorporate 1) --------------------------------- 3. Added replace package to assist the codegen scripts written in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com> Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Primary Changes ---------------- 1. Updated package.json file for packages to include the new codegen script 2. Added a new dep, replace for string manupulation in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Primary Changes ---------------- 1. Updated package.json file for packages to include the new codegen script 2. Added a new dep, replace for string manupulation in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Primary Changes ---------------- 1. Updated package.json file for packages to include the new codegen script 2. Added a new dep, replace for string manupulation in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
As per the conversation here, dropping the java clients from the issue (as the same is already achieved using Kotlin) |
@jagpreetsinghsasan Thank you! |
Primary Changes ---------------- 1. Updated package.json file for packages to include the new codegen script 2. Added a new dep, replace for string manupulation in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Primary Changes ---------------- 1. Updated package.json file for packages to include the new codegen script 2. Added a new dep, replace for string manupulation in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Primary Changes ---------------- 1. Updated package.json file for packages to include the new codegen script 2. Added a new dep, replace for string manupulation in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Primary Changes ---------------- 1. Updated package.json file for packages to include the new codegen script 2. Added a new dep, replace for string manupulation in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Primary Changes ---------------- 1. Updated package.json file for packages to include the new codegen script 2. Added a new dep, replace for string manupulation in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Primary Changes ---------------- 1. Updated package.json file for packages to include the new codegen script 2. Added a new dep, replace for string manupulation in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Primary Changes ---------------- 1. Updated package.json file for packages to include the new codegen script 2. Added a new dep, replace for string manupulation in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Primary Changes ---------------- 1. Updated package.json file for packages to include the new codegen script 2. Added a new dep, replace for string manupulation in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Primary Changes ---------------- 1. Updated package.json file for packages to include the new codegen script 2. Added a new dep, replace for string manupulation in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Primary Changes ---------------- 1. Updated package.json file for packages to include the new codegen script 2. Added a new dep, replace for string manupulation in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Primary Changes ---------------- 1. Updated package.json file for packages to include the new codegen script 2. Added a new dep, replace for string manupulation in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Primary Changes ---------------- 1. Updated package.json file for packages to include the new codegen script 2. Added a new dep, replace for string manupulation in package.json Fixes hyperledger-cacti#393 Signed-off-by: jagpreetsinghsasan <jagpreet.singh.sasan@accenture.com>
Description
As a developer I want to not be forced to use the NodeJS/Javascript API client if my primary programming language is something else so that I can achieve high productivity through Cactus no matter the language I'm using.
Here is a complete list of programming languages that are supported by the OpenAPI generator (which we can take full advantage of since we are using the OpenAPI specs)
https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages
Acceptance Criteria
cc: @takeutak @sfuji822 @jonathan-m-hamilton
The text was updated successfully, but these errors were encountered: