Skip to content

Commit

Permalink
Fix for startup issues (#2056)
Browse files Browse the repository at this point in the history
* fixes

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

* share tasks

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

* service scripts

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

* clean code

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

* policy instance container

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

* fix tests

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

* corrected broken links in ReadMe

* added versions to ReadMe

* increase max hedera timeout

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

* update

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

* bump version

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

* fix workers queue

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

* test fix

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

* wss updates

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

* fix

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

* fix

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

* fix block errors

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

* fix messageId

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

* Add documentation for Metered Energy Cooking policy

* Add policy workflow, registry and project proponent's responsibilities

* Complete policy guide

* Add TOC

* Add futureproofing section

* Add futureproofing section

* Add policy comparison

* Add futureproof flow diagram

* Add policy import screenshot

* Add policy file

* update blocks

* fix documents grid updates

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

* fix

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

* lint

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

* fix loading for event blocks

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

* GITBOOK-308: change request with no subject merged in GitBook

* fix duplicate update block messages

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

* added loading to token confirmation ui

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

* update swagger

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

* fix loading in event blocks

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

* Add relevant demo video links

* moved entities from guardian to common repo

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

* remove entities from policy-service

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

* chunking db entities

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

* fix build

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

* fix lint and tests

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

* fix duplicate transaction logs

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

* update

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

* fix

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

* update entities

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

* added chunking property to send block

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

* update common package json

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

* fix contract tags

* lint

* Show transaction id in the log

Signed-off-by: Giuseppe Bertone <[email protected]>

* fix update token

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

* remove logs

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

* moved to common

* fix lint

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

* - #1888
- #1696

integrate previous changes to Dokerfile
docs and PREUSED
GUARDIAN_ENV in .env
Docs: Docker Compose V2 version
lint

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

* fix transaction logs

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

* fix tag schemas

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

* fix delete tag schemas

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

* #1981

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

* automatically document cache

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

* fix lint

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

* reset send block properties

* moved tests

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

* set document cache to aggregate block

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

* fix creation of vp document

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

* fix publishing schemas

* fix comments and blinking request dialog

* themes

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

* added defs to schemas

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

* added document cache fields to external block

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

* fix updating files

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

* fix updating multi sign block

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

* fix lint

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

* update

* merge new secrets to dev

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

* merge new secrets to dev

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

* merge new secrets to dev

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

* improve minting tokens

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

* fix build

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

* update worker tasks priority

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

* fix user keys

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

* added loading tokens on creation retire request

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

* fix user keys oldstyle

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

* fix startup values

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

* fix api tests

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

* fix api tests

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

* .env files

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

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

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

* fix common sorting in grids

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

* fix publishing policies

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

* update

* added readme of modules

* added docs link of modules

* GITBOOK-309: Adding subpage for the Guardian CLI under "Frameworks/Libraries"

* GITBOOK-310: added Guardian CLI

* added BATCH_NFT_MINT_SIZE setting

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

* feat: application-events module

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

* update

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

* fix updating entities

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

* fix exporting modules

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

* update

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

* GITBOOK-311: Added Tymlez Policy demo guide

* feat: api contract review

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

* update

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

* filter by api

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

* GITBOOK-312: Added env parameters for guardian-service

* update

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

* added handing non retryable errors

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

* added logs for mint

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

* [Cookstove Policy] Publish new policy version and readme with future TODOs

* update

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

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

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

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

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

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

* add themes api

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

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

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

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

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

* update

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

* feature/user-driven-mrv

* GITBOOK-313: adding instructions of changing operator ID and Key in settings

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

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

* fix 404 error

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

* fix timeout

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

* devide test

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

* add auth header

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

* add destructor

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

* remove old test

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

* update theme api

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

* update swagger

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

* feat: application-events additional fixes

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

* change get balances

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

* rest balance

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

* feat: application-events reduced events to avoid annoying notifications

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

* fix

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

* GITBOOK-314: added parameters for services

* GITBOOK-315: Adding Tag UI for Policies and Schemas

* secret manager update

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

* added duplicate transaction handler

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

* update

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

* feat: application-events module.ts updated

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

* Fixed userInfo error

* fix #2019

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

* GITBOOK-317: Tags APIs for Policies

* GITBOOK-318: Schema Tag APIs added

* GITBOOK-319: corrected errors in tags

* Create API Guideline

* Delete API Guideline

* add settings validation

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

* update

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

* fix

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

* fix

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

* fix label

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

* fix update settings

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

* update

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

* fix

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

* fix legends

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

* fix application events listener; add service to publish CI

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

* Fixed conflict

* Fixed conflict 2

* added new policies [skip ci]

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

* slice users

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

* fix lint

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

* Added iREC 9 in ReadMe

* fix version

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

* Added Verra ARR ReadMe

* update gold standard ar policy

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

* fix filters in button block

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

* Deleted Branding related code

* Adding Gold Standard AR ReadMe

* GITBOOK-320: Added Themes UI

* GITBOOK-321: Adding Theme APIs

* Add files via upload

* 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 #1974 and issue #1629

* fix duplicate schema field label

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

* 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]>

---------

Signed-off-by: simvalery <[email protected]>
Signed-off-by: Stepan Kiryakov <[email protected]>
Signed-off-by: artembuslaev <[email protected]>
Signed-off-by: Giuseppe Bertone <[email protected]>
Signed-off-by: otherNet <[email protected]>
Signed-off-by: Felipe Neuhauss <[email protected]>
Signed-off-by: artembuslaev <[email protected]>
Co-authored-by: Stepan Kiryakov <[email protected]>
Co-authored-by: prernaadev01 <[email protected]>
Co-authored-by: Gautam Prajapati <[email protected]>
Co-authored-by: Gautam Prajapati <[email protected]>
Co-authored-by: artembuslaev <[email protected]>
Co-authored-by: prernaa.agarwal <[email protected]>
Co-authored-by: artembuslaev <[email protected]>
Co-authored-by: Giuseppe Bertone <[email protected]>
Co-authored-by: Stepan Kirjakov <[email protected]>
Co-authored-by: otherNet <[email protected]>
Co-authored-by: Serg Metelin <[email protected]>
Co-authored-by: Felipe Neuhauss <[email protected]>
Co-authored-by: artembuslaev <[email protected]>
Co-authored-by: E. Santiago <[email protected]>
Co-authored-by: E. Santiago <[email protected]>
Co-authored-by: Vanessa Lopes <[email protected]>
Co-authored-by: Eduardo Santiago <[email protected]>
  • Loading branch information
18 people authored Apr 25, 2023
1 parent 16a8774 commit f8eea4d
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 6 deletions.
4 changes: 3 additions & 1 deletion application-events/src/services/ApplicationMetricService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ const avoidEvents = [
'GET_STATUS',
'get-setting-key',
'GET_MAP_API_KEY',
'external-events.ipfs_before_upload_content'
'external-events.ipfs_before_upload_content',
'external-events.ipfs_after_read_content',
'external-events.ipfs_loaded_file'
];

export const externalMessageEvents = [
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/IRec Policy 4.policy
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,9 @@
* [☘ Carbon Offsets](guardian/demo-guide/carbon-offsets/README.md)
* [📖 Introduction to Verra Redd+](guardian/demo-guide/carbon-offsets/introduction-to-verra-redd+.md)
* [💻 Verra Redd+ Demo UI Guide](guardian/demo-guide/carbon-offsets/verra-redd+-demo-guide.md)
* [🧑🌾 🧑🌾 🧑🌾 Dovu Methodologies](guardian/demo-guide/carbon-offsets/dovu-methodologies.md)
* [🧑🌾 🧑🌾 🧑🌾 🧑🌾 Dovu Methodologies](guardian/demo-guide/carbon-offsets/dovu-methodologies.md)
* [♨ Improved Cookstove](guardian/demo-guide/carbon-offsets/improved-cookstove.md)
* [🧑🌾 🧑🌾 🧑🌾 Carbon Reduction Measurement - GHG Corporate Standard Policy Guide](guardian/demo-guide/carbon-offsets/carbon-reduction-measurement-ghg-corporate-standard-policy-guide.md)
* [🧑🌾 🧑🌾 🧑🌾 🧑🌾 Carbon Reduction Measurement - GHG Corporate Standard Policy Guide](guardian/demo-guide/carbon-offsets/carbon-reduction-measurement-ghg-corporate-standard-policy-guide.md)
* [🏭 Carbon Emissions](guardian/demo-guide/carbon-emissions/README.md)
* [🏡 Remote Work GHG Policy](guardian/demo-guide/carbon-emissions/remote-work-ghg-policy/README.md)
* [📖 Introduction to Remote Work GHG](guardian/demo-guide/carbon-emissions/remote-work-ghg-policy/introduction-to-remote-work-ghg.md)
Expand Down
24 changes: 21 additions & 3 deletions docs/guardian/guidance-for-open-source-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ There are items to be submitted to process open source policies and add it to op
* [Policy Description](guidance-for-open-source-policy.md#policy-description)
* [User Guide](guidance-for-open-source-policy.md#user-guide)
* [Automated policy workflow, with valid sample MRV data or MRV data generator/simulator](guidance-for-open-source-policy.md#automated-policy-workflow)
* [IPFS timestamps, .policy files](guidance-for-open-source-policy.md#timestamps-and-files)
* [Requirement to run tests before sending Guardian the policy, including backward compatibility tests](guidance-for-open-source-policy.md#run-tests)
* [IPFS timestamps, files](guidance-for-open-source-policy.md#timestamps-and-files)

## Policy Description

Expand All @@ -33,6 +32,12 @@ The workflow begins with the Registrant, generally the owner of an energy produc

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

### Youtube Link:&#x20;

Youtube video can also be recorded, which would explain the policy in detail including the workflow and policy execution.

Please visit this [link](https://www.youtube.com/watch?v=nOQpLmbW0hA) to get an idea for creating a detailed youtube video for the open source policy.&#x20;

## User Guide

Second step is to provide a detailed User Guide of the policy, meaning, a step by step process of running the policy with proper and clear screenshots of the policy steps. The steps should start from importing the policy to TrustChain execution.
Expand All @@ -51,4 +56,17 @@ Please check a example MRV Data of iREC 4 in JSON format:

## Timestamps and files

## Run Tests
We would also need all the IPFS Policy timestamps of all the versions of the policy, which would be added to the open source repo.

In addition to the IPFS timestamps, we would also need all kinds of files such as:

1. .policy
2. .schema
3. .module (if any)
4. .JSON (if any)

Please check sample example for iREC 4 policy:\
**IPFS timestamp: 1674821702.668883536**\
**Policy file:**

{% file src="../.gitbook/assets/IRec Policy 4.policy" %}

0 comments on commit f8eea4d

Please sign in to comment.