You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(connector-corda): container image kotlin compilation fails in model
Upgrades the OpenAPI generator to v5.1.1 which now requires that
the Configuration class instance to be passed in to the API clients
that are generated instead of just a JS object literal (POJO).
This version of OAG also changes how the enums are named in Typescript
so they are no longer fully uppercase so there are a lot of small-ish
code changes in the test cases that are mostly all tied to this.
Signed-off-by: Travis Payne <[email protected]>
Signed-off-by: Peter Somogyvari <[email protected]>
Copy file name to clipboardExpand all lines: examples/cactus-example-carbon-accounting-backend/src/main/typescript/infrastructure/carbon-accounting-app-dummy-infrastructure.ts
+4-4
Original file line number
Diff line number
Diff line change
@@ -388,7 +388,7 @@ export class CarbonAccountingAppDummyInfrastructure {
388
388
web3SigningCredential: {
389
389
ethAccount: this.xdaiAccount.get().address,
390
390
secret: this.xdaiAccount.get().privateKey,
391
-
type: Web3SigningCredentialType.PRIVATEKEYHEX,
391
+
type: Web3SigningCredentialType.PrivateKeyHex,
392
392
},
393
393
});
394
394
const{
@@ -427,7 +427,7 @@ export class CarbonAccountingAppDummyInfrastructure {
427
427
web3SigningCredential: {
428
428
ethAccount: this.xdaiAccount.get().address,
429
429
secret: this.xdaiAccount.get().privateKey,
430
-
type: Web3SigningCredentialType.PRIVATEKEYHEX,
430
+
type: Web3SigningCredentialType.PrivateKeyHex,
431
431
},
432
432
});
433
433
const{
@@ -460,7 +460,7 @@ export class CarbonAccountingAppDummyInfrastructure {
460
460
web3SigningCredential: {
461
461
ethAccount: this.xdaiAccount.get().address,
462
462
secret: this.xdaiAccount.get().privateKey,
463
-
type: Web3SigningCredentialType.PRIVATEKEYHEX,
463
+
type: Web3SigningCredentialType.PrivateKeyHex,
464
464
},
465
465
});
466
466
const{
@@ -496,7 +496,7 @@ export class CarbonAccountingAppDummyInfrastructure {
Copy file name to clipboardExpand all lines: examples/cactus-example-carbon-accounting-backend/src/test/typescript/integration/admin-enroll-v1-endpoint.test.ts
+7-2
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ import { StatusCodes } from "http-status-codes";
Copy file name to clipboardExpand all lines: examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/typescript/generated/openapi/typescript-axios/api.ts
+29-36
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@ import { Configuration } from './configuration';
* The "iss" (issuer) claim identifies the principal that issued the JWT. The processing of this claim is generally application specific. The "iss" value is a case-sensitive string containing a StringOrURI value. Use of this claim is OPTIONAL.
32
+
*/
28
33
iss='Hyperledger Labs - Carbon Accounting Tool'
29
34
}
30
35
@@ -34,7 +39,13 @@ export enum AuthzJwtClaim {
34
39
* @enum {string}
35
40
*/
36
41
exportenumAuthzScope{
42
+
/**
43
+
* Identities with the group:admin scope are administrators of the system.
44
+
*/
37
45
GroupAdmin='group:admin',
46
+
/**
47
+
* Identities with the group:user scope are end users of the system who only have authorization to perform a limited set of actions.
0 commit comments