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

merge: ecosystem & askar wallet included #178

Merged
merged 239 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
20d8e0f
fix: Changed the passkey approch
Sep 1, 2023
5f431b3
feat/fix: Implemented Add passkey for existing users
tipusinghaw Sep 6, 2023
8e4a02c
feat:implemented add passke
tipusinghaw Sep 7, 2023
466df72
Merge branch 'main' of https://github.com/credebl/credebl-platform in…
tipusinghaw Sep 7, 2023
76db215
Merge pull request #67 from credebl/passkey-fixes
nishad-ayanworks Sep 7, 2023
15e5802
fix: login error message
tipusinghaw Sep 11, 2023
114116e
Merge branch 'main' of https://github.com/credebl/credebl-platform in…
tipusinghaw Sep 11, 2023
cf95ce4
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Sep 11, 2023
da21b48
Merge pull request #76 from credebl/passkey-fixes
nishad-ayanworks Sep 11, 2023
63c2bca
Merge pull request #76 from credebl/passkey-fixes
nishad-ayanworks Sep 11, 2023
dd0c119
Merge branch 'main' of https://github.com/credebl/credebl-platform in…
tipusinghaw Sep 13, 2023
894cef0
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Sep 13, 2023
729d73b
worked on the username & orgslug feature for public profiles
nishad-ayanworks Sep 14, 2023
ff795b7
refractored the GET API endoints for public profiles
nishad-ayanworks Sep 15, 2023
2538ec6
refactored the organization GET API public profiles
nishad-ayanworks Sep 15, 2023
1edeeaf
solved the regix expression grouping issue.
nishad-ayanworks Sep 15, 2023
1446b1b
resolved the comments on the PR
nishad-ayanworks Sep 15, 2023
574004a
feat: implemented username & orgslug feature for public profiles (#85)
nishad-ayanworks Sep 15, 2023
6f870c6
chnaged regular expression for orgSLug
nishad-ayanworks Sep 15, 2023
3de6fc5
Merge branch 'develop' of https://github.com/credebl/platform into us…
nishad-ayanworks Sep 15, 2023
2e2efe3
Merge pull request #86 from credebl/username-orgslug-public-profiles
KulkarniShashank Sep 15, 2023
9f5ca31
implemented org and user to bydefault public (#87)
nishad-ayanworks Sep 15, 2023
32654c6
refactor: API refactor in user, organization, auth and agent module (…
KulkarniShashank Sep 20, 2023
8f90b4d
refactor: schema APIs standardized (#84)
KulkarniShashank Sep 20, 2023
ae0ae19
refactor: Standardize API in connection, issuance and verification (#…
KulkarniShashank Sep 21, 2023
31ba4f7
feat: support afj-0.4.1 (#102)
KulkarniShashank Sep 26, 2023
47d5dfe
Fix bugs platform module (#103)
KulkarniShashank Sep 27, 2023
c4d240e
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Sep 29, 2023
6ce9b21
feat: ecosystem ms setup (#104)
tipusinghaw Oct 2, 2023
4a65334
feat: ecosystem ms setup (#105)
tipusinghaw Oct 2, 2023
2a1a8ee
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Oct 2, 2023
55ce1dc
Integrated ecosystem enable disable in config, master table entry for…
nishad-ayanworks Oct 3, 2023
27a8029
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Oct 4, 2023
0bb52a2
refactor: enable disable ecosystem: 107 (#115)
nishad-ayanworks Oct 4, 2023
1a98d3f
feat: Get Proof Presentation from Data with Credentials and Attribute…
KulkarniShashank Aug 30, 2023
8afc3e6
fix: Changed the passkey approch
Sep 1, 2023
79884e2
feat/fix: Implemented Add passkey for existing users
tipusinghaw Sep 6, 2023
6f7100c
feat:implemented add passke
tipusinghaw Sep 7, 2023
c77fcfc
docs: update README
ajile-in Sep 1, 2023
516d0ff
docs: add CONTRIBUTING guidelines
ajile-in Sep 1, 2023
57f446e
fix: login error message
tipusinghaw Sep 11, 2023
4b6be1b
docs: add company name in LICESE file
ajile-in Sep 8, 2023
528799a
worked on the master table json file and .env sample refractoring
nishad-ayanworks Sep 13, 2023
841264a
Included credebl-master-table json file in the .gitignore
nishad-ayanworks Sep 13, 2023
3d8534a
worked on the username & orgslug feature for public profiles
nishad-ayanworks Sep 14, 2023
4c6a38f
refractored the GET API endoints for public profiles
nishad-ayanworks Sep 15, 2023
46b5779
refactored the organization GET API public profiles
nishad-ayanworks Sep 15, 2023
b635eee
solved the regix expression grouping issue.
nishad-ayanworks Sep 15, 2023
570bbc0
resolved the comments on the PR
nishad-ayanworks Sep 15, 2023
55d5ec7
chnaged regular expression for orgSLug
nishad-ayanworks Sep 15, 2023
59ccb4c
feat: implemented username & orgslug feature for public profiles (#85)
nishad-ayanworks Sep 15, 2023
593d631
implemented org and user to bydefault public (#87)
nishad-ayanworks Sep 15, 2023
16f25b1
refactor: API refactor in user, organization, auth and agent module (…
KulkarniShashank Sep 20, 2023
627f4ad
refactor: schema APIs standardized (#84)
KulkarniShashank Sep 20, 2023
283fa4d
refactor: Standardize API in connection, issuance and verification (#…
KulkarniShashank Sep 21, 2023
38088bf
feat: support afj-0.4.1 (#102)
KulkarniShashank Sep 26, 2023
11ca489
Fix bugs platform module (#103)
KulkarniShashank Sep 27, 2023
086a8dc
feat: ecosystem ms setup (#104)
tipusinghaw Oct 2, 2023
3f79e32
feat: ecosystem ms setup (#105)
tipusinghaw Oct 2, 2023
aa90090
Integrated ecosystem enable disable in config, master table entry for…
nishad-ayanworks Oct 3, 2023
3a5904b
feat: implemented enum
tipusinghaw Oct 4, 2023
c3512e1
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Oct 4, 2023
6a806e7
fix: changed enum messages
tipusinghaw Oct 4, 2023
72017e2
Merge pull request #116 from credebl/create-and-adit-ecosystem-API
nishad-ayanworks Oct 4, 2023
90d6aed
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Oct 4, 2023
e32c3c6
worked on the eslint issues (#117)
nishad-ayanworks Oct 5, 2023
53bddd2
feat: Get Proof Presentation from Data with Credentials and Attribute…
KulkarniShashank Aug 30, 2023
0e4ae4c
fix: Changed the passkey approch
Sep 1, 2023
4241435
feat/fix: Implemented Add passkey for existing users
tipusinghaw Sep 6, 2023
bff4fa0
feat:implemented add passke
tipusinghaw Sep 7, 2023
62b24ed
docs: update README
ajile-in Sep 1, 2023
8dc7126
docs: add CONTRIBUTING guidelines
ajile-in Sep 1, 2023
10ff454
fix: login error message
tipusinghaw Sep 11, 2023
71409e4
docs: add company name in LICESE file
ajile-in Sep 8, 2023
57f5fd9
worked on the master table json file and .env sample refractoring
nishad-ayanworks Sep 13, 2023
cd4ed9d
Included credebl-master-table json file in the .gitignore
nishad-ayanworks Sep 13, 2023
501b1f0
worked on the username & orgslug feature for public profiles
nishad-ayanworks Sep 14, 2023
47cbb6d
refractored the GET API endoints for public profiles
nishad-ayanworks Sep 15, 2023
d013271
refactored the organization GET API public profiles
nishad-ayanworks Sep 15, 2023
c6fb954
solved the regix expression grouping issue.
nishad-ayanworks Sep 15, 2023
9e90a80
resolved the comments on the PR
nishad-ayanworks Sep 15, 2023
d18b1c6
chnaged regular expression for orgSLug
nishad-ayanworks Sep 15, 2023
1e10b29
feat: implemented username & orgslug feature for public profiles (#85)
nishad-ayanworks Sep 15, 2023
969f813
implemented org and user to bydefault public (#87)
nishad-ayanworks Sep 15, 2023
bcf6be2
refactor: API refactor in user, organization, auth and agent module (…
KulkarniShashank Sep 20, 2023
ef04604
refactor: schema APIs standardized (#84)
KulkarniShashank Sep 20, 2023
6151319
refactor: Standardize API in connection, issuance and verification (#…
KulkarniShashank Sep 21, 2023
8dd7dca
feat: support afj-0.4.1 (#102)
KulkarniShashank Sep 26, 2023
d49acd2
Fix bugs platform module (#103)
KulkarniShashank Sep 27, 2023
cc4b82c
feat: ecosystem ms setup (#104)
tipusinghaw Oct 2, 2023
0b5282b
feat: ecosystem ms setup (#105)
tipusinghaw Oct 2, 2023
87cbe33
Integrated ecosystem enable disable in config, master table entry for…
nishad-ayanworks Oct 3, 2023
66eaac4
feat: Get Proof Presentation from Data with Credentials and Attribute…
KulkarniShashank Aug 30, 2023
169449b
refactor: Implemented and configured the Indicio testnet. (#106)
KulkarniShashank Oct 5, 2023
0f2f783
fix: Changed the passkey approch
Sep 1, 2023
b534c05
feat/fix: Implemented Add passkey for existing users
tipusinghaw Sep 6, 2023
af1f887
feat:implemented add passke
tipusinghaw Sep 7, 2023
13adad0
fix: login error message
tipusinghaw Sep 11, 2023
19e580e
worked on the master table json file and .env sample refractoring
nishad-ayanworks Sep 13, 2023
d54a5ce
worked on the username & orgslug feature for public profiles
nishad-ayanworks Sep 14, 2023
f15aa90
refractored the GET API endoints for public profiles
nishad-ayanworks Sep 15, 2023
97a51cf
refactored the organization GET API public profiles
nishad-ayanworks Sep 15, 2023
913c2ce
solved the regix expression grouping issue.
nishad-ayanworks Sep 15, 2023
44b3a80
resolved the comments on the PR
nishad-ayanworks Sep 15, 2023
db7c43a
chnaged regular expression for orgSLug
nishad-ayanworks Sep 15, 2023
2b89402
implemented org and user to bydefault public (#87)
nishad-ayanworks Sep 15, 2023
645a48a
refactor: API refactor in user, organization, auth and agent module (…
KulkarniShashank Sep 20, 2023
5e8c146
refactor: schema APIs standardized (#84)
KulkarniShashank Sep 20, 2023
6305b84
refactor: Standardize API in connection, issuance and verification (#…
KulkarniShashank Sep 21, 2023
5b99245
feat: ecosystem ms setup (#104)
tipusinghaw Oct 2, 2023
4c0b1af
feat: ecosystem ms setup (#105)
tipusinghaw Oct 2, 2023
b5a655e
feat: implemented enum
tipusinghaw Oct 4, 2023
f4de22d
fix: changed enum messages
tipusinghaw Oct 4, 2023
61e6f30
refactor: global exception handler and user DTO
tipusinghaw Oct 5, 2023
3e61916
feat: get ecosystem invitations
bhavanakarwade Oct 5, 2023
cca8220
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Oct 5, 2023
2033041
resolved conflicts
bhavanakarwade Oct 5, 2023
c4fdf14
resolved sonar cloud checks
bhavanakarwade Oct 5, 2023
e652298
Added dockerfile for ecosystem microservice
Sheetal-ayanworks Oct 5, 2023
24d1c39
fix: changed platform route
tipusinghaw Oct 5, 2023
196c2e2
fix: resolved sonar lint checks
bhavanakarwade Oct 5, 2023
0f13b5c
Merge pull request #119 from credebl/register-user-details
nishad-ayanworks Oct 5, 2023
947adc4
resolved conflicts
bhavanakarwade Oct 5, 2023
79b470e
Merge pull request #120 from credebl/get-ecosystem-invitation-by-id
nishad-ayanworks Oct 5, 2023
ee93e6b
Merge pull request #121 from credebl/ecosystem-dockerfile-creation
nishad-ayanworks Oct 5, 2023
2c534e7
fix: resolved build issue for prisma client
bhavanakarwade Oct 5, 2023
464b620
Merge branch 'develop' of https://github.com/credebl/platform into ge…
bhavanakarwade Oct 5, 2023
70e4e5e
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Oct 5, 2023
94965d1
Merge pull request #122 from credebl/get-ecosystem-invitation-by-id
nishad-ayanworks Oct 5, 2023
8ffbb8d
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Oct 5, 2023
612b1cb
feat: fetch ecosystem sent invitations (#123)
nishad-ayanworks Oct 5, 2023
b5006a6
feat: accept or reject ecosystem invitations
bhavanakarwade Oct 6, 2023
40c6557
resolved conficts
bhavanakarwade Oct 6, 2023
0737d19
worked on the ecosystem role guard and used in invitation sent APIs
nishad-ayanworks Oct 6, 2023
0c3ff97
Merge pull request #126 from credebl/124-ecosystem-role-guard
KulkarniShashank Oct 6, 2023
6e573b1
feat: delete ecosystem invitations
bhavanakarwade Oct 6, 2023
e3a5453
apply orgroles on accept and reject ecosystem invitations
bhavanakarwade Oct 6, 2023
34cb2c2
fix: sonarlint checks
bhavanakarwade Oct 6, 2023
d7c49ec
Merge pull request #127 from credebl/111-accept-reject-ecosystem-invi…
nishad-ayanworks Oct 6, 2023
a7e2062
feat: delete pending invitations
bhavanakarwade Oct 7, 2023
64d434e
resolved conflicts
bhavanakarwade Oct 7, 2023
df9a665
feat: request schema and sign transaction
tipusinghaw Oct 7, 2023
b612161
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Oct 7, 2023
af1c1d0
Merge pull request #129 from credebl/endorser-request-and-submit
nishad-ayanworks Oct 7, 2023
80b20e6
worked on the GET API for endorsement transactions
nishad-ayanworks Oct 7, 2023
93b2df0
Merge branch 'develop' of https://github.com/credebl/platform into 13…
nishad-ayanworks Oct 7, 2023
057a0ea
Implemented type parameter in the GET API of endorser transactions
nishad-ayanworks Oct 7, 2023
014c218
feat: get endorsement transactions (#131)
nishad-ayanworks Oct 7, 2023
8d78016
feat:endorser sumbit transaction
tipusinghaw Oct 8, 2023
feaaa83
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Oct 8, 2023
f9a2ec7
feat:endorser request cred-def transaction
tipusinghaw Oct 8, 2023
74b6295
feat:added auth guard in request schema
tipusinghaw Oct 8, 2023
7f8b5bb
feat: get ecosystem members list
bhavanakarwade Oct 9, 2023
32087c0
resolved conflicts
bhavanakarwade Oct 9, 2023
42cbfc8
Merge pull request #128 from credebl/delete-pending-ecosystem-invitat…
nishad-ayanworks Oct 9, 2023
2bf6278
resolved conflicts
bhavanakarwade Oct 9, 2023
9310fda
Solved issue of endorser transaction API
nishad-ayanworks Oct 9, 2023
dad8a5a
Merge branch 'develop' of https://github.com/credebl/platform into 13…
nishad-ayanworks Oct 9, 2023
acbe3a0
Merge pull request #132 from credebl/130-endorsement-transactions
KulkarniShashank Oct 9, 2023
bb20aa3
feat: get ecosystem members list
bhavanakarwade Oct 9, 2023
c9211b0
resolved conflicts
bhavanakarwade Oct 9, 2023
c86fc60
Removed redundent function of endorser list
nishad-ayanworks Oct 9, 2023
89aba91
Merge pull request #134 from credebl/130-endorsement-transactions
KulkarniShashank Oct 9, 2023
a59c5af
resolved sonarcloud checks
bhavanakarwade Oct 9, 2023
9d7a90d
resolved conflicts
bhavanakarwade Oct 9, 2023
9797adc
changed naming convention for dto
bhavanakarwade Oct 9, 2023
7f34740
changed dto naming convention
bhavanakarwade Oct 9, 2023
27b9dd2
fix: data type issue while sign transaction
tipusinghaw Oct 9, 2023
f41ca62
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Oct 9, 2023
c409166
Merge pull request #136 from credebl/endorser-request-and-submit
nishad-ayanworks Oct 10, 2023
cefa1fe
feat: get ecosystem dashboard card count
bhavanakarwade Oct 10, 2023
e7e8dc6
Merge branch 'develop' of https://github.com/credebl/platform into ec…
bhavanakarwade Oct 10, 2023
ffc0d13
resolved conflicts
bhavanakarwade Oct 10, 2023
cb824c0
fix: added ecosystem id in endorsement APIs
tipusinghaw Oct 10, 2023
440f171
Merge pull request #133 from credebl/get-ecosystem-members-list
nishad-ayanworks Oct 10, 2023
0a97301
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Oct 10, 2023
d6c06f1
fix: added auth guard
tipusinghaw Oct 10, 2023
1ca4baa
Merge pull request #138 from credebl/endorser-request-and-submit
nishad-ayanworks Oct 10, 2023
47e6aaf
fix: added ordId sign and submit transaction
tipusinghaw Oct 10, 2023
95c4749
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Oct 10, 2023
738f7ba
feat: get ecosystem dashboard card counts
bhavanakarwade Oct 10, 2023
b813d4c
Merge branch 'develop' of https://github.com/credebl/platform into ec…
bhavanakarwade Oct 10, 2023
a23cf09
worked on ecosystem config model (#139)
nishad-ayanworks Oct 10, 2023
85e0cca
changed endpoints
bhavanakarwade Oct 10, 2023
ad8b1a3
Merge pull request #140 from credebl/endorser-request-and-submit
nishad-ayanworks Oct 10, 2023
108b76b
added role guards
bhavanakarwade Oct 10, 2023
c41dde2
Merge branch 'develop' of https://github.com/credebl/platform into ec…
bhavanakarwade Oct 10, 2023
3804fba
Merge pull request #141 from credebl/ecosystem-dashboard-card-counts
nishad-ayanworks Oct 10, 2023
9caa7a3
fixed endorser list for ecosystem lead (#143)
nishad-ayanworks Oct 10, 2023
a75787f
feat:reject endorsement request by lead
pallavighule Oct 10, 2023
42a4ed3
resolved conflicts
pallavighule Oct 10, 2023
a4bb7c7
refactor: ecosystem org model update (#144)
nishad-ayanworks Oct 11, 2023
dc72094
feat:Decline endorsement request by lead
pallavighule Oct 11, 2023
00dbc25
Merge branch 'develop' of https://github.com/credebl/platform into Re…
pallavighule Oct 11, 2023
de4f015
fix:Resolve sonar lint checks
pallavighule Oct 11, 2023
01769e8
fix:comment removed
pallavighule Oct 11, 2023
d5b971d
feat: Implemented store request details after submit transaction
tipusinghaw Oct 12, 2023
d6d89e9
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Oct 12, 2023
c760cd0
Merge pull request #145 from credebl/RejectEndorsementRequestByLead
nishad-ayanworks Oct 12, 2023
dd98f66
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Oct 12, 2023
f39337a
Merge pull request #146 from credebl/endorser-request-and-submit
KulkarniShashank Oct 12, 2023
c445d09
refactor:included ecosystem role information
pallavighule Oct 12, 2023
a31d5c5
Merge pull request #147 from credebl/refactor-ecosystem-member-list
nishad-ayanworks Oct 12, 2023
85becb6
refactored ecosystem_config and ecosystem_orgs model and its referenc…
nishad-ayanworks Oct 12, 2023
7e3bcb2
refactor: removed org validation for reject
tipusinghaw Oct 12, 2023
d5ca7e8
refactor: added request body parameter on endorsement list
tipusinghaw Oct 13, 2023
0cbd12d
Merge pull request #150 from credebl/endorser-request-and-submit
nishad-ayanworks Oct 13, 2023
d4d124d
fix: Added validation for schema and cred-def and updated payload for…
KulkarniShashank Oct 13, 2023
290a84c
fix: removed unused orgId
tipusinghaw Oct 13, 2023
7199dc7
feat: refactor api for passkey module
bhavanakarwade Oct 13, 2023
cc68898
Merge branch 'develop' of https://github.com/credebl/platform into re…
bhavanakarwade Oct 13, 2023
887d7f3
Merge pull request #151 from credebl/endorser-request-and-submit
nishad-ayanworks Oct 13, 2023
e88abf1
Merge branch 'develop' of https://github.com/credebl/platform into re…
bhavanakarwade Oct 13, 2023
64c8632
feat: Schema and cred-def auto sign and submit endorsement transactio…
KulkarniShashank Oct 13, 2023
9773e2b
resolved sonar lint checks
bhavanakarwade Oct 16, 2023
149cdf5
Merge branch 'develop' of https://github.com/credebl/platform into re…
bhavanakarwade Oct 16, 2023
ef161ed
fix: decline endorsement request
tipusinghaw Oct 16, 2023
07b6426
Merge pull request #155 from credebl/endorser-request-and-submit
nishad-ayanworks Oct 16, 2023
71daf64
refactor: ecosystem lead details included ecosystem dashboard (#156)
nishad-ayanworks Oct 16, 2023
aed6b68
refactor: Implemented org validation for create and invite ecosystem
tipusinghaw Oct 16, 2023
c45d887
Merge branch 'develop' of https://github.com/credebl/credebl-platform…
tipusinghaw Oct 16, 2023
9004f5d
Merge pull request #157 from credebl/endorser-request-and-submit
nishad-ayanworks Oct 16, 2023
1734f87
refactor: api for passkey module
bhavanakarwade Oct 16, 2023
826eddb
Merge branch 'develop' of https://github.com/credebl/platform into re…
bhavanakarwade Oct 16, 2023
42b1860
remove unnecessary code
bhavanakarwade Oct 17, 2023
4915ef5
refactor return type
bhavanakarwade Oct 17, 2023
1b3a59d
refactor: Implemented auto flag handling within the ecosystem and int…
KulkarniShashank Oct 17, 2023
e73714f
Merge branch 'develop' of https://github.com/credebl/platform into re…
bhavanakarwade Oct 18, 2023
5213031
Merge pull request #154 from credebl/refactor-api-for-passkey-module
KulkarniShashank Oct 18, 2023
6e167d5
refactor: send ecosystem invitations link
bhavanakarwade Oct 18, 2023
6533458
fix: implemented request body in credential definition request
tipusinghaw Oct 18, 2023
93de903
Merge pull request #175 from credebl/fix-endorsement-request-payload
KulkarniShashank Oct 18, 2023
2bdac3c
fix: added attributes as array of string
tipusinghaw Oct 18, 2023
c29b816
Merge pull request #176 from credebl/fix-endorsement-request-payload
KulkarniShashank Oct 18, 2023
b8c358c
Merge branch 'ecosystem-send-invitations' of https://github.com/crede…
bhavanakarwade Oct 18, 2023
082b793
Merge pull request #177 from credebl/send-invitation-link
nishad-ayanworks Oct 18, 2023
d6bb263
fix: send invitation flow for organization & ecosystem (#179)
nishad-ayanworks Oct 19, 2023
4fa1a24
feat: cred-def list by schemaId for verification (#180)
KulkarniShashank Oct 19, 2023
e1283cb
Solved the credential-def bug in endorsement (#181)
KulkarniShashank Oct 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ WALLET_STORAGE_PASSWORD=xxxxxx

CRYPTO_PRIVATE_KEY=xxxxx-xxxxx-xxxxx-xxxxx #It should be same as studio UI

AFJ_VERSION=afj-0.4.0:latest
AFJ_VERSION=afj-0.4.1:latest

FIDO_API_ENDPOINT=http://localhost:8000 # Host:port of your FIDO (WebAuthn) Server

Expand Down
41 changes: 41 additions & 0 deletions Dockerfiles/Dockerfile.ecosystem
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Stage 1: Build the application
FROM node:18-alpine as build
RUN npm install -g pnpm
# Set the working directory
WORKDIR /app

# Copy package.json and package-lock.json
COPY package.json ./
#COPY package-lock.json ./

# Install dependencies
RUN pnpm i

# Copy the rest of the application code
COPY . .
RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate

# Build the issuance service
RUN pnpm run build ecosystem

# Stage 2: Create the final image
FROM node:18-alpine
RUN npm install -g pnpm
# Set the working directory
WORKDIR /app

# Copy the compiled code from the build stage
COPY --from=build /app/dist/apps/ecosystem/ ./dist/apps/ecosystem/

# Copy the libs folder from the build stage
COPY --from=build /app/libs/ ./libs/
#COPY --from=build /app/package.json ./
COPY --from=build /app/node_modules ./node_modules


# Set the command to run the microservice
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate && cd ../.. && node dist/apps/ecosystem/main.js"]

# docker build -t ecosystem -f Dockerfiles/Dockerfile.ecosystem .
# docker run -d --env-file .env --name ecosystem docker.io/library/ecosystem
# docker logs -f ecosystem
4 changes: 3 additions & 1 deletion apps/agent-provisioning/AFJ/scripts/start_agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ CONTAINER_NAME=${11}
PROTOCOL=${12}
TENANT=${13}
AFJ_VERSION=${14}
INDY_LEDGER=${15}
ADMIN_PORT=$((8000 + $AGENCY))
INBOUND_PORT=$((9000 + $AGENCY))
CONTROLLER_PORT=$((3000 + $AGENCY))
Expand Down Expand Up @@ -48,13 +49,14 @@ cat <<EOF >>${PWD}/apps/agent-provisioning/AFJ/agent-config/${AGENCY}_${CONTAINE
"label": "${AGENCY}_${CONTAINER_NAME}",
"walletId": "$WALLET_NAME",
"walletKey": "$WALLET_PASSWORD",
"walletType": "postgres_storage",
"walletType": "postgres",
"walletUrl": "$WALLET_STORAGE_HOST:$WALLET_STORAGE_PORT",
"walletAccount": "$WALLET_STORAGE_USER",
"walletPassword": "$WALLET_STORAGE_PASSWORD",
"walletAdminAccount": "$WALLET_STORAGE_USER",
"walletAdminPassword": "$WALLET_STORAGE_PASSWORD",
"walletScheme": "DatabasePerWallet",
"indyLedger": $INDY_LEDGER,
"endpoint": [
"$AGENT_ENDPOINT"
],
Expand Down
10 changes: 6 additions & 4 deletions apps/agent-provisioning/AFJ/scripts/start_agent_ecs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ CONTAINER_NAME=${11}
PROTOCOL=${12}
TENANT=${13}
AFJ_VERSION=${14}
AGENT_HOST=${15}
AWS_ACCOUNT_ID=${16}
S3_BUCKET_ARN=${17}
INDY_LEDGER=${15}
AGENT_HOST=${16}
AWS_ACCOUNT_ID=${17}
S3_BUCKET_ARN=${18}
ADMIN_PORT=$((8000 + AGENCY))
INBOUND_PORT=$((9000 + AGENCY))
CONTROLLER_PORT=$((3000 + AGENCY))
Expand All @@ -38,13 +39,14 @@ cat <<EOF >>/app/agent-provisioning/AFJ/agent-config/${AGENCY}_${CONTAINER_NAME}
"label": "${AGENCY}_${CONTAINER_NAME}",
"walletId": "$WALLET_NAME",
"walletKey": "$WALLET_PASSWORD",
"walletType": "postgres_storage",
"walletType": "postgres",
"walletUrl": "$WALLET_STORAGE_HOST:$WALLET_STORAGE_PORT",
"walletAccount": "$WALLET_STORAGE_USER",
"walletPassword": "$WALLET_STORAGE_PASSWORD",
"walletAdminAccount": "$WALLET_STORAGE_USER",
"walletAdminPassword": "$WALLET_STORAGE_PASSWORD",
"walletScheme": "DatabasePerWallet",
"indyLedger": $INDY_LEDGER,
"endpoint": [
"$AGENT_ENDPOINT"
],
Expand Down
4 changes: 2 additions & 2 deletions apps/agent-provisioning/src/agent-provisioning.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ export class AgentProvisioningService {
async walletProvision(payload: IWalletProvision): Promise<object> {
try {

const { containerName, externalIp, orgId, seed, walletName, walletPassword, walletStorageHost, walletStoragePassword, walletStoragePort, walletStorageUser, webhookEndpoint, agentType, protocol, afjVersion, tenant } = payload;
const { containerName, externalIp, orgId, seed, walletName, walletPassword, walletStorageHost, walletStoragePassword, walletStoragePort, walletStorageUser, webhookEndpoint, agentType, protocol, afjVersion, tenant, indyLedger } = payload;

if (agentType === AgentType.AFJ) {
// The wallet provision command is used to invoke a shell script
const walletProvision = `${process.cwd() + process.env.AFJ_AGENT_SPIN_UP
} ${orgId} "${externalIp}" "${walletName}" "${walletPassword}" ${seed} ${webhookEndpoint} ${walletStorageHost} ${walletStoragePort} ${walletStorageUser} ${walletStoragePassword} ${containerName} ${protocol} ${tenant} ${afjVersion} ${process.env.AGENT_HOST} ${process.env.AWS_ACCOUNT_ID} ${process.env.S3_BUCKET_ARN}`;
} ${orgId} "${externalIp}" "${walletName}" "${walletPassword}" ${seed} ${webhookEndpoint} ${walletStorageHost} ${walletStoragePort} ${walletStorageUser} ${walletStoragePassword} ${containerName} ${protocol} ${tenant} ${afjVersion} ${indyLedger} ${process.env.AGENT_HOST} ${process.env.AWS_ACCOUNT_ID} ${process.env.S3_BUCKET_ARN}`;

const spinUpResponse: object = new Promise(async (resolve) => {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface IWalletProvision {
containerName: string;
agentType: AgentType;
orgName: string;
genesisUrl: string;
indyLedger: string;
protocol: string;
afjVersion: string;
tenant: boolean;
Expand Down
18 changes: 18 additions & 0 deletions apps/agent-service/src/agent-service.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,22 @@ export class AgentServiceController {
async getProofFormData(payload: { url: string, apiKey: string }): Promise<object> {
return this.agentServiceService.getProofFormData(payload.url, payload.apiKey);
}

@MessagePattern({ cmd: 'agent-schema-endorsement-request' })
async schemaEndorsementRequest(payload: { url: string, apiKey: string, requestSchemaPayload:object }): Promise<object> {
return this.agentServiceService.schemaEndorsementRequest(payload.url, payload.apiKey, payload.requestSchemaPayload);
}
@MessagePattern({ cmd: 'agent-credDef-endorsement-request' })
async credDefEndorsementRequest(payload: { url: string, apiKey: string, requestSchemaPayload:object }): Promise<object> {
return this.agentServiceService.credDefEndorsementRequest(payload.url, payload.apiKey, payload.requestSchemaPayload);
}

@MessagePattern({ cmd: 'agent-sign-transaction' })
async signTransaction(payload: { url: string, apiKey: string, signEndorsementPayload:object }): Promise<object> {
return this.agentServiceService.signTransaction(payload.url, payload.apiKey, payload.signEndorsementPayload);
}
@MessagePattern({ cmd: 'agent-submit-transaction' })
async submitTransaction(payload: { url: string, apiKey: string, submitEndorsementPayload:object }): Promise<object> {
return this.agentServiceService.sumbitTransaction(payload.url, payload.apiKey, payload.submitEndorsementPayload);
}
}
Loading