Skip to content

Commit

Permalink
Merging develop into main for 2.16 pre-release (#2595)
Browse files Browse the repository at this point in the history
* add analytics service

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

* Develop branch rebased

Signed-off-by: Felipe Neuhauss <[email protected]>

* update

* update

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

* update

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

* Added webinar youtube link for CDM

* Update workers on docker-compose.yml

on cold start of docker compose workers crashes because ipfs is not ready yet. With this the workers wait til the ipfs sevice is READY

Signed-off-by: noel garcia <[email protected]>

* Update docker-compose-aws.yml

Signed-off-by: noel garcia <[email protected]>

* Update docker-composeRIL.yml

Signed-off-by: noel garcia <[email protected]>

* update dc ssv

Signed-off-by: noel garcia <[email protected]>

* new_env_hsc

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

* Update README.md

Krypc README.md update

* Update README.md

* fix build

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

* import tags from ipfs

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

* GITBOOK-383: added selective disclosure user guide

* GITBOOK-384: changed the env route in installation

* BuildFix/2.14.3 (#2433)

* fix build

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

* fix vc creation

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

---------

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

* fix overwriting system fields in custom logic

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

* remove context and type filling on ui

Signed-off-by: Artem Buslaev <[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]>

* added notification service

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

* fix lint

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

* fix building notification service

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

* [skip ci] Add swagger.yaml

* fix visibility for json properties

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

* fix statuses page

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

* added notification block

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

* delete progresses by timeout

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

* added notifications

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

* added notifications to policy token actions

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

* remove unnecessary console logs

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

* fix

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

* fix task action and error handlers

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

* added swagger docs

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

* added publishing notification service

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

* [skip ci] Add swagger.yaml

* fix

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

* fix users connection in worker

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

* fix multiinstances for notification service

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

* correct expectation, change mint notifications

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

* fix lint

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

* fix

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

* added new cdm policy [skip ci]

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

* fix context in dry run

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

* fix notification messages

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

* deprecate wizard create

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

* fix response for associate/dissociate token

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

* missing docs for new wizard create

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

* [skip ci] Add swagger.yaml

* fix mint error notification

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

* fix

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

* fix

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

* analytics-service docker image

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

* added notification service to docker compose files

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

* remove unnecessary mint finish notification

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

* GITBOOK-382: Cloud deployment

* fix reading notifications

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

* update styles for notifications

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

* module schema validation

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

* [skip ci] Add swagger.yaml

* remove credentials

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

* fix lint

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

* bump version

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

* [skip ci] Add swagger.yaml

* fix: upgrade ajv from 8.11.0 to 8.12.0

Snyk has created this PR to upgrade ajv from 8.11.0 to 8.12.0.

See this package in npm:
https://www.npmjs.com/package/ajv

See this project in Snyk:
https://app.snyk.io/org/prernaadev01/project/2c853bcb-37b5-4ad4-9604-946716e1da9d?utm_source=github&utm_medium=referral&page=upgrade-pr

* fix: upgrade @mikro-orm/reflection from 5.6.12 to 5.7.12

Snyk has created this PR to upgrade @mikro-orm/reflection from 5.6.12 to 5.7.12.

See this package in npm:
https://www.npmjs.com/package/@mikro-orm/reflection

See this project in Snyk:
https://app.snyk.io/org/prernaadev01/project/9c222174-61af-4977-a945-f1d49be32c3e?utm_source=github&utm_medium=referral&page=upgrade-pr

* add variable

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

* add workers

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

* fix

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

* fix

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

* test fix

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

* Revert "fix"

This reverts commit c85e40e8b4379f5abb7a8fadec2a844382c0606d.

* fix error

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

* remove unnesessary dependency

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

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

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

* add restart btn

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

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

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

* upd cdm policy [skip ci]

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

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

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

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

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

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

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

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

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

* remove unused columns
Signed-off-by: simvalery <[email protected]>

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

* remove secrets [skip ci]
Signed-off-by: simvalery <[email protected]>

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

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

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

* Merging pre-release code 2.15 from develop to main (#2466)

* fix swagger.yaml generation

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

* fix swagger.yaml generation

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

* fix swagger.yaml generation

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

* Add swagger.yaml

* fix swagger.yaml generation

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

* fix swagger.yaml generation

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

* test fix swagger.yaml generation

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

* test fix swagger.yaml generation

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

* test fix swagger.yaml generation

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

* test fix swagger.yaml generation

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

* test fix swagger.yaml generation

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

* Add swagger.yaml

* test fix swagger.yaml generation

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

* [skip ci] Add swagger.yaml

* save serials

* ignore main brunch

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

* GITBOOK-374: Ux in selecting standards update

* fix error codes

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

* [skip ci] Add swagger.yaml

* add missing keywords for policy syntax

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

* refactor syntax groups theme storage

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

* update

* fix preset readonly nested schemas

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

* update

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

* auto fill suggestions config

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

* fix error codes

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

* fix

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

* fix permissions

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

* update

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

* fix errors

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

* fix errors

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

* fix error

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

* fix errors

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

* fix error

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

* fix error

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

* fix error

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

* compare modules

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

* [skip ci] Add swagger.yaml

* disable vault in api-tests

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

* update policies

* compare module

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

* update compare ui

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

* fix search btn

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

* fixes

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

* fix lint

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

* [skip ci] Add swagger.yaml

* fix permission

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

* fix permission

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

* fix

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

* #2064 fix mobile menu

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

* merge main

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

* fix

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

* remove latest tags

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

* update serials column [skip ci]

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

* updated Irec timestamps

* fix docker start

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

* updated iREC10 recipient timestamp

* GITBOOK-376: Updated iREC timestamps

* added copy button to new versions

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

* fix createDate\updateDate in db

* fix navigate

* fix disable btn in request block

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

* fix schema cache

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

* hotfix/form-scroll-buttons

Signed-off-by: Iryna Telesheva <[email protected]>

* Update the initial isShown array value

Signed-off-by: Iryna Telesheva <[email protected]>

* add swagger descriptions

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

* [skip ci] Add swagger.yaml

* fix suggestions on deleting policy/module

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

* use static swagger descriptions if need

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

* [skip ci] Add swagger.yaml

* bump version

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

* bump version

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

* [skip ci] Add swagger.yaml

* fix lock file

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

* GITBOOK-377: api-architecture-customization

* fix update policy

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

* fix any policy change

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

* fix any policy change

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

* bump version

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

* [skip ci] Add swagger.yaml

* fix description size

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

* fix policy grid size

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

* fix tooltips

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

* GITBOOK-378: module differentiation UI and API added

* update ghgp policy [skip ci]

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

* add analytics service

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

* GITBOOK-379: Updating Build executables and run manually

* fix too big policy

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

* Added ReadMe of CDM

* fix calculate block output schema config

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

* fix overwriting system fields in custom logic

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

* remove context and type filling on ui

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

* add consensus nodes examples

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

* GITBOOK-380: Added CDM AMS-III AR Policy guide

* fix mongodb version

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

* update aggregate block in ghgp

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

* Updated iREC version links

* Updated README.md

* Updated README.md

* fix too big policy

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

* fix calculate block output schema config

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

* fix mongodb version

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

* update ghgp policy [skip ci]

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

* update aggregate block in ghgp

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

* update versions

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

* [skip ci] Add swagger.yaml

* update versions

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

* fix server block errors messages

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

* corrected some links in ReadMe

* fix empty input data error

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

* Update README.md

Krypc README.md update

* Update README.md

* Added webinar youtube link for CDM

* new_env_hsc

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

* Update workers on docker-compose.yml

on cold start of docker compose workers crashes because ipfs is not ready yet. With this the workers wait til the ipfs sevice is READY

Signed-off-by: noel garcia <[email protected]>

* Update docker-compose-aws.yml

Signed-off-by: noel garcia <[email protected]>

* Update docker-composeRIL.yml

Signed-off-by: noel garcia <[email protected]>

* update dc ssv

Signed-off-by: noel garcia <[email protected]>

* update

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

* fix build

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

* import tags from ipfs

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

* GITBOOK-383: added selective disclosure user guide

* update

* GITBOOK-384: changed the env route in installation

* added notification service

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

* fix lint

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

* fix building notification service

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

* [skip ci] Add swagger.yaml

* fix visibility for json properties

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

* fix statuses page

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

* added notification block

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

* delete progresses by timeout

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

* added notifications

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

* added notifications to policy token actions

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

* remove unnecessary console logs

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

* fix

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

* update

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

* fix: upgrade ajv from 8.11.0 to 8.12.0

Snyk has created this PR to upgrade ajv from 8.11.0 to 8.12.0.

See this package in npm:
https://www.npmjs.com/package/ajv

See this project in Snyk:
https://app.snyk.io/org/prernaadev01/project/2c853bcb-37b5-4ad4-9604-946716e1da9d?utm_source=github&utm_medium=referral&page=upgrade-pr

* fix task action and error handlers

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

* added swagger docs

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

* added publishing notification service

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

* [skip ci] Add swagger.yaml

* fix

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

* fix users connection in worker

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

* fix multiinstances for notification service

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

* update

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

* correct expectation, change mint notifications

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

* update

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

* update

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

* fix lint

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

* fix

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

* added new cdm policy [skip ci]

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

* fix context in dry run

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

* fix notification messages

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

* deprecate wizard create

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

* fix response for associate/dissociate token

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

* missing docs for new wizard create

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

* [skip ci] Add swagger.yaml

* fix mint error notification

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

* update

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

* update

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

* fix

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

* added notification service to docker compose files

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

* remove unnecessary mint finish notification

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

* GITBOOK-382: Cloud deployment

* fix reading notifications

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

* update styles for notifications

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

* fix

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

* fix: upgrade @mikro-orm/mongodb from 5.6.12 to 5.7.12

Snyk has created this PR to upgrade @mikro-orm/mongodb from 5.6.12 to 5.7.12.

See this package in npm:
https://www.npmjs.com/package/@mikro-orm/mongodb

See this project in Snyk:
https://app.snyk.io/org/prernaadev01/project/9c222174-61af-4977-a945-f1d49be32c3e?utm_source=github&utm_medium=referral&page=upgrade-pr

* fix: upgrade @mikro-orm/reflection from 5.6.12 to 5.7.12

Snyk has created this PR to upgrade @mikro-orm/reflection from 5.6.12 to 5.7.12.

See this package in npm:
https://www.npmjs.com/package/@mikro-orm/reflection

See this project in Snyk:
https://app.snyk.io/org/prernaadev01/project/9c222174-61af-4977-a945-f1d49be32c3e?utm_source=github&utm_medium=referral&page=upgrade-pr

* module schema validation

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

* [skip ci] Add swagger.yaml

* remove credentials

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

* analytics-service docker image

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

* fix lint

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

* bump version

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

* [skip ci] Add swagger.yaml

* remove credentials

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

* add variable

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

* add workers

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

* fix

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

* fix

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

* test fix

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

* Revert "fix"

This reverts commit c85e40e8b4379f5abb7a8fadec2a844382c0606d.

* fix error

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

* fix error

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

* remove unnesessary dependency

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

* fix

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

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

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

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

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

* add restart btn

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

* upd cdm policy [skip ci]

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

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

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

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

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

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

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

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

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

* remove unused columns
Signed-off-by: simvalery <[email protected]>

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

* remove secrets [skip ci]
Signed-off-by: simvalery <[email protected]>

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

---------

Signed-off-by: simvalery <[email protected]>
Signed-off-by: Artem Buslaev <[email protected]>
Signed-off-by: Stepan Kiryakov <[email protected]>
Signed-off-by: Iryna Telesheva <[email protected]>
Signed-off-by: otherNet <[email protected]>
Signed-off-by: noel garcia <[email protected]>
Co-authored-by: Artem Buslaev <[email protected]>
Co-authored-by: envision-ci-agent <[email protected]>
Co-authored-by: Stepan Kiryakov <[email protected]>
Co-authored-by: Vanessa Lopes <[email protected]>
Co-authored-by: prernaadev01 <[email protected]>
Co-authored-by: E. Santiago <[email protected]>
Co-authored-by: Iryna Telesheva <[email protected]>
Co-authored-by: Serg Metelin <[email protected]>
Co-authored-by: l-rajeev <[email protected]>
Co-authored-by: otherNet <[email protected]>
Co-authored-by: Noel Garcia <[email protected]>
Co-authored-by: snyk-bot <[email protected]>

* [skip ci] Add swagger.yaml

* v2.15-prerelease version bump (#2470)

* fix swagger.yaml generation

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

* Add swagger.yaml

* fix swagger.yaml generation

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

* fix swagger.yaml generation

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

* test fix swagger.yaml generation

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

* test fix swagger.yaml generation

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

* test fix swagger.yaml generation

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

* test fix swagger.yaml generation

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

* test fix swagger.yaml generation

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

* Add swagger.yaml

* test fix swagger.yaml generation

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

* [skip ci] Add swagger.yaml

* save serials

* ignore main brunch

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

* GITBOOK-374: Ux in selecting standards update

* fix error codes

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

* [skip ci] Add swagger.yaml

* add missing keywords for policy syntax

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

* refactor syntax groups theme storage

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

* update

* fix preset readonly nested schemas

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

* update

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

* auto fill suggestions config

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

* fix error codes

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

* fix

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

* fix permissions

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

* update

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

* fix errors

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

* fix errors

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

* fix error

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

* fix errors

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

* fix error

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

* fix error

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

* fix error

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

* compare modules

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

* [skip ci] Add swagger.yaml

* disable vault in api-tests

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

* update policies

* compare module

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

* update compare ui

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

* fix search btn

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

* fixes

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

* fix lint

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

* [skip ci] Add swagger.yaml

* fix permission

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

* fix permission

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

* fix

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

* #2064 fix mobile menu

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

* merge main

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

* fix

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

* remove latest tags

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

* update serials column [skip ci]

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

* updated Irec timestamps

* fix docker start

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

* updated iREC10 recipient timestamp

* GITBOOK-376: Updated iREC timestamps

* added copy button to new versions

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

* fix createDate\updateDate in db

* fix navigate

* fix disable btn in request block

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

* fix schema cache

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

* hotfix/form-scroll-buttons

Signed-off-by: Iryna Telesheva <[email protected]>

* Update the initial isShown array value

Signed-off-by: Iryna Telesheva <[email protected]>

* add swagger descriptions

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

* [skip ci] Add swagger.yaml

* fix suggestions on deleting policy/module

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

* use static swagger descriptions if need

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

* [skip ci] Add swagger.yaml

* bump version

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

* bump version

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

* [skip ci] Add swagger.yaml

* fix lock file

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

* GITBOOK-377: api-architecture-customization

* fix update policy

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

* fix any policy change

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

* fix any policy change

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

* bump version

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

* [skip ci] Add swagger.yaml

* fix description size

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

* fix policy grid size

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

* fix tooltips

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

* GITBOOK-378: module differentiation UI and API added

* update ghgp policy [skip ci]

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

* add analytics service

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

* GITBOOK-379: Updating Build executables and run manually

* fix too big policy

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

* Added ReadMe of CDM

* fix calculate block output schema config

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

* fix overwriting system fields in custom logic

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

* remove context and type filling on ui

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

* add consensus nodes examples

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

* GITBOOK-380: Added CDM AMS-III AR Policy guide

* fix mongodb version

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

* update aggregate block in ghgp

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

* Updated iREC version links

* Updated README.md

* Updated README.md

* fix too big policy

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

* fix calculate block output schema config

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

* fix mongodb version

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

* update ghgp policy [skip ci]

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

* update aggregate block in ghgp

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

* update versions

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

* [skip ci] Add swagger.yaml

* update versions

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

* fix server block errors messages

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

* corrected some links in ReadMe

* fix empty input data error

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

* Update README.md

Krypc README.md update

* Update README.md

* Added webinar youtube link for CDM

* new_env_hsc

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

* Update workers on docker-compose.yml

on cold start of docker compose workers crashes because ipfs is not ready yet. With this the workers wait til the ipfs sevice is READY

Signed-off-by: noel garcia <[email protected]>

* Update docker-compose-aws.yml

Signed-off-by: noel garcia <[email protected]>

* Update docker-composeRIL.yml

Signed-off-by: noel garcia <[email protected]>

* update dc ssv

Signed-off-by: noel garcia <[email protected]>

* update

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

* fix build

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

* import tags from ipfs

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

* GITBOOK-383: added selective disclosure user guide

* update

* GITBOOK-384: changed the env route in installation

* added notification service

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

* fix lint

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

* fix building notification service

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

* [skip ci] Add swagger.yaml

* fix visibility for json properties

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

* fix statuses page

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

* added notification block

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

* delete progresses by timeout

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

* added notifications

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

* added notifications to policy token actions

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

* remove unnecessary console logs

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

* fix

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

* update

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

* fix: upgrade ajv from 8.11.0 to 8.12.0

Snyk has created this PR to upgrade ajv from 8.11.0 to 8.12.0.

See this package in npm:
https://www.npmjs.com/package/ajv

See this project in Snyk:
https://app.snyk.io/org/prernaadev01/project/2c853bcb-37b5-4ad4-9604-946716e1da9d?utm_source=github&utm_medium=referral&page=upgrade-pr

* fix task action and error handlers

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

* added swagger docs

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

* added publishing notification service

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

* [skip ci] Add swagger.yaml

* fix

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

* fix users connection in worker

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

* fix multiinstances for notification service

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

* update

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

* correct expectation, change mint notifications

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

* update

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

* update

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

* fix lint

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

* fix

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

* added new cdm policy [skip ci]

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

* fix context in dry run

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

* fix notification messages

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

* deprecate wizard create

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

* fix response for associate/dissociate token

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

* missing docs for new wizard create

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

* [skip ci] Add swagger.yaml

* fix mint error notification

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

* update

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

* update

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

* fix

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

* added notification service to docker compose files

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

* remove unnecessary mint finish notification

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

* GITBOOK-382: Cloud deployment

* fix reading notifications

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

* update styles for notifications

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

* fix

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

* fix: upgrade @mikro-orm/mongodb from 5.6.12 to 5.7.12

Snyk has created this PR to upgrade @mikro-orm/mongodb from 5.6.12 to 5.7.12.

See this package in npm:
https://www.npmjs.com/package/@mikro-orm/mongodb

See this project in Snyk:
https://app.snyk.io/org/prernaadev01/project/9c222174-61af-4977-a945-f1d49be32c3e?utm_source=github&utm_medium=referral&page=upgrade-pr

* fix: upgrade @mikro-orm/reflection from 5.6.12 to 5.7.12

Snyk has created this PR to upgrade @mikro-orm/reflection from 5.6.12 to 5.7.12.

See this package in npm:
https://www.npmjs.com/package/@mikro-orm/reflection

See this project in Snyk:
https://app.snyk.io/org/prernaadev01/project/9c222174-61af-4977-a945-f1d49be32c3e?utm_source=github&utm_medium=referral&page=upgrade-pr

* module schema validation

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

* [skip ci] Add swagger.yaml

* remove credentials

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

* analytics-service docker image

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

* fix lint

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

* bump version

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

* [skip ci] Add swagger.yaml

* remove credentials

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

* add variable

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

* add workers

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

* fix

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

* fix

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

* test fix

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

* Revert "fix"

This reverts commit c85e40e8b4379f5abb7a8fadec2a844382c0606d.

* fix error

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

* fix error

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

* remove unnesessary dependency

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

* fix

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

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

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

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

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

* add restart btn

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

* upd cdm policy [skip ci]

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

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

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

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

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

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

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

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

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

* remove unused columns
Signed-off-by: simvalery <[email protected]>

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

* remove secrets [skip ci]
Signed-off-by: simvalery <[email protected]>

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

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

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

* [skip ci] Add swagger.yaml

---------

Signed-off-by: simvalery <[email protected]>
Signed-off-by: Artem Buslaev <[email protected]>
Signed-off-by: Stepan Kiryakov <[email protected]>
Signed-off-by: Iryna Telesheva <[email protected]>
Signed-off-by: otherNet <[email protected]>
Signed-off-by: noel garcia <[email protected]>
Co-authored-by: envision-ci-agent <[email protected]>
Co-authored-by: Stepan Kiryakov <[email protected]>
Co-authored-by: Vanessa Lopes <[email protected]>
Co-authored-by: Artem Buslaev <[email protected]>
Co-authored-by: prernaadev01 <[email protected]>
Co-authored-by: E. Santiago <[email protected]>
Co-authored-by: Iryna Telesheva <[email protected]>
Co-authored-by: Serg Metelin <[email protected]>
Co-authored-by: l-rajeev <[email protected]>
Co-authored-by: otherNet <[email protected]>
Co-authored-by: Noel Garcia <[email protected]>
Co-authored-by: snyk-bot <[email protected]>

* GITBOOK-385: Updated Roadmap and removed Keys

* update INITIALIZATION_TOPIC_ID

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

* update message id

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

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

* fix policy publish completed notification

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

* GITBOOK-386: Updated new iREC Timestamps

* Updated iREC timestamps in ReadMe

* GITBOOK-387: Adding Notification

* GITBOOK-388: notifications feature

* GITBOOK-389: Statistics UI added

* GITBOOK-390: added Statistics APIs

* fix nest js for multi service instances

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

* fix publish policy result handling

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

* fix duplicate create policy topic message

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

* skip publish system schemas

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

* fix description for notification endpoints

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

* [skip ci] Add swagger.yaml

* fix router states for async progresses

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

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

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

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

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

* analitics swagger yaml (#2494)

* analytics swagger.yaml
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]>

* [skip ci] Add swagger.yaml

---------

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

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

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

* [skip ci] Add swagger.yaml

* Create readMe.md for AMS II.G

* #2429

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

* fix

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

* fix create modules

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

* add topic check

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

* [skip ci] Add swagger.yaml

* Create readMe.md of GHGP policy

* fix geojson type

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

* Updated timestamps for CDM II.G

* Update timestamp for CDM AR

* Updated timestamp for AR-ACM003

* GitBook: No commit message

* Update timestamp fro GHGP

* Update timestamp

* Update timestamp of Gold Standard AR

* Update timestamp Verra ARR

* Update timestamp of Verra VM0007

* Update timestamp

* Update timestamp

* GitBook: No commit message

* GITBOOK-394: updated env

* GITBOOK-395: Added module schema section

* GITBOOK-392: GHGP demo guide added

* GITBOOK-396: AMS II.G demo guide

* GITBOOK-391: Removal of  ‘\ backslaskes’ on documentations submitted by IEU

* remove deprecated api

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

* [skip ci] Add swagger.yaml

* fix test

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

* fix descriptions

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

* [skip ci] Add swagger.yaml

* GITBOOK-397: Removed all the Deprecated APIs

* add kubernetes manifests for internal and external services

Signed-off-by: noel garcia <[email protected]>

* GITBOOK-399: Added Statistics docker command

* Clearify Documentation for Gitbook,GitHub,Environment

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

* fix: tsconfig.json

Signed-off-by: Felipe Neuhauss <[email protected]>

* GitBook: No commit message

* add an extra env var to avoid frontend crash

Signed-off-by: noel garcia <[email protected]>

* stick to version 2.14

Signed-off-by: noel garcia <[email protected]>

* Created GCp Secrets Manager class

* Add GCP Secret Manager

* update

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

* Add GCP Secret Manager

* Updated ICP Timestamps

* gulp

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

* Revert "Add GCP Secret Manager"

This reverts commit c9762344f36fe2053ff35d75f60616b387583c36.

* Revert "Add GCP Secret Manager"

This reverts commit ac02124dbae014db88c6b9499c0b9b12c8fefd05.

* Front end of meeco integration

Signed-off-by: Felipe Neuhauss <[email protected]>

* Rebase with develop branch

Signed-off-by: Felipe Neuhauss <[email protected]>

* Meeco provider conditional configuration

Signed-off-by: Felipe Neuhauss <[email protected]>

* Meeco integration flows and docs

Signed-off-by: Felipe Neuhauss <[email protected]>

* Meeco credntials validation - checking revoking

Signed-off-by: Felipe Neuhauss <[email protected]>

* Rebase with develop branch

Signed-off-by: Felipe Neuhauss <[email protected]>

* Fix verificiation of the Meeco auth provider config

Signed-off-by: Felipe Neuhauss <[email protected]>

* GITBOOK-402: Subpages added regarding "Deploying Guardian Using default Environment"

* fix 2509

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

* Documentation and Readme

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

* fix lint

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

* update

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

* [skip ci] Add swagger.yaml

* GITBOOK-398: meeco-auth-integration

* GITBOOK-404: Updated previewnet topic ID

* fix aws test secret

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

* update

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

* GITBOOK-403: add explicit version on cloud deployment and delete old cloud infra roadmap page

* Console log removed

Signed-off-by: Felipe Neuhauss <[email protected]>

* Console log removed

Signed-off-by: Felipe Neuhauss <[email protected]>

* Preused Documentation on README

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

* Syntax check

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

* fix lint

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

* GITBOOK-405: page added under "Installation" for Upgrading/Backup tools and new sections for community/feedback

* GITBOOK-405: page added under "Installation" for Upgrading/Backup tools and new sections for community/feedback

* GITBOOK-408: Format fixes

* demo build

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

* fix production build

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

* update

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

* fix

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

* docker build

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

* docker build

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

* update

* fix scroll

* GITBOOK-406: Adding GCP Section

* update

* GITBOOK-375: Fixing UX issue and Environment  Topic

* update

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

* GITBOOK-412: "User Profile setup" final page for UX in selecting standards

* update

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

* update

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

* add aliases

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

* fix update policy hash

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

* fix

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

* fix

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

* fix

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

* GITBOOK-410: added docs for Improvements Performance/Cloud infrastructure/updated user journey/demo experience

* GITBOOK-413: changes on improvements on the UX

* GITBOOK-414: updated corrections in icons

* 2531

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

* 2530

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

* restore user accounts for restored SR

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

* fix restore users

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

* fix malformed error

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

* added new cdm policy [skip ci]

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

* fix wrong redirects

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

* fix long names in enums

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

* fix cdm policy [skip ci]

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

* up version to prerelease

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

* [skip ci] Add swagger.yaml

* fix initialization topicId

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

* fix snyk

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

* fix snyk

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

* fix snyk

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

* fix snyk

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

* fixes package.json

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

---------

Signed-off-by: Stepan Kiryakov <[email protected]>
Signed-off-by: Felipe Neuhauss <[email protected]>
Signed-off-by: noel garcia <[email protected]>
Signed-off-by: otherNet <[email protected]>
Signed-off-by: simvalery <[email protected]>
Signed-off-by: Artem Buslaev <[email protected]>
Signed-off-by: Iryna Telesheva <[email protected]>
Co-authored-by: Artem Buslaev <[email protected]>
Co-authored-by: Stepan Kiryakov <[email protected]>
Co-authored-by: Felipe Neuhauss <[email protected]>
Co-authored-by: prernaadev01 <[email protected]>
Co-authored-by: Noel Garcia <[email protected]>
Co-authored-by: otherNet <[email protected]>
Co-authored-by: l-rajeev <[email protected]>
Co-authored-by: envision-ci-agent <[email protected]>
Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: Vanessa Lopes <[email protected]>
Co-authored-by: E. Santiago <[email protected]>
Co-authored-by: Iryna Telesheva <[email protected]>
Co-authored-by: Serg Metelin <[email protected]>
Co-authored-by: noel garcia <[email protected]>
Co-authored-by: hnamzian <[email protected]>
Co-authored-by: unknown <[email protected]>
Co-authored-by: muhammad.uzair <[email protected]>
  • Loading branch information
18 people authored Aug 28, 2023
1 parent 011cc6e commit ee399fb
Show file tree
Hide file tree
Showing 433 changed files with 21,144 additions and 4,345 deletions.
Binary file removed .DS_Store
Binary file not shown.
36 changes: 36 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@ jobs:
push: true
tags: 'gcr.io/hedera-registry/auth-service:${{ steps.package-version.outputs.current-version}}, gcr.io/hedera-registry/auth-service:latest'

- name: auth-service-demo-latest
if: ${{ steps.latestTag.outputs.value == 'latest'}}
uses: docker/build-push-action@v2
with:
context: .
file: ./auth-service/Dockerfile.demo
push: true
tags: 'gcr.io/hedera-registry/auth-service:${{ steps.package-version.outputs.current-version}}, gcr.io/hedera-registry/auth-service:latest'

- name: auth-service
if: ${{ steps.latestTag.outputs.value == 'hotfix'}}
uses: docker/build-push-action@v2
Expand All @@ -118,6 +127,15 @@ jobs:
push: true
tags: 'gcr.io/hedera-registry/auth-service:${{ steps.package-version.outputs.current-version}}'

- name: auth-service-demo
if: ${{ steps.latestTag.outputs.value == 'hotfix'}}
uses: docker/build-push-action@v2
with:
context: .
file: ./auth-service/Dockerfile.demo
push: true
tags: 'gcr.io/hedera-registry/auth-service:${{ steps.package-version.outputs.current-version}}'

- name: api-gateway-latest
if: ${{ steps.latestTag.outputs.value == 'latest'}}
uses: docker/build-push-action@v2
Expand All @@ -127,6 +145,15 @@ jobs:
push: true
tags: 'gcr.io/hedera-registry/api-gateway:${{ steps.package-version.outputs.current-version}}, gcr.io/hedera-registry/api-gateway:latest'

- name: api-gateway-demo-latest
if: ${{ steps.latestTag.outputs.value == 'latest'}}
uses: docker/build-push-action@v2
with:
context: .
file: ./api-gateway/Dockerfile.demo
push: true
tags: 'gcr.io/hedera-registry/api-gateway:${{ steps.package-version.outputs.current-version}}, gcr.io/hedera-registry/api-gateway:latest'

- name: api-gateway
if: ${{ steps.latestTag.outputs.value == 'hotfix'}}
uses: docker/build-push-action@v2
Expand All @@ -136,6 +163,15 @@ jobs:
push: true
tags: 'gcr.io/hedera-registry/api-gateway:${{ steps.package-version.outputs.current-version}}'

- name: api-gateway-demo
if: ${{ steps.latestTag.outputs.value == 'hotfix'}}
uses: docker/build-push-action@v2
with:
context: .
file: ./api-gateway/Dockerfile.demo
push: true
tags: 'gcr.io/hedera-registry/api-gateway:${{ steps.package-version.outputs.current-version}}'

- name: policy-service-latest
if: ${{ steps.latestTag.outputs.value == 'latest'}}
uses: docker/build-push-action@v2
Expand Down
Binary file not shown.
8 changes: 4 additions & 4 deletions Methodology Library/Improved CookStove/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ NFT Owner: The agent fulfilling the 'Project Developer' role.
7. In addition to an HGICP-L-PD, a Project Developer will need to obtain an HGICP PDD Validation Certificate (HGICP-VCERT-PDD, issued by the ICP PDD Validation Subpolicy) to complete the project registration step of the main policy. To apply for an ICCC issuance, a Project Developer will furthermore need to obtain an HGICP MR Verification Certificate (HGICP-VCERT-MR, issued by the ICP MR Verification Subpolicy).

Testnet message IDs:
- Improved Cookstove Policy (main): 1684083581.335245003 (v.2.6.1)
- Improved Cookstove Policy - Agent Application Subpolicy: 1676640723.598879583 (v.2.6.0)
- Improved Cookstove Policy - PDD Validation Subpolicy: 1676641042.365033796 (v.2.6.0)
- Improved Cookstove Policy - MR Verification Subpolicy: 1676641311.452316505 (v.2.6.0)
- Improved Cookstove Policy (main): 1691345307.141431928 (v2.6.1)
- Improved Cookstove Policy - Agent Application Subpolicy: 1691345646.189561421 (v2.6.0)
- Improved Cookstove Policy - PDD Validation Subpolicy: 1691346993.825804003 (v2.6.0)
- Improved Cookstove Policy - MR Verification Subpolicy: 1691346262.475097779 (v2.6.0)

**Policy User Roles**

Expand Down
Binary file not shown.
204 changes: 164 additions & 40 deletions README.md

Large diffs are not rendered by default.

14 changes: 11 additions & 3 deletions analytics-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"author": "Envision Blockchain Solutions <[email protected]>",
"dependencies": {
"@guardian/common": "^2.15.0",
"@guardian/interfaces": "^2.15.0",
"@guardian/common": "^2.16.0-prerelease",
"@guardian/interfaces": "^2.16.0-prerelease",
"@nestjs/common": "^9.4.1",
"@nestjs/core": "^9.4.1",
"@nestjs/jwt": "^10.0.3",
Expand All @@ -25,6 +25,11 @@
"excel4node": "^1.8.2",
"express": "^4.17.1",
"express-fileupload": "^1.4.0",
"gulp": "^4.0.2",
"gulp-copy": "^4.0.1",
"gulp-rename": "^2.0.0",
"gulp-sourcemaps": "^3.0.0",
"gulp-typescript": "^6.0.0-alpha.1",
"hpp": "^0.2.3",
"http-errors": "^2.0.0",
"jszip": "^3.7.1",
Expand All @@ -39,6 +44,8 @@
"description": "",
"devDependencies": {
"@types/express": "^4.17.13",
"@types/gulp": "^4",
"@types/gulp-rename": "^2",
"@types/jszip": "^3.4.1",
"@types/node": "^18.16.0",
"@types/ws": "^8.2.2",
Expand Down Expand Up @@ -69,5 +76,6 @@
"start": "node dist/index.js",
"test": "mocha tests/**/*.test.js --reporter mocha-junit-reporter --reporter-options mochaFile=../test_results/ui-service.xml"
},
"version": "2.15.0"
"version": "2.16.0-prerelease",
"stableVersion": "2.15.0"
}
2 changes: 2 additions & 0 deletions api-gateway/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ COPY --from=interfacesModuleBuilder /usr/local/interfaces/guardian-interfaces-*.
COPY --from=commonModuleBuilder /usr/local/common/guardian-common-*.tgz /tmp/common.tgz
COPY ./api-gateway/package.json ./
COPY ./api-gateway/tsconfig*.json ./
COPY ./api-gateway/Gulpfile.js ./
RUN node -e "const fs=require('fs'); const input=JSON.parse(fs.readFileSync('package.json')); input.dependencies['@guardian/interfaces']='file:/tmp/interfaces.tgz'; fs.writeFileSync('package.json', JSON.stringify(input));"
RUN node -e "const fs=require('fs'); const input=JSON.parse(fs.readFileSync('package.json')); input.dependencies['@guardian/common']='file:/tmp/common.tgz'; fs.writeFileSync('package.json', JSON.stringify(input));"
RUN yarn install
ADD ./api-gateway/environments ./environments/.
ADD ./api-gateway/src ./src/.
RUN yarn run build:prod

Expand Down
47 changes: 47 additions & 0 deletions api-gateway/Dockerfile.demo
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
FROM node:16 AS interfacesModuleBuilder
WORKDIR /usr/local/interfaces
COPY ./interfaces/package.json ./
COPY ./interfaces/tsconfig*.json ./
ADD ./interfaces/src ./src/.
RUN yarn install
RUN yarn pack

FROM node:16 AS commonModuleBuilder
WORKDIR /usr/local/common
COPY --from=interfacesModuleBuilder /usr/local/interfaces/guardian-interfaces-*.tgz /tmp/interfaces.tgz
COPY ./common/package.json ./
COPY ./common/tsconfig*.json ./
RUN node -e "const fs=require('fs'); const input=JSON.parse(fs.readFileSync('package.json')); input.dependencies['@guardian/interfaces']='file:/tmp/interfaces.tgz'; fs.writeFileSync('package.json', JSON.stringify(input));"
RUN yarn install
ADD ./common/src ./src/.
RUN yarn pack

FROM node:16 AS apiGatewayBuilder
WORKDIR /usr/local/api-gateway
COPY --from=interfacesModuleBuilder /usr/local/interfaces/guardian-interfaces-*.tgz /tmp/interfaces.tgz
COPY --from=commonModuleBuilder /usr/local/common/guardian-common-*.tgz /tmp/common.tgz
COPY ./api-gateway/package.json ./
COPY ./api-gateway/tsconfig*.json ./
COPY ./api-gateway/Gulpfile.js ./
RUN node -e "const fs=require('fs'); const input=JSON.parse(fs.readFileSync('package.json')); input.dependencies['@guardian/interfaces']='file:/tmp/interfaces.tgz'; fs.writeFileSync('package.json', JSON.stringify(input));"
RUN node -e "const fs=require('fs'); const input=JSON.parse(fs.readFileSync('package.json')); input.dependencies['@guardian/common']='file:/tmp/common.tgz'; fs.writeFileSync('package.json', JSON.stringify(input));"
RUN yarn install
ADD ./api-gateway/environments ./environments/.
ADD ./api-gateway/src ./src/.
RUN yarn run build:demo

FROM node:16
ENV PLATFORM="docker"
ENV NODE_ENV="production"
WORKDIR /usr/local/api-gateway
COPY --from=interfacesModuleBuilder /usr/local/interfaces/guardian-interfaces-*.tgz /tmp/interfaces.tgz
COPY --from=commonModuleBuilder /usr/local/common/guardian-common-*.tgz /tmp/common.tgz
COPY --from=apiGatewayBuilder /usr/local/api-gateway/yarn.lock ./
COPY ./api-gateway/package.json ./
RUN node -e "const fs=require('fs'); const input=JSON.parse(fs.readFileSync('package.json')); input.dependencies['@guardian/interfaces']='file:/tmp/interfaces.tgz'; fs.writeFileSync('package.json', JSON.stringify(input));"
RUN node -e "const fs=require('fs'); const input=JSON.parse(fs.readFileSync('package.json')); input.dependencies['@guardian/common']='file:/tmp/common.tgz'; fs.writeFileSync('package.json', JSON.stringify(input));"
RUN yarn install --frozen-lockfile
COPY --from=apiGatewayBuilder /usr/local/api-gateway/dist ./dist
RUN rm /tmp/interfaces.tgz /tmp/common.tgz

CMD npm start
47 changes: 47 additions & 0 deletions api-gateway/Gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
'use strict'

const gulp = require('gulp');
const ts = require('gulp-typescript');
const rename = require('gulp-rename');
const sourcemaps = require('gulp-sourcemaps');

gulp.task('configure:demo', () => {
console.log('configure demo');
return gulp
.src('environments/environment.demo.ts')
.pipe(rename('environment.ts'))
.pipe(gulp.dest('src'));
})

gulp.task('configure:production', () => {
return gulp
.src('environments/environment.prod.ts')
.pipe(rename('environment.ts'))
.pipe(gulp.dest('src'));
})

gulp.task('compile:dev', () => {
const tsProject = ts.createProject('tsconfig.json');

return tsProject
.src()
.pipe(sourcemaps.init())
.pipe(tsProject()).js
.pipe(sourcemaps.write({ sourceRoot: '/dist' }))
.pipe(gulp.dest('dist'));
})

gulp.task('compile:production', () => {
const tsProject = ts.createProject('tsconfig.production.json');

return tsProject
.src()
.pipe(tsProject()).js
.pipe(gulp.dest('dist'));
})

gulp.task('build:demo', gulp.series(['configure:demo', 'compile:dev']));
gulp.task('build:prod', gulp.series(['configure:production', 'compile:production']));
gulp.task('watch', () => {
gulp.watch('src/**/*.ts', gulp.series(['build:demo']));
})
3 changes: 3 additions & 0 deletions api-gateway/environments/environment.demo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export const ApplicationEnvironment = {
demoMode: true
}
3 changes: 3 additions & 0 deletions api-gateway/environments/environment.prod.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export const ApplicationEnvironment = {
demoMode: true
}
22 changes: 16 additions & 6 deletions api-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"author": "Envision Blockchain Solutions <[email protected]>",
"dependencies": {
"@guardian/common": "^2.15.0",
"@guardian/interfaces": "^2.15.0",
"@guardian/common": "^2.16.0-prerelease",
"@guardian/interfaces": "^2.16.0-prerelease",
"@nestjs/common": "^9.4.1",
"@nestjs/core": "^9.4.1",
"@nestjs/jwt": "^10.0.3",
Expand All @@ -23,8 +23,14 @@
"dotenv": "^16.0.0",
"express": "^4.17.1",
"express-fileupload": "^1.4.0",
"gulp": "^4.0.2",
"gulp-copy": "^4.0.1",
"gulp-rename": "^2.0.0",
"gulp-sourcemaps": "^3.0.0",
"gulp-typescript": "^6.0.0-alpha.1",
"hpp": "^0.2.3",
"http-errors": "^2.0.0",
"jsonwebtoken": "^8.5.1",
"jszip": "^3.7.1",
"module-alias": "^2.2.2",
"prom-client": "^14.1.1",
Expand All @@ -37,6 +43,8 @@
"description": "",
"devDependencies": {
"@types/express": "^4.17.13",
"@types/gulp": "^4",
"@types/gulp-rename": "^2",
"@types/jszip": "^3.4.1",
"@types/node": "^18.16.0",
"@types/ws": "^8.2.2",
Expand All @@ -58,14 +66,16 @@
"module": "dist/index.js",
"name": "api-gateway",
"scripts": {
"build": "tsc",
"build:prod": "tsc --project tsconfig.production.json",
"build": "gulp build:demo",
"build:prod": "gulp build:prod",
"build:demo": "gulp build:demo",
"debug": "nodemon dist/index.js",
"dev:docker": "npm run build && nodemon .",
"dev": "tsc -w",
"dev": "gulp watch",
"lint": "tslint --config ../tslint.json --project .",
"start": "node dist/index.js",
"test": "mocha tests/**/*.test.js --reporter mocha-junit-reporter --reporter-options mochaFile=../test_results/ui-service.xml"
},
"version": "2.15.0"
"version": "2.16.0-prerelease",
"stableVersion": "2.15.0"
}
72 changes: 22 additions & 50 deletions api-gateway/src/api/service/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { checkPermission } from '@auth/authorization-helper';
import { AccountsResponseDTO, AccountsSessionResponseDTO, AggregatedDTOItem, BalanceResponseDTO, LoginUserDTO, RegisterUserDTO } from '@middlewares/validation/schemas/accounts';
import { ApiBearerAuth, ApiExtraModels, ApiForbiddenResponse, ApiInternalServerErrorResponse, ApiOkResponse, ApiOperation, ApiSecurity, ApiTags, ApiUnauthorizedResponse, getSchemaPath } from '@nestjs/swagger';
import { InternalServerErrorDTO } from '@middlewares/validation/schemas/errors';
import { ApplicationEnvironment } from '../../environment';

/**
* User account route
Expand Down Expand Up @@ -86,8 +87,28 @@ export class AccountApi {
})
@Post('/register')
@HttpCode(HttpStatus.CREATED)
async register(@Body() body: RegisterUserDTO): Promise<AccountsResponseDTO> {
async register(@Body() body: RegisterUserDTO, @Req() req: any): Promise<AccountsResponseDTO> {
const users = new Users();
if (!ApplicationEnvironment.demoMode) {
const authHeader = req.headers.authorization;
const token = authHeader?.split(' ')[1];
let user;
try {
user = await users.getUserByToken(token) as IAuthUser;
} catch (e) {
user = null;
}

if (!user) {
throw new HttpException('UNAUTHORIZED', HttpStatus.UNAUTHORIZED);
}
try {
await checkPermission(UserRole.STANDARD_REGISTRY)(user);
} catch (error) {
new Logger().error(error, ['API_GATEWAY']);
throw error;
}
}
try {
const {username, password} = body;
let {role} = body;
Expand Down Expand Up @@ -203,55 +224,6 @@ export class AccountApi {
}
}

/**
* Get root authorities
* @deprecated 2022-10-01
*/
@ApiOperation({
summary: 'Returns all Standard Registries.',
description: 'Returns all Standard Registries.',
deprecated: true
})
@ApiSecurity('bearerAuth')
@ApiExtraModels(AccountsResponseDTO, InternalServerErrorDTO)
@ApiOkResponse({
description: 'Successful operation.',
schema: {
$ref: getSchemaPath(AccountsResponseDTO),
},
})
@ApiUnauthorizedResponse({
description: 'Unauthorized.',
})
@ApiForbiddenResponse({
description: 'Forbidden.',
})
@ApiInternalServerErrorResponse({
description: 'Internal server error.',
schema: {
$ref: getSchemaPath(InternalServerErrorDTO)
}
})
@Get('/root-authorities')
@HttpCode(HttpStatus.OK)
async getRootAuthorities(@Req() req): Promise<AccountsResponseDTO> {
const authHeader = req.headers.authorization;
const token = authHeader.split(' ')[1];
const users = new Users();
const user = await users.getUserByToken(token) as IAuthUser;

if (!user) {
throw new HttpException('UNAUTHORIZED', HttpStatus.UNAUTHORIZED);
}
await checkPermission(UserRole.STANDARD_REGISTRY, UserRole.USER)(user);
try {
return await users.getAllStandardRegistryAccounts() as any;
} catch (error) {
new Logger().error(error.message, ['API_GATEWAY']);
throw error;
}
}

/**
* Get SAs
*/
Expand Down
Loading

0 comments on commit ee399fb

Please sign in to comment.