-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into micoferdinand98/issue2038
- Loading branch information
Showing
639 changed files
with
29,937 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,3 +62,199 @@ jobs: | |
with: | ||
name: cactus-plugin-ledger-connector-corda-kotlin-client-${{ env.GITVERSION }}.jar | ||
path: packages/cactus-plugin-ledger-connector-corda/src/main/kotlin/generated/openapi/kotlin-client/build/libs/kotlin-client-1.0.0.jar | ||
|
||
- name: build-cactus-cmd-api-server-kotlin-client | ||
run: | | ||
WDIR=`pwd` | ||
cd ${WDIR}/packages/cactus-cmd-api-server/src/main/kotlin/generated/openapi/kotlin-client | ||
chmod +x gradlew | ||
./gradlew clean | ||
./gradlew build | ||
- name: publish-cactus-cmd-api-server-kotlin-client | ||
uses: actions/[email protected] | ||
with: | ||
name: cactus-cmd-api-server-kotlin-client-${{ env.GITVERSION }}.jar | ||
path: packages/cactus-cmd-api-server/src/main/kotlin/generated/openapi/kotlin-client/build/libs/kotlin-client-1.0.0.jar | ||
|
||
- name: build-cactus-core-api-kotlin-client | ||
run: | | ||
WDIR=`pwd` | ||
cd ${WDIR}/packages/cactus-core-api/src/main/kotlin/generated/openapi/kotlin-client | ||
chmod +x gradlew | ||
./gradlew clean | ||
./gradlew build | ||
- name: publish-cactus-core-api-kotlin-client | ||
uses: actions/[email protected] | ||
with: | ||
name: cactus-core-api-kotlin-client-${{ env.GITVERSION }}.jar | ||
path: packages/cactus-core-api/src/main/kotlin/generated/openapi/kotlin-client/build/libs/kotlin-client-1.0.0.jar | ||
|
||
- name: build-cactus-plugin-consortium-manual-kotlin-client | ||
run: | | ||
WDIR=`pwd` | ||
cd ${WDIR}/packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client | ||
chmod +x gradlew | ||
./gradlew clean | ||
./gradlew build | ||
- name: publish-cactus-plugin-consortium-manual-kotlin-client | ||
uses: actions/[email protected] | ||
with: | ||
name: cactus-plugin-consortium-manual-kotlin-client-${{ env.GITVERSION }}.jar | ||
path: packages/cactus-plugin-consortium-manual/src/main/kotlin/generated/openapi/kotlin-client/build/libs/kotlin-client-1.0.0.jar | ||
|
||
- name: build-cactus-plugin-keychain-google-sm-kotlin-client | ||
run: | | ||
WDIR=`pwd` | ||
cd ${WDIR}/packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client | ||
chmod +x gradlew | ||
./gradlew clean | ||
./gradlew build | ||
- name: publish-cactus-plugin-keychain-google-sm-kotlin-client | ||
uses: actions/[email protected] | ||
with: | ||
name: cactus-plugin-keychain-google-sm-kotlin-client-${{ env.GITVERSION }}.jar | ||
path: packages/cactus-plugin-keychain-google-sm/src/main/kotlin/generated/openapi/kotlin-client/build/libs/kotlin-client-1.0.0.jar | ||
|
||
- name: build-cactus-plugin-keychain-aws-sm-kotlin-client | ||
run: | | ||
WDIR=`pwd` | ||
cd ${WDIR}/packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client | ||
chmod +x gradlew | ||
./gradlew clean | ||
./gradlew build | ||
- name: publish-cactus-plugin-keychain-aws-sm-kotlin-client | ||
uses: actions/[email protected] | ||
with: | ||
name: cactus-plugin-keychain-aws-sm-kotlin-client-${{ env.GITVERSION }}.jar | ||
path: packages/cactus-plugin-keychain-aws-sm/src/main/kotlin/generated/openapi/kotlin-client/build/libs/kotlin-client-1.0.0.jar | ||
|
||
- name: build-cactus-plugin-keychain-azure-kv-kotlin-client | ||
run: | | ||
WDIR=`pwd` | ||
cd ${WDIR}/packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client | ||
chmod +x gradlew | ||
./gradlew clean | ||
./gradlew build | ||
- name: publish-cactus-plugin-keychain-azure-kv-kotlin-client | ||
uses: actions/[email protected] | ||
with: | ||
name: cactus-plugin-keychain-azure-kv-kotlin-client-${{ env.GITVERSION }}.jar | ||
path: packages/cactus-plugin-keychain-azure-kv/src/main/kotlin/generated/openapi/kotlin-client/build/libs/kotlin-client-1.0.0.jar | ||
|
||
- name: build-cactus-plugin-keychain-memory-kotlin-client | ||
run: | | ||
WDIR=`pwd` | ||
cd ${WDIR}/packages/cactus-plugin-keychain-memory/src/main/kotlin/generated/openapi/kotlin-client | ||
chmod +x gradlew | ||
./gradlew clean | ||
./gradlew build | ||
- name: publish-cactus-plugin-keychain-memory-kotlin-client | ||
uses: actions/[email protected] | ||
with: | ||
name: cactus-plugin-keychain-memory-kotlin-client-${{ env.GITVERSION }}.jar | ||
path: packages/cactus-plugin-keychain-memory/src/main/kotlin/generated/openapi/kotlin-client/build/libs/kotlin-client-1.0.0.jar | ||
|
||
- name: build-cactus-plugin-keychain-vault-kotlin-client | ||
run: | | ||
WDIR=`pwd` | ||
cd ${WDIR}/packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client | ||
chmod +x gradlew | ||
./gradlew clean | ||
./gradlew build | ||
- name: publish-cactus-plugin-keychain-vault-kotlin-client | ||
uses: actions/[email protected] | ||
with: | ||
name: cactus-plugin-keychain-vault-kotlin-client-${{ env.GITVERSION }}.jar | ||
path: packages/cactus-plugin-keychain-vault/src/main/kotlin/generated/openapi/kotlin-client/build/libs/kotlin-client-1.0.0.jar | ||
|
||
- name: build-cactus-plugin-ledger-connector-fabric-kotlin-client | ||
run: | | ||
WDIR=`pwd` | ||
cd ${WDIR}/packages/cactus-plugin-ledger-connector-fabric/src/main/kotlin/generated/openapi/kotlin-client | ||
chmod +x gradlew | ||
./gradlew clean | ||
./gradlew build | ||
- name: publish-cactus-plugin-ledger-connector-fabric-kotlin-client | ||
uses: actions/[email protected] | ||
with: | ||
name: cactus-plugin-ledger-connector-fabric-kotlin-client-${{ env.GITVERSION }}.jar | ||
path: packages/cactus-plugin-ledger-connector-fabric/src/main/kotlin/generated/openapi/kotlin-client/build/libs/kotlin-client-1.0.0.jar | ||
|
||
- name: build-cactus-plugin-keychain-memory-wasm-kotlin-client | ||
run: | | ||
WDIR=`pwd` | ||
cd ${WDIR}/packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client | ||
chmod +x gradlew | ||
./gradlew clean | ||
./gradlew build | ||
- name: publish-cactus-plugin-keychain-memory-wasm-kotlin-client | ||
uses: actions/[email protected] | ||
with: | ||
name: cactus-plugin-keychain-memory-wasm-kotlin-client-${{ env.GITVERSION }}.jar | ||
path: packages/cactus-plugin-keychain-memory-wasm/src/main/kotlin/generated/openapi/kotlin-client/build/libs/kotlin-client-1.0.0.jar | ||
|
||
- name: build-cactus-plugin-odap-hermes-kotlin-client | ||
run: | | ||
WDIR=`pwd` | ||
cd ${WDIR}/packages/cactus-plugin-odap-hermes/src/main/kotlin/generated/openapi/kotlin-client | ||
chmod +x gradlew | ||
./gradlew clean | ||
./gradlew build | ||
- name: publish-cactus-plugin-odap-hermes-kotlin-client | ||
uses: actions/[email protected] | ||
with: | ||
name: cactus-plugin-odap-hermes-kotlin-client-${{ env.GITVERSION }}.jar | ||
path: packages/cactus-plugin-odap-hermes/src/main/kotlin/generated/openapi/kotlin-client/build/libs/kotlin-client-1.0.0.jar | ||
|
||
- name: build-cactus-example-supply-chain-business-logic-plugin-kotlin-client | ||
run: | | ||
WDIR=`pwd` | ||
cd ${WDIR}/examples/cactus-example-supply-chain-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client | ||
chmod +x gradlew | ||
./gradlew clean | ||
./gradlew build | ||
- name: publish-cactus-example-supply-chain-business-logic-plugin-kotlin-client | ||
uses: actions/[email protected] | ||
with: | ||
name: cactus-example-supply-chain-business-logic-plugin-kotlin-client-${{ env.GITVERSION }}.jar | ||
path: examples/cactus-example-supply-chain-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/build/libs/kotlin-client-1.0.0.jar | ||
|
||
- name: build-cactus-example-carbon-accounting-business-logic-plugin-kotlin-client | ||
run: | | ||
WDIR=`pwd` | ||
cd ${WDIR}/examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client | ||
chmod +x gradlew | ||
./gradlew clean | ||
./gradlew build | ||
- name: publish-cactus-example-carbon-accounting-business-logic-plugin-kotlin-client | ||
uses: actions/[email protected] | ||
with: | ||
name: cactus-example-carbon-accounting-business-logic-plugin-kotlin-client-${{ env.GITVERSION }}.jar | ||
path: examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/build/libs/kotlin-client-1.0.0.jar | ||
|
||
- name: build-cactus-plugin-object-store-ipfs-kotlin-client | ||
run: | | ||
WDIR=`pwd` | ||
cd ${WDIR}/extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client | ||
chmod +x gradlew | ||
./gradlew clean | ||
./gradlew build | ||
- name: publish-cactus-plugin-object-store-ipfs-kotlin-client | ||
uses: actions/[email protected] | ||
with: | ||
name: cactus-plugin-object-store-ipfs-kotlin-client-${{ env.GITVERSION }}.jar | ||
path: extensions/cactus-plugin-object-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/build/libs/kotlin-client-1.0.0.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...ss-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# OpenAPI Generator Ignore | ||
# Generated by openapi-generator https://github.com/openapitools/openapi-generator | ||
|
||
# Use this file to prevent files from being overwritten by the generator. | ||
# The patterns follow closely to .gitignore or .dockerignore. | ||
|
||
# As an example, the C# client generator defines ApiClient.cs. | ||
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: | ||
#ApiClient.cs | ||
|
||
# You can match any string of characters against a directory, file or extension with a single asterisk (*): | ||
#foo/*/qux | ||
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux | ||
|
||
# You can recursively match patterns against a directory, file or extension with a double asterisk (**): | ||
#foo/**/qux | ||
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux | ||
|
||
# You can also negate patterns with an exclamation (!). | ||
# For example, you can ignore all files in a docs folder with the file extension .md: | ||
#docs/*.md | ||
# Then explicitly reverse the ignore rule for a single file: | ||
#!docs/README.md | ||
|
||
docs/** | ||
gradle/** |
31 changes: 31 additions & 0 deletions
31
...ess-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/FILES
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
README.md | ||
build.gradle | ||
gradlew | ||
gradlew.bat | ||
settings.gradle | ||
src/main/kotlin/org/openapitools/client/apis/DefaultApi.kt | ||
src/main/kotlin/org/openapitools/client/infrastructure/ApiAbstractions.kt | ||
src/main/kotlin/org/openapitools/client/infrastructure/ApiClient.kt | ||
src/main/kotlin/org/openapitools/client/infrastructure/ApiInfrastructureResponse.kt | ||
src/main/kotlin/org/openapitools/client/infrastructure/BigDecimalAdapter.kt | ||
src/main/kotlin/org/openapitools/client/infrastructure/BigIntegerAdapter.kt | ||
src/main/kotlin/org/openapitools/client/infrastructure/ByteArrayAdapter.kt | ||
src/main/kotlin/org/openapitools/client/infrastructure/Errors.kt | ||
src/main/kotlin/org/openapitools/client/infrastructure/LocalDateAdapter.kt | ||
src/main/kotlin/org/openapitools/client/infrastructure/LocalDateTimeAdapter.kt | ||
src/main/kotlin/org/openapitools/client/infrastructure/OffsetDateTimeAdapter.kt | ||
src/main/kotlin/org/openapitools/client/infrastructure/RequestConfig.kt | ||
src/main/kotlin/org/openapitools/client/infrastructure/RequestMethod.kt | ||
src/main/kotlin/org/openapitools/client/infrastructure/ResponseExtensions.kt | ||
src/main/kotlin/org/openapitools/client/infrastructure/Serializer.kt | ||
src/main/kotlin/org/openapitools/client/infrastructure/URIAdapter.kt | ||
src/main/kotlin/org/openapitools/client/infrastructure/UUIDAdapter.kt | ||
src/main/kotlin/org/openapitools/client/models/AuthzJwtClaim.kt | ||
src/main/kotlin/org/openapitools/client/models/AuthzScope.kt | ||
src/main/kotlin/org/openapitools/client/models/Checkpoint.kt | ||
src/main/kotlin/org/openapitools/client/models/DaoTokenGetAllowanceNotFoundResponse.kt | ||
src/main/kotlin/org/openapitools/client/models/DaoTokenGetAllowanceRequest.kt | ||
src/main/kotlin/org/openapitools/client/models/DaoTokenGetAllowanceResponse.kt | ||
src/main/kotlin/org/openapitools/client/models/EnrollAdminInfo.kt | ||
src/main/kotlin/org/openapitools/client/models/EnrollAdminV1Request.kt | ||
src/main/kotlin/org/openapitools/client/models/EnrollAdminV1Response.kt |
1 change: 1 addition & 0 deletions
1
...s-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator/VERSION
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
5.2.1 |
59 changes: 59 additions & 0 deletions
59
...business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# org.openapitools.client - Kotlin client library for Hyperledger Cactus Example - Carbon Accounting App | ||
|
||
## Requires | ||
|
||
* Kotlin 1.4.30 | ||
* Gradle 6.8.3 | ||
|
||
## Build | ||
|
||
First, create the gradle wrapper script: | ||
|
||
``` | ||
gradle wrapper | ||
``` | ||
|
||
Then, run: | ||
|
||
``` | ||
./gradlew check assemble | ||
``` | ||
|
||
This runs all tests and packages the library. | ||
|
||
## Features/Implementation Notes | ||
|
||
* Supports JSON inputs/outputs, File inputs, and Form inputs. | ||
* Supports collection formats for query parameters: csv, tsv, ssv, pipes. | ||
* Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in OpenAPI definitions. | ||
* Implementation of ApiClient is intended to reduce method counts, specifically to benefit Android targets. | ||
|
||
<a name="documentation-for-api-endpoints"></a> | ||
## Documentation for API Endpoints | ||
|
||
All URIs are relative to *http://localhost* | ||
|
||
Class | Method | HTTP request | Description | ||
------------ | ------------- | ------------- | ------------- | ||
*DefaultApi* | [**daoTokenGetAllowanceV1**](docs/DefaultApi.md#daotokengetallowancev1) | **POST** /api/v1/plugins/@hyperledger/cactus-example-carbon-accounting-backend/dao-token/get-allowance | Get the number of tokens `spender` is approved to spend on behalf of `account` | ||
*DefaultApi* | [**enrollAdminV1**](docs/DefaultApi.md#enrolladminv1) | **POST** /api/v1/utilityemissionchannel/registerEnroll/admin | Registers an admin account within the Fabric organization specified. | ||
|
||
|
||
<a name="documentation-for-models"></a> | ||
## Documentation for Models | ||
|
||
- [org.openapitools.client.models.AuthzJwtClaim](docs/AuthzJwtClaim.md) | ||
- [org.openapitools.client.models.AuthzScope](docs/AuthzScope.md) | ||
- [org.openapitools.client.models.Checkpoint](docs/Checkpoint.md) | ||
- [org.openapitools.client.models.DaoTokenGetAllowanceNotFoundResponse](docs/DaoTokenGetAllowanceNotFoundResponse.md) | ||
- [org.openapitools.client.models.DaoTokenGetAllowanceRequest](docs/DaoTokenGetAllowanceRequest.md) | ||
- [org.openapitools.client.models.DaoTokenGetAllowanceResponse](docs/DaoTokenGetAllowanceResponse.md) | ||
- [org.openapitools.client.models.EnrollAdminInfo](docs/EnrollAdminInfo.md) | ||
- [org.openapitools.client.models.EnrollAdminV1Request](docs/EnrollAdminV1Request.md) | ||
- [org.openapitools.client.models.EnrollAdminV1Response](docs/EnrollAdminV1Response.md) | ||
|
||
|
||
<a name="documentation-for-authorization"></a> | ||
## Documentation for Authorization | ||
|
||
All endpoints do not require authorization. |
37 changes: 37 additions & 0 deletions
37
...unting-business-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
group 'org.openapitools' | ||
version '1.0.0' | ||
|
||
wrapper { | ||
gradleVersion = '6.8.3' | ||
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip" | ||
} | ||
|
||
buildscript { | ||
ext.kotlin_version = '1.5.10' | ||
|
||
repositories { | ||
maven { url "https://repo1.maven.org/maven2" } | ||
} | ||
dependencies { | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||
} | ||
} | ||
|
||
apply plugin: 'kotlin' | ||
|
||
repositories { | ||
maven { url "https://repo1.maven.org/maven2" } | ||
} | ||
|
||
test { | ||
useJUnitPlatform() | ||
} | ||
|
||
dependencies { | ||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" | ||
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" | ||
implementation "com.squareup.moshi:moshi-kotlin:1.12.0" | ||
implementation "com.squareup.moshi:moshi-adapters:1.12.0" | ||
implementation "com.squareup.okhttp3:okhttp:4.9.1" | ||
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" | ||
} |
Oops, something went wrong.