Skip to content

Commit

Permalink
Automation api tests (#4572)
Browse files Browse the repository at this point in the history
* added tests for wipe and retire requests(negative also)

* added tests for import, permissions, remove for contracts

* added tests for contracts permissions, pools, requests

* added tests for operations with retire tokens

* added tests for get random hedera creds and get registered users

* added tests for ipfs and logs endpoints

* small refactoring

* added tests for policies

* fix configs

* Pull changes from develop to branch automation-api-tests (#3787)

* Add TPDDTEC v3.1.0 methodology details

* Update README.md

* Add in policy file

* Update README.md

* Add Architecture

* Update README.md

* Registry Step by Step flow

* Complete Step by Step Flow

* Complete Step by Step WorkFlow

* Add GCR workflow

* Update demo video

* Update Demo video link

* Add guardian demo video

* fix ipfs get file
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* fix upload in ipfs from dryRun mode
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix download in ipfs from dryRun mode
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix gridfs bug
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix gridfs bug
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* Feature/2629 upd (#3720)

* add indexer

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix

Signed-off-by: Stepan Kiryakov <[email protected]>

* add services

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update elastic

Signed-off-by: Stepan Kiryakov <[email protected]>

* add page templates

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update indexer [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* update yarn lock [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix swagger [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

---------

Signed-off-by: Stepan Kiryakov <[email protected]>
Signed-off-by: Artem Buslaev <[email protected]>
Co-authored-by: Stepan Kiryakov <[email protected]>

* bump version
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* update default masks [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* Revamp Guardian user/roles and permissions model (#3722)

Add messages

* GITBOOK-179: Added Step by step to GS methodology

* Create readme.md of Methane Emission Reduction by Adjusted Water Management Practice in Rice Cultivation

Signed-off-by: prernaadev01 <[email protected]>

* bump version
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* add gs policy
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* Add files via upload

Signed-off-by: prernaadev01 <[email protected]>

* Update readme.md of Rice Cultivation

Signed-off-by: prernaadev01 <[email protected]>

* GITBOOK-180: Indexer User Guide added

* GITBOOK-181: Added Roles & Permissions section

* GITBOOK-182: corrected docs

* Merging Develop into Main for the 2.25.0 release (#3721)

* [skip ci] Add swagger.yaml

* update cdm policies [skip ci]

Signed-off-by: artembuslaev <[email protected]>

* added some tests for contracts and flow for irec4

* update status code for tests

* fix bottom margin for tools changing [skip ci]

Signed-off-by: artembuslaev <[email protected]>

* Dockerfiles revised

Signed-off-by: Alexander Pyatakov <[email protected]>

* node image replaced with the slim version

Signed-off-by: Alexander Pyatakov <[email protected]>

* node version moved to arg

Signed-off-by: Alexander Pyatakov <[email protected]>

* Dockerfiles has been revamped to reduce the size of the final images

Signed-off-by: Alexander Pyatakov <[email protected]>

* Added/Modified .dockerignore files

Signed-off-by: Alexander Pyatakov <[email protected]>

* Optimize caching with "COPY --link"

Signed-off-by: Alexander Pyatakov <[email protected]>

* Run applications as a non-root user and use init:true for containers

Signed-off-by: Alexander Pyatakov <[email protected]>

* Yarn cache directory defined as an argument

Signed-off-by: Alexander Pyatakov <[email protected]>

* Yarn cache fix

Signed-off-by: Alexander Pyatakov <[email protected]>

* Permissions changes

Signed-off-by: Alexander Pyatakov <[email protected]>

* Base node image is changed to alpine

Signed-off-by: Alexander Pyatakov <[email protected]>

* GITBOOK-136: Added Filebase docs

* added bad_request const for status code

* added publishing contract file script

Signed-off-by: artembuslaev <[email protected]>

* fix: migrate to redict cache store

* Revert "Merge branch 'develop' into feat/move-to-es-modules-develop"

This reverts commit 6da2788a242fb0b421014850723e95038f5fae6c, reversing
changes made to 0c8b8323e51d1a1b69f1c13ee366781f3211d344.

* Revert "fix: merge with develop"

This reverts commit 0c8b8323e51d1a1b69f1c13ee366781f3211d344, reversing
changes made to 0fec16a844886453ae38a33bc25f897df3d43ea5.

* Revert "Revert "fix: merge with develop""

This reverts commit 5610fa549cd6949e42ff4c0d6d8159b0f331700e.

* Revert "Revert "Merge branch 'develop' into feat/move-to-es-modules-develop""

This reverts commit c48aa0f5f176f1e3cb018a4f27c3316adee52a61.

* added nfts limit in contracts

Signed-off-by: Artem Buslaev <[email protected]>

* upd contracts [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix script [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* GITBOOK-137: Updated Changing Tools in UI section

* Update readme.md of ML readme

* remove output [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix

Signed-off-by: Artem Buslaev <[email protected]>

* GITBOOK-139: Added section on how to deploy contracts using your own account

* Update readme.md

* GITBOOK-140: Added Atma Scope 3 policy demo

* GITBOOK-142: Added Dovu MMCM

* update iii.f [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* feat: performance interceptor

* cache-endpoints
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* update policies [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix: extentions gulp files in description dockerfiles

* update policies [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* feat: wrap endpoinds in cache

* GITBOOK-143: added ExternalDataBlock details

* feat: use cache with apply decorators

* fix: file name import

* fix: get user only if auth token exist

* feat: add perf hooks in performance interceptor

* fix: add express flag for projects/properties route

* setup user profile
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* sign with fireblocks
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* user fireblocks config
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix serials column

Signed-off-by: Artem Buslaev <[email protected]>

* remove res where it possible and add res.locals.data

* GITBOOK-144: Added Changing of Tools during Policy import APIs added

* fix fireblocks sign bug
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* add ui validators, add exception
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* temp fix validators
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* GITBOOK-145: Added youtube demo video for PWRM0002

* GITBOOK-146: Updated Guardian Introduction

* fix: remove cache from policies/:policyId/groups

* fix
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* Policy Preview/Import performance optimisations

Signed-off-by: Alexander Pyatakov <[email protected]>

* fixed fields parsing for compare

Signed-off-by: Alexander Pyatakov <[email protected]>

* parseConditions function improvements

Signed-off-by: Alexander Pyatakov <[email protected]>

* fix generate xlsx

Signed-off-by: Stepan Kiryakov <[email protected]>

* GITBOOK-147: Made some minor corrections

* test
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* added policy data migration

Signed-off-by: Artem Buslaev <[email protected]>

* [skip ci] Add swagger.yaml

* fix

Signed-off-by: Artem Buslaev <[email protected]>

* fix

Signed-off-by: Artem Buslaev <[email protected]>

* fix lint

Signed-off-by: Artem Buslaev <[email protected]>

* remove types/mime resolution
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* Add files via upload

* fix signing
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix linting
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix autocomplete
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* remove singleton from fireblocks-helper.ts
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* docs: add instruction for launch cache container in readme file

* bump version
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* GITBOOK-148: Added Live Project Data Migration UI

* GITBOOK-149: Fireblocks Docs added

* added migrating retire pools and dynamic tokens

Signed-off-by: Artem Buslaev <[email protected]>

* [skip ci] Add swagger.yaml

* fix

Signed-off-by: Artem Buslaev <[email protected]>

* GITBOOK-150: ACM0001 guide added

* fix lint

Signed-off-by: Artem Buslaev <[email protected]>

* Update readme.md of ACM0001

* fix

Signed-off-by: Artem Buslaev <[email protected]>

* GITBOOK-151: Added migration policy data APIs

* hotfix: remove cache for contract routes

* GITBOOK-152: Added redict in Prerequisites

* GITBOOK-153: Added Prerequisites

* GITBOOK-154: Added Token template to migration

* GITBOOK-155: Added fireblocks note

* hotfix/remove-cache-from-tags-schemas

* GITBOOK-156: Updated roadmap

* GITBOOK-157: Updated roadmap

* fix: remove cache from navigation

* GITBOOK-158: Made some changes in SD

* feat:basic fastify solution

* feat: add body parser for json and binary/octet-stream and send method

* feat: implement interceptor for multipart formdata

* refactor: put same names as base nest

* fix cache document id

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix cache document id

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix cache document id

Signed-off-by: Stepan Kiryakov <[email protected]>

* GITBOOK-159: made some minor corrections

* GITBOOK-160: updated extractdatablock

* fix: error status if token is not correct

* bump version
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* fix: size of limit json to 1gb

* GITBOOK-161: Updated Live Project Data UI

* update mamual tests flow
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix: auth accross decorator in get account

* feat: add option ignoreTrailingSlash in fastify adapter

* [skip ci] Add swagger.yaml

* fix: remove local data for cache from contracts

* fix: remove local data for cache from tags schemas

* GITBOOK-162: Added note in Topics Architecture

* fix: export strime for schema file

* update api workflows (#3640)

Signed-off-by: simvalery <[email protected]>

* fix: setHeader to header for fastify

* fix: linter errors

* fix: req body is undefined for logger

* gzip compression enabled for web-proxy

Signed-off-by: Alexander Pyatakov <[email protected]>

* fix: multipart intercepter for artifats

* GITBOOK-163: Updated Fireblocks UI screens

* GITBOOK-164: Removed Fireblocks note

* fix: sypress 500 error instead 400 in artifact

* remove port sharing from cache container
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* GITBOOK-165: Updated tools for AMS-II.G

* GITBOOK-166: Corrected gold Standard policy

* GITBOOK-167: Updated Verra titles

* GITBOOK-168: updated VM0017 title

* GITBOOK-169: updated Verra

* GITBOOK-171: updated grid spelling

* GITBOOK-172: correcting grid spelling

* GITBOOK-173: Updated High level architecture

* data comparation
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix 3449
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* GITBOOK-174: fireblocks diagram updated

* add api-version
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* fix swagger generated files
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* fix 3449
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* GITBOOK-174: fireblocks diagram updated

* fix swagger generated files
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix swagger
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* fix labels
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix labels
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix irec7 comparation
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix irec5 comparison
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix crash
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix ui
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix sizing
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix schema title
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* status code added

* fix lint
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* GITBOOK-175: Added VP Document Comparison for projects

* GITBOOK-176: Added VP Compare in Projects docs

* GITBOOK-177: Added Methane Emission GS demo guide

* GITBOOK-178: Added operations section for Fireblocks

* Revamp Guardian user/roles and permissions model (#3717)

Revamp Guardian user/roles and permissions model 

---------

Signed-off-by: Stepan Kiryakov <[email protected]>
Co-authored-by: envision-ci-agent <[email protected]>

* fix: issue-3447-redundant-fields-in-session-api (#3664)

Signed-off-by: Ihar Tsykala <[email protected]>
Co-authored-by: Ihar <[email protected]>

* fix connection refused error
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix application-events service
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix ipfs get file
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* fix upload in ipfs from dryRun mode
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix download in ipfs from dryRun mode
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix gridfs bug
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix gridfs bug
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* Feature/2629 upd (#3720)

* add indexer

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix

Signed-off-by: Stepan Kiryakov <[email protected]>

* add services

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update elastic

Signed-off-by: Stepan Kiryakov <[email protected]>

* add page templates

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update indexer [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* update yarn lock [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix swagger [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

---------

Signed-off-by: Stepan Kiryakov <[email protected]>
Signed-off-by: Artem Buslaev <[email protected]>
Co-authored-by: Stepan Kiryakov <[email protected]>

* bump version
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* update default masks [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* Revamp Guardian user/roles and permissions model (#3722)

Add messages

* GITBOOK-179: Added Step by step to GS methodology

* Create readme.md of Methane Emission Reduction by Adjusted Water Management Practice in Rice Cultivation

Signed-off-by: prernaadev01 <[email protected]>

* bump version
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* add gs policy
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* Add files via upload

Signed-off-by: prernaadev01 <[email protected]>

* Update readme.md of Rice Cultivation

Signed-off-by: prernaadev01 <[email protected]>

* GITBOOK-180: Indexer User Guide added

---------

Signed-off-by: artembuslaev <[email protected]>
Signed-off-by: Alexander Pyatakov <[email protected]>
Signed-off-by: Artem Buslaev <[email protected]>
Signed-off-by: simvalery <[email protected]>
Signed-off-by: Stepan Kiryakov <[email protected]>
Signed-off-by: Ihar Tsykala <[email protected]>
Signed-off-by: prernaadev01 <[email protected]>
Co-authored-by: envision-ci-agent <[email protected]>
Co-authored-by: Artem Buslaev <[email protected]>
Co-authored-by: Celiant <[email protected]>
Co-authored-by: Alexander Pyatakov <[email protected]>
Co-authored-by: prernaa.agarwal <[email protected]>
Co-authored-by: Ihar <[email protected]>
Co-authored-by: Stepan Kiryakov <[email protected]>
Co-authored-by: Ihar Tsykala <[email protected]>

* fix session response
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix session response
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* remove unnesessary cache
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* remove unnesessary cache
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* Fix for the 2.25.0 release (#3727)

* update status code for tests

* fix bottom margin for tools changing [skip ci]

Signed-off-by: artembuslaev <[email protected]>

* Dockerfiles revised

Signed-off-by: Alexander Pyatakov <[email protected]>

* node image replaced with the slim version

Signed-off-by: Alexander Pyatakov <[email protected]>

* node version moved to arg

Signed-off-by: Alexander Pyatakov <[email protected]>

* Dockerfiles has been revamped to reduce the size of the final images

Signed-off-by: Alexander Pyatakov <[email protected]>

* Added/Modified .dockerignore files

Signed-off-by: Alexander Pyatakov <[email protected]>

* Optimize caching with "COPY --link"

Signed-off-by: Alexander Pyatakov <[email protected]>

* Run applications as a non-root user and use init:true for containers

Signed-off-by: Alexander Pyatakov <[email protected]>

* Yarn cache directory defined as an argument

Signed-off-by: Alexander Pyatakov <[email protected]>

* Yarn cache fix

Signed-off-by: Alexander Pyatakov <[email protected]>

* Permissions changes

Signed-off-by: Alexander Pyatakov <[email protected]>

* Base node image is changed to alpine

Signed-off-by: Alexander Pyatakov <[email protected]>

* GITBOOK-136: Added Filebase docs

* added bad_request const for status code

* added publishing contract file script

Signed-off-by: artembuslaev <[email protected]>

* fix: migrate to redict cache store

* Revert "Merge branch 'develop' into feat/move-to-es-modules-develop"

This reverts commit 6da2788a242fb0b421014850723e95038f5fae6c, reversing
changes made to 0c8b8323e51d1a1b69f1c13ee366781f3211d344.

* Revert "fix: merge with develop"

This reverts commit 0c8b8323e51d1a1b69f1c13ee366781f3211d344, reversing
changes made to 0fec16a844886453ae38a33bc25f897df3d43ea5.

* Revert "Revert "fix: merge with develop""

This reverts commit 5610fa549cd6949e42ff4c0d6d8159b0f331700e.

* Revert "Revert "Merge branch 'develop' into feat/move-to-es-modules-develop""

This reverts commit c48aa0f5f176f1e3cb018a4f27c3316adee52a61.

* added nfts limit in contracts

Signed-off-by: Artem Buslaev <[email protected]>

* upd contracts [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix script [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* GITBOOK-137: Updated Changing Tools in UI section

* Update readme.md of ML readme

* remove output [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix

Signed-off-by: Artem Buslaev <[email protected]>

* GITBOOK-139: Added section on how to deploy contracts using your own account

* Update readme.md

* GITBOOK-140: Added Atma Scope 3 policy demo

* GITBOOK-142: Added Dovu MMCM

* update iii.f [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* feat: performance interceptor

* cache-endpoints
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* update policies [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix: extentions gulp files in description dockerfiles

* update policies [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* feat: wrap endpoinds in cache

* GITBOOK-143: added ExternalDataBlock details

* feat: use cache with apply decorators

* fix: file name import

* fix: get user only if auth token exist

* feat: add perf hooks in performance interceptor

* fix: add express flag for projects/properties route

* setup user profile
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* sign with fireblocks
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* user fireblocks config
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix serials column

Signed-off-by: Artem Buslaev <[email protected]>

* remove res where it possible and add res.locals.data

* GITBOOK-144: Added Changing of Tools during Policy import APIs added

* fix fireblocks sign bug
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* add ui validators, add exception
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* temp fix validators
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* GITBOOK-145: Added youtube demo video for PWRM0002

* GITBOOK-146: Updated Guardian Introduction

* fix: remove cache from policies/:policyId/groups

* fix
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* Policy Preview/Import performance optimisations

Signed-off-by: Alexander Pyatakov <[email protected]>

* fixed fields parsing for compare

Signed-off-by: Alexander Pyatakov <[email protected]>

* parseConditions function improvements

Signed-off-by: Alexander Pyatakov <[email protected]>

* fix generate xlsx

Signed-off-by: Stepan Kiryakov <[email protected]>

* GITBOOK-147: Made some minor corrections

* test
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* added policy data migration

Signed-off-by: Artem Buslaev <[email protected]>

* [skip ci] Add swagger.yaml

* fix

Signed-off-by: Artem Buslaev <[email protected]>

* fix

Signed-off-by: Artem Buslaev <[email protected]>

* fix lint

Signed-off-by: Artem Buslaev <[email protected]>

* remove types/mime resolution
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* Add files via upload

* fix signing
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix linting
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix autocomplete
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* remove singleton from fireblocks-helper.ts
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* docs: add instruction for launch cache container in readme file

* bump version
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* GITBOOK-148: Added Live Project Data Migration UI

* GITBOOK-149: Fireblocks Docs added

* added migrating retire pools and dynamic tokens

Signed-off-by: Artem Buslaev <[email protected]>

* [skip ci] Add swagger.yaml

* fix

Signed-off-by: Artem Buslaev <[email protected]>

* GITBOOK-150: ACM0001 guide added

* fix lint

Signed-off-by: Artem Buslaev <[email protected]>

* Update readme.md of ACM0001

* fix

Signed-off-by: Artem Buslaev <[email protected]>

* GITBOOK-151: Added migration policy data APIs

* hotfix: remove cache for contract routes

* GITBOOK-152: Added redict in Prerequisites

* GITBOOK-153: Added Prerequisites

* GITBOOK-154: Added Token template to migration

* GITBOOK-155: Added fireblocks note

* hotfix/remove-cache-from-tags-schemas

* GITBOOK-156: Updated roadmap

* GITBOOK-157: Updated roadmap

* fix: remove cache from navigation

* GITBOOK-158: Made some changes in SD

* feat:basic fastify solution

* feat: add body parser for json and binary/octet-stream and send method

* feat: implement interceptor for multipart formdata

* refactor: put same names as base nest

* fix cache document id

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix cache document id

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix cache document id

Signed-off-by: Stepan Kiryakov <[email protected]>

* GITBOOK-159: made some minor corrections

* GITBOOK-160: updated extractdatablock

* fix: error status if token is not correct

* bump version
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* fix: size of limit json to 1gb

* GITBOOK-161: Updated Live Project Data UI

* update mamual tests flow
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix: auth accross decorator in get account

* feat: add option ignoreTrailingSlash in fastify adapter

* [skip ci] Add swagger.yaml

* fix: remove local data for cache from contracts

* fix: remove local data for cache from tags schemas

* GITBOOK-162: Added note in Topics Architecture

* fix: export strime for schema file

* update api workflows (#3640)

Signed-off-by: simvalery <[email protected]>

* fix: setHeader to header for fastify

* fix: linter errors

* fix: req body is undefined for logger

* gzip compression enabled for web-proxy

Signed-off-by: Alexander Pyatakov <[email protected]>

* fix: multipart intercepter for artifats

* GITBOOK-163: Updated Fireblocks UI screens

* GITBOOK-164: Removed Fireblocks note

* fix: sypress 500 error instead 400 in artifact

* remove port sharing from cache container
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* GITBOOK-165: Updated tools for AMS-II.G

* GITBOOK-166: Corrected gold Standard policy

* GITBOOK-167: Updated Verra titles

* GITBOOK-168: updated VM0017 title

* GITBOOK-169: updated Verra

* GITBOOK-171: updated grid spelling

* GITBOOK-172: correcting grid spelling

* GITBOOK-173: Updated High level architecture

* data comparation
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix 3449
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* GITBOOK-174: fireblocks diagram updated

* add api-version
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* fix swagger generated files
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* fix 3449
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* GITBOOK-174: fireblocks diagram updated

* fix swagger generated files
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix swagger
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* fix labels
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix labels
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix irec7 comparation
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix irec5 comparison
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix crash
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix ui
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix sizing
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix schema title
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* status code added

* fix lint
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* GITBOOK-175: Added VP Document Comparison for projects

* GITBOOK-176: Added VP Compare in Projects docs

* GITBOOK-177: Added Methane Emission GS demo guide

* GITBOOK-178: Added operations section for Fireblocks

* Revamp Guardian user/roles and permissions model (#3717)

Revamp Guardian user/roles and permissions model 

---------

Signed-off-by: Stepan Kiryakov <[email protected]>
Co-authored-by: envision-ci-agent <[email protected]>

* fix: issue-3447-redundant-fields-in-session-api (#3664)

Signed-off-by: Ihar Tsykala <[email protected]>
Co-authored-by: Ihar <[email protected]>

* fix connection refused error
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix application-events service
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix ipfs get file
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* fix upload in ipfs from dryRun mode
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix download in ipfs from dryRun mode
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix gridfs bug
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix gridfs bug
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* Feature/2629 upd (#3720)

* add indexer

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix

Signed-off-by: Stepan Kiryakov <[email protected]>

* add services

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update elastic

Signed-off-by: Stepan Kiryakov <[email protected]>

* add page templates

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* update indexer [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* update yarn lock [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix swagger [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

---------

Signed-off-by: Stepan Kiryakov <[email protected]>
Signed-off-by: Artem Buslaev <[email protected]>
Co-authored-by: Stepan Kiryakov <[email protected]>

* bump version
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* update default masks [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* Revamp Guardian user/roles and permissions model (#3722)

Add messages

* GITBOOK-179: Added Step by step to GS methodology

* Create readme.md of Methane Emission Reduction by Adjusted Water Management Practice in Rice Cultivation

Signed-off-by: prernaadev01 <[email protected]>

* bump version
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* add gs policy
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* Add files via upload

Signed-off-by: prernaadev01 <[email protected]>

* Update readme.md of Rice Cultivation

Signed-off-by: prernaadev01 <[email protected]>

* GITBOOK-180: Indexer User Guide added

* GITBOOK-181: Added Roles & Permissions section

* GITBOOK-182: corrected docs

* fix session response
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix session response
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* remove unnesessary cache
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* remove unnesessary cache
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

---------

Signed-off-by: artembuslaev <[email protected]>
Signed-off-by: Alexander Pyatakov <[email protected]>
Signed-off-by: Artem Buslaev <[email protected]>
Signed-off-by: simvalery <[email protected]>
Signed-off-by: Stepan Kiryakov <[email protected]>
Signed-off-by: Ihar Tsykala <[email protected]>
Signed-off-by: prernaadev01 <[email protected]>
Co-authored-by: Celiant <[email protected]>
Co-authored-by: artembuslaev <[email protected]>
Co-authored-by: Alexander Pyatakov <[email protected]>
Co-authored-by: prernaa.agarwal <[email protected]>
Co-authored-by: Ihar <[email protected]>
Co-authored-by: Stepan Kiryakov <[email protected]>
Co-authored-by: envision-ci-agent <[email protected]>
Co-authored-by: Ihar Tsykala <[email protected]>

* update gitignore
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* update gitignore
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix roles
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* fix roles
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* bump version
Signed-off-by: simvalery <[email protected]>

Signed-off-by: simvalery <[email protected]>

* [skip ci] Add swagger.yaml

* GITBOOK-183: Updated roadmap

* fix migrate data from dry-run (#3754)

Signed-off-by: Artem Buslaev <[email protected]>

* fix (#3748)

Signed-off-by: Artem Buslaev <[email protected]>

* Fix restore (#3750)

Update user restore

* fix restore role uuid

Signed-off-by: Stepan Kiryakov <[email protected]>

* update policies [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* fix tool 16 [skip ci]

Signed-off-by: Artem Buslaev <[email protected]>

* GITBOOK-184: updated roadmap with new changes

---------

Signed-off-by: simvalery <[email protected]>
Signed-off-by: Stepan Kiryakov <[email protected]>
Signed-off-by: Artem Buslaev <[email protected]>
Signed-off-by: prernaadev01 <[email protected]>
Signed-off-by: artembuslaev <[email protected]>
Signed-off-by: Alexander Pyatakov <[email protected]>
Signed-off-by: Ihar Tsykala <[email protected]>
Co-authored-by: Saharsh Khicha <[email protected]>
Co-authored-by: simvalery <[email protected]>
Co-authored-by: envision-ci-agent <[email protected]>
Co-authored-by: Artem Buslaev <[email protected]>
Co-authored-by: Stepan Kiryakov <[email protected]>
Co-authored-by: prernaa.agarwal <[email protected]>
Co-authored-by: Alexander Pyatakov <[email protected]>
Co-authored-by: Ihar <[email protected]>
Co-authored-by: Ihar Tsykala <[email protected]>

* git add smoke tagging and small fixes

* added tags with pools and implemented running by tag

* small fixes for runs by tag

* update .yml file

* finally update .yml file

* fixes after merge

* last fix after merge

* [skip ci] Add swagger.yaml

* some fixes for tests and pipeline running

* update pipeline with cypress docker image

* update pipeline with cypress docker image

* update pipeline with cypress docker image

* update pipeline with cypress docker image

* update pipeline with cypress docker image

* fixes for LSM and custom case types

* update pipeline for E2E tests with provide ELECTRON_RUN_AS_NODE

* update package-lock

* install Xvfb and libnss3

* install Xvfb and libnss3

* install Xvfb and libnss3

* install Xvfb and libnss3

* fix tests for Installer

* fix non-smoke pull test run

* update api manual workflow

---------

Signed-off-by: simvalery <[email protected]>
Signed-off-by: Stepan Kiryakov <[email protected]>
Signed-off-by: Artem Buslaev <[email protected]>
Signed-off-by: prernaadev01 <[email protected]>
Signed-off-by: artembuslaev <[email protected]>
Signed-off-by: Alexander Pyatakov <[email protected]>
Signed-off-by: Ihar Tsykala <[email protected]>
Co-authored-by: simvalery <[email protected]>
Co-authored-by: Saharsh Khicha <[email protected]>
Co-authored-by: envision-ci-agent <[email protected]>
Co-authored-by: Artem Buslaev <[email protected]>
Co-authored-by: Stepan Kiryakov <[email protected]>
Co-authored-by: prernaa.agarwal <[email protected]>
Co-authored-by: Alexander Pyatakov <[email protected]>
Co-authored-by: Ihar <[email protected]>
Co-authored-by: Ihar Tsykala <[email protected]>
  • Loading branch information
10 people authored Jan 23, 2025
1 parent 88a4b89 commit 0e766e6
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,4 @@ jobs:
uses: EnricoMi/publish-unit-test-result-action@170bf24d20d201b842d7a52403b73ed297e6645b # v2.18.0
if: always()
with:
files: e2e-tests/cypress/test_results/**/*.xml
files: e2e-tests/cypress/test_results/**/*.xml
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ context("Contracts", { tags: ['contracts', 'firstPool', 'all'] }, () => {

describe("Approve retire request", () => {

before("Get retire request id", () => {
it("Approve retire request without auth token - Negative", () => {
Authorization.getAccessToken(SRUsername).then((authorization) => {
cy.request({
method: METHOD.GET,
Expand All @@ -472,9 +472,6 @@ context("Contracts", { tags: ['contracts', 'firstPool', 'all'] }, () => {
retireRequestId = response.body.at(0).id;
})
})
});

it("Approve retire request without auth token - Negative", () => {
cy.request({
method: METHOD.POST,
url: API.ApiServer + API.RetireRequests + retireRequestId + "/" + API.Approve,
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/cypress/fixtures/StandardRegistryData.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"username":"SR","role":"STANDARD_REGISTRY","permissionsGroup":[{"uuid":"97ad4eea-3a9b-4705-bae7-3bd44149eb58","roleId":"6790dd3a5434a601766f6a64","roleName":"Default policy user","owner":null}],"permissions":["ACCOUNTS_STANDARD_REGISTRY_READ","DEMO_KEY_CREATE","IPFS_FILE_READ","IPFS_FILE_CREATE","PROFILES_USER_READ","PROFILES_USER_UPDATE","PROFILES_BALANCE_READ","ACCOUNTS_ACCOUNT_READ","ANALYTIC_POLICY_READ","ANALYTIC_MODULE_READ","ANALYTIC_TOOL_READ","ANALYTIC_SCHEMA_READ","ANALYTIC_DOCUMENT_READ","ARTIFACTS_FILE_READ","ARTIFACTS_FILE_CREATE","ARTIFACTS_FILE_DELETE","BRANDING_CONFIG_UPDATE","CONTRACTS_CONTRACT_READ","CONTRACTS_CONTRACT_CREATE","CONTRACTS_CONTRACT_DELETE","CONTRACTS_CONTRACT_MANAGE","CONTRACTS_WIPE_REQUEST_READ","CONTRACTS_WIPE_REQUEST_UPDATE","CONTRACTS_WIPE_REQUEST_DELETE","CONTRACTS_WIPE_REQUEST_REVIEW","CONTRACTS_WIPE_ADMIN_CREATE","CONTRACTS_WIPE_ADMIN_DELETE","CONTRACTS_WIPE_MANAGER_CREATE","CONTRACTS_WIPE_MANAGER_DELETE","CONTRACTS_WIPER_CREATE","CONTRACTS_WIPER_DELETE","CONTRACTS_POOL_READ","CONTRACTS_POOL_UPDATE","CONTRACTS_POOL_DELETE","CONTRACTS_RETIRE_REQUEST_READ","CONTRACTS_RETIRE_REQUEST_CREATE","CONTRACTS_RETIRE_REQUEST_DELETE","CONTRACTS_RETIRE_REQUEST_REVIEW","CONTRACTS_RETIRE_ADMIN_CREATE","CONTRACTS_RETIRE_ADMIN_DELETE","CONTRACTS_PERMISSIONS_READ","CONTRACTS_DOCUMENT_READ","LOG_LOG_READ","MODULES_MODULE_READ","MODULES_MODULE_CREATE","MODULES_MODULE_UPDATE","MODULES_MODULE_DELETE","MODULES_MODULE_REVIEW","POLICIES_POLICY_READ","POLICIES_POLICY_CREATE","POLICIES_POLICY_UPDATE","POLICIES_POLICY_DELETE","POLICIES_POLICY_REVIEW","POLICIES_POLICY_EXECUTE","POLICIES_POLICY_MANAGE","POLICIES_MIGRATION_CREATE","POLICIES_RECORD_ALL","SCHEMAS_SCHEMA_READ","SCHEMAS_SCHEMA_CREATE","SCHEMAS_SCHEMA_UPDATE","SCHEMAS_SCHEMA_DELETE","SCHEMAS_SCHEMA_REVIEW","SCHEMAS_SYSTEM_SCHEMA_READ","SCHEMAS_SYSTEM_SCHEMA_CREATE","SCHEMAS_SYSTEM_SCHEMA_UPDATE","SCHEMAS_SYSTEM_SCHEMA_DELETE","SCHEMAS_SYSTEM_SCHEMA_REVIEW","TOOLS_TOOL_READ","TOOLS_TOOL_CREATE","TOOLS_TOOL_UPDATE","TOOLS_TOOL_DELETE","TOOLS_TOOL_REVIEW","TOOL_MIGRATION_CREATE","TOKENS_TOKEN_READ","TOKENS_TOKEN_CREATE","TOKENS_TOKEN_UPDATE","TOKENS_TOKEN_DELETE","TOKENS_TOKEN_MANAGE","TAGS_TAG_READ","TAGS_TAG_CREATE","PROFILES_RESTORE_ALL","SUGGESTIONS_SUGGESTIONS_READ","SUGGESTIONS_SUGGESTIONS_UPDATE","SETTINGS_SETTINGS_READ","SETTINGS_SETTINGS_UPDATE","SETTINGS_THEME_READ","SETTINGS_THEME_CREATE","SETTINGS_THEME_UPDATE","SETTINGS_THEME_DELETE","PERMISSIONS_ROLE_READ","PERMISSIONS_ROLE_CREATE","PERMISSIONS_ROLE_UPDATE","PERMISSIONS_ROLE_DELETE","PERMISSIONS_ROLE_MANAGE","ACCESS_POLICY_ALL","SCHEMAS_RULE_CREATE","SCHEMAS_RULE_READ","SCHEMAS_RULE_EXECUTE"],"did":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536","hederaAccountId":"0.0.5416534","confirmed":true,"failed":false,"topicId":"0.0.5416536","parentTopicId":"0.0.1960","didDocument":{"createDate":"2025-01-22T12:05:31.259Z","updateDate":"2025-01-22T12:05:43.700Z","did":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536","document":{"id":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536","@context":"https://www.w3.org/ns/did/v1","verificationMethod":[{"id":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536#did-root-key","type":"Ed25519VerificationKey2018","controller":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536","publicKeyBase58":"BkbEk6uGyZSYX6KeaTjsae3JJpq4wtRKZ3bErbHowBoQ"},{"id":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536#did-root-key-bbs","type":"Bls12381G2Key2020","controller":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536","publicKeyBase58":"24jvieHrAnP7n3V2YUZoTb4LMANs81JQkGJBxK944KnybnXAVn3C6GKEJQRBTyEB3GqMSBA92p3rwYHXQHVWDN7eixEZd5jXz6xSznYGPas1KANgpryFni9di1gGRgWUL2R5"}],"authentication":["did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536#did-root-key"],"assertionMethod":["#did-root-key","#did-root-key-bbs"]},"status":"CREATE","messageId":"1737547539.992272110","topicId":"0.0.5416536","verificationMethods":{"Ed25519VerificationKey2018":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536#did-root-key","Bls12381G2Key2020":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536#did-root-key-bbs"},"_id":"6790df0b5973c2293f1c82d2","id":"6790df0b5973c2293f1c82d2"},"vcDocument":{"createDate":"2025-01-22T12:06:18.095Z","updateDate":"2025-01-22T12:06:31.233Z","owner":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536","hash":"GwfFcjba8KLmdHFuH31ByUiz8V6CRZ3PpYUaap9P62e1","document":{"id":"urn:uuid:64c8cc5f-f678-4db8-b673-e477f9269a8b","type":["VerifiableCredential"],"issuer":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536","issuanceDate":"2025-01-22T12:06:17.990Z","@context":["https://www.w3.org/2018/credentials/v1","ipfs://bafkreihj7gclc4qgem27tre5je6a3t7tpdrk4li6oamdl6bnflwnoyfs5i"],"credentialSubject":[{"geography":"testGeography","law":"testLaw","tags":"testTags","@context":["ipfs://bafkreihj7gclc4qgem27tre5je6a3t7tpdrk4li6oamdl6bnflwnoyfs5i"],"id":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536","type":"StandardRegistry"}],"proof":{"type":"Ed25519Signature2018","created":"2025-01-22T12:06:18Z","verificationMethod":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536#did-root-key","proofPurpose":"assertionMethod","jws":"eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..nP5RrGr3czkUesAmV77cxhuk68A_PQtY0ILwNlkQ9q3aCheiOQtybcHHJ2rP2OeD8ub4ehLrcoUwre3_c-KtBA"}},"documentFileId":"6790df475973c2293f1c8313","hederaStatus":"ISSUE","signature":0,"type":"STANDARD_REGISTRY","option":{"status":"NEW"},"messageId":"1737547587.432120056","topicId":"0.0.5416536","_id":"6790df3a5973c2293f1c830c","id":"6790df3a5973c2293f1c830c"},"accessToken":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IlNSIiwiZGlkIjoiZGlkOmhlZGVyYTp0ZXN0bmV0OkE5VEZVbzZTbTZ1TENMbXJyOWF6OWgzc2p4Y0FDMW5BS0U0WDdjaHcyZFBwXzAuMC41NDE2NTM2Iiwicm9sZSI6IlNUQU5EQVJEX1JFR0lTVFJZIiwiZXhwaXJlQXQiOjE3Mzc1NDg2Mzc3ODIsImlhdCI6MTczNzU0ODAzN30.APCC9CFPWgwDN2MqIowra1UB3OlJriTexBNH29Xxi3x9GeQ2qp6e4ZokHgTgyeIrdgHTaqVy3TP7jeXG6uB1fpnEBiGgKML_IN4pYtv8NNnjL_qVbt7DLrGhLHlmJtSlZ7LZ7U4WSwZKNTBEu1cgwFOM4ajpuUTaDcuusGLJeW8"}
{"username":"SR","role":"STANDARD_REGISTRY","permissionsGroup":[{"uuid":"97ad4eea-3a9b-4705-bae7-3bd44149eb58","roleId":"6790dd3a5434a601766f6a64","roleName":"Default policy user","owner":null}],"permissions":["ACCOUNTS_STANDARD_REGISTRY_READ","DEMO_KEY_CREATE","IPFS_FILE_READ","IPFS_FILE_CREATE","PROFILES_USER_READ","PROFILES_USER_UPDATE","PROFILES_BALANCE_READ","ACCOUNTS_ACCOUNT_READ","ANALYTIC_POLICY_READ","ANALYTIC_MODULE_READ","ANALYTIC_TOOL_READ","ANALYTIC_SCHEMA_READ","ANALYTIC_DOCUMENT_READ","ARTIFACTS_FILE_READ","ARTIFACTS_FILE_CREATE","ARTIFACTS_FILE_DELETE","BRANDING_CONFIG_UPDATE","CONTRACTS_CONTRACT_READ","CONTRACTS_CONTRACT_CREATE","CONTRACTS_CONTRACT_DELETE","CONTRACTS_CONTRACT_MANAGE","CONTRACTS_WIPE_REQUEST_READ","CONTRACTS_WIPE_REQUEST_UPDATE","CONTRACTS_WIPE_REQUEST_DELETE","CONTRACTS_WIPE_REQUEST_REVIEW","CONTRACTS_WIPE_ADMIN_CREATE","CONTRACTS_WIPE_ADMIN_DELETE","CONTRACTS_WIPE_MANAGER_CREATE","CONTRACTS_WIPE_MANAGER_DELETE","CONTRACTS_WIPER_CREATE","CONTRACTS_WIPER_DELETE","CONTRACTS_POOL_READ","CONTRACTS_POOL_UPDATE","CONTRACTS_POOL_DELETE","CONTRACTS_RETIRE_REQUEST_READ","CONTRACTS_RETIRE_REQUEST_CREATE","CONTRACTS_RETIRE_REQUEST_DELETE","CONTRACTS_RETIRE_REQUEST_REVIEW","CONTRACTS_RETIRE_ADMIN_CREATE","CONTRACTS_RETIRE_ADMIN_DELETE","CONTRACTS_PERMISSIONS_READ","CONTRACTS_DOCUMENT_READ","LOG_LOG_READ","MODULES_MODULE_READ","MODULES_MODULE_CREATE","MODULES_MODULE_UPDATE","MODULES_MODULE_DELETE","MODULES_MODULE_REVIEW","POLICIES_POLICY_READ","POLICIES_POLICY_CREATE","POLICIES_POLICY_UPDATE","POLICIES_POLICY_DELETE","POLICIES_POLICY_REVIEW","POLICIES_POLICY_EXECUTE","POLICIES_POLICY_MANAGE","POLICIES_MIGRATION_CREATE","POLICIES_RECORD_ALL","SCHEMAS_SCHEMA_READ","SCHEMAS_SCHEMA_CREATE","SCHEMAS_SCHEMA_UPDATE","SCHEMAS_SCHEMA_DELETE","SCHEMAS_SCHEMA_REVIEW","SCHEMAS_SYSTEM_SCHEMA_READ","SCHEMAS_SYSTEM_SCHEMA_CREATE","SCHEMAS_SYSTEM_SCHEMA_UPDATE","SCHEMAS_SYSTEM_SCHEMA_DELETE","SCHEMAS_SYSTEM_SCHEMA_REVIEW","TOOLS_TOOL_READ","TOOLS_TOOL_CREATE","TOOLS_TOOL_UPDATE","TOOLS_TOOL_DELETE","TOOLS_TOOL_REVIEW","TOOL_MIGRATION_CREATE","TOKENS_TOKEN_READ","TOKENS_TOKEN_CREATE","TOKENS_TOKEN_UPDATE","TOKENS_TOKEN_DELETE","TOKENS_TOKEN_MANAGE","TAGS_TAG_READ","TAGS_TAG_CREATE","PROFILES_RESTORE_ALL","SUGGESTIONS_SUGGESTIONS_READ","SUGGESTIONS_SUGGESTIONS_UPDATE","SETTINGS_SETTINGS_READ","SETTINGS_SETTINGS_UPDATE","SETTINGS_THEME_READ","SETTINGS_THEME_CREATE","SETTINGS_THEME_UPDATE","SETTINGS_THEME_DELETE","PERMISSIONS_ROLE_READ","PERMISSIONS_ROLE_CREATE","PERMISSIONS_ROLE_UPDATE","PERMISSIONS_ROLE_DELETE","PERMISSIONS_ROLE_MANAGE","ACCESS_POLICY_ALL","SCHEMAS_RULE_CREATE","SCHEMAS_RULE_READ","SCHEMAS_RULE_EXECUTE"],"did":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536","hederaAccountId":"0.0.5416534","confirmed":true,"failed":false,"topicId":"0.0.5416536","parentTopicId":"0.0.1960","didDocument":{"createDate":"2025-01-22T12:05:31.259Z","updateDate":"2025-01-22T12:05:43.700Z","did":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536","document":{"id":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536","@context":"https://www.w3.org/ns/did/v1","verificationMethod":[{"id":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536#did-root-key","type":"Ed25519VerificationKey2018","controller":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536","publicKeyBase58":"BkbEk6uGyZSYX6KeaTjsae3JJpq4wtRKZ3bErbHowBoQ"},{"id":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536#did-root-key-bbs","type":"Bls12381G2Key2020","controller":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536","publicKeyBase58":"24jvieHrAnP7n3V2YUZoTb4LMANs81JQkGJBxK944KnybnXAVn3C6GKEJQRBTyEB3GqMSBA92p3rwYHXQHVWDN7eixEZd5jXz6xSznYGPas1KANgpryFni9di1gGRgWUL2R5"}],"authentication":["did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536#did-root-key"],"assertionMethod":["#did-root-key","#did-root-key-bbs"]},"status":"CREATE","messageId":"1737547539.992272110","topicId":"0.0.5416536","verificationMethods":{"Ed25519VerificationKey2018":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536#did-root-key","Bls12381G2Key2020":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536#did-root-key-bbs"},"_id":"6790df0b5973c2293f1c82d2","id":"6790df0b5973c2293f1c82d2"},"vcDocument":{"createDate":"2025-01-22T12:06:18.095Z","updateDate":"2025-01-22T12:06:31.233Z","owner":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536","hash":"GwfFcjba8KLmdHFuH31ByUiz8V6CRZ3PpYUaap9P62e1","document":{"id":"urn:uuid:64c8cc5f-f678-4db8-b673-e477f9269a8b","type":["VerifiableCredential"],"issuer":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536","issuanceDate":"2025-01-22T12:06:17.990Z","@context":["https://www.w3.org/2018/credentials/v1","ipfs://bafkreihj7gclc4qgem27tre5je6a3t7tpdrk4li6oamdl6bnflwnoyfs5i"],"credentialSubject":[{"geography":"testGeography","law":"testLaw","tags":"testTags","@context":["ipfs://bafkreihj7gclc4qgem27tre5je6a3t7tpdrk4li6oamdl6bnflwnoyfs5i"],"id":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536","type":"StandardRegistry"}],"proof":{"type":"Ed25519Signature2018","created":"2025-01-22T12:06:18Z","verificationMethod":"did:hedera:testnet:A9TFUo6Sm6uLCLmrr9az9h3sjxcAC1nAKE4X7chw2dPp_0.0.5416536#did-root-key","proofPurpose":"assertionMethod","jws":"eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..nP5RrGr3czkUesAmV77cxhuk68A_PQtY0ILwNlkQ9q3aCheiOQtybcHHJ2rP2OeD8ub4ehLrcoUwre3_c-KtBA"}},"documentFileId":"6790df475973c2293f1c8313","hederaStatus":"ISSUE","signature":0,"type":"STANDARD_REGISTRY","option":{"status":"NEW"},"messageId":"1737547587.432120056","topicId":"0.0.5416536","_id":"6790df3a5973c2293f1c830c","id":"6790df3a5973c2293f1c830c"},"accessToken":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IlNSIiwiZGlkIjoiZGlkOmhlZGVyYTp0ZXN0bmV0OkE5VEZVbzZTbTZ1TENMbXJyOWF6OWgzc2p4Y0FDMW5BS0U0WDdjaHcyZFBwXzAuMC41NDE2NTM2Iiwicm9sZSI6IlNUQU5EQVJEX1JFR0lTVFJZIiwiZXhwaXJlQXQiOjE3Mzc1NDg2Mzc3ODIsImlhdCI6MTczNzU0ODAzN30.APCC9CFPWgwDN2MqIowra1UB3OlJriTexBNH29Xxi3x9GeQ2qp6e4ZokHgTgyeIrdgHTaqVy3TP7jeXG6uB1fpnEBiGgKML_IN4pYtv8NNnjL_qVbt7DLrGhLHlmJtSlZ7LZ7U4WSwZKNTBEu1cgwFOM4ajpuUTaDcuusGLJeW8"}
18 changes: 16 additions & 2 deletions e2e-tests/cypress/support/e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import API from "./ApiUrls";
const registerCypressGrep = require('cypress-grep')
const SRUsername = Cypress.env('SRUser');
const SR2Username = Cypress.env('SR2User');
const SR3Username = Cypress.env('SR3User');
const userUsername = Cypress.env('User');
const password = Cypress.env('Password');
let SRDid;
Expand All @@ -41,7 +42,7 @@ registerCypressGrep()

//If neccessery users doesn't exist, creating them
before(() => {
let SRExist, SR2Exist, UserExist;
let SRExist, SR2Exist, UserExist, SR3Exist;
cy.request({
method: METHOD.GET,
url: API.ApiServer + API.RegUsers,
Expand All @@ -51,6 +52,8 @@ before(() => {
SRExist = true;
else if (element.username == SR2Username)
SR2Exist = true;
else if (element.username == SR3Username)
SR3Exist = true;
else if (element.username == userUsername)
UserExist = true;
})
Expand All @@ -76,6 +79,17 @@ before(() => {
role: 'STANDARD_REGISTRY'
}
})
if (!SR3Exist)
cy.request({
method: METHOD.POST,
url: API.ApiServer + API.AccountRegister,
body: {
username: SR3Username,
password: password,
password_confirmation: password,
role: 'STANDARD_REGISTRY'
}
})
if (!UserExist)
cy.request({
method: METHOD.POST,
Expand Down Expand Up @@ -105,7 +119,7 @@ before(() => {
method: METHOD.GET,
url: API.ApiServer + API.RandomKey,
headers: { authorization },
timeout:600000
timeout: 600000
}).then((response) => {
cy.wait(3000)
let hederaAccountId = response.body.id
Expand Down
9 changes: 8 additions & 1 deletion e2e-tests/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0e766e6

Please sign in to comment.