Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5446 commits
Select commit Hold shift + click to select a range
45c5b6f
Merge branch 'main' into develop
simvalery Feb 18, 2025
17952d8
update version
simvalery Feb 18, 2025
2974cb2
4568
simvalery Feb 19, 2025
6f95686
4589
simvalery Feb 19, 2025
21b797e
Merge branch 'main' of https://github.com/hashgraph/guardian into dev…
simvalery Feb 19, 2025
614626e
remove comment
simvalery Feb 19, 2025
340ee96
GITBOOK-284: Updated roadmap links
prernaadev01 Feb 19, 2025
4251d25
fix multiSelect in filter addon block
Stepan-Kirjakov Feb 19, 2025
40703a2
Fix db aggregation for vp filtration. (#4679)
DariyEnvision Feb 19, 2025
76df84b
fix multiSelect in filter addon block
Stepan-Kirjakov Feb 20, 2025
806427c
fix code style
Stepan-Kirjakov Feb 20, 2025
5977b60
fix multiSelect in filter addon block
Stepan-Kirjakov Feb 20, 2025
f285a52
Data transformation addon (#4680)
Pyatakov Feb 20, 2025
d801ac3
Feature/4375 geo json (#4683)
DariyEnvision Feb 21, 2025
806087b
fix/cleaning callback maps in nats and workers service[4626] (#4677)
ihar-tsykala Feb 25, 2025
b12f64c
Fix/angular irec 5 user information (#4702)
ihar-tsykala Feb 25, 2025
727371e
fix/remove redundant hashgraph/sdk[4626] (#4703)
ihar-tsykala Feb 25, 2025
c5138f6
fix: return hashgraph/sdk to common for docker[4626] (#4704)
ihar-tsykala Feb 26, 2025
7066016
Merging fixed from Develop into Main for 3.1.0 release (#4678) (#4705)
simvalery Feb 27, 2025
d0f22ef
GITBOOK-285: updated external events docs table
prernaadev01 Feb 27, 2025
2a5bc1c
Feature/4090 (#4706)
simvalery Feb 28, 2025
f6a9ccb
fix block links
Stepan-Kirjakov Feb 28, 2025
c75a429
Merge branch 'develop' of github.com:hashgraph/guardian into develop
Stepan-Kirjakov Feb 28, 2025
8ddf53b
Feature/3992 (#4707)
simvalery Feb 28, 2025
afb8682
change hedera explorer
Stepan-Kirjakov Feb 28, 2025
9b79dff
Merge branch 'develop' of github.com:hashgraph/guardian into develop
Stepan-Kirjakov Feb 28, 2025
35e929b
fix notifications
Stepan-Kirjakov Feb 28, 2025
e7fa686
3525 (#4708)
simvalery Feb 28, 2025
1270963
GITBOOK-286: Added external source data API
prernaadev01 Mar 3, 2025
3f75465
GITBOOK-287: added deprecation policy for architectural APIs
prernaadev01 Mar 3, 2025
5c35b1e
GITBOOK-288: explorer URL changes
prernaadev01 Mar 3, 2025
3c5c486
GITBOOK-289: Roadmap changes
prernaadev01 Mar 3, 2025
95b13a8
GITBOOK-290: added geojson images for indexer
prernaadev01 Mar 3, 2025
bdd16a1
GITBOOK-291: added old api for external event
prernaadev01 Mar 4, 2025
988e516
Create readme.md
prernaadev01 Mar 5, 2025
477c8c9
Merge branch 'main' of https://github.com/hashgraph/guardian into dev…
simvalery Mar 6, 2025
1b31089
Changed some names of folders of ML
prernaadev01 Mar 6, 2025
2d437b8
Added updated VM0044 policy
prernaadev01 Mar 6, 2025
807bc7e
created two new sub folders in verra
prernaadev01 Mar 6, 2025
1cdb151
Update readme.md of Verra
prernaadev01 Mar 6, 2025
90b4f0f
Merge branch 'develop' of https://github.com/hashgraph/guardian into …
prernaadev01 Mar 6, 2025
59db0dd
Merge branch 'develop' of https://github.com/hashgraph/guardian into …
prernaadev01 Mar 6, 2025
ef36099
Update readme.md of Verra
prernaadev01 Mar 6, 2025
0ce698b
Merge branch 'develop' of https://github.com/hashgraph/guardian into …
prernaadev01 Mar 6, 2025
fdf86f8
Create readme.md of VM0003
prernaadev01 Mar 6, 2025
5b96446
Add files via upload
prernaadev01 Mar 6, 2025
efb16d8
Delete Methodology Library/Verra/Verified Carbon Standard (VCS)/VM000…
prernaadev01 Mar 6, 2025
82c5af1
Update README.md
anvabr Mar 10, 2025
8442504
fix select-block in policy config
Stepan-Kirjakov Mar 10, 2025
d8ce1a1
fix: documents-source-block__text (#4721)
ihar-tsykala Mar 10, 2025
b49cbcf
fix: clear map in transaction logger[4626] (#4742)
ihar-tsykala Mar 10, 2025
9cf1309
fix/remove-redundant-dependencies (#4723)
ihar-tsykala Mar 11, 2025
47601ce
fix: remove redundant components front (#4747)
ihar-tsykala Mar 20, 2025
2a0304b
Fix new trustchain for the cases without minting tokens (#4752)
kirill-tolochko Mar 20, 2025
4509004
fix: logs range frontend and backend[3111] (#4760)
ihar-tsykala Mar 20, 2025
a4e34cd
fix: title dry run registrant (#4761)
ihar-tsykala Mar 20, 2025
bdcfcf4
fix: removing notification by user id
ihar-tsykala Mar 21, 2025
56ea4db
Automation api tests (#4777)
Celiant Mar 25, 2025
8c5e737
fix: leak of memory in guardin by stoped policy (#4782)
ihar-tsykala Mar 27, 2025
1b8912f
Fix/memory leak in guardian in sendBlockMessage (#4785)
ihar-tsykala Mar 27, 2025
b225a3a
GITBOOK-292: roadmap changes
prernaadev01 Mar 27, 2025
f1d7f4c
GITBOOK-293: roadmap changes
prernaadev01 Mar 27, 2025
8967caf
Feature/4109 (#4781)
simvalery Mar 31, 2025
9f0179f
fix: users with long names dont displayed correctly[3263] (#4787)
ihar-tsykala Mar 31, 2025
090eda5
Merge remote-tracking branch 'origin/develop' into develop
simvalery Mar 31, 2025
8159366
Automation api tests (#4797)
Celiant Mar 31, 2025
2a1d26e
GITBOOK-294: vm0042 v2.1 docs added
prernaadev01 Mar 31, 2025
000fc69
GITBOOK-295: added example to external events
prernaadev01 Mar 31, 2025
6eaff96
feat/increasing-versioin-nestJs (#4748)
ihar-tsykala Mar 31, 2025
aade5ca
Feature/4373 manual reindexing (#4798)
DariyEnvision Mar 31, 2025
db3216a
GITBOOK-296: updated roadmap
prernaadev01 Apr 1, 2025
97decc5
Add files via upload
prernaadev01 Apr 1, 2025
e17c2c6
Create readMe.md
prernaadev01 Apr 1, 2025
bce81ab
Update readMe.md of VM0042 v2.1
prernaadev01 Apr 1, 2025
5a1a691
Update readMe.md of VM0042
prernaadev01 Apr 1, 2025
0af00da
GITBOOK-297: Manual trigger for reindexing docs
prernaadev01 Apr 1, 2025
7bd4215
Feature/4373 improvements (#4799)
DariyEnvision Apr 1, 2025
bfc1fc6
Improve analytics for priority messages. (#4801)
DariyEnvision Apr 2, 2025
b7a7ab7
Feature/4058 (#4803)
simvalery Apr 2, 2025
8750bc3
Feature/4373: fix analytics and add restore to expired priority queue…
DariyEnvision Apr 2, 2025
78c7263
GITBOOK-298: roadmap changes
prernaadev01 Apr 2, 2025
3a0d408
Merge branch 'develop' of https://github.com/hashgraph/guardian into …
simvalery Apr 2, 2025
104b995
fixes
simvalery Apr 2, 2025
01b817b
fixes
simvalery Apr 2, 2025
adf3481
fix
simvalery Apr 2, 2025
47b3ccd
feat/move indexer to nest 11[4764] (#4802)
ihar-tsykala Apr 4, 2025
89e3d06
GITBOOK-299: fixed the roadmap link
prernaadev01 Apr 7, 2025
8e0fc72
GITBOOK-300: roadmap changes
prernaadev01 Apr 10, 2025
5d82d42
fix: angular (#4825)
ihar-tsykala Apr 11, 2025
637a250
feat: policy optimizaition dry run[4783] (#4824)
ihar-tsykala Apr 11, 2025
428c7fd
Add files via upload
prernaadev01 Apr 14, 2025
972f9bd
Feature/2243: restore frontend changes (#4835)
DariyEnvision Apr 14, 2025
8854f6d
GITBOOK-301: roadmap changes
prernaadev01 Apr 15, 2025
8cb90b0
GITBOOK-302: changed Hedera to Hedera Topic
prernaadev01 Apr 22, 2025
020eaa8
Added DLT Earth folder
prernaadev01 Apr 24, 2025
745f475
added sub folders
prernaadev01 Apr 24, 2025
e3b82b8
fix/space in name folder in methodology (#4856)
ihar-tsykala Apr 25, 2025
2b0d2de
Fix/4059 remove token from connection sockets url (#4855)
ihar-tsykala Apr 29, 2025
513b96b
fix: add topicId filter for the tokens page [4784] (#4851)
egorenvisionblockchain Apr 29, 2025
079964c
fix: async in policy run (#4861)
ihar-tsykala Apr 30, 2025
f851c50
feat: logs by user id[4058] (#4828)
ihar-tsykala Apr 30, 2025
06eb34f
GITBOOK-303: logs permissions and roadmap
prernaadev01 May 1, 2025
cc74c54
GITBOOK-304: Roadmap changes
prernaadev01 May 1, 2025
4774bb3
GITBOOK-305: Decentralized UI
prernaadev01 May 2, 2025
50893b7
GITBOOK-306: roadmap changes
prernaadev01 May 2, 2025
f276ca0
GITBOOK-307: Decentralized APIs added
prernaadev01 May 2, 2025
c0de795
GITBOOK-308: added dataTrnasformationaddon block
prernaadev01 May 5, 2025
ed6c0a6
Accessing a Guardian policy from a Guardian instance other than the p…
Stepan-Kirjakov May 5, 2025
1fb7c15
fix save entity cache
Stepan-Kirjakov May 5, 2025
915aba6
fix log params
Stepan-Kirjakov May 5, 2025
f3c1ae0
Version bump (#4883)
Pyatakov May 5, 2025
c5973f0
Merge branch 'main' into develop
Stepan-Kirjakov May 5, 2025
ad888ca
Merge branch 'main' into develop
Stepan-Kirjakov May 5, 2025
c648a46
fix required field
Stepan-Kirjakov May 6, 2025
cf2b91a
fix: add rxjs and pre creation migrations in docker topic listener (#…
ihar-tsykala May 7, 2025
0027de8
GITBOOK-309: roadmap changes updated
prernaadev01 May 8, 2025
5e5d81e
getPolicyNavigation request fix (#4909)
Pyatakov May 13, 2025
eeb7389
fix branding (#4910)
ihar-tsykala May 13, 2025
8498fb4
Fix/frontend branding bugs (#4915)
ihar-tsykala May 14, 2025
31f9b6b
fix: circular links in select block [4914] (#4925)
ihar-tsykala May 16, 2025
7f54977
chore(deps): bump actions/setup-node from 4.1.0 to 4.4.0 (#4834)
dependabot[bot] May 16, 2025
c28095d
replace EnricoMi action with step-security maintained version
Pyatakov May 16, 2025
079dc50
GITBOOK-312: added encryption part
prernaadev01 May 17, 2025
b7b9b02
GITBOOK-313: added encryption apis
prernaadev01 May 17, 2025
76972be
Fix/4926 select block with target
ihar-tsykala May 19, 2025
5936a53
actions bump (#4950)
Pyatakov May 19, 2025
7abade8
#3951 (#4924)
Stepan-Kirjakov May 19, 2025
894281e
Merge branch 'main' into develop
Stepan-Kirjakov May 19, 2025
526728f
Update environment.ts (#4953)
Neurone May 19, 2025
189614f
Automation api tests (#4872)
Celiant May 19, 2025
dc41c68
fix load message key
Stepan-Kirjakov May 19, 2025
ab66ffc
Merge branch 'develop' of github.com:hashgraph/guardian into develop
Stepan-Kirjakov May 19, 2025
5bf55b8
update version
Stepan-Kirjakov May 19, 2025
a88084f
fix start dry run
Stepan-Kirjakov May 20, 2025
111e17c
fix: error and null in attributes of logs on front (#4955)
ihar-tsykala May 20, 2025
b98b021
fix load policy navigation
Stepan-Kirjakov May 21, 2025
a74d045
GITBOOK-314: adding stepper to the policy
prernaadev01 May 26, 2025
de98962
GITBOOK-315: added password policy
prernaadev01 May 26, 2025
d1457aa
policies filtering by status (#4921)
mikhail-artemyev May 29, 2025
d5d73bf
Fix VC (#4971)
Stepan-Kirjakov May 30, 2025
8395db8
Feature/3680 csv project export (#4973)
DariyEnvision May 30, 2025
88d25b9
feat: validation http request block[4110, 4049] (#4891)
ihar-tsykala May 30, 2025
0813d4c
feat: add password policy [4057] (#4878)
egorenvisionblockchain May 30, 2025
bc5d423
GITBOOK-317: docs on server side forgery
prernaadev01 May 30, 2025
261392f
GITBOOK-318: authorization headers docs
prernaadev01 May 30, 2025
0d5e156
feat: add authentication between microservices [4107] (#4956)
egorenvisionblockchain Jun 2, 2025
d3df51e
GITBOOK-319: exporting documents in csv format
prernaadev01 Jun 3, 2025
c20abe1
GITBOOK-320: authentication between microservices
prernaadev01 Jun 3, 2025
5bfb4c5
fix: authentication between microservices [4107] (#4991)
egorenvisionblockchain Jun 6, 2025
4cbf194
Remove export button in dry run mode. Fix permissions. (#4993)
DariyEnvision Jun 6, 2025
d45bc78
changed irec title in ML
prernaadev01 Jun 6, 2025
e026139
GITBOOK-321: roadmap changes
prernaadev01 Jun 6, 2025
8316c26
GITBOOK-322: removed enhanced indexer from indexer
prernaadev01 Jun 9, 2025
8af138a
#4304
Stepan-Kirjakov Jun 11, 2025
a8f4e26
fix parse xlsx files;
Stepan-Kirjakov Jun 11, 2025
ef80e18
GITBOOK-323: debugging code
prernaadev01 Jun 11, 2025
6f9b950
fix: api-gateway logger service send message (#5000)
egorenvisionblockchain Jun 12, 2025
6f043e8
GITBOOK-324: vm33 guide
prernaadev01 Jun 12, 2025
991054e
GITBOOK-325: apis for debugging
prernaadev01 Jun 12, 2025
0381227
GITBOOK-326: added section of keys for authentication
prernaadev01 Jun 12, 2025
2921f07
4722 (#5014)
Stepan-Kirjakov Jun 16, 2025
12ebd8b
`CONTRACT_FILE_ID` env variable was replaced by `RETIRE_CONTRACT_FILE…
Neurone Jun 17, 2025
c6cfd12
Feature/3959 (#5005)
DariyEnvision Jun 17, 2025
b44f348
#5004, #5003
Stepan-Kirjakov Jun 17, 2025
87e490e
GITBOOK-327: updated getting started & prerequisites
prernaadev01 Jun 17, 2025
38e319a
Update README.md with mainnet and testnet account setup
prernaadev01 Jun 17, 2025
d2b9707
GITBOOK-328: updated links
prernaadev01 Jun 17, 2025
1c87a10
Updated links in readme
prernaadev01 Jun 17, 2025
faf1b26
fix task options
Stepan-Kirjakov Jun 19, 2025
62fa7dc
#4906
Stepan-Kirjakov Jun 19, 2025
3ccb975
Fix template path in mrv-sender (#5033)
Pyatakov Jun 23, 2025
5431ad3
#4900
Stepan-Kirjakov Jun 24, 2025
b1c37dc
feat/4049 save headers to db by publish (#5020)
ihar-tsykala Jun 25, 2025
0774b16
Fix/5026 comparing states before publish (#5036)
ihar-tsykala Jun 25, 2025
c8193db
performance policy configuration
ihar-tsykala Jun 25, 2025
e031442
fix/remove-unusefull-import-in-http-request-data (#5047)
ihar-tsykala Jun 26, 2025
2f9ac7e
refactor http request data confirm dialog[4049]
ihar-tsykala Jun 27, 2025
c2e2214
renamed GHG policies in ML
prernaadev01 Jun 30, 2025
f696b38
Update readMe.md of GHGP docs
prernaadev01 Jun 30, 2025
21e0c04
chore: bump packages and hide server header [4056] (#4999)
egorenvisionblockchain Jun 30, 2025
54d38bc
GITBOOK-330: change request with no subject merged in GitBook
prernaadev01 Jul 2, 2025
c570189
GITBOOK-331: roadmap fixes
prernaadev01 Jul 2, 2025
bf63118
#5064 (#5065)
Stepan-Kirjakov Jul 3, 2025
ca5d1d7
fix: copying nested schemas [3014] (#5032)
egorenvisionblockchain Jul 4, 2025
e96126a
fix: filling fields with test data [4153] (#5016)
egorenvisionblockchain Jul 4, 2025
4430f1a
chore: update copiedShema misprint (#5068)
egorenvisionblockchain Jul 4, 2025
bc28af8
GITBOOK-332: copy schema API added
prernaadev01 Jul 4, 2025
19b1433
fix: update generate doc action (#5049)
egorenvisionblockchain Jul 7, 2025
484f912
Removed ACR folder
prernaadev01 Jul 7, 2025
b2fcb48
GITBOOK-333: removed ACR docs
prernaadev01 Jul 7, 2025
a78650d
GITBOOK-334: python implementation
prernaadev01 Jul 7, 2025
1a8fb96
GITBOOK-335: python2
prernaadev01 Jul 7, 2025
b54dfd0
GITBOOK-336: schema editing using json
prernaadev01 Jul 7, 2025
b90b68c
fix:lint-issures (#5087)
ihar-tsykala Jul 8, 2025
7cd4649
Feature/3573 python calculations (#5070)
DariyEnvision Jul 8, 2025
0363751
Fix 3374 (#5089)
DariyEnvision Jul 9, 2025
80d5c09
#5027 (#5066)
Stepan-Kirjakov Jul 9, 2025
fa6d676
#4746
Stepan-Kirjakov Jul 9, 2025
dd0e8f6
#4933 fix auto calculate fields
Stepan-Kirjakov Jul 9, 2025
0673720
#5069 moving to indexed db for policy configuration
ihar-tsykala Jul 10, 2025
eb32802
GITBOOK-337: updated roadmap links
prernaadev01 Jul 10, 2025
90cf2bd
#5090
Stepan-Kirjakov Jul 11, 2025
11ec232
Feat/5069 moving to indexed db for policy configuration (#5097)
ihar-tsykala Jul 11, 2025
c020f2c
Schema type: File (#5095)
EnvBsh Jul 11, 2025
6a8a9cb
document drafts
EnvBsh Jul 14, 2025
b9b8241
E2e tests (#5111)
Celiant Jul 15, 2025
6845c35
#3715 (#5109)
Stepan-Kirjakov Jul 16, 2025
90b9d93
Fix #5098.
DariyEnvision Jul 17, 2025
d0780dc
Fix grid fs files (#5123)
Stepan-Kirjakov Jul 18, 2025
82cf2a1
fix: invalidation schemas modules tags (#5125)
ihar-tsykala Jul 18, 2025
0771c96
#4417, #4088
Stepan-Kirjakov Jul 18, 2025
8934428
fix: solved problem with restoring the data from draft
EnvBsh Jul 21, 2025
8da08f5
fix: contracts creation #5039
ihar-tsykala Jul 22, 2025
699530c
feat: Transformation button
EnvBsh Jul 22, 2025
865a486
fix: #4810
DariyEnvision Jul 22, 2025
949c66c
fix: #5110
DariyEnvision Jul 22, 2025
3770374
fix: Add check for token when user change password #4574
DariyEnvision Jul 22, 2025
e1a8d45
fix
Stepan-Kirjakov Jul 22, 2025
16ed019
fix: Add loading all modules or tools in compare modules dialog #4843
DariyEnvision Jul 22, 2025
5669eba
feat: body validation token retirement[4865] (#5145)
ihar-tsykala Jul 22, 2025
f3dcbb2
fix: #3211
DariyEnvision Jul 23, 2025
e557c93
fix: #3172
DariyEnvision Jul 23, 2025
45b6abd
fix: invalidation cache for urls with empty spaces
ihar-tsykala Jul 23, 2025
e61e1ef
GITBOOK-338: change request with no subject merged in GitBook
prernaadev01 Jul 23, 2025
0329d03
GITBOOK-339: roadmap changes
prernaadev01 Jul 24, 2025
26b6af3
GITBOOK-340: roadmap changes
prernaadev01 Jul 24, 2025
75ec0e2
GITBOOK-341: roadmap changes
prernaadev01 Jul 24, 2025
7ea7734
GITBOOK-342: roadmap changes
prernaadev01 Jul 24, 2025
3ced015
fix: change password permissions
DariyEnvision Jul 25, 2025
6244dc5
fix: #4415 (#5115)
DariyEnvision Jul 25, 2025
e003331
#4932 (#5152)
Stepan-Kirjakov Jul 25, 2025
492582c
GITBOOK-343: roadmap chsanges
prernaadev01 Jul 25, 2025
06decef
fix: typo in error message for duplicate key
Pyatakov Jul 28, 2025
c899c94
fix: header size for policy viewer
ihar-tsykala Jul 28, 2025
b052a58
feat: new dialogs set pool retire
ihar-tsykala Jul 29, 2025
43c94b7
fix: deprecate create contracts api v1 #5039
ihar-tsykala Jul 29, 2025
ac0b454
GITBOOK-344: updated roadmap
prernaadev01 Jul 29, 2025
1c186c0
GITBOOK-345: roadmap changes
prernaadev01 Jul 30, 2025
9c5079e
feat: Add validation for auto-calculate expression in schemas edit an…
DariyEnvision Jul 31, 2025
55d00ef
Fix 4213 & 3334. (#5142)
DariyEnvision Jul 31, 2025
ecc0cbf
chore(deps): bump step-security/publish-unit-test-result-action (#5161)
dependabot[bot] Jul 31, 2025
7c990b4
chore(deps): bump google-github-actions/auth from 2.1.10 to 2.1.11 (#…
dependabot[bot] Jul 31, 2025
56ba821
chore(deps): bump step-security/harden-runner from 2.12.0 to 2.13.0 (…
dependabot[bot] Jul 31, 2025
8ca072d
chore(deps): bump step-security/mongodb-github-action (#5082)
dependabot[bot] Jul 31, 2025
00169c6
chore(deps): bump docker/setup-buildx-action from 3.10.0 to 3.11.1 (#…
dependabot[bot] Jul 31, 2025
ad8266b
chore(deps): bump docker/build-push-action from 6.17.0 to 6.18.0 (#4981)
dependabot[bot] Jul 31, 2025
36266dc
chore: [StepSecurity] Apply security best practicesSigned-off-by: Ste…
stepsecurity-app[bot] Jul 31, 2025
fad66e1
feat: add integration with 3rd Party data resources #1690
egorenvisionblockchain Jul 31, 2025
8849754
feat: Bump version to 3.3.0-rc and update dependencies (#5168)
Pyatakov Jul 31, 2025
aad58b5
chore(deps): bump @google-cloud/secret-manager from 4.2.2 to 6.1.0
dependabot[bot] Jul 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 8 additions & 6 deletions .github/workflows/add-documentation-to-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ jobs:
runs-on: guardian-linux-medium
strategy:
matrix:
node-version: [ 20.18.1 ]
mongodb-version: [ 7.0.5 ]
node-version: [ 20.19.3 ]
mongodb-version: [ 7.0.21 ]
steps:
- name: Harden Runner
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit

- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af #v4.1.0
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 #v4.4.0
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -49,7 +49,7 @@ jobs:
git checkout "${GITHUB_REF:11}"

- name: Start MongoDB
uses: step-security/mongodb-github-action@0b5e704ee1061d729c20e0df4204e69ba6ac6cee # v1.11.1
uses: step-security/mongodb-github-action@b5ec2cea9277791cd58a1d6d534ca79076836782 # v1.12.1
with:
mongodb-version: ${{ matrix.mongodb-version }}

Expand Down Expand Up @@ -92,6 +92,8 @@ jobs:
yarn start &
popd
sleep 30
env:
QM_VERIFICATION: false

- name: Download file
run: |
Expand All @@ -104,4 +106,4 @@ jobs:
git add swagger.yaml
git add swagger-indexer.yaml
git add swagger-analytics.yaml
git commit -m "[skip ci] Add swagger.yaml" && git push || exit 0
git commit -m "[skip ci] Add swagger.yaml" && git push || exit 0
308 changes: 164 additions & 144 deletions .github/workflows/api-after-commit.yml
Original file line number Diff line number Diff line change
@@ -1,157 +1,177 @@
name: Guardian CI API Tests(after commit)
name: Guardian CI API Tests (After commit)
on:
push:
branches-ignore:
- 'dependabot/**'
push:
branches-ignore:
- 'dependabot/**'

jobs:
buildAndTest:
name: Build and Test
runs-on: ubuntu-latest
services:
cache:
image: registry.redict.io/redict
ports:
- 6379:6379
strategy:
matrix:
node-version: [ 20.18.1 ]
mongodb-version: [ 7.0.5 ]
steps:
- name: Harden Runner
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit
buildAndTest:
name: Build and Test
runs-on: guardian-linux-medium
services:
cache:
image: registry.redict.io/redict
ports:
- 6379:6379
strategy:
matrix:
node-version: [ 20.19.3 ]
mongodb-version: [ 7.0.21 ]
steps:
- name: Harden Runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit

- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af #v4.1.0
with:
node-version: ${{ matrix.node-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 #v4.4.0
with:
node-version: ${{ matrix.node-version }}

- name: Setup Yarn
uses: Borales/actions-yarn@3766bb1335b98fb13c60eaf358fe20811b730a88 # v5.0.0
with:
cmd: install
- name: Setup Yarn
uses: Borales/actions-yarn@3766bb1335b98fb13c60eaf358fe20811b730a88 # v5.0.0
with:
cmd: install

- name: Install dependencies
run: yarn install
- name: Install dependencies
run: yarn install

- name: Build packages
run: |
# sudo apt-get update
# sudo apt-get install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb
pushd interfaces
yarn run build
popd
pushd common
yarn run build
popd
pushd notification-service
yarn run build
popd
pushd logger-service
yarn run build
popd
pushd auth-service
yarn run build
popd
pushd queue-service
yarn run build
popd
pushd topic-listener-service
yarn run build
popd
pushd guardian-service
yarn run build
popd
pushd policy-service
yarn run build
popd
pushd worker-service
yarn run build
popd
pushd api-gateway
yarn run build
popd
- name: Build packages
run: |
pushd interfaces
yarn run build
popd
pushd common
yarn run build
popd
pushd notification-service
yarn run build
popd
pushd logger-service
yarn run build
popd
pushd auth-service
yarn run build
popd
pushd queue-service
yarn run build
popd
pushd topic-listener-service
yarn run build
popd
pushd guardian-service
yarn run build
popd
pushd policy-service
yarn run build
popd
pushd worker-service
yarn run build
popd
pushd api-gateway
yarn run build
popd

- name: Start NatsMQ
uses: step-security/nats-action@0306fc1c4e4f49dbe4db5865a3135ab1516a5aee # v0.1.0
with:
port: '4222'
- name: Start NatsMQ
uses: step-security/nats-action@0306fc1c4e4f49dbe4db5865a3135ab1516a5aee # v0.1.0
with:
port: '4222'

- name: Start MongoDB
uses: step-security/mongodb-github-action@0b5e704ee1061d729c20e0df4204e69ba6ac6cee # v1.11.1
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Start MongoDB
uses: step-security/mongodb-github-action@b5ec2cea9277791cd58a1d6d534ca79076836782 # v1.12.1
with:
mongodb-version: ${{ matrix.mongodb-version }}

- name: Run Guardian
run: |
pushd notification-service
npm start &
sleep 20
popd
pushd logger-service
npm start &
sleep 20
popd
pushd auth-service
npm start &
sleep 20
popd
pushd guardian-service
npm start &
sleep 20
popd
pushd policy-service
npm start &
sleep 20
popd
pushd queue-service
npm start &
sleep 20
popd
pushd topic-listener-service
npm start &
sleep 20
popd
pushd worker-service
npm start &
npm start &
npm start &
npm start &
npm start &
sleep 20
popd
pushd api-gateway
npm start &
sleep 20
popd
sleep 60
env:
CI: true
OPERATOR_ID: ${{ secrets.CI_HEDERA_ACCOUNT }}
OPERATOR_KEY: ${{ secrets.CI_HEDERA_PRIV_KEY }}
JWT_PRIVATE_KEY: ${{ secrets.CI_JWT_PRIVATE_KEY }}
JWT_PUBLIC_KEY: ${{ secrets.CI_JWT_PUBLIC_KEY }}
IPFS_NODE_ADDRESS: http://localhost:5001
IPFS_PROVIDER: web3storage
IPFS_PUBLIC_GATEWAY: https://dweb.link/ipfs/${cid}
IPFS_STORAGE_KEY: ${{ secrets.E2E_IPFS_STORAGE_KEY }}
IPFS_STORAGE_PROOF: ${{ secrets.E2E_IPFS_STORAGE_PROOF }}
ACCESS_TOKEN_UPDATE_INTERVAL: 600000
- name: Run Guardian
run: |
pushd notification-service
npm start &
sleep 20
popd
pushd logger-service
npm start &
sleep 20
popd
pushd auth-service
npm start &
sleep 20
popd
pushd guardian-service
npm start &
sleep 20
popd
pushd policy-service
npm start &
sleep 20
popd
pushd queue-service
npm start &
sleep 20
popd
pushd topic-listener-service
npm start &
sleep 20
popd
pushd worker-service
npm start &
npm start &
npm start &
npm start &
npm start &
sleep 20
popd
pushd api-gateway
npm start &
sleep 20
popd
sleep 60
env:
CI: true
NODE_OPTIONS: '--openssl-legacy-provider'
OPERATOR_ID: ${{ secrets.CI_HEDERA_ACCOUNT }}
OPERATOR_KEY: ${{ secrets.CI_HEDERA_PRIV_KEY }}
JWT_PRIVATE_KEY: ${{ secrets.CI_JWT_PRIVATE_KEY }}
JWT_PUBLIC_KEY: ${{ secrets.CI_JWT_PUBLIC_KEY }}
SERVICE_JWT_PUBLIC_KEY_ALL: ${{ secrets.CI_JWT_PUBLIC_KEY }}
SERVICE_JWT_SECRET_KEY_ALL: ${{ secrets.CI_JWT_PRIVATE_KEY }}
IPFS_NODE_ADDRESS: http://localhost:5001
IPFS_PROVIDER: web3storage
IPFS_PUBLIC_GATEWAY: https://dweb.link/ipfs/${cid}
IPFS_STORAGE_KEY: ${{ secrets.E2E_IPFS_STORAGE_KEY }}
IPFS_STORAGE_PROOF: ${{ secrets.E2E_IPFS_STORAGE_PROOF }}
ACCESS_TOKEN_UPDATE_INTERVAL: 600000
MIN_PASSWORD_LENGTH: 4
PASSWORD_COMPLEXITY: easy

- name: Run tests with Cypress
run: |
pushd e2e-tests
npm install
npx cypress run --env "portApi=3002,operatorId=${{ secrets.CI_HEDERA_ACCOUNT }},operatorKey=${{ secrets.CI_HEDERA_PRIV_KEY }},grepTags=smoke,grepFilterSpecs=true" --spec "cypress/e2e/api-tests/**/*.cy.js" --browser chrome
popd
- name: Build Cypress Docker image
run: docker build -t cypress-runner ./e2e-tests

- name: Publish API Test Results
uses: step-security/publish-unit-test-result-action@cc82caac074385ae176d39d2d143ad05e1130b2d # v2.18.0
if: always()
with:
files: e2e-tests/cypress/test_results/**/*.xml
- name: Run Cypress Tests in Docker
run: |
docker run --network host --name cypress-test-run \
-e CYPRESS_portApi=3002 \
-e CYPRESS_operatorId=${{ secrets.CI_HEDERA_ACCOUNT }} \
-e CYPRESS_operatorKey=${{ secrets.CI_HEDERA_PRIV_KEY }} \
-e CYPRESS_grepTags=smoke \
-e CYPRESS_grepFilterSpecs=true \
cypress-runner \
--browser chrome

- name: Copy test results from Docker container
if: always()
run: |
docker cp cypress-test-run:/e2e/cypress/test_results ./e2e-tests/cypress/test_results || true

- name: Cleanup Docker resources
if: always()
run: |
docker rm -f cypress-test-run || true

- name: Publish API Test Results
uses: step-security/publish-unit-test-result-action@43e0c963eea0ace6eca353cb1d814d857fee5c53 # v2.20.2
if: always()
with:
files: e2e-tests/cypress/test_results/**/*.xml
Loading
Loading