Skip to content

Commit

Permalink
Merging develop into main for 2.19.0 release (#2960)
Browse files Browse the repository at this point in the history
* retire implementation

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* retire contracts

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* [skip ci] Add swagger.yaml

* implemented new contract wipe for wipe block

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix token count in retire vc

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix contract explorer

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix schema configuration errors

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix contract sync

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix jwt mailformed

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* GITBOOK-12: GHGP V2 policy added

* fix get token serials

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* migration 2.17.0

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* set access contract as abstract

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* update

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* [skip ci] Add swagger.yaml

* added visibility depends on permissions in contract

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* GITBOOK-13: Updated IPFS timestamps

* update

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* fix not unique serials

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix unique serials issue

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix reject wiper request

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* remove required flag for description while contract importing

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* update

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* fix contract

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* remove unnecessary console logs

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* token expiration

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* [skip ci] Add swagger.yaml

* fix refresh page events

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix tests

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix tests

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix test

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix user registration

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* incrase test timeout

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix user retire loading

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* use ubuntu 20.04 workflow

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* update

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* container directive

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix lint

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* log for sync tasks

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix synchronization task for docker

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* re-run task while error

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix retire notification

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix lint

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* GITBOOK-15: AMS III.BB

* fix schema pagination

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix tag permission

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* fix

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* [skip ci] Add swagger.yaml

* [skip ci] Add swagger.yaml

* fixes

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fixes

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix schemas

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* remove deprecated wizard endpoint

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* [skip ci] Add swagger.yaml

* fix search

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* fix token update

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* bump version

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* [skip ci] Add swagger.yaml

* update css

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* fix logout error

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix logout error

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix schema select

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix validate tool

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* GITBOOK-16: Added Retired APIs

* GITBOOK-17: Added Token Serials API

* fix tools

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* GITBOOK-18: retirement UI

* GITBOOK-19: Added Access Token API

* Update AMS-IIIBB Readme

* Add files via upload

* fix validation

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* Create readme.md

* Add files via upload

* fix import tools

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* fix

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* fix import tools

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* fix message

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* fix notification

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* fix geojson in tools

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix nested tools

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* change role input placeholder in wizard

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* upd ghgp

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* added vm0044

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix

Signed-off-by: artembuslaev <artem.buslaev@envisionblockchain.com>

* fix custom logic

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* upd vm0044

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* GITBOOK-20: VM0044 Demo

* Added Readme of VM0044

* Update readme.md

* Update readme.md

* GITBOOK-21: Added VM0044 timestamp

* GITBOOK-22: Search Blocks Docs added

* fix contracts swagger

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* [skip ci] Add swagger.yaml

* upd vm0044 [skip ci]

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* upd vm0044 [skip ci]

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix import policy\tool

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* fix documentValidatorBlock

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* GITBOOK-23: Verra VM0044 added

* upd verra type policies

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* GITBOOK-24: Updated VM0044 timestamp

* Update readme.md of VM0044

* GITBOOK-25: Retirement contract UI

* GITBOOK-26: ghgp screenshots added

* Update GHGP readme

* Update GHGP readme

* Update ghgp readme

* GITBOOK-27: Updated GHGP timestamp

* bump version

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* [skip ci] Add swagger.yaml

* bump version

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix policy

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix policy

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* Update error messages

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* GITBOOK-28: AMS III BB screenshots added

* GITBOOK-29: Updated Roadmap

* 2764 Can not edit policy field of an unpublished schema

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* [skip ci] Add swagger.yaml

* 2842 Dates are displayed differently in VCs viewed as form versus json

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* 2566 Dialog option for createTokenBlock should be removed/changed

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix descriptions

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* [skip ci] Add swagger.yaml

* fix date format

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix refresh token issue

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix tools inputs outputs variables

Signed-off-by: artembuslaev <artem.buslaev@envisionblockchain.com>

* GITBOOK-31: GHGP V2 docs updated

* Update timestamp of VM0042

* Updated timestamp of VM0017

* Update timestamp for VM0044

* Update timestamp for VM0042

* Update timestamp of VerraARR

* Update timestamp of Gold Standard AR

* Update ACM0003 timestamp

* Update timestamp of AMS-III.D

* Update timestamp of AMS-III AR

* Update timestamp of AMS-II.G

* GITBOOK-34: Updated timestamps

* Create readme.md of AMS-I.A

* Add files via upload

* Update readme.md of AMS-I.A

* GITBOOK-35: Added ACM0003 policy demo

* Create readme.md of AMS-III.F

* Add files via upload

* Create readme.md of AMS-III AV

* Add files via upload

* Create readme.md of AMS-I.F

* Add files via upload

* Update readme.md of AMS-I.F

* Create readme.md of ACM0007

* Add files via upload

* Add files via upload

* Delete Methodology Library/CDM/CDM ACM0007/readme.md

* Create readme.md of ACM0007

* Delete Methodology Library/CDM/CDM ACM0007/ACM0007-Readme.md

* Create readme.md of ACM0018

* Add files via upload

* Update readme.md of ACM0018

* Create Policyfile

* Add files via upload

* Delete Methodology Library/CDM/CDM AMS-III.H/Policyfile

* Update readme.md of AMS-III.H

* Create deletefile

* Add files via upload

* Delete Methodology Library/CDM/CDM ACM0006/deletefile

* Update readme.md of ACM0006

* Create readme.md of AMS-II.J

* Add files via upload

* Update readme.md of AMS-II.J

* Create readme.md of ACM0002

* Add files via upload

* Update readme.md of ACM0002

* Create readme.md of ACM0001

* Add files via upload

* Update readme.md of ACM0001

* Create readme.md of AMS-I.C

* Add files via upload

* Update readme.md of AMS-I.C

* GITBOOK-36: added CDM policies list

* GITBOOK-37: CDM Policies Demo Added

* GITBOOK-40: ACM0003 step by step added

* GITBOOK-41: AMS-III BB step by step added

* GITBOOK-42: GHGP demo corrected

* update cdm policies [skip ci]

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* 00891 detect-secrets
* implement detect-secrets script
* remove secrets

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* test fix

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix actions

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix actions

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix actions

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix actions

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix actions

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix actions

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* VP section header for report-block

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix retirement

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* added schema tree

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* [skip ci] Add swagger.yaml

* fix retirement

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* fix cdm policies [skip ci]

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* GITBOOK-47: Added Description to Schema Glossary

* GITBOOK-48: Added Tools Description

* GITBOOK-49: Updated CDM policies

* upd asm-ii.g

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* GITBOOK-50: Verra PWRM0001 demo

* add PWRM0001 policy

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* bump version

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* [skip ci] Add swagger.yaml

* upd cdm asm iii d

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* GITBOOK-52: Added Schema Tree UI and API

* GITBOOK-53: Added confirm password in register API

* Add files via upload

* Add files via upload

* remove console.logs

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* update policy

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix lint

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* update cdm policies [skip ci]

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>

* Create readme.md of PWRM0001

* Update readme.md of PWRM0001

* bump version

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* [skip ci] Add swagger.yaml

---------

Signed-off-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>
Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>
Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>
Signed-off-by: artembuslaev <artem.buslaev@envisionblockchain.com>
Co-authored-by: Artem Buslaev <artem.buslaev@envisionblockchain.com>
Co-authored-by: envision-ci-agent <envision-ci-agent@users.noreply.github.com>
Co-authored-by: prernaa.agarwal <prernaa.agarwal@envisionblockchain.com>
Co-authored-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>
Co-authored-by: krystal <krystal@swirldslabs.com>
  • Loading branch information
6 people authored Nov 30, 2023
1 parent bc6add7 commit c0e1d36
Show file tree
Hide file tree
Showing 43 changed files with 268 additions and 104 deletions.
Binary file not shown.
Binary file modified Methodology Library/CDM/CDM AMS-II.G/CDM AMS-II.G.policy
Binary file not shown.
Binary file not shown.
Binary file modified Methodology Library/CDM/CDM AMS-III.AR/CDM AMS-III.AR.policy
Binary file not shown.
Binary file modified Methodology Library/CDM/CDM AMS-III.BB/AMS-III.BB.policy
Binary file not shown.
Binary file modified Methodology Library/CDM/CDM AMS-III.D/CDM AMS-III.D.policy
Binary file not shown.
133 changes: 133 additions & 0 deletions Methodology Library/Verra/Verra Redd/PWRM0001/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
## Table of content
<!-- TOC -->

- Introduction
- Need and Use for the PWRM0001 policy
- Demo Video
- Available Roles
- Key Documents & Schemas
- Workflow
- Token
- IPFS Timestamp
- Step-by-Step

<!-- /TOC -->

## Introduction

The Plastic Waste Reduction Methodology (PWRM0001) serves as a structured framework providing guidelines and procedures for estimating and quantifying additional plastic waste removed or diverted from the environment. Its focus lies in both informal and formal activities geared towards preventing plastic waste from persisting or ending up in the environment. PWRM0001 offers a systematic approach to assess the effectiveness of plastic waste collection activities while emphasizing their crucial role in curbing environmental pollution.

In response to the global crisis of plastic waste pollution, PWRM0001 addresses this environmental challenge. It outlines comprehensive measures to quantify plastic waste removal or diversion through both formalized sectors under governmental supervision and informal sectors involved in recycling or waste management activities. By defining specific criteria and methodologies, PWRM0001 aims to foster accountable and transparent practices in handling plastic waste, aligning with sustainable waste management goals and environmental preservation endeavors.


## Need and Use for the PWRM0001 Policy

Plastic waste has become an escalating environmental crisis, with staggering quantities of non-biodegradable materials inundating our ecosystems. In contemporary society, the proliferation of single-use plastics and inadequate recycling infrastructure has exacerbated this issue, resulting in extensive pollution across land, waterways, and oceans. The ubiquity of plastic waste poses significant ecological and health hazards, threatening wildlife, marine habitats, and ultimately, human well-being.

The rapid proliferation of plastic waste in modern lifestyles presents an imminent threat to the environment. The durability of plastics, combined with their usage in packaging, consumer goods, and various industries, has led to an unprecedented accumulation in our ecosystems. This unbridled rise in plastic waste has transformed once-pristine landscapes into waste repositories, with plastics persisting for centuries, breaking down into microplastics that infiltrate food chains and contaminate vital ecosystems.

The need for methodologies like PWRM0001 arises from the urgency to mitigate the adverse impacts of plastic waste. This methodology offers a structured approach to quantify the additional plastic waste removed or diverted from the environment, fostering accountability and transparency in waste management efforts. By delineating guidelines for formal and informal waste collection activities, PWRM0001 encourages robust practices that not only alleviate plastic pollution but also contribute to building resilient and sustainable waste management systems.

Considering escalating environmental concerns and the imperative to safeguard our ecosystems, PWRM0001 plays a pivotal role. It offers a standardized framework that empowers stakeholders to measure and assess their contributions in curbing plastic waste pollution. By providing a systematic methodology for quantifying plastic waste reduction efforts, PWRM0001 serves as a channel for informed decision-making, fostering collaborations and initiatives aimed at mitigating the adverse impacts of plastic waste on our environment and society.

## Demo Video

[Youtube](https://youtu.be/Xu0lGnJTT3s?si=hKQLuV-5nuL-lLQY)

## Available Roles

Project Proponent - The project proponent is responsible for executing the waste reduction project. The project proponent must adhere to the requirements outlined by Verra’s Plastic Waste Reduction Standard and provide evidence of the waste collection achieved. Upon successful verification, the project proponent receives Waste Collection Credits (WCC) as an incentive for their waste reductions.

Verification and Validation Body (VVB) - The VVB plays a critical role in independently verifying and validating the project data submitted by the project proponent. They thoroughly assess the project's waste reduction potential, methodologies, and adherence to the policy guidelines. Based on their evaluation, the VVB either approves or rejects the project for registration.

Registry (Verra) – With Verra as the registry they take on responsibilities that encompass project intake, pipeline management, and final review of project descriptions and monitoring reports. This process ensures that waste reduction projects meet the highest standards before tokens are issued.


## Key Documents & Schemas

1. Project Description - Project Participant information, standard project information, methodology information like baseline waste collection, project waste collection, etc.

2. Plastic Waste Collection – Schema included within the project information form; this is filled out by the project participant to calculate annual project plastic waste collection.

3. Monitoring Report – The monitoring report is to be filled out based on the monitoring plan mentioned within the methodology.

## Policy Workflow

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/3bc26d53-67d4-49e1-bf71-25994bb62656">

## Token

Waste Collection Credit (WCC), each equivalent to (1) tonne of plastic that has been collected.

## IPFS Timestamp

Coming Soon

### Step By Step

1. Import policy using IPFS or Policy File.

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/0fb14183-df5d-4468-a2d2-54052a0c75a9">

2. Create a new user and assign role as Project Proponent.

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/05c91bd5-8168-495c-95c2-cf4300480eaf">

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/cda784ca-7c79-483c-b249-c82ffa3c7e74">


3. Create a New project by clicking on "New Project" button and enter all the required details.

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/cfe4473d-4766-491c-8aab-a4b8480e125e">

4. Once project details are submitted, Verra waits for its approval

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/5880e21e-31f3-4fe3-86fd-6f2252e70450">

5. Now, we create a new user and assign its role as VVB

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/cf0604b5-f287-4582-b155-26dc0dd2d4cb">

6. We need to set VVB name

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/31fef5f6-7317-4266-9b16-8eb88747d18c">

7. Once VVB name is set, it waits for SR to approve it.

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/8fa78dbe-cabf-42a9-98c0-4061fd856bbf">

8. Now we login as SR and approve VVB.

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/72ac38c3-ab53-4d3a-be3c-009af033bc99">

9. Once VVB is approved, SR goes to Project Pipeline tab and click on Add button

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/8327ce82-3731-412d-a5e5-b286be092717">

10. Once Project is added, it waits for validation from VVB

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/aca65d3c-581e-49a1-a123-fef601d99c12">

11. Now we login as the Project Proponent and assign project to VVB

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/97acf3ef-de46-4298-99fb-3f12a13890c4">

12. Now we login as VVB and validate the project by viewing project document details. Once validated, VVB clicks on Validate button.

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/7857ef48-d265-4d40-9bde-7b9bf6587f19">

13. Once validated, we login as Project Proponent and Add Monitoring Report.

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/bd9b213b-41f9-4759-b9a1-83bfd408184a">

14. Once report is submitted, we now login as VVB and validate the monitoring report by clicking on Verify button.

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/8bec1608-e933-4553-b8de-e239a2d032eb">

<img width="800" alt="image" src="https://github.com/hashgraph/guardian/assets/79293833/fe3d4a91-1162-4306-a45e-c8c09d50a83b">

15. Once monitoring report is validated, we login as SR and click on Mint to mint the tokens.

16. Once minting is completed, we can view tokens in Token History tab

17. Trustchain can also be viewed by clicking on View TrustChain button
7 changes: 3 additions & 4 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 <info@envisionblockchain.com>",
"dependencies": {
"@guardian/common": "^2.19.0-prerelease",
"@guardian/interfaces": "^2.19.0-prerelease",
"@guardian/common": "^2.19.0",
"@guardian/interfaces": "^2.19.0",
"@nestjs/common": "^9.4.1",
"@nestjs/core": "^9.4.1",
"@nestjs/jwt": "^10.0.3",
Expand Down Expand Up @@ -76,6 +76,5 @@
"start": "node dist/index.js",
"test": "mocha tests/**/*.test.js --reporter mocha-junit-reporter --reporter-options mochaFile=../test_results/ui-service.xml"
},
"version": "2.19.0-prerelease",
"stableVersion": "2.18.0"
"version": "2.19.0"
}
7 changes: 3 additions & 4 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 <info@envisionblockchain.com>",
"dependencies": {
"@guardian/common": "^2.19.0-prerelease",
"@guardian/interfaces": "^2.19.0-prerelease",
"@guardian/common": "^2.19.0",
"@guardian/interfaces": "^2.19.0",
"@nestjs/common": "^9.4.1",
"@nestjs/core": "^9.4.1",
"@nestjs/jwt": "^10.0.3",
Expand Down Expand Up @@ -77,6 +77,5 @@
"start": "node dist/index.js",
"test": "mocha tests/**/*.test.js --reporter mocha-junit-reporter --reporter-options mochaFile=../test_results/ui-service.xml"
},
"version": "2.19.0-prerelease",
"stableVersion": "2.18.0"
"version": "2.19.0"
}
1 change: 0 additions & 1 deletion api-gateway/src/auth/authorization-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { AuthenticatedRequest, IAuthUser, Logger } from '@guardian/common';
import { createParamDecorator, ExecutionContext, HttpException, HttpStatus, Injectable, NestMiddleware } from '@nestjs/common';

export const AuthUser = createParamDecorator((data: string = 'user', ctx: ExecutionContext) => {
console.log(data);
const req = ctx.switchToHttp().getRequest();
return req.user
})
Expand Down
5 changes: 2 additions & 3 deletions api-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "api-tests",
"version": "2.19.0-prerelease",
"version": "2.19.0",
"description": "API Tests",
"main": "index.js",
"scripts": {
Expand All @@ -25,6 +25,5 @@
"gulp-rename": "^2.0.0",
"gulp-sourcemaps": "^3.0.0",
"gulp-typescript": "^6.0.0-alpha.1"
},
"stableVersion": "2.18.0"
}
}
7 changes: 3 additions & 4 deletions auth-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
},
"author": "Envision Blockchain Solutions <info@envisionblockchain.com>",
"dependencies": {
"@guardian/common": "^2.19.0-prerelease",
"@guardian/interfaces": "^2.19.0-prerelease",
"@guardian/common": "^2.19.0",
"@guardian/interfaces": "^2.19.0",
"@meeco/cryppo": "^2.0.2",
"@mikro-orm/core": "5.7.12",
"@mikro-orm/mongodb": "5.7.12",
Expand Down Expand Up @@ -69,6 +69,5 @@
"start": "node dist/index.js",
"test": "mocha tests/**/*.test.js --reporter mocha-junit-reporter --reporter-options mochaFile=../test_results/ui-service.xml"
},
"version": "2.19.0-prerelease",
"stableVersion": "2.18.0"
"version": "2.19.0"
}
5 changes: 2 additions & 3 deletions common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"@azure/identity": "^3.2.2",
"@azure/keyvault-secrets": "^4.7.0",
"@google-cloud/secret-manager": "^4.2.2",
"@guardian/interfaces": "^2.19.0-prerelease",
"@guardian/interfaces": "^2.19.0",
"@hashgraph/sdk": "2.34.1",
"@mattrglobal/jsonld-signatures-bbs": "^1.1.2",
"@meeco/cryppo": "^2.0.2",
Expand Down Expand Up @@ -77,6 +77,5 @@
"test:local": "mocha tests/**/*.test.js --exit",
"test:stability": "mocha tests/stability.test.js"
},
"version": "2.19.0-prerelease",
"stableVersion": "2.18.0"
"version": "2.19.0"
}
9 changes: 1 addition & 8 deletions common/src/helpers/workers.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import { Singleton } from '../decorators/singleton';
import {
GenerateUUIDv4,
HederaResponseCode,
IActiveTask,
ITask,
WorkerEvents,
} from '@guardian/interfaces';
import { GenerateUUIDv4, HederaResponseCode, IActiveTask, ITask, WorkerEvents, } from '@guardian/interfaces';
import { Environment } from '../hedera-modules';
import { NatsService } from '../mq';

Expand Down Expand Up @@ -300,7 +294,6 @@ export class Workers extends NatsService {
*/
ipfsStorageApiKey: string
}) {
console.log('update worker settings', settings);
this.publish(WorkerEvents.UPDATE_SETTINGS, settings);
}
}
1 change: 0 additions & 1 deletion common/src/mq/zip-codec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export function ZipCodec() {
const maxPayload = parseInt(process.env.MQ_MAX_PAYLOAD, 10);
if (Number.isInteger(maxPayload) && maxPayload <= zipped.length) {
const directLink = new LargePayloadContainer().addObject(Buffer.from(zipped));
console.log(directLink.toString(), zipped.length);
return JSONCodec().encode({
directLink
})
Expand Down
5 changes: 2 additions & 3 deletions common/src/secret-manager/secret-manager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ async function test_secretkey() {
setCertsPath(authCertsPath)

secretManager = SecretManager.New()
const data = await secretManager.getSecrets('secretkey/auth')
console.log(data)
await secretManager.getSecrets('secretkey/auth')
}

/**
Expand Down Expand Up @@ -149,4 +148,4 @@ async function test_secretmanager() {
await test_wallet_policy()
}

test_secretmanager()
test_secretmanager()
Binary file added docs/.gitbook/assets/image (401).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/image (402).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/image (403).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* [📂 Available Schema Types](guardian/standard-registry/schemas/available-schema-types.md)
* [ℹ System/Policy Schemas](guardian/standard-registry/schemas/system-policy-schemas.md)
* [💻 Creating Schema using UI](guardian/standard-registry/schemas/creating-system-schema-using-ui.md)
* [⚙ Schema creation using APIs](guardian/standard-registry/schemas/schema-creation-using-apis/README.md)
* [⚙ Schema APIs](guardian/standard-registry/schemas/schema-creation-using-apis/README.md)
* [Listing of Schema](guardian/standard-registry/schemas/schema-creation-using-apis/creation-of-a-schema-1.md)
* [Publishing Schema based on Schema ID](guardian/standard-registry/schemas/schema-creation-using-apis/publishing-schema-based-on-schema-id.md)
* [Updating Schema](guardian/standard-registry/schemas/schema-creation-using-apis/updating-schema.md)
Expand Down Expand Up @@ -89,6 +89,9 @@
* [⚙ Schema Differentiation APIs](guardian/standard-registry/schemas/schema-differentiation/schema-differentiation-apis/README.md)
* [Returns Result of Schema comparison](guardian/standard-registry/schemas/schema-differentiation/schema-differentiation-apis/returns-result-of-schema-comparison.md)
* [Exports Schema Differentiation Results](guardian/standard-registry/schemas/schema-differentiation/schema-differentiation-apis/exports-schema-differentiation-results.md)
* [📂 Schema Tree](guardian/standard-registry/schemas/schema-tree/README.md)
* [💻 Schema Tree UI](guardian/standard-registry/schemas/schema-tree/schema-tree-ui.md)
* [⚙ Returning Schema Tree](guardian/standard-registry/schemas/schema-tree/returning-schema-tree.md)
* [📁 Tag Schema](guardian/standard-registry/schemas/tag-schema/README.md)
* [💻 Creating Tag Schemas using UI](guardian/standard-registry/schemas/tag-schema/creating-tag-schemas-using-ui.md)
* [⚙ Schema Tags APIs](guardian/standard-registry/schemas/tag-schema/schema-tags-apis/README.md)
Expand Down
2 changes: 2 additions & 0 deletions docs/guardian/standard-registry/schemas/schema-tree/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# 📂 Schema Tree

Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# ⚙ Returning Schema Tree

{% swagger method="get" path="" baseUrl="/schema/{schemaId}/tree" summary="Returns schema tree." %}
{% swagger-description %}
Returns schema tree.
{% endswagger-description %}

{% swagger-parameter in="path" name="schemaId" type="String" required="true" %}
Schema identifier
{% endswagger-parameter %}

{% swagger-response status="200: OK" description="Successful Operation" %}
```
content:
application/json:
schema:
type: object
properties:
name:
type: string
type:
type: string
children:
type: array
items:
type: object
```
{% 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/InternalServerErrorDTO'
```
{% endswagger-response %}
{% endswagger %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 💻 Schema Tree UI

## 1. Viewing Schema Tree

Schema tree hierarchy can be viewed by clicking on Tree button for each Policy Schema or Tool Schema as shown below:

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

We can move the image by holding and moving the mouse.&#x20;

Each schema and its child schemas are represented by same color in parent to child fashion.

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

## 2. Downloading Tree

Schema Tree hierarchy can be downloaded by clicking on Download icon:

<figure><img src="../../../../.gitbook/assets/image (403).png" alt=""><figcaption></figcaption></figure>
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% endswagger-description %}

{% swagger-parameter in="body" required="true" %}
Object that contain username, password and role (optional) fields
Object that contain username, password, confirm password and role (optional) fields
{% endswagger-parameter %}

{% swagger-response status="201: Created" description="Successful Operation" %}
Expand Down
3 changes: 1 addition & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,5 @@
"test": "ng test",
"watch": "ng build --watch --configuration development --output-path ../www-data"
},
"version": "2.19.0-prerelease",
"stableVersion": "2.18.0"
"version": "2.19.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export class ReportBlockComponent implements OnInit {
}

ngOnInit(): void {
console.log(this);
if (!this.static) {
this.socket = this.wsService.blockSubscribe(this.onUpdate.bind(this));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ export class SchemaFormViewComponent implements OnInit {
}

isDate(item: SchemaField): boolean {
console.log(item);
return item.type === 'string' && item.format === 'date';
}

Expand Down
Loading

0 comments on commit c0e1d36

Please sign in to comment.