-
Notifications
You must be signed in to change notification settings - Fork 7
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 feat/cip509-metadata-indexing
- Loading branch information
Showing
38 changed files
with
1,163 additions
and
80 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
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,51 @@ | ||
version: "1.0" | ||
global: { | ||
ci: { | ||
local: [ | ||
"^check(-.*)?$", | ||
"^build(-.*)?$", | ||
"^package(-.*)?$", | ||
"^test(-.*)?$", | ||
"^release(-.*)?$", | ||
"^publish(-.*)?$", | ||
] | ||
registries: [ | ||
ci.providers.aws.registry, | ||
] | ||
providers: { | ||
aws: { | ||
region: "eu-central-1" | ||
registry: "332405224602.dkr.ecr.eu-central-1.amazonaws.com" | ||
role: "arn:aws:iam::332405224602:role/ci" | ||
} | ||
|
||
docker: credentials: { | ||
provider: "aws" | ||
path: "global/ci/docker" | ||
} | ||
|
||
earthly: { | ||
credentials: { | ||
provider: "aws" | ||
path: "global/ci/earthly" | ||
} | ||
org: "Catalyst" | ||
satellite: "ci" | ||
version: "0.8.15" | ||
} | ||
|
||
github: registry: "ghcr.io" | ||
} | ||
secrets: [ | ||
{ | ||
name: "GITHUB_TOKEN" | ||
optional: true | ||
provider: "env" | ||
path: "GITHUB_TOKEN" | ||
}, | ||
] | ||
tagging: { | ||
strategy: "commit" | ||
} | ||
} | ||
} |
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,2 @@ | ||
version: "1.0.0" | ||
project: name: "gateway" |
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,2 @@ | ||
version: "1.0.0" | ||
project: name: "gateway-event-db" |
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,2 @@ | ||
version: "1.0.0" | ||
project: name: "gateway-api-tests" |
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,2 @@ | ||
version: "1.0.0" | ||
project: name: "catalyst-gateway-tests" |
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,2 @@ | ||
version: "1.0.0" | ||
project: name: "gateway-schema-tests" |
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
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,2 @@ | ||
version: "1.0.0" | ||
project: name: "voices" |
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
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
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
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
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
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
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
8 changes: 7 additions & 1 deletion
8
catalyst_voices/packages/catalyst_voices_services/lib/src/catalyst_voices_services.dart
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 |
---|---|---|
@@ -1 +1,7 @@ | ||
export 'secure_storage/secure_storage.dart'; | ||
export 'storage/dummy_auth_storage.dart'; | ||
export 'storage/secure_storage.dart'; | ||
export 'storage/storage.dart'; | ||
export 'storage/vault/lock_factor.dart'; | ||
export 'storage/vault/lock_factor_codec.dart' show LockFactorCodec; | ||
export 'storage/vault/secure_storage_vault.dart'; | ||
export 'storage/vault/vault.dart'; |
2 changes: 0 additions & 2 deletions
2
catalyst_voices/packages/catalyst_voices_services/lib/src/secure_storage/secure_storage.dart
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
..._voices/packages/catalyst_voices_services/lib/src/secure_storage/secure_storage_keys.dart
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
...ices/packages/catalyst_voices_services/lib/src/secure_storage/secure_storage_service.dart
This file was deleted.
Oops, something went wrong.
47 changes: 47 additions & 0 deletions
47
catalyst_voices/packages/catalyst_voices_services/lib/src/storage/dummy_auth_storage.dart
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,47 @@ | ||
import 'dart:async'; | ||
|
||
import 'package:catalyst_voices_services/src/storage/secure_storage.dart'; | ||
|
||
abstract interface class DummyAuthStorage { | ||
FutureOr<String?> readEmail(); | ||
|
||
FutureOr<void> writeEmail(String? value); | ||
|
||
FutureOr<String?> readPassword(); | ||
|
||
FutureOr<void> writePassword(String? value); | ||
|
||
Future<void> clear(); | ||
} | ||
|
||
final class SecureDummyAuthStorage extends SecureStorage | ||
implements DummyAuthStorage { | ||
static const _emailKey = 'email'; | ||
static const _passwordKey = 'password'; | ||
|
||
const SecureDummyAuthStorage({ | ||
super.secureStorage, | ||
}); | ||
|
||
@override | ||
FutureOr<String?> readEmail() => readString(key: _emailKey); | ||
|
||
@override | ||
FutureOr<void> writeEmail(String? value) { | ||
return writeString(value, key: _emailKey); | ||
} | ||
|
||
@override | ||
FutureOr<String?> readPassword() => readString(key: _passwordKey); | ||
|
||
@override | ||
FutureOr<void> writePassword(String? value) { | ||
return writeString(value, key: _passwordKey); | ||
} | ||
|
||
@override | ||
Future<void> clear() async { | ||
await writeEmail(null); | ||
await writePassword(null); | ||
} | ||
} |
Oops, something went wrong.