Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging Develop into Main for the 2.24.0 release #3600

Merged
merged 4,529 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4529 commits
Select commit Hold shift + click to select a range
0b702ba
remove console log
Mar 28, 2024
550fd43
added displaying transfer token
Mar 28, 2024
dda300e
fix error handling in mint block
Mar 28, 2024
ad3f826
fix notification reciever
Mar 28, 2024
8d373dc
fix notifications clicking
Mar 28, 2024
6f97701
added retry interval
Mar 28, 2024
e6aa575
fix
Mar 28, 2024
702f3e0
change name for env variable
Mar 28, 2024
003d90c
fix timeout error
Mar 28, 2024
a9eae0c
fix resolving nft mint transactions
Mar 28, 2024
0e69e51
fix multi policy mint
Mar 28, 2024
8ee71a3
change notification order
Mar 28, 2024
030823b
added check for amount
Mar 28, 2024
df33510
update setting env variables
Mar 28, 2024
b9d2abf
fix transactions serials amount
Mar 28, 2024
66ebe84
fix
Mar 28, 2024
7cfb9c8
fix mint errors
Mar 28, 2024
6a54096
fix typo [skip ci]
Mar 28, 2024
e057b05
fix transfer amount
Mar 28, 2024
2cc3a68
added irec 4 retry mint policy [skip ci]
Mar 28, 2024
34f3af0
fix Nobinding schema error
simvalery Mar 28, 2024
128e604
enable creation of schema without policy binded
simvalery Mar 28, 2024
97d8da9
disable policy dropdown for editing schemas
simvalery Mar 28, 2024
7217b03
fix image upload bug
simvalery Mar 28, 2024
7f6ea43
Merge pull request #3358 from hashgraph/fix/3311
Mar 28, 2024
958519a
fix image upload bug
simvalery Mar 28, 2024
ac37523
load images into database in dryRun mode
simvalery Mar 28, 2024
4e4d1ed
[skip ci] Add swagger.yaml
envision-ci-agent Mar 28, 2024
dc3a56c
remove console.log
simvalery Mar 28, 2024
6ecc105
Merge branch 'develop' of https://github.com/hashgraph/guardian into …
simvalery Mar 28, 2024
5075f12
GITBOOK-134: Added PWRM0002 Demo guide
prernaadev01 Mar 29, 2024
b71cd50
GITBOOK-135: 3311 ticket changes updated
prernaadev01 Mar 29, 2024
9430bf5
Create Readme.md of PWRM0002
prernaadev01 Mar 29, 2024
1138fa9
Update timestamps of Tool 13, 14 16
prernaadev01 Mar 29, 2024
681a0af
Create readme.md of Hackathon
prernaadev01 Mar 29, 2024
9a9aa5d
Add files via upload
prernaadev01 Mar 29, 2024
c369fc9
merge develop
Celiant Mar 29, 2024
090d2c9
fix file upload issue
simvalery Mar 29, 2024
46efb8b
apply only image upload
simvalery Mar 29, 2024
7b3b33e
feat: contarization redis cache service
Mar 29, 2024
b533320
fix draft schemas in wisard
simvalery Mar 29, 2024
604768b
Merge pull request #3401 from hashgraph/feature/2.23.0-fixes
simvalery Mar 29, 2024
100ebb6
Merge pull request #3400 from hashgraph/automation-api-tests
simvalery Mar 29, 2024
7c2aaac
fix amount
Mar 29, 2024
3ccaed1
fix
Mar 29, 2024
346ad0b
use global common and interfaces modules
simvalery Mar 29, 2024
8bc7c5d
Merge pull request #3402 from hashgraph/fix/3311
Mar 29, 2024
f495569
Add files via upload
prernaadev01 Mar 29, 2024
8a83963
Merge pull request #3403 from hashgraph/feature/refactor-ai-service
simvalery Mar 29, 2024
bed527f
bump version
simvalery Mar 29, 2024
60fa69b
[skip ci] Add swagger.yaml
envision-ci-agent Mar 29, 2024
56d0428
increase timeout for import tool
Celiant Mar 29, 2024
fb99a5f
Merge pull request #3404 from hashgraph/automation-api-tests
simvalery Mar 29, 2024
1ce0fb4
feat: add esm for api-tests
Mar 9, 2024
9a702c0
feat: move to esm common service
Mar 10, 2024
9a9c5e2
feat: move to esm worker-service
Mar 11, 2024
5d00a69
feat: move to esm policy and guardian services
Mar 11, 2024
1beb501
feat: move dev.js to esm
Mar 11, 2024
a0f2d18
feat: move to esm modules in gulp files api auth worker guardian poli…
Mar 6, 2024
7d28879
feat: esm in ecosystem config
Mar 11, 2024
c63236a
refactor code
Mar 11, 2024
10818d1
feat: add js extention for imports in ai analytics services
Mar 12, 2024
4b8ebd6
feat: add extention in application events service
Mar 13, 2024
ae887c0
feat: add extentions for auth service
Mar 13, 2024
f326c4f
feat: add extention guardian
Mar 13, 2024
1b29a43
fix: ai auth analytics application events services
Mar 13, 2024
64cc115
feat: add extentions for api gateway service
Mar 13, 2024
824368a
fix: api-gateway
Mar 14, 2024
93ee8c6
:wqfeat: add extention in common service
Mar 13, 2024
6d8a31a
fix: common service
Mar 14, 2024
72268c7
feat: esm for logger service
Mar 14, 2024
6b79999
fix: configs for target es2022
Mar 14, 2024
feb6049
feat: esm to policy service
Mar 14, 2024
ce2a8ab
feat: esm to notification service
Mar 14, 2024
a7824d3
feat: esm for interfaces
Mar 14, 2024
e988717
feat: esm for tree viever mrv sender topic viever
Mar 14, 2024
df329a3
refactor code
Mar 15, 2024
3bc8668
fix: error with id by create update base entityes
Mar 16, 2024
f5262e6
feat: increase vertions of mongodb and microorm for esm
Mar 19, 2024
a678f1c
fix: policy and guardian services on dry run
Mar 20, 2024
39be27c
fix: lint error unused import in guardian service
Mar 20, 2024
68c143c
fix: unit tests pre build
Mar 20, 2024
a41ff7d
fix: bson vertion for current mongo
Mar 20, 2024
8ac835e
fix: get user undefined for get blocks and post groups
Mar 20, 2024
f68d33c
fix: dirname in mrv sender
Mar 21, 2024
5d4bf61
fix: remove inject decorator in all places
Mar 21, 2024
648d607
feat: increase bson guardian and policy
Mar 22, 2024
4e8342e
fix: imports inside services
Mar 26, 2024
f418c70
Merge branch 'develop' into feat/move-to-es-modules-develop
Mar 29, 2024
afc2f2f
fix: merge conflicts
Mar 29, 2024
6fb8dc0
Revert "fix: merge conflicts"
Mar 30, 2024
a318461
fix: merge conflicts
Mar 30, 2024
05fc27d
fix: extentions and ts config for microservises
Mar 31, 2024
0911f5e
Merge pull request #3421 from hashgraph/main
simvalery Apr 1, 2024
33bad67
Update README.md
anvabr Apr 1, 2024
34d878b
fix: pass context across super and declare prop
Apr 2, 2024
7c6d2da
fix: revert inject decorators across declare
Apr 2, 2024
5ec9166
[skip ci] Add swagger.yaml
envision-ci-agent Apr 2, 2024
5d1f6be
fix: merge develop ai service
Apr 2, 2024
344154d
Merge pull request #3427 from hashgraph/main
simvalery Apr 2, 2024
cbfeca2
added change tools while importing policy
Apr 2, 2024
3b6b754
added token update endpoint
Apr 2, 2024
8253765
[skip ci] Add swagger.yaml
envision-ci-agent Apr 2, 2024
7982b6f
fix
Apr 2, 2024
5570524
fix
Apr 2, 2024
01956d4
fix
Apr 2, 2024
bcc4be6
fix
Apr 2, 2024
dbd5e06
update publishing policies script [skip ci]
Apr 2, 2024
0fec16a
feat: merge mine in package json
Apr 2, 2024
c232d04
Merge pull request #3431 from hashgraph/main
simvalery Apr 3, 2024
2115a03
fix auth for update token api
Apr 3, 2024
bf7be1d
[skip ci] Add swagger.yaml
envision-ci-agent Apr 3, 2024
80b8d28
refactoring
Apr 3, 2024
fe1783a
[skip ci] Add swagger.yaml
envision-ci-agent Apr 3, 2024
ad5c916
Merge pull request #3430 from hashgraph/feature/change-tools
Apr 3, 2024
b2c1d9d
update cdm policies [skip ci]
Apr 3, 2024
ece34c3
Merge pull request #3433 from hashgraph/main
simvalery Apr 3, 2024
11e7da5
Merge pull request #3432 from gse-atma-dev/main
simvalery Apr 3, 2024
9526072
added some tests for contracts and flow for irec4
Celiant Apr 3, 2024
505d68e
Merge branch 'develop' into automation-api-tests
Celiant Apr 3, 2024
e30d380
update status code for tests
Celiant Apr 4, 2024
0ce80ef
fix bottom margin for tools changing [skip ci]
Apr 4, 2024
63cd396
Dockerfiles revised
Pyatakov Mar 12, 2024
6960249
node image replaced with the slim version
Pyatakov Mar 13, 2024
6c28915
node version moved to arg
Pyatakov Mar 18, 2024
d65b757
Dockerfiles has been revamped to reduce the size of the final images
Pyatakov Mar 20, 2024
b3d76eb
Added/Modified .dockerignore files
Pyatakov Mar 22, 2024
ea15cf7
Optimize caching with "COPY --link"
Pyatakov Mar 22, 2024
40da2c4
Run applications as a non-root user and use init:true for containers
Pyatakov Apr 1, 2024
455bf32
Yarn cache directory defined as an argument
Pyatakov Apr 3, 2024
7ea98b8
Yarn cache fix
Pyatakov Apr 4, 2024
ae4fea3
Permissions changes
Pyatakov Apr 4, 2024
887d1b6
Base node image is changed to alpine
Pyatakov Apr 4, 2024
dbc33d3
Merge pull request #3437 from hashgraph/main
simvalery Apr 4, 2024
d6c4951
Merge pull request #3439 from hashgraph/main
simvalery Apr 4, 2024
b62f7f6
GITBOOK-136: Added Filebase docs
prernaadev01 Apr 4, 2024
e88e435
Merge pull request #3441 from hashgraph/automation-api-tests
simvalery Apr 5, 2024
cfcf86e
added bad_request const for status code
Celiant Apr 5, 2024
2d884a4
Merge pull request #3444 from hashgraph/automation-api-tests
simvalery Apr 5, 2024
67d78d0
added publishing contract file script
Apr 5, 2024
d1c3d80
fix: migrate to redict cache store
Apr 7, 2024
0c8b832
fix: merge with develop
Apr 7, 2024
6da2788
Merge branch 'develop' into feat/move-to-es-modules-develop
Apr 7, 2024
c48aa0f
Revert "Merge branch 'develop' into feat/move-to-es-modules-develop"
Apr 7, 2024
5610fa5
Revert "fix: merge with develop"
Apr 7, 2024
58f5c27
Revert "Revert "fix: merge with develop""
Apr 8, 2024
0b94e56
Revert "Revert "Merge branch 'develop' into feat/move-to-es-modules-d…
Apr 8, 2024
8836754
added nfts limit in contracts
Apr 8, 2024
7e4a366
upd contracts [skip ci]
Apr 8, 2024
943d2df
Merge pull request #3477 from hashgraph/main
simvalery Apr 8, 2024
a6a863b
fix script [skip ci]
Apr 8, 2024
d38a415
GITBOOK-137: Updated Changing Tools in UI section
prernaadev01 Apr 8, 2024
c6e5bad
Update readme.md of ML readme
prernaadev01 Apr 8, 2024
ab64b91
remove output [skip ci]
Apr 8, 2024
37c9a89
fix
Apr 9, 2024
652db07
Merge pull request #3505 from hashgraph/main
simvalery Apr 9, 2024
984b67c
Merge pull request #3507 from hashgraph/feature/contracts-publishing
Apr 9, 2024
30bdf0b
Merge pull request #3434 from hashgraph/dockerfiles-revised
simvalery Apr 9, 2024
234bd51
GITBOOK-139: Added section on how to deploy contracts using your own …
prernaadev01 Apr 9, 2024
027348c
Update readme.md
prernaadev01 Apr 9, 2024
c324052
Merge pull request #3512 from hashgraph/main
simvalery Apr 9, 2024
c521b8e
GITBOOK-140: Added Atma Scope 3 policy demo
prernaadev01 Apr 9, 2024
1b40196
GITBOOK-142: Added Dovu MMCM
prernaadev01 Apr 9, 2024
366116c
update iii.f [skip ci]
Apr 10, 2024
e93c85d
Merge branch 'main' of https://github.com/hashgraph/guardian into dev…
simvalery Apr 10, 2024
bf439e5
Merge remote-tracking branch 'origin/develop' into develop
simvalery Apr 10, 2024
f3869b6
Merge branch 'main' of https://github.com/hashgraph/guardian into dev…
simvalery Apr 10, 2024
bf32cd5
Merge branch 'main' of https://github.com/hashgraph/guardian into dev…
simvalery Apr 10, 2024
56efc15
feat: performance interceptor
Apr 10, 2024
2707a62
Merge branch 'develop' into feat/redis-service-cache-requests
Apr 10, 2024
cc48b89
cache-endpoints
simvalery Apr 10, 2024
02b6fdc
Merge branch 'main' of https://github.com/hashgraph/guardian into dev…
simvalery Apr 10, 2024
b217e8e
Merge branch 'develop' into feat/move-to-es-modules-develop
Apr 11, 2024
a5b9570
update policies [skip ci]
Apr 11, 2024
fbb8a9a
fix: extentions gulp files in description dockerfiles
Apr 11, 2024
721d44a
Merge pull request #3407 from hashgraph/feat/move-to-es-modules-develop
simvalery Apr 12, 2024
8a0dd57
update policies [skip ci]
Apr 12, 2024
a359f83
feat: wrap endpoinds in cache
Apr 11, 2024
ffb2e37
Merge branch 'develop' into feat/redis-service-cache-requests
Apr 12, 2024
99d9dc6
GITBOOK-143: added ExternalDataBlock details
prernaadev01 Apr 12, 2024
ce465ab
feat: use cache with apply decorators
Apr 16, 2024
bd29b79
fix: file name import
Apr 16, 2024
8abb4ec
fix: get user only if auth token exist
Apr 16, 2024
f1515ca
Merge pull request #3547 from hashgraph/fix/custom-logic-block-esm-fi…
simvalery Apr 17, 2024
28adc74
feat: add perf hooks in performance interceptor
Apr 17, 2024
cf17f62
fix: add express flag for projects/properties route
Apr 17, 2024
3f46d39
setup user profile
simvalery Apr 18, 2024
d170947
sign with fireblocks
simvalery Apr 18, 2024
10f94f9
user fireblocks config
simvalery Apr 18, 2024
167d657
fix serials column
Apr 18, 2024
afb7d04
Merge pull request #3557 from hashgraph/fix/serials-column
Apr 18, 2024
c643cb1
remove res where it possible and add res.locals.data
Apr 18, 2024
e3dcbec
GITBOOK-144: Added Changing of Tools during Policy import APIs added
prernaadev01 Apr 19, 2024
a4c53ba
fix fireblocks sign bug
simvalery Apr 19, 2024
2a0898f
add ui validators, add exception
simvalery Apr 19, 2024
cc322dc
temp fix validators
simvalery Apr 19, 2024
3bad07e
GITBOOK-145: Added youtube demo video for PWRM0002
prernaadev01 Apr 19, 2024
0d305f9
GITBOOK-146: Updated Guardian Introduction
prernaadev01 Apr 19, 2024
9f801bc
fix: remove cache from policies/:policyId/groups
Apr 21, 2024
43b7bed
Merge pull request #3396 from hashgraph/feat/redis-service-cache-requ…
simvalery Apr 23, 2024
f124ac9
fix
simvalery Apr 23, 2024
4667ddb
fix
simvalery Apr 23, 2024
eac9d80
Policy Preview/Import performance optimisations
Pyatakov Apr 10, 2024
f4ac86a
fixed fields parsing for compare
Stepan-Kirjakov Apr 11, 2024
c5521e6
parseConditions function improvements
Pyatakov Apr 15, 2024
3125240
fix generate xlsx
Stepan-Kirjakov Apr 24, 2024
ccffb4e
Merge pull request #3530 from hashgraph/Policy-Preview-Import-Perform…
simvalery Apr 24, 2024
0e39361
GITBOOK-147: Made some minor corrections
prernaadev01 Apr 24, 2024
05e1499
test
simvalery Apr 25, 2024
91102ec
added policy data migration
Apr 26, 2024
f8dde82
[skip ci] Add swagger.yaml
envision-ci-agent Apr 26, 2024
a08cb8b
fix
Apr 26, 2024
ddb5318
fix
Apr 26, 2024
3109c40
Merge branch 'develop' into feature/3176
Apr 26, 2024
db01b87
fix lint
Apr 26, 2024
31085c7
remove types/mime resolution
simvalery Apr 26, 2024
74d5e9c
fix
simvalery Apr 26, 2024
0e73866
Add files via upload
prernaadev01 Apr 26, 2024
b762852
fix signing
simvalery Apr 29, 2024
e8a6e69
Merge branch 'develop' into feature/fireblocks
simvalery Apr 29, 2024
187e994
fix linting
simvalery Apr 29, 2024
97d4224
fix autocomplete
simvalery Apr 29, 2024
ced4d5f
Merge pull request #3559 from hashgraph/feature/fireblocks
simvalery Apr 29, 2024
7d6438a
remove singleton from fireblocks-helper.ts
simvalery Apr 29, 2024
65b1ec6
fix
simvalery Apr 29, 2024
53438af
Merge pull request #3598 from hashgraph/feature/fireblocks
simvalery Apr 29, 2024
01c6ae5
docs: add instruction for launch cache container in readme file
Apr 30, 2024
e863632
Merge branch 'main' of https://github.com/hashgraph/guardian into dev…
simvalery Apr 30, 2024
7d6f154
Merge pull request #3599 from hashgraph/docs/add-instruction-manual-l…
simvalery Apr 30, 2024
bd6c816
bump version
simvalery Apr 30, 2024
7562755
[skip ci] Add swagger.yaml
envision-ci-agent Apr 30, 2024
ee040ad
GITBOOK-148: Added Live Project Data Migration UI
prernaadev01 Apr 30, 2024
a8944ec
GITBOOK-149: Fireblocks Docs added
prernaadev01 Apr 30, 2024
a77a9ea
added migrating retire pools and dynamic tokens
Apr 30, 2024
9f44478
[skip ci] Add swagger.yaml
envision-ci-agent Apr 30, 2024
f2fa313
fix
Apr 30, 2024
ff7e364
GITBOOK-150: ACM0001 guide added
prernaadev01 Apr 30, 2024
864a9cf
Merge branch 'develop' into feature/3176
Apr 30, 2024
3b038f0
fix lint
Apr 30, 2024
674708f
Update readme.md of ACM0001
prernaadev01 Apr 30, 2024
ac72a4b
fix
Apr 30, 2024
9190140
Merge pull request #3583 from hashgraph/feature/3176
Apr 30, 2024
0901895
GITBOOK-151: Added migration policy data APIs
prernaadev01 Apr 30, 2024
a602520
hotfix: remove cache for contract routes
Apr 30, 2024
eac5e2b
Merge branch 'develop' of github.com:hashgraph/guardian into develop
Apr 30, 2024
3d6f472
GITBOOK-152: Added redict in Prerequisites
prernaadev01 Apr 30, 2024
b9a2f13
Merge branch 'develop' of github.com:hashgraph/guardian into develop
Apr 30, 2024
814eb9f
Merge pull request #3602 from hashgraph/hotfix/remove-contrats-cache
simvalery Apr 30, 2024
9b48f49
GITBOOK-153: Added Prerequisites
prernaadev01 Apr 30, 2024
988f43a
GITBOOK-154: Added Token template to migration
prernaadev01 Apr 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ EXPOSE 3006
EXPOSE 4200
RUN npm install -g nodemon
RUN npm install -g ts-node
CMD ["node", "dev.js"]
CMD ["node", "dev.mjs"]
Binary file not shown.
116 changes: 111 additions & 5 deletions Methodology Library/CDM/CDM ACM0001/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- Key Documents & Schemas
- Token (Carbon Emisison Reduction)
- Workflow
- IPFS Timestamp
- Step-by-Step

<!-- /TOC -->
Expand Down Expand Up @@ -89,13 +88,120 @@ Certified Emission Reduction (CER) credits, each equivalent to one tonne of CO2.
## Policy Workflow

![image](https://github.com/hashgraph/guardian/assets/79293833/02c6baf0-3eec-4247-b6c1-7de60029b0fd)

### Step By Step

1. Log in as the Standard Registry and import the policy either by file or through IPFS timestamp by selecting the third button at the top right.

![image](https://github.com/hashgraph/guardian/assets/79293833/f4b27077-d4ab-4c26-8147-f154abc03d8c)

![image](https://github.com/hashgraph/guardian/assets/79293833/edf45195-a9dc-4be2-8fec-7b85ecee9d30)

![image](https://github.com/hashgraph/guardian/assets/79293833/09644fe1-cbdf-4498-9713-a1107bff4c8e)

![image](https://github.com/hashgraph/guardian/assets/79293833/ee9da057-009d-494d-b54c-52831cfbe451)

2. Once the policy has successfully imported, you will be redirected to the policy configurator. The policy configurator can be used to edit the policy using the workflow blocks. There will also be a tab for the “Tools” used within this policy as illustrated in the image below. To start using the policy you must first change the status of the policy from “Draft” to “Dry Run” or “Publish”, then select the “Register” or “Go” button. This can be done through the policy configurator page or though the “Policies” page.

![image](https://github.com/hashgraph/guardian/assets/79293833/0cdba5f4-ff13-4fa7-aa3b-9a6b20438bca)

![image](https://github.com/hashgraph/guardian/assets/79293833/8e01b989-030b-4186-bfd6-472efb6d8d5a)

![image](https://github.com/hashgraph/guardian/assets/79293833/01d23a42-781b-4fc7-b8a3-35515266bd15)

![image](https://github.com/hashgraph/guardian/assets/79293833/bb0967de-41f0-4803-839f-e6b9f5f177b3)

![image](https://github.com/hashgraph/guardian/assets/79293833/420d69b1-f925-49b4-9bcd-8f8190f630df)

3. Create a new user by clicking the “Create User” button and assign their role as “Project Participant”.

![image](https://github.com/hashgraph/guardian/assets/79293833/91c516c2-1ff3-47a6-b776-33b58c991b06)

![image](https://github.com/hashgraph/guardian/assets/79293833/001661ec-c65a-4da6-bcbf-6b525081b6a4)

![image](https://github.com/hashgraph/guardian/assets/79293833/76e07aef-a9ef-4893-89fe-173dacc3c19a)

4. The Project Participant can now provide their name or the name they would like to see reflect when registering for this project (i.e. their organization’s name).

![image](https://github.com/hashgraph/guardian/assets/79293833/10beecbf-d50d-4d2f-b74c-f3290bb6b51a)

5. Сreate a new user again and assign their role as “VVB”.

![image](https://github.com/hashgraph/guardian/assets/79293833/3cab49f3-f403-4b62-9bf4-ba4d9b7da562)

6. The VVB can now provide their name or the name they would like users to see when reviewing projects (i.e. their organization’s name).

![image](https://github.com/hashgraph/guardian/assets/79293833/a87353a7-769c-4ec7-8fab-93342686c7b6)

7. Log in as the SR and select the “Project Participants” or the “VVBs” tab to view the documents submitted by the Project Participant and by the VVB. The SR can approve their requests by clicking on the “Approve" button.

![image](https://github.com/hashgraph/guardian/assets/79293833/1e42c343-4a2b-4ac8-9fed-96ba62ff77ce)

![image](https://github.com/hashgraph/guardian/assets/79293833/2834c776-e2d1-423b-a369-d4007fcd3acf)

8. Log in as the Project Participant and create a new project by clicking on the "New Project" button. This form is used to collect information about the project, organization, and all the data needed to run the emission reduction calculations. Once all the required fields have been filled the “Create” button will turn dark blue. By selecting the “Create” button all the data will be sent to the SR for review/approval.

![image](https://github.com/hashgraph/guardian/assets/79293833/8d823f1f-b39a-4970-98c4-cae37a9721eb)

![image](https://github.com/hashgraph/guardian/assets/79293833/3c631f08-4118-467a-bbac-3e6bbbb59204)

9. Log back in as the SR and after reviewing the document located in the “Projects” tab, the SR can validate the project submitted by the Project Participant by clicking the “Validate” button. If the data does not satisfy the rules set by the SR, then the “Reject” button can be used.

![image](https://github.com/hashgraph/guardian/assets/79293833/7070f6c4-3076-48f1-a72c-dd5d6feea839)

10. Log in as the Project Participant and create a monitoring report by clicking on the “Add Report” button then fill out the monitoring report form.

![image](https://github.com/hashgraph/guardian/assets/79293833/6cd9edee-59ec-4fc4-ab37-b46db71508d7)

![image](https://github.com/hashgraph/guardian/assets/79293833/34f92cd6-e9c1-4dbd-9053-2e19c7068215)

11. After creating the monitoring report, the project participant assigns the VVB to verify it by navigating to the “Monitoring Reports” tab and selecting the dropdown under “Assign”.

![image](https://github.com/hashgraph/guardian/assets/79293833/6f3e8272-4d5a-4713-990f-dbb744e962ae)

12. Log in as the VVB and click the “Monitoring Reports” tab to review the document submitted by the Project Participant. After reviewing the monitoring report by selecting “View Document”, the VVB can select “Verify”.

![image](https://github.com/hashgraph/guardian/assets/79293833/dddd36bf-1b9a-4a7a-91e1-43e5742b2634)

13. Log in as the SR to review the monitoring report by selecting the “View Document” button in the “Monitoring Reports” tab. The SR can approve the monitoring report by selecting “Approve”. This will also trigger the minting process. You can see the minting status under “Status” change from “Minting” to “Minted”.

![image](https://github.com/hashgraph/guardian/assets/79293833/d5e340ec-4559-411c-b7de-8145a3456cbe)

14. Once the minting process is completed, you can view the token amount by navigating to the “VPs” tab.

![image](https://github.com/hashgraph/guardian/assets/79293833/21acc77c-e5dd-4aea-8482-7fdbc7388a04)

15. The TrustChain can also be viewed by clicking on the “View TrustChain” button. Please note that the token amount may show “-1/472495” when the tokens are still minting like the example provided below.

![image](https://github.com/hashgraph/guardian/assets/79293833/ce3f60f3-be3d-4fbe-a729-1fadb7fde8ab)

![image](https://github.com/hashgraph/guardian/assets/79293833/c452e666-f789-4e90-a109-052ab83bd194)

























## IPFS Timestamp

Coming Soon

### Step By Step

Coming Soon

Binary file not shown.
Binary file not shown.
Binary file modified Methodology Library/CDM/CDM ACM0007/ACM0007.policy
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
72 changes: 51 additions & 21 deletions Methodology Library/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,30 +30,60 @@ This folder contains sub folders for each Methodology and their authors (with ma
7. GCC - KrypC
8. Gold Standard Afforestation / Reforestation - Envision
9. Gold Standard Carbon Sequestration through Accelerated Carbonation of Concrete Aggregate - Envision
10. CDM ACM0007 - Envision
11. CDM AMS-II.G - Envision
12. CDM AMS-III.AR - Envision
13. CDM AMS-III.BB - Envision
14. CDM AMS-III.D - Envision
15. CDM AMS-I.D - Envision
16. CDM AR-ACM0003 - Envision
17. CDM AMS-II.J - Envision
18. CDM ACM0002 - Envision
19. CDM AMS-III.F - Envision
20. CDM AMS-III.AV - Envision
21. CDM AMS-III.H - Envision
22. CDM AMS-I.F - Envision
23. CDM AMS-I.C (Coming Soon)
24. CDM ACM0001 (Coming Soon)
25. CDM ACM0018 (Coming Soon)
26. CDM AMS-I.A (Coming Soon)
10. MMCM - Dovu
11. CDM ACM0007 - Envision
12. CDM AMS-II.G - Envision
13. CDM AMS-III.AR - Envision
14. CDM AMS-III.BB - Envision
15. CDM AMS-III.D - Envision
16. CDM AMS-I.D - Envision
17. CDM AR-ACM0003 - Envision
18. CDM AMS-II.J - Envision
19. CDM ACM0002 - Envision
20. CDM AMS-III.F - Envision
21. CDM AMS-III.AV - Envision
22. CDM AMS-III.H - Envision
23. CDM AMS-I.F - Envision
24. CDM AMS-I.C (Coming Soon)
25. CDM ACM0001 (Coming Soon)
26. CDM ACM0018 (Coming Soon)
27. CDM AMS-I.A (Coming Soon)

### Emission Policies

1. GHG Methodology - Remote Workflow - Envision
2. CET & CRU - Tymlez
3. GHG Scope II - Atma
4. GHGP Corporate Standard - Envision
5. GHGP Product Standard - Avery Dennison (Coming soon)
6. E-Mission (Coming soon)
7. EPA CFR 40 p75 - Serapis (Coming soon)
4. GHG Scope 3 - Atma
5. GHGP Corporate Standard - Envision
6. GHGP Product Standard - Avery Dennison (Coming soon)
7. E-Mission (Coming soon)
8. EPA CFR 40 p75 - Serapis (Coming soon)

### Hackathon Policies (Under Testing)

1. UrbanO2asis
2. Verra VM0048
3. GF0001
4. Puro.Earth Biochar
5. SaniChain
6. Verra VM0047 with Forward Module
7. VErra VMR0006
8. Verra VM0038 ( Electrical vehicle charging systems )
9. CDM AMS-III.Z - Sustainable Brick Manufacturing Methodology
10. SmartCookStove
11. CDM AMS-III.C
12. CDM AM0124
13. SDVISTa SDVM001 - Improved Cookstoves (ICS)
14. CDM ACM0014
15. Improved-Waste-Collection-Segregation-and-Handling (IWCSH)
16. GreenTrace
17. M/CE-R01 Circular Economy Methodology for Encouraging Plastic Recycling (MCER01)
18. Solar Positive Household Methodology
19. ZEV Ledger: Tokenization & management of ZEV credits in alignment with the "VM0038 Methodology for Electric Vehicle Charging Systems" and "Two and Three Wheeled Personal Transportation" methodologies
20. Agrify Regenerative Methodology
21. Sector-Specific Food Loss & Waste GHG Reduction Policy 1.0 (SSFLWGRP001)
22. Food Loss & Waste (International) 1.0 Methodology
23. ESG Verifier
24. Verra VM0019 Methodology
25. EcoRegen Alliance
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ If you want to manually build every component with debug information, then build
* [NodeJS V20](https://nodejs.org)
* [Yarn](https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable)
* [Nats 1.12.2](https://nats.io/)
* [Redict 7.3.0](https://redict.io/)

### Build and start each component

Expand Down
9 changes: 9 additions & 0 deletions ai-service/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.dockerignore
.env
.git
.gitignore
.npmrc
dist
Dockerfile
node_modules
npm-debug.log
99 changes: 52 additions & 47 deletions ai-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,51 +1,56 @@
FROM node:20 AS interfacesModuleBuilder
WORKDIR /usr/local/interfaces
COPY ./interfaces/package.json ./
COPY ./interfaces/tsconfig*.json ./
ADD ./interfaces/src ./src/.
RUN yarn install
RUN yarn pack

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

FROM node:20 AS apiAIServiceBuilder
WORKDIR /usr/local/ai-service
COPY --from=interfacesModuleBuilder /usr/local/interfaces/guardian-interfaces-*.tgz /tmp/interfaces.tgz
COPY --from=commonModuleBuilder /usr/local/common/guardian-common-*.tgz /tmp/common.tgz
COPY ./ai-service/package.json ./
COPY ./ai-service/tsconfig*.json ./
ADD ./ai-service/data ./data/.
ADD ./ai-service/faiss-vector ./faiss-vector/.
RUN node -e "const fs=require('fs'); const input=JSON.parse(fs.readFileSync('package.json')); input.dependencies['@guardian/interfaces']='file:/tmp/interfaces.tgz'; fs.writeFileSync('package.json', JSON.stringify(input));"
RUN node -e "const fs=require('fs'); const input=JSON.parse(fs.readFileSync('package.json')); input.dependencies['@guardian/common']='file:/tmp/common.tgz'; fs.writeFileSync('package.json', JSON.stringify(input));"

RUN yarn install
ADD ./ai-service/src ./src/.
RUN yarn run build:prod

FROM node:20
ENV PLATFORM="docker"
ENV NODE_ENV="production"
WORKDIR /usr/local/ai-service
WORKDIR /usr/local/ai-service
COPY --from=interfacesModuleBuilder /usr/local/interfaces/guardian-interfaces-*.tgz /tmp/interfaces.tgz
COPY --from=commonModuleBuilder /usr/local/common/guardian-common-*.tgz /tmp/common.tgz
COPY ./ai-service/package*.json ./
# syntax=docker/dockerfile:1
# Stage 0: Use node image for base image for all stages
ARG NODE_VERSION=20.11.1-alpine
FROM node:${NODE_VERSION} as base
WORKDIR /usr/local/app
# Define an argument `YARN_CACHE_FOLDER` for the Yarn cache directory
ARG YARN_CACHE_FOLDER=/root/.yarn

# Stage 1: Build interfaces module
FROM base as interfaces
COPY --link interfaces/package.json interfaces/tsconfig*.json yarn.lock ./
COPY --link interfaces/src src/
# Here and after. Leverage a cache mount to /root/.yarn to speed up subsequent builds
RUN --mount=type=cache,target=/root/.yarn \
yarn install --frozen-lockfile && yarn pack

# Stage 2: Build common module
FROM base as common
COPY --link --from=interfaces /usr/local/app/guardian-interfaces-*.tgz /tmp/interfaces.tgz
COPY --link common/package.json common/tsconfig*.json yarn.lock ./
COPY --link common/src src/
RUN node -e "const fs=require('fs'); const input=JSON.parse(fs.readFileSync('package.json')); input.dependencies['@guardian/interfaces']='file:/tmp/interfaces.tgz'; fs.writeFileSync('package.json', JSON.stringify(input));"
RUN node -e "const fs=require('fs'); const input=JSON.parse(fs.readFileSync('package.json')); input.dependencies['@guardian/common']='file:/tmp/common.tgz'; fs.writeFileSync('package.json', JSON.stringify(input));"
RUN --mount=type=cache,target=/root/.yarn \
yarn install && yarn pack

# Stage 3: Installing production dependecies
FROM base as deps
COPY --link --from=interfaces /usr/local/app/guardian-interfaces-*.tgz /tmp/interfaces.tgz
COPY --link --from=common /usr/local/app/guardian-common-*.tgz /tmp/common.tgz
COPY --link ai-service/package.json ai-service/tsconfig*.json yarn.lock ./
RUN node -e "const fs=require('fs'); const input=JSON.parse(fs.readFileSync('package.json')); input.dependencies['@guardian/interfaces']='file:/tmp/interfaces.tgz'; input.dependencies['@guardian/common']='file:/tmp/common.tgz'; fs.writeFileSync('package.json', JSON.stringify(input));"
RUN --mount=type=cache,target=/root/.yarn,sharing=private \
yarn install --prod

# Stage 4: Build service
FROM base as build
COPY --link --from=interfaces /usr/local/app/guardian-interfaces-*.tgz /tmp/interfaces.tgz
COPY --link --from=common /usr/local/app/guardian-common-*.tgz /tmp/common.tgz
COPY --link --from=deps /usr/local/app/package.json /usr/local/app/tsconfig*.json /usr/local/app/yarn.lock ./
COPY --link ai-service/src src/
RUN --mount=type=cache,target=/root/.yarn \
yarn install --frozen-lockfile && yarn run build:prod

# Stage 5: Create the final image
FROM base as image
ENV NODE_ENV production

RUN yarn install
COPY --from=apiAIServiceBuilder /usr/local/ai-service/dist ./dist
ADD ./ai-service/data ./data/.
ADD ./ai-service/faiss-vector ./faiss-vector/.
# Copy the production dependencies from the deps stage and the built application from the build stage into the image
COPY --link --from=deps /usr/local/app/node_modules node_modules/
COPY --link --from=deps /usr/local/app/package.json ./
COPY --link --from=build /usr/local/app/dist dist/

# Change the user to node
USER node

CMD yarn start
CMD [ "node", "dist/index.js" ]
14 changes: 6 additions & 8 deletions ai-service/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "ai-service",
"version": "2.23.1",
"version": "2.24.0",
"main": "dist/app.js",
"license": "Apache-2.0",
"dependencies": {
"@guardian/common": "^2.23.1",
"@guardian/interfaces": "^2.23.1",
"@mikro-orm/core": "5.7.12",
"@mikro-orm/mongodb": "5.7.12",
"@guardian/common": "^2.24.0",
"@guardian/interfaces": "^2.24.0",
"@mikro-orm/core": "^6.1.11",
"@mikro-orm/mongodb": "^6.1.11",
"@nestjs/common": "^9.4.1",
"@nestjs/core": "^9.4.1",
"@types/express": "^4.17.18",
Expand All @@ -32,7 +32,5 @@
"devDependencies": {
"nodemon": "^3.0.1"
},
"resolutions": {
"@types/mime": "3.0.4"
}
"type": "module"
}
11 changes: 5 additions & 6 deletions ai-service/src/ai-manager.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { FilesManager } from './helpers/files-manager-helper';
import { FilesManager } from './helpers/files-manager-helper.js';
import { FaissStore } from 'langchain/vectorstores/faiss';
import { RetrievalQAChain } from 'langchain/chains';
import { OpenAI } from 'langchain/llms/openai';
import { OpenAIConnect } from './helpers/openai-helper';
import { VectorStorage } from './helpers/vector-storage-helper';
import { AISuggestionsDB } from './helpers/ai-suggestions-db';
import { PolicyDescription } from './models/models';

import { OpenAIConnect } from './helpers/openai-helper.js';
import { VectorStorage } from './helpers/vector-storage-helper.js';
import { AISuggestionsDB } from './helpers/ai-suggestions-db.js';
import { PolicyDescription } from './models/models.js';
import * as dotenv from 'dotenv';
import { Logger, Policy, PolicyCategory } from '@guardian/common';

Expand Down
4 changes: 2 additions & 2 deletions ai-service/src/api/service/ai-suggestions-service.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ApiResponse } from '../../helpers/api-response';
import { AIManager } from '../../ai-manager';
import { ApiResponse } from '../../helpers/api-response.js';
import { AIManager } from '../../ai-manager.js';
import { MessageAPI } from '@guardian/interfaces';
import { MessageError, MessageResponse } from '@guardian/common';

Expand Down
Loading
Loading