Skip to content

Commit

Permalink
Merging Develop into Main for 2.13.0-prerelease (hashgraph#2197)
Browse files Browse the repository at this point in the history
* GITBOOK-320: Added Themes UI

* GITBOOK-321: Adding Theme APIs

* Add files via upload

* Bump yup from 0.32.11 to 1.1.1

Bumps [yup](https://github.com/jquense/yup) from 0.32.11 to 1.1.1.
- [Release notes](https://github.com/jquense/yup/releases)
- [Changelog](https://github.com/jquense/yup/blob/master/CHANGELOG.md)
- [Commits](jquense/yup@v0.32.11...v1.1.1)

---
updated-dependencies:
- dependency-name: yup
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump @types/node from 18.11.9 to 18.16.0

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.11.9 to 18.16.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* hotfix/progress-bar-schemas

* API Guideline

This documentation is to underline the different types of validation status code and any error status code, including Naming Conventions for RESTful APIs. This documentation is apart of the API contract review PR hashgraph#1974 and issue hashgraph#1629

* fix duplicate schema field label

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

* feat: validation removed

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

* updated policy files [skip ci]

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

* fix merge

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

* bump version

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

* Bump @aws-sdk/client-secrets-manager from 3.310.0 to 3.319.0

Bumps [@aws-sdk/client-secrets-manager](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-secrets-manager) from 3.310.0 to 3.319.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-secrets-manager/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.319.0/clients/client-secrets-manager)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-secrets-manager"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* GITBOOK-322: Guidance for Open Source Policy

* Updated Verra ARR Timestamp

* Added Schema

* Updated Gold Standard AR Timestamp

* GITBOOK-323: Guidance

* disable application events

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

* fix

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

* fix api, fix uuid

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

* Bump axios from 0.25.0 to 1.3.6

Bumps [axios](https://github.com/axios/axios) from 0.25.0 to 1.3.6.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v0.25.0...v1.3.6)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump jose from 4.3.8 to 4.14.1

Bumps [jose](https://github.com/panva/jose) from 4.3.8 to 4.14.1.
- [Release notes](https://github.com/panva/jose/releases)
- [Changelog](https://github.com/panva/jose/blob/main/CHANGELOG.md)
- [Commits](panva/jose@v4.3.8...v4.14.1)

---
updated-dependencies:
- dependency-name: jose
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump mongodb from 4.8.1 to 5.3.0

Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 4.8.1 to 5.3.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md)
- [Commits](mongodb/node-mongodb-native@v4.8.1...v5.3.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump @mikro-orm/core from 5.3.1 to 5.7.2

Bumps [@mikro-orm/core](https://github.com/mikro-orm/mikro-orm) from 5.3.1 to 5.7.2.
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](mikro-orm/mikro-orm@v5.3.1...v5.7.2)

---
updated-dependencies:
- dependency-name: "@mikro-orm/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump sinon from 13.0.2 to 15.0.4

Bumps [sinon](https://github.com/sinonjs/sinon) from 13.0.2 to 15.0.4.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](sinonjs/sinon@v13.0.2...v15.0.4)

---
updated-dependencies:
- dependency-name: sinon
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix build

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

* GITBOOK-324: Corrected Guidance

* GITBOOK-325: guidance for open source

* Bump @mikro-orm/mongodb from 5.3.1 to 5.7.2

Bumps [@mikro-orm/mongodb](https://github.com/mikro-orm/mikro-orm) from 5.3.1 to 5.7.2.
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](mikro-orm/mikro-orm@v5.3.1...v5.7.2)

---
updated-dependencies:
- dependency-name: "@mikro-orm/mongodb"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump @mikro-orm/migrations-mongodb from 5.3.1 to 5.7.2

Bumps [@mikro-orm/migrations-mongodb](https://github.com/mikro-orm/mikro-orm) from 5.3.1 to 5.7.2.
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](mikro-orm/mikro-orm@v5.3.1...v5.7.2)

---
updated-dependencies:
- dependency-name: "@mikro-orm/migrations-mongodb"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fixes

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

* fix web3token

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

* GITBOOK-316: Documentation related to the PRs that were merged

* fix bugs

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

* fix

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

* fix validation

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

* cut filenames

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

* fix field type

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

* GITBOOK-326: Corrected alignment and fonts

* GITBOOK-327: Added image for Environment

* fix tag schemas

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

* GITBOOK-331: cloud infrastructure roadmap

* remove files with large name

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

* GITBOOK-332: updated images

* update irec 5 policy [skip ci]

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

* Updated irec 5 timestamp in readme

* GITBOOK-333: Updated iREC timestamps

* hotfix/horizontal-scroll-blank-spaces

* bump version

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

* bump version

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

* fix import tags

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

* fix report item

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

* fix overwriting entities

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

* fixing document validation error

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

* moved policies tab

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

* fix refreshing events

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

* fix scroll in request block

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

* upgrade ws updating messages

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

* fix lint

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

* optimize update algorithm

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

* fix issue in aggregation block

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

* update info about revoke block

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

* added converting for old revoke block

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

* fix issue with set relationships block

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

* apply updating to multiple users

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

* add new block

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

* GITBOOK-335: selective disclosure doc added

* resolve hashgraph#1923,resolve hashgraph#1693
Integrate multi env feature
Service Env can Override
configs folder in dockerfile & managed GUARDIAN_ENV
docs
Docs Manual execution
Apply changes on updated develop
DIRECT_MESSAGE_PORT is a specilized variable

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

* fix displaying account creation document in trust chain

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

* Bump @hashgraph/sdk from 2.24.1 to 2.24.2

Bumps [@hashgraph/sdk](https://github.com/hashgraph/hedera-sdk-js) from 2.24.1 to 2.24.2.
- [Release notes](https://github.com/hashgraph/hedera-sdk-js/releases)
- [Changelog](https://github.com/hashgraph/hedera-sdk-js/blob/develop/CHANGELOG.md)
- [Commits](hashgraph/hedera-sdk-js@v2.24.1...v2.24.2)

---
updated-dependencies:
- dependency-name: "@hashgraph/sdk"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* disable application events

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

* fix

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

* feat: prometheus and grafana integration

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

* feat: swagger updated

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

* feat: swagger updated

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

* feat: docs updated

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

* feat: prometheus and grafana integration

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

* update

* Updates .policy files and readme.md for ICP.

* fix merge

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

* Bump @mikro-orm/mongodb from 5.7.2 to 5.7.5

Bumps [@mikro-orm/mongodb](https://github.com/mikro-orm/mikro-orm) from 5.7.2 to 5.7.5.
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](mikro-orm/mikro-orm@v5.7.2...v5.7.5)

---
updated-dependencies:
- dependency-name: "@mikro-orm/mongodb"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix lint

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

* fices

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

* Bump @mikro-orm/core from 5.7.2 to 5.7.5

Bumps [@mikro-orm/core](https://github.com/mikro-orm/mikro-orm) from 5.7.2 to 5.7.5.
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](mikro-orm/mikro-orm@v5.7.2...v5.7.5)

---
updated-dependencies:
- dependency-name: "@mikro-orm/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump @mikro-orm/migrations-mongodb from 5.7.2 to 5.7.5

Bumps [@mikro-orm/migrations-mongodb](https://github.com/mikro-orm/mikro-orm) from 5.7.2 to 5.7.5.
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](mikro-orm/mikro-orm@v5.7.2...v5.7.5)

---
updated-dependencies:
- dependency-name: "@mikro-orm/migrations-mongodb"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump mongodb from 5.3.0 to 5.4.0

Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md)
- [Commits](mongodb/node-mongodb-native@v5.3.0...v5.4.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* feat: swagger updated

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

* update

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

* GITBOOK-334: Felipe's May 2 changes

* GITBOOK-338: Prometheus and Grafana documentation

* update

* Bump @mikro-orm/core from 5.7.5 to 5.7.7

Bumps [@mikro-orm/core](https://github.com/mikro-orm/mikro-orm) from 5.7.5 to 5.7.7.
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](mikro-orm/mikro-orm@v5.7.5...v5.7.7)

---
updated-dependencies:
- dependency-name: "@mikro-orm/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump mongodb from 5.4.0 to 5.5.0

Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md)
- [Commits](mongodb/node-mongodb-native@v5.4.0...v5.5.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix 2100

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

* fix 2110

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

* Bump @mikro-orm/mongodb from 5.7.5 to 5.7.7

Bumps [@mikro-orm/mongodb](https://github.com/mikro-orm/mikro-orm) from 5.7.5 to 5.7.7.
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](mikro-orm/mikro-orm@v5.7.5...v5.7.7)

---
updated-dependencies:
- dependency-name: "@mikro-orm/mongodb"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump @mikro-orm/migrations-mongodb from 5.7.5 to 5.7.7

Bumps [@mikro-orm/migrations-mongodb](https://github.com/mikro-orm/mikro-orm) from 5.7.5 to 5.7.7.
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](mikro-orm/mikro-orm@v5.7.5...v5.7.7)

---
updated-dependencies:
- dependency-name: "@mikro-orm/migrations-mongodb"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix 2133

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

* compare schemas

* GITBOOK-336: adding a subpage to the environments section

* GITBOOK-340: correction to Ecosystem Environment

* update

* update

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

* update

* change document hash in retire request

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

* update

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

* add demo policy

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

* fix update vc

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

* fix display of schema dialog buttons for mobile UI

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

* GITBOOK-343: adding guides

* GITBOOK-344: Added GoldStandard

* implement nestjs

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

* upload and verify vc

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

* fix loading animation

* change vc documents index

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

* update

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

* refactor

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

* GITBOOK-345: added Atma policy

* update order by

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

* fix migration

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

* fix tests

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

* added wizards

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

* fix

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

* added wizard docs [skip ci]

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

* fix trustchain creation

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

* change help icons

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

* fix lint

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

* fix schema updating

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

* fixed clone schemas

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

* fix importing schemas

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

* fix exporting schemas

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

* added integer to mint fields

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

* fix tips, trustchain issues

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

* remove wizard preset on publish

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

* fix ui issues

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

* added getData, setData to basic block

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

* change contracts to retirement

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

* GITBOOK-347: Added VM0042 description

* fix style

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

* fix relationship and produced schemas

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

* fix link button

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

* added rejected source addon to wizard

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

* added cdm policy [skip ci]

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

* fix build

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

* implement nestjs api

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

* wiard api

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

* add topic mask

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

* fix logs

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

* add env config

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

* fixed choose wizard state

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

* fixed wizard trustchain

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

* fix dialog size

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

* change approving for initial steps

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

* added revocationBlock

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

* added deprecation to about section

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

* remove getData, setData from basic block

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

* changed wizard config in swagger

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

* fix import/export

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

* fix build

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

* fix lots errors

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

* GITBOOK-348: added externalTopicBlock details

* changed ui displaying for deprecated blocks

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

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

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

* added ability to create schemas with draft topics

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

* GITBOOK-349: added aPI parameters for pagination

* GITBOOK-350: Integrating external policies demo

* GITBOOK-351: Policy Wizard demo using UI

* GITBOOK-352: Wizard APIs

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

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

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

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

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

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

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

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

* disable publishing for schemas with draft topic

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

* changed block tag generation in wizard

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* fix lint

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

* fix swagger wizard endpoint paths

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

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

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

* schema active endpoint
Signed-off-by: simvalery <[email protected]>

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

* Create ReadMe.md

* Rename ReadMe.md to readme.md

* Update readme.md of CDM

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: artembuslaev <[email protected]>
Signed-off-by: Felipe Neuhauss <[email protected]>
Signed-off-by: Stepan Kiryakov <[email protected]>
Signed-off-by: simvalery <[email protected]>
Signed-off-by: Artem Buslaev <[email protected]>
Signed-off-by: otherNet <[email protected]>
Co-authored-by: Stepan Kiryakov <[email protected]>
Co-authored-by: prernaa.agarwal <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: E. Santiago <[email protected]>
Co-authored-by: Vanessa Lopes <[email protected]>
Co-authored-by: artembuslaev <[email protected]>
Co-authored-by: Felipe Neuhauss <[email protected]>
Co-authored-by: Vanessa Lopes <[email protected]>
Co-authored-by: otherNet <[email protected]>
Co-authored-by: AlexIvanHoward <[email protected]>
Co-authored-by: Serg Metelin <[email protected]>
Co-authored-by: Felipe Neuhauss <[email protected]>
  • Loading branch information
13 people committed Jul 25, 2023
1 parent 1117c05 commit 386da31
Show file tree
Hide file tree
Showing 15 changed files with 332 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## GUARDIAN ECOSYSTEM ENVIRONMENT NAME
# if you already started to use actively Guardian leave GUARDIAN_ENV empty when you want to use it as usual
# if you want to use a new environment configure GUARDIAN_ENV with a significative environment name
GUARDIAN_ENV=""
Binary file added Methodology Library/CDM/CDM.policy
Binary file not shown.
23 changes: 23 additions & 0 deletions Methodology Library/CDM/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## CDM AR-ACM0003: Methodology for Afforestation and Reforestation of Lands Except Wetlands

**Policy Description**:

The CDM AR-ACM0003 methodology is a comprehensive framework developed under the Clean Development Mechanism (CDM) to guide afforestation and reforestation projects aimed at combating climate change and promoting sustainable land use practices. This methodology facilitates the identification of suitable project sites, establishes baselines for measuring greenhouse gas emissions, ensures the additionality of emissions reductions, implements robust monitoring and reporting systems, addresses leakage and permanence concerns, and seeks validation and certification from accredited entities. By adhering to this methodology, projects can effectively sequester carbon dioxide, conserve biodiversity, provide ecosystem services, and generate socio-economic co-benefits, contributing to global climate change mitigation and sustainable development goals.

The Guardian policy for afforestation and reforestation of lands except wetlands (AR-ACM0003) incorporates schemas for project details, baseline scenario GHG removals, project scenario GHG removals, project scenario emissions, and leakage. These schemas provide a structured framework for site selection, emissions quantification, and monitoring procedures.

**Workflow Description**:

The workflow for the afforestation and reforestation of lands except wetlands (AR-ACM0003) Guardian policy involves the Project Proponent preparing and submitting the project description, which is then reviewed and approved by the Designated National Authority (DNA). The UNFCCC Secretariat adds the approved project to the project pipeline and registry. The Project Proponent conducts monitoring and submits the monitoring report to the Designated Operational Entity (VVB) for assessment and validation. Upon certification by the VVB, the UNFCCC Secretariat reviews the project and issues Certified Emission Reductions (CERs).

<img width="1074" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/ca1f586e-ad42-46f9-82bd-cd47e9dfaa5f">

**Note** :
For Demo purpose, we have uploaded CDM Policy into IPFS and created Timestamps, which are mentioned in the below table.

**Verra REDD Versions and their IPFS timestamps:**

| Version | IPFS Timestamp | Policy File Link | Version Differences |
|---|---|---|---:|
| CDM AR-ACM0003 | 1684768427.831434003 | [Link](https://github.com/hashgraph/guardian/blob/main/Methodology%20Library/CDM/CDM.policy) | CDM AR-ACM0003 Methodology |

Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file added api-docs/.env (1)
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# 💻 Demo on Policy Wizard using UI

There are two ways to open Policy Wizard:

1. Click on Policy Wizard button from Policies Tab as shown below:

<figure><img src="../../../.gitbook/assets/image (13).png" alt=""><figcaption></figcaption></figure>

2. Open from the Policy Configurator page:

<figure><img src="../../../.gitbook/assets/image (49).png" alt=""><figcaption></figcaption></figure>

## 4 step process to complete Policy Wizard:

### Policy Description:

This step allows users to setup policy information such as name, description, policy tag and topic description.

<figure><img src="../../../.gitbook/assets/image (5).png" alt=""><figcaption></figcaption></figure>

### Policy Roles:

This step provides facilities to manage policy roles. Created Roles can be deleted by clicking on them.&#x20;

{% hint style="info" %}
**Note:** Owner is the default policy role (Policy Owner) and cannot be deleted.
{% endhint %}

<figure><img src="../../../.gitbook/assets/image (43).png" alt=""><figcaption></figcaption></figure>

### 3. Policy Schemas

This step allows facilities to manage schemas in the policy by selecting schemas in the dropdown.

#### 3.1 {schema} configuration

<figure><img src="../../../.gitbook/assets/image (14).png" alt=""><figcaption></figcaption></figure>

At this stage users set roles which are able to view the document grid. Additionally they can set the _produced schema_ to configure _produced schema_ creation based on the current schema.

**Relationship schema** defines documents which will be placed in the relationships in the current schema (after creation).

**Initial for roles** field defines which roles will see this schema (instead of displaying grid immediately) after role choosing.

If **Approve and Reject** and **Minting tokens** are set to _enable_ the corresponding functions by this schema would be enabled. This additionally required to specify the token and the field in schema to be used in the minting rule.

{% hint style="info" %}
Note: We can select multiple schemas by entering the schemas names separated by a delimiter: ",".
{% endhint %}

<figure><img src="../../../.gitbook/assets/image (17).png" alt=""><figcaption></figcaption></figure>

#### 3.1.1 {role} configuration

<figure><img src="../../../.gitbook/assets/image (3).png" alt=""><figcaption></figcaption></figure>

This step allows:

1. To set _approver_ (only if _Approve and Reject functionality_ is enabled)&#x20;
2. _creator_ flags for the selected role.&#x20;
3. Also allows to select _grid columns_ (ordering is supported).

### 4. TrustChain

<figure><img src="../../../.gitbook/assets/image (2).png" alt=""><figcaption></figcaption></figure>

This step allows to set up users which are able to view grids with VPs and the grid with the trust chain.

#### 4.1. {role} configuration

<figure><img src="../../../.gitbook/assets/image (11).png" alt=""><figcaption></figcaption></figure>

In this step, Users can choose a minting schema which will be displayed on the trust chain. Additionally, visibility for VPs can be configured to ‘only own ‘ (recommended for the roles other than OWNER) or to ‘all’.

## Save/Recovery Process

After the policy in the wizard is configured, users can click on ‘Create’ and thereby save the progress of the wizard configuration to be able to restore it later.

<figure><img src="../../../.gitbook/assets/image (16).png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:**

1. If ‘Cancel' is clicked, then the wizard progress will be removed.
2. Progress will be automatically removed when policy is published.
{% endhint %}

Next time, when the wizard is opened a dialog with the selector of wizard states would be displayed, where we can select respective policy and restore progress.

<figure><img src="../../../.gitbook/assets/image (25).png" alt=""><figcaption></figcaption></figure>

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# ⚙ Policy Wizard APIs

Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Creating new Policy

{% swagger method="post" path="" baseUrl="/policy" summary="Creates a new policy." %}
{% swagger-description %}
Creates a new policy by wizard. Only users with the Standard Registry role are allowed to make the request. security:
{% endswagger-description %}

{% swagger-parameter in="body" type="Object" required="true" %}
Object that contains wizard configuration.
{% endswagger-parameter %}

{% swagger-response status="201: Created" description="Successful Operation" %}
```
content:
application/json:
schema:
type: object
properties:
policyId:
type: string
wizardConfig:
$ref: "#/components/schemas/WizardConfig"
```
{% endswagger-response %}

{% swagger-response status="401: Unauthorized" description="Unauthorized" %}

{% endswagger-response %}

{% swagger-response status="403: Forbidden" description="Forbidden" %}

{% endswagger-response %}

{% swagger-response status="500: Internal Server Error" description="Internal Server Error" %}
```
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
```
{% endswagger-response %}
{% endswagger %}

{% swagger method="post" path="" baseUrl="/policy/push" summary="Creates a new policy." %}
{% swagger-description %}
Creates a new policy by wizard. Only users with the Standard Registry role are allowed to make the request.
{% endswagger-description %}

{% swagger-parameter in="body" type="Object" required="true" %}
Object that contains wizard configuration.
{% endswagger-parameter %}

{% swagger-response status="201: Created" description="Successful Operation" %}
```
content:
application/json:
schema:
$ref: "#/components/schemas/Task"
```
{% endswagger-response %}

{% swagger-response status="401: Unauthorized" description="Unauthorized" %}

{% endswagger-response %}

{% swagger-response status="403: Forbidden" description="Forbidden" %}

{% endswagger-response %}

{% swagger-response status="500: Internal Server Error" description="Internal Server Error" %}
```
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
```
{% endswagger-response %}
{% endswagger %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Getting Policy Configuration

{% swagger method="post" path="" baseUrl="/{policyId}/config" summary="Get policy config." %}
{% swagger-description %}
Get policy config by wizard. Only users with the Standard Registry role are allowed to make the request.
{% endswagger-description %}

{% swagger-parameter in="path" name="policyId" type="String" required="true" %}
Policy identifier.
{% endswagger-parameter %}

{% swagger-parameter in="body" type="Object" required="true" %}
Object that contains wizard configuration.
{% endswagger-parameter %}

{% swagger-response status="200: OK" description="Successful Operation" %}
```
content:
application/json:
schema:
type: object
properties:
policyConfig:
$ref: "#/components/schemas/PolicyConfig"
wizardConfig:
$ref: "#/components/schemas/WizardConfig"
```
{% endswagger-response %}

{% swagger-response status="401: Unauthorized" description="Unauthorized" %}

{% endswagger-response %}

{% swagger-response status="403: Forbidden" description="Forbidden" %}

{% endswagger-response %}

{% swagger-response status="500: Internal Server Error" description="Internal Server Error" %}
```
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
```
{% endswagger-response %}
{% endswagger %}
18 changes: 18 additions & 0 deletions docs/guardian/standard-registry/selective-disclosure-demo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 🔐 Selective Disclosure Demo

Please check the steps involved in performing Selective Disclosure functionality:

1. We need to select “Encrypted Verifiable Credential” option as an entity type while creating Schema.

![](<../../.gitbook/assets/0 (5).png>)

2. Some of the fields in schema can be marked as private (only when schema has Encrypted Verifiable Credential type):

![](<../../.gitbook/assets/1 (1).png>)

3. Encrypted Verifiable Credential will be published in IPFS with AES GCM encryption

Aes256Gcm.nIwedhii-6Wd5li2F6G7jVDTh1vBUrtOvWGBCMQ4NYHnZoY5\_FeAorxZKw7of4zFTw\_2XnRlzP88EPDIASw540waI5\_GsdfX87YYeDIlYV09eTGeg6nTT6VjKoKFDSKDFVgXXqmzXCX9Y9i\_vQbWRiUDeFNLhJrH6m452HBCWNFFeKjTeqJSM8fvPWum\_1rpdcZtQUjs0sdZTGFafx-6q\_woO4Fy0TMzq4I7ETUkN6qrdXn90grlwoAHiUNuIcnofqwfwNldnJRHX8aWJRTseudZYZzF\_XvX3078qC-JZy0Oh7iTvE-Ok\_OCPnhBYkWJduCr-9qp0ewYfESB40j9YnQ5Y44OmNQU36Isdagdg9RQ5RFDNZIBBlbY8kXeU474vb6riqjGWW-veXM6JsacOXxLgvdYN1JLrq947ruUvGg4Cq5OKnXQ9Db19mVzl46sa-26UgtIJgSuK1oWKEToV6QO\_aX-Qjg5naNv2M2oeg3Yn8ZEnHvlmeWowSmPKFGes5-X6dQyWnAKH5-Scc\_HWFqhY1KGzh\_\_VTpGbiwTlg1gjq4Zuzlk6ce0OcuTgVeSYuifUOu6T4C9qCKh5SfsTzHegRJ0-Q29bmCsHIKOUE9oeacIRozr5z-WG87o2ohveIV2Oz-ZJgU\_EplKNc9wu1WEQ88oWeiCPmssWI0pDy388\_4zy\_CMgzc9cxJ6frAoKPLzKr\_3aL-ORrOaSEAARv13W37XehmqyP230N4e\_h1hzS7lcgotb3d2ElLt3My1WuOLySylH1AV1BqYpZBniOui0KT-rxXfHDhIkwYwYx-4vrlfVtqOcC6QX84G9uL0DnshUXxBA\_\_0KciO4v8u6qSAhhX6ubnXGQNFZ9nsV1QhMg2EitufxcxRFeztjbTtL8aOKKGltOIXDY88-oc\_k4luVW3ByVgmaaapd7jnFarHLlV2O41GR8CtX-2\_i3LT\_5xU\_WAtZIolRZZNujr-rRoPy2sQSDQHgBI65KNufTyCWlpyVhD-c-UMN0GV3Qf1K0yAcqRJF3nSuhyxlxR\_mQ3D3TrtHgiWdGir-5BDEJ8rVpW77Okb6KqXU1X\_nyISm4moG5vvj4-uoiZ5LeKOrUE3sxFzmvvorXkiKr-\_AFgK7uI8wxThgeN5XJPnYsltqAqI2tqsLpP6kuBfaktQQi6ItJoFoms\_IK2bohewR8XKu4GgmFxBla76rZ1HkWbovj3JA-n4bW9C9A1G5nOshCuBHUn4TFHOCkzrRGVM7hwAW9Rh-4ZfovYiENu0gv6Dqm27Flnm6LTQ2IN2BQcH37WmFNNycVE5Qr2hKzIM6CSaeV3ukvg=.QUAAAAAFaXYADAAAAADFkFYv-x1EYD2iwcsFYXQAEAAAAACQLRr6flPBpSYZk-zlo82VAmFkAAUAAABub25lAAA=.Pbkdf2Hmac.S0EAAAAFaXYAFAAAAAC5tzmfz7TiZiEsE5cs5NOgv\_-H7BBpAOxRAAAQbAAgAAAAAmhhc2gABwAAAFNIQTI1NgAA

4. If VP contains Encrypted Verifiable Credential, fields marked as private will be automatically removed

36 changes: 36 additions & 0 deletions docs/monitoring-tools.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
description: >-
The Guardian application is now integrated into some monitoring tools to give
you metrics to observe and analyze the performance and health of applications
---

# 📉 Monitoring tools

Now, the Guardian application provides some ways to monitor its services using two widely used open-source applications.

[Prometheus](https://prometheus.io/) and [Grafana](https://grafana.com/) are powerful monitoring tools commonly used to observe and analyze the performance and health of applications. In the context of monitoring the Guardian application, Prometheus and Grafana provide a comprehensive solution to collect, store, visualize, and alert on various metrics and data points.

Prometheus is an open-source monitoring system that excels at collecting and storing time-series data. It is designed to monitor highly dynamic and distributed environments, making it an ideal choice for modern application architectures. Prometheus employs a pull-based model, where it periodically scrapes metrics data from configured targets, such as application instances or infrastructure components.

With Prometheus, you can instrument your Guardian application to expose various metrics, such as request latency, error rates, resource utilization, and custom application-specific metrics. Prometheus stores this data in a time-series database, allowing you to query historical metrics and generate meaningful insights. Additionally, Prometheus offers a flexible querying language called PromQL, which enables advanced data analysis and aggregation.

Grafana is a popular open-source data visualization and analytics platform that complements Prometheus by providing a feature-rich dashboarding solution. It allows you to create visually appealing and customizable dashboards to monitor and analyze metrics collected by Prometheus. Grafana supports a wide range of visualization options, including graphs, tables, heatmaps, and alerts.

We have integrated Prometheus with Grafana, allowing you to create real-time dashboards that display critical metrics and provide a holistic view of your Guardian application's performance. These dashboards can help you identify bottlenecks, track trends, and troubleshoot issues promptly. Grafana also allows you to set up alerts based on predefined thresholds or complex rules, ensuring that you receive notifications when important metrics cross certain boundaries.

Together, Prometheus and Grafana form a robust monitoring stack for the Guardian application, enabling you to gain valuable insights into its behavior and performance. By leveraging the power of Prometheus for data collection and Grafana for data visualization, you can proactively monitor your application, make data-driven decisions, and ensure a seamless user experience.

These services are being scraped by Prometheus, which was defined to running here [**http://localhost:9090**](http://localhost:9090/). At this point, you can create your queries.

* api-gateway
* guardian-service
* auth-service
* policy-service
* topic-viewer
* mrv-sender

A complete dashboard was created by default using the Grafana application to present interesting metrics. This dashboard can be accessed here once you have the Guardian application running -> [**http://localhost:9080**](http://localhost:9080/).

<figure><img src=".gitbook/assets/220951740-45a57b4f-71f3-4c3f-ada9-1496c3e23535.png" alt=""><figcaption></figcaption></figure>

\
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
.body-dialog-template {
margin: 0;
padding: 0;
padding-bottom: 70px;
max-height: calc(70 * var(--vh)) !important;
padding-bottom: 20px;
max-height: calc(65vh + 40px) !important;
position: relative;
overflow: visible;
}
Expand All @@ -89,7 +89,7 @@
padding: 0 40px;
}

.form-page .page-btns {
.form-page .page-btns {
padding: 0px 40px 40px 40px;
}

Expand Down Expand Up @@ -134,7 +134,30 @@
margin-left: 3px;
}

.registrant-application-create-btn {
display: none;
}

@media (max-width: 810px) {
.loading {
top: 75px;
z-index: 999;
}

.loading-dialog {
position: fixed;
top: 75px;
z-index: 999;
bottom: 0;
}

.page-btns {
display: none !important;
}

.dialog-actions-container {
display: none !important;
}

h1 {
height: 40px;
Expand All @@ -161,10 +184,10 @@
.form-dialog {
width: 90%;
margin: 0 auto;
padding: 0;
padding: 0px 0px 0px 0px;
border: none;
max-height: 55vh;
max-width: 90vh;
max-height: none;
max-width: 90vw;
}

.schema-form {
Expand All @@ -186,6 +209,7 @@
}

.registrant-application-create-btn {
display: block !important;
position: fixed;
width: calc(45% - 5px);
right: 5%;
Expand Down
4 changes: 4 additions & 0 deletions logger-service/configs/.env.logger.develop
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<<<<<<<< HEAD:logger-service/configs/.env.logger.develop
# Logger Service Specialized Variables
SERVICE_CHANNEL="logger-service"
DB_DATABASE="logger_db"
Expand All @@ -10,3 +11,6 @@ MQ_ADDRESS="localhost"
DB_HOST="localhost"
MQ_MAX_PAYLOAD="1048576"
#MQ_MESSAGE_CHUNK=5000000
========
GUARDIAN_ENV=""
>>>>>>>> 0bbfabf22 (Merging Develop into Main for 2.13.0-prerelease (#2197)):logger-service/.env

0 comments on commit 386da31

Please sign in to comment.