diff --git a/api-docs/package.json b/api-docs/package.json index e35611ae3f..ae45746ab7 100644 --- a/api-docs/package.json +++ b/api-docs/package.json @@ -1,6 +1,6 @@ { "name": "api-docs", - "version": "2.13.0", + "version": "2.13.1", "description": "Swagger Documentation", "main": "dist/index.js", "scripts": { diff --git a/api-gateway/package.json b/api-gateway/package.json index fd46b4eafe..5666f2323e 100644 --- a/api-gateway/package.json +++ b/api-gateway/package.json @@ -8,8 +8,8 @@ }, "author": "Envision Blockchain Solutions ", "dependencies": { - "@guardian/common": "^2.13.0", - "@guardian/interfaces": "^2.13.0", + "@guardian/common": "^2.13.1", + "@guardian/interfaces": "^2.13.1", "@nestjs/common": "^9.4.1", "@nestjs/core": "^9.4.1", "@nestjs/microservices": "^9.4.1", @@ -63,5 +63,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.13.0" + "version": "2.13.1" } diff --git a/api-gateway/src/api/service/schema.ts b/api-gateway/src/api/service/schema.ts index 87d5b92ee9..6213c6bb29 100644 --- a/api-gateway/src/api/service/schema.ts +++ b/api-gateway/src/api/service/schema.ts @@ -365,6 +365,7 @@ export class SchemaApi { const allVersion = await guardians.getSchemasByUUID(schema.uuid); if (allVersion.findIndex(s => s.version === version) !== -1) { taskManager.addError(taskId, { code: 500, message: 'Version already exists.' }); + return; } taskManager.addStatus(taskId, 'Load schema data', StatusType.COMPLETED); await guardians.publishSchemaAsync(schemaId, version, user.did, taskId); diff --git a/api-gateway/src/app.module.ts b/api-gateway/src/app.module.ts index 7d55930733..c889d90426 100644 --- a/api-gateway/src/app.module.ts +++ b/api-gateway/src/app.module.ts @@ -28,6 +28,7 @@ import hpp from 'hpp'; import { ThemesApi } from '@api/service/themes'; import { TrustChainsOldApi } from '@api/service/trustchains'; +const JSON_REQUEST_LIMIT = process.env.JSON_REQUEST_LIMIT || '1mb'; const RAW_REQUEST_LIMIT = process.env.RAW_REQUEST_LIMIT || '1gb'; @Module({ @@ -92,6 +93,9 @@ export class AppModule { consumer.apply(authorizationHelper).forRoutes(TrustChainsApi); consumer.apply(authorizationHelper).forRoutes(WizardApi); + consumer.apply(express.json({ + limit: JSON_REQUEST_LIMIT + })).forRoutes('*'); consumer.apply(express.raw({ inflate: true, limit: RAW_REQUEST_LIMIT, diff --git a/api-gateway/src/app.ts b/api-gateway/src/app.ts index 1a74460044..2697ec0b01 100644 --- a/api-gateway/src/app.ts +++ b/api-gateway/src/app.ts @@ -26,7 +26,8 @@ const PORT = process.env.PORT || 3002; Promise.all([ NestFactory.create(AppModule, { - rawBody: true + rawBody: true, + bodyParser: false }), MessageBrokerChannel.connect('API_GATEWAY'), ]).then(async ([app, cn]) => { diff --git a/api-tests/package.json b/api-tests/package.json index f6ece1c6f4..3de6d0d5ab 100644 --- a/api-tests/package.json +++ b/api-tests/package.json @@ -1,6 +1,6 @@ { "name": "api-tests", - "version": "2.13.0", + "version": "2.13.1", "description": "API Tests", "main": "index.js", "scripts": { diff --git a/auth-service/package.json b/auth-service/package.json index 339a25c040..90391029e4 100644 --- a/auth-service/package.json +++ b/auth-service/package.json @@ -6,8 +6,8 @@ }, "author": "Envision Blockchain Solutions ", "dependencies": { - "@guardian/common": "^2.13.0", - "@guardian/interfaces": "^2.13.0", + "@guardian/common": "^2.13.1", + "@guardian/interfaces": "^2.13.1", "@mikro-orm/core": "~5.7.7", "@mikro-orm/mongodb": "~5.7.7", "@nestjs/common": "^9.4.1", @@ -53,5 +53,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.13.0" + "version": "2.13.1" } diff --git a/common/package.json b/common/package.json index fcf2f7a652..7cf40325f5 100644 --- a/common/package.json +++ b/common/package.json @@ -4,7 +4,7 @@ "@aws-sdk/client-secrets-manager": "^3.319.0", "@azure/identity": "^3.2.2", "@azure/keyvault-secrets": "^4.7.0", - "@guardian/interfaces": "^2.13.0", + "@guardian/interfaces": "^2.13.1", "@hashgraph/sdk": "^2.24.2", "@mattrglobal/jsonld-signatures-bbs": "^1.1.2", "@meeco/cryppo": "^2.0.2", @@ -64,5 +64,5 @@ "test:local": "mocha tests/**/*.test.js --exit", "test:stability": "mocha tests/stability.test.js" }, - "version": "2.13.0" + "version": "2.13.1" } diff --git a/configs/.env..guardian.system b/configs/.env..guardian.system index 37dcc1cb91..7e9904ada1 100644 --- a/configs/.env..guardian.system +++ b/configs/.env..guardian.system @@ -13,19 +13,19 @@ HEDERA_NET="testnet" PREUSED_HEDERA_NET="testnet" # TESTNET -OPERATOR_ID="..." -OPERATOR_KEY="..." +OPERATOR_ID="0.0.10295" +OPERATOR_KEY="302e020100300506032b65700422042022c85d6c64bda64aa458cf715314c5469b3b84c58690470f5289cbada3af8dfb" INITIALIZATION_TOPIC_ID="0.0.2030" # # LOCALNODE # LOCALNODE_ADDRESS="..." # LOCALNODE_PROTOCOL="http" # OPERATOR_ID="0.0.2" -# OPERATOR_KEY="302e020100300506032b65700422042091132178e72057a1d7528025956fe39b0b847f200ab59b2fdd367017f3087137" +# OPERATOR_KEY="302e020100300506032b65700422042091132178e72057a1d7528025956fe39b0b847f200ab59b2fdd367017f3087137" # # PREVIEWNET -# OPERATOR_ID="..." -# OPERATOR_KEY="..." +# OPERATOR_ID="..." +# OPERATOR_KEY="..." # INITIALIZATION_TOPIC_ID="0.0.155110" SEND_KEYS_TO_VAULT="TRUE" @@ -63,11 +63,11 @@ REFRESH_INTERVAL="60" IPFS_TIMEOUT="720" IPFS_PROVIDER="web3storage" # 'web3storage' or 'local' IPFS_PUBLIC_GATEWAY='https://ipfs.io/ipfs/${cid}' -IPFS_STORAGE_API_KEY="..." +IPFS_STORAGE_API_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkaWQ6ZXRocjoweDZhY0FFMmM3QjA5ODdCMjU1ZGZFMjMxZTA0YzI5NDZBZWI0YzE5NkQiLCJpc3MiOiJ3ZWIzLXN0b3JhZ2UiLCJpYXQiOjE2NjAwNzIyNzg4MDgsIm5hbWUiOiJ0ZXN0In0.vzt0-vBlbKiUSeyBZ6i3qTBKVMR3RL7CnkEXVNqvSH4" IPFS_NODE_ADDRESS="http://ipfs-node:5002" #BATCH_NFT_MINT_SIZE=10 -# FE/DEMO +# FE/DEMO # -------------- INITIAL_BALANCE="100" INITIAL_STANDARD_REGISTRY_BALANCE="100" @@ -87,4 +87,3 @@ BBS_SIGNATURES_MODE="WASM" # MQ_MESSAGE_CHUNK=5000000 # RAW_REQUEST_LIMIT="1gb" # JSON_REQUEST_LIMIT="1mb" - diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index ed5c0861dd..39fe90f46c 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -69,18 +69,20 @@ * [Importing Schema from IPFS](schema-related-apis-for-asynchronous-execution/importing-schema-from-ipfs.md) * [Importing Schema from .zip](schema-related-apis-for-asynchronous-execution/importing-schema-from-.zip.md) * [β„Ή Schema Versioning & Deprecation Policy](versioning-and-deprecation-policy/schema-versioning-and-deprecation-policy.md) - * [πŸ’» Schema Differentiation using UI](guardian/standard-registry/schemas/schema-differentiation-using-ui.md) - * [βš™ Schema Differentiation APIs](guardian/standard-registry/schemas/schema-differentiation-apis/README.md) - * [Returns Result of Schema comparison](guardian/standard-registry/schemas/schema-differentiation-apis/returns-result-of-schema-comparison.md) - * [Exports Schema Differentiation Results](guardian/standard-registry/schemas/schema-differentiation-apis/exports-schema-differentiation-results.md) - * [πŸ’» Creating Tag Schemas using UI](guardian/standard-registry/schemas/creating-tag-schemas-using-ui.md) - * [βš™ Schema Tags APIs](guardian/standard-registry/schemas/schema-tags-apis/README.md) - * [Returning all Schema Tags](guardian/standard-registry/schemas/schema-tags-apis/returning-all-schema-tags.md) - * [Creating new Schema Tag](guardian/standard-registry/schemas/schema-tags-apis/creating-new-schema-tag.md) - * [Deleting Schema Tag](guardian/standard-registry/schemas/schema-tags-apis/deleting-schema-tag.md) - * [Updating Schema Tag](guardian/standard-registry/schemas/schema-tags-apis/updating-schema-tag.md) - * [Publishing Schema](guardian/standard-registry/schemas/schema-tags-apis/publishing-schema.md) - * [Returning list of published schemas](guardian/standard-registry/schemas/schema-tags-apis/returning-list-of-published-schemas.md) + * [πŸ“ Schema Differentiation](guardian/standard-registry/schemas/schema-differentiation/README.md) + * [πŸ’» Schema Differentiation using UI](guardian/standard-registry/schemas/schema-differentiation/schema-differentiation-using-ui.md) + * [βš™ 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) + * [πŸ“ 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) + * [Returning all Schema Tags](guardian/standard-registry/schemas/tag-schema/schema-tags-apis/returning-all-schema-tags.md) + * [Creating new Schema Tag](guardian/standard-registry/schemas/tag-schema/schema-tags-apis/creating-new-schema-tag.md) + * [Deleting Schema Tag](guardian/standard-registry/schemas/tag-schema/schema-tags-apis/deleting-schema-tag.md) + * [Updating Schema Tag](guardian/standard-registry/schemas/tag-schema/schema-tags-apis/updating-schema-tag.md) + * [Publishing Schema](guardian/standard-registry/schemas/tag-schema/schema-tags-apis/publishing-schema.md) + * [Returning list of published schemas](guardian/standard-registry/schemas/tag-schema/schema-tags-apis/returning-list-of-published-schemas.md) * [πŸ›  Policies](guardian/standard-registry/policies/README.md) * [πŸŽ“ Policy Glossary](user-guide-glossary/policy-glossary.md) * [β„Ή Policy Versioning & Deprecation Policy](versioning-and-deprecation-policy/policy-versioning-and-deprecation-policy.md) @@ -177,17 +179,18 @@ * [Make the selected Group active](policy-creation-using-the-guardian-apis/make-the-selected-group-active.md) * [Creating link between policies](guardian/standard-registry/policies/creating-a-policy-using-apis/creating-link-between-policies.md) * [Requesting Multi Policy Config](guardian/standard-registry/policies/creating-a-policy-using-apis/requesting-multi-policy-config.md) - * [πŸ’» Dry Run Mode using UI](dry-run-demo/demo-guide-on-dry-run-operations.md) - * [βš™ Dry Run Mode using APIs](guardian/standard-registry/policies/dry-run-mode-using-apis/README.md) - * [Running Policy without making any changes](dry-run-apis/running-policy-without-making-any-changes.md) - * [Returning all Virtual Users](dry-run-apis/returning-all-virtual-users.md) - * [Creating Virtual Account](dry-run-apis/creating-virtual-account.md) - * [Logging Virtual User](dry-run-apis/logging-virtual-user.md) - * [Restarting the execution of Policy](dry-run-apis/restarting-the-execution-of-policy.md) - * [Returns List of Transactions](dry-run-apis/returns-list-of-transactions.md) - * [Returns List of Artifacts](dry-run-apis/returns-list-of-artifacts.md) - * [Returns List of IPFS Files](dry-run-apis/returns-list-of-ipfs-files.md) - * [Returning Policy to Editing](dry-run-apis/returning-policy-to-editing.md) + * [πŸ“ Dry Run](guardian/standard-registry/policies/dry-run/README.md) + * [πŸ’» Dry Run Mode using UI](guardian/standard-registry/policies/dry-run/demo-guide-on-dry-run-operations.md) + * [βš™ Dry Run Mode using APIs](guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/README.md) + * [Running Policy without making any changes](guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/running-policy-without-making-any-changes.md) + * [Returning all Virtual Users](guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/returning-all-virtual-users.md) + * [Creating Virtual Account](guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/creating-virtual-account.md) + * [Logging Virtual User](guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/logging-virtual-user.md) + * [Restarting the execution of Policy](guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/restarting-the-execution-of-policy.md) + * [Returns List of Transactions](guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/returns-list-of-transactions.md) + * [Returns List of Artifacts](guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/returns-list-of-artifacts.md) + * [Returns List of IPFS Files](guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/returns-list-of-ipfs-files.md) + * [Returning Policy to Editing](guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/returning-policy-to-editing.md) * [βš™ APIs for Asynchronous Execution](guardian/tokens/token-operations/apis-for-asynchronous-execution/README.md) * [Creates new Policy](policy-related-apis-for-asynchronous-execution/creates-new-policy.md) * [Publishing a Policy](policy-related-apis-for-asynchronous-execution/publishing-a-policy.md) @@ -196,45 +199,49 @@ * [Policy Review](policy-related-apis-for-asynchronous-execution/policy-review.md) * [πŸ’» Creating Roles and Groups using Policy Configurator UI](multi-user-roles/roles-and-groups.md) * [πŸ’» Configuring Multi Policy using UI](guardian/standard-registry/policies/page-1.md) - * [πŸ’» Policy Differentiation using UI](guardian/standard-registry/policies/policy-differentiation-using-ui.md) - * [βš™ Policy Differentiation APIs](guardian/standard-registry/policies/policy-differentiation-apis/README.md) - * [Returns result of Policy comparison](guardian/standard-registry/policies/policy-differentiation-apis/returns-result-of-policy-comparison.md) - * [Exports Comparison results](guardian/standard-registry/policies/policy-differentiation-apis/exports-comparison-results.md) - * [πŸ’» Modules using UI](guardian/standard-registry/policies/modules-using-ui.md) - * [βš™ Modules APIs](guardian/standard-registry/policies/modules-apis/README.md) - * [Returns all Modules](guardian/standard-registry/policies/modules-apis/returns-all-modules.md) - * [Creating new Module](guardian/standard-registry/policies/modules-apis/creating-new-module.md) - * [Returns Module Menu](guardian/standard-registry/policies/modules-apis/returns-module-menu.md) - * [Retrieves Module Configuration](guardian/standard-registry/policies/modules-apis/retrieves-module-configuration.md) - * [Updates Module Configuration](guardian/standard-registry/policies/modules-apis/updates-module-configuration.md) - * [Delete the Module](guardian/standard-registry/policies/modules-apis/delete-the-module.md) - * [Publishing Module onto IPFS](guardian/standard-registry/policies/modules-apis/publishing-module-onto-ipfs.md) - * [Returns Hedera ID for specific Module](guardian/standard-registry/policies/modules-apis/returns-hedera-id-for-specific-module.md) - * [Exporting Module in zip format](guardian/standard-registry/policies/modules-apis/exporting-module-in-zip-format.md) - * [Import Module from IPFS](guardian/standard-registry/policies/modules-apis/import-module-from-ipfs.md) - * [Import module from zip file](guardian/standard-registry/policies/modules-apis/import-module-from-zip-file.md) - * [Preview Module from IPFS](guardian/standard-registry/policies/modules-apis/preview-module-from-ipfs.md) - * [Preview Module from zip file](guardian/standard-registry/policies/modules-apis/preview-module-from-zip-file.md) - * [Validates Module](guardian/standard-registry/policies/modules-apis/validates-module.md) - * [πŸ’» Tagging using UI](guardian/standard-registry/policies/tagging-using-ui.md) - * [βš™ Tagging APIs](guardian/standard-registry/policies/tagging-apis/README.md) - * [Creating Tag](guardian/standard-registry/policies/tagging-apis/creating-tag.md) - * [Searching Tag](guardian/standard-registry/policies/tagging-apis/searching-tag.md) - * [Deleting Tag](guardian/standard-registry/policies/tagging-apis/deleting-tag.md) - * [Synchronization of tags](guardian/standard-registry/policies/tagging-apis/synchronization-of-tags.md) - * [πŸ’» Themes using UI](guardian/standard-registry/policies/themes-using-ui.md) - * [βš™ Themes APIs](guardian/standard-registry/policies/themes-apis/README.md) - * [Returning all themes](guardian/standard-registry/policies/themes-apis/returning-all-themes.md) - * [Creating theme](guardian/standard-registry/policies/themes-apis/creating-theme.md) - * [Updating theme Configuration](guardian/standard-registry/policies/themes-apis/updating-theme-configuration.md) - * [Deleting theme](guardian/standard-registry/policies/themes-apis/deleting-theme.md) - * [Returning zip file containing themes](guardian/standard-registry/policies/themes-apis/returning-zip-file-containing-themes.md) - * [Importing theme](guardian/standard-registry/policies/themes-apis/importing-theme.md) - * [πŸ’» Demo on Integrating external policies using UI](guardian/standard-registry/policies/demo-on-integrating-external-policies-using-ui.md) - * [πŸ’» Demo on Policy Wizard using UI](guardian/standard-registry/policies/demo-on-policy-wizard-using-ui.md) - * [βš™ Policy Wizard APIs](guardian/standard-registry/policies/policy-wizard-apis/README.md) - * [Creating new Policy](guardian/standard-registry/policies/policy-wizard-apis/creating-new-policy.md) - * [Getting Policy Configuration](guardian/standard-registry/policies/policy-wizard-apis/getting-policy-configuration.md) + * [πŸ“ Policy Differentiation](guardian/standard-registry/policies/policy-differentiation/README.md) + * [πŸ’» Policy Differentiation using UI](guardian/standard-registry/policies/policy-differentiation/policy-differentiation-using-ui.md) + * [βš™ Policy Differentiation APIs](guardian/standard-registry/policies/policy-differentiation/policy-differentiation-apis/README.md) + * [Returns result of Policy comparison](guardian/standard-registry/policies/policy-differentiation/policy-differentiation-apis/returns-result-of-policy-comparison.md) + * [Exports Comparison results](guardian/standard-registry/policies/policy-differentiation/policy-differentiation-apis/exports-comparison-results.md) + * [πŸ“ Modules](guardian/standard-registry/policies/modules/README.md) + * [πŸ’» Modules using UI](guardian/standard-registry/policies/modules/modules-using-ui.md) + * [βš™ Modules APIs](guardian/standard-registry/policies/modules/modules-apis/README.md) + * [Returns all Modules](guardian/standard-registry/policies/modules/modules-apis/returns-all-modules.md) + * [Creating new Module](guardian/standard-registry/policies/modules/modules-apis/creating-new-module.md) + * [Returns Module Menu](guardian/standard-registry/policies/modules/modules-apis/returns-module-menu.md) + * [Retrieves Module Configuration](guardian/standard-registry/policies/modules/modules-apis/retrieves-module-configuration.md) + * [Updates Module Configuration](guardian/standard-registry/policies/modules/modules-apis/updates-module-configuration.md) + * [Delete the Module](guardian/standard-registry/policies/modules/modules-apis/delete-the-module.md) + * [Publishing Module onto IPFS](guardian/standard-registry/policies/modules/modules-apis/publishing-module-onto-ipfs.md) + * [Returns Hedera ID for specific Module](guardian/standard-registry/policies/modules/modules-apis/returns-hedera-id-for-specific-module.md) + * [Exporting Module in zip format](guardian/standard-registry/policies/modules/modules-apis/exporting-module-in-zip-format.md) + * [Import Module from IPFS](guardian/standard-registry/policies/modules/modules-apis/import-module-from-ipfs.md) + * [Import module from zip file](guardian/standard-registry/policies/modules/modules-apis/import-module-from-zip-file.md) + * [Preview Module from IPFS](guardian/standard-registry/policies/modules/modules-apis/preview-module-from-ipfs.md) + * [Preview Module from zip file](guardian/standard-registry/policies/modules/modules-apis/preview-module-from-zip-file.md) + * [Validates Module](guardian/standard-registry/policies/modules/modules-apis/validates-module.md) + * [πŸ“ Tagging](guardian/standard-registry/policies/tagging/README.md) + * [πŸ’» Tagging using UI](guardian/standard-registry/policies/tagging/tagging-using-ui.md) + * [βš™ Tagging APIs](guardian/standard-registry/policies/tagging/tagging-apis/README.md) + * [Creating Tag](guardian/standard-registry/policies/tagging/tagging-apis/creating-tag.md) + * [Searching Tag](guardian/standard-registry/policies/tagging/tagging-apis/searching-tag.md) + * [Deleting Tag](guardian/standard-registry/policies/tagging/tagging-apis/deleting-tag.md) + * [Synchronization of tags](guardian/standard-registry/policies/tagging/tagging-apis/synchronization-of-tags.md) + * [πŸ“ Themes](guardian/standard-registry/policies/themes/README.md) + * [πŸ’» Themes using UI](guardian/standard-registry/policies/themes/themes-using-ui.md) + * [βš™ Themes APIs](guardian/standard-registry/policies/themes/themes-apis/README.md) + * [Returning all themes](guardian/standard-registry/policies/themes/themes-apis/returning-all-themes.md) + * [Creating theme](guardian/standard-registry/policies/themes/themes-apis/creating-theme.md) + * [Updating theme Configuration](guardian/standard-registry/policies/themes/themes-apis/updating-theme-configuration.md) + * [Deleting theme](guardian/standard-registry/policies/themes/themes-apis/deleting-theme.md) + * [Returning zip file containing themes](guardian/standard-registry/policies/themes/themes-apis/returning-zip-file-containing-themes.md) + * [Importing theme](guardian/standard-registry/policies/themes/themes-apis/importing-theme.md) + * [πŸ“ Policy Wizard](guardian/standard-registry/policies/policy-wizard/README.md) + * [πŸ’» Demo on Policy Wizard using UI](guardian/standard-registry/policies/policy-wizard/demo-on-policy-wizard-using-ui.md) + * [βš™ Policy Wizard APIs](guardian/standard-registry/policies/policy-wizard/policy-wizard-apis/README.md) + * [Creating new Policy](guardian/standard-registry/policies/policy-wizard/policy-wizard-apis/creating-new-policy.md) + * [Getting Policy Configuration](guardian/standard-registry/policies/policy-wizard/policy-wizard-apis/getting-policy-configuration.md) * [πŸ“” Library of Policy Examples](guardian/standard-registry/policies/library-of-policy-examples/README.md) * [πŸ’» Creating and using Roles](guardian/standard-registry/policies/library-of-policy-examples/creating-and-using-roles.md) * [πŸ”’ Data input via Forms, using Roles to partition user activities.](guardian/standard-registry/policies/library-of-policy-examples/data-input-via-forms-using-roles-to-partition-user-activities..md) @@ -242,6 +249,7 @@ * [πŸ”Ž MRV Document Operations](guardian/standard-registry/policies/library-of-policy-examples/mrv-document-operations.md) * [β›“ TrustChain reports](guardian/standard-registry/policies/library-of-policy-examples/trustchain-reports.md) * [βž— MRV aggregation and splitting for minting tokens](guardian/standard-registry/policies/library-of-policy-examples/mrv-aggregation-and-splitting-for-minting-tokens.md) + * [πŸ’» Demo on Integrating external policies using UI](guardian/standard-registry/policies/demo-on-integrating-external-policies-using-ui.md) * [πŸ“” Retirement Contract](guardian/standard-registry/retirement-contract/README.md) * [πŸ’» Creating / Importing Contract UI](guardian/standard-registry/retirement-contract/creating-importing-contract-ui.md) * [πŸ’» Creating Token Pair UI](guardian/standard-registry/retirement-contract/creating-token-pair-ui.md) @@ -259,7 +267,8 @@ * [Returning all contract requests](guardian/standard-registry/retirement-contract/retirement-apis/returning-all-contract-requests.md) * [Deleting Contract Requests](guardian/standard-registry/retirement-contract/retirement-apis/deleting-contract-requests.md) * [Retiring Tokens](guardian/standard-registry/retirement-contract/retirement-apis/retiring-tokens.md) - * [πŸ” Selective Disclosure Demo](guardian/standard-registry/selective-disclosure-demo.md) + * [πŸ”‘ Selective Disclosure](guardian/standard-registry/selective-disclosure/README.md) + * [πŸ” Selective Disclosure Demo](guardian/standard-registry/selective-disclosure/selective-disclosure-demo.md) * [πŸ“’ Artifacts](guardian/standard-registry/artifacts/README.md) * [πŸ’» Importing/Deleting Artifacts using UI](artifacts-demo/how-to-import-delete-artifacts.md) * [βš™ Artifacts APIs](guardian/standard-registry/artifacts/artifacts-apis/README.md) diff --git a/docs/guardian/standard-registry/artifacts/README.md b/docs/guardian/standard-registry/artifacts/README.md index c779289a08..c8f518eb98 100644 --- a/docs/guardian/standard-registry/artifacts/README.md +++ b/docs/guardian/standard-registry/artifacts/README.md @@ -1,2 +1,59 @@ # πŸ“’ Artifacts +Artifacts can be represented as JSON files. JSON (JavaScript Object Notation) is a lightweight data-interchange format that is widely used for storing and exchanging structured data. + +**Policy JSON File**: This file represents a policy and contains information such as the policy name, description, conditions, actions, parameters, and any associated metadata. It defines the rules and logic that need to be enforced. For example: + +``` +{ + "name": "Access Control Policy", + "description": "Controls access to sensitive data", + "conditions": { + "userRole": "admin", + "location": "internal" + }, + "actions": { + "blockAccess": true + }, + "parameters": { + "expirationDate": "2023-06-30" + }, + "metadata": { + "createdBy": "John Doe", + "createdOn": "2023-05-31" + } +} + +``` + +**Workflow JSON File**: This file represents a workflow and defines the sequence of tasks or actions to be performed. It includes information such as task names, dependencies, triggers, and any associated data or parameters. For example: + +``` +{ + "name": "Employee Onboarding Workflow", + "tasks": [ + { + "name": "Assign Manager", + "dependencies": [], + "actions": [ + { + "type": "assignUser", + "user": "manager1" + } + ] + }, + { + "name": "Send Welcome Email", + "dependencies": ["Assign Manager"], + "actions": [ + { + "type": "sendEmail", + "to": "employee@example.com", + "subject": "Welcome to the company!" + } + ] + } + ] +} + +``` diff --git a/docs/guardian/standard-registry/policies/README.md b/docs/guardian/standard-registry/policies/README.md index 3369c681b0..7fadad611d 100644 --- a/docs/guardian/standard-registry/policies/README.md +++ b/docs/guardian/standard-registry/policies/README.md @@ -1,2 +1,5 @@ # πŸ›  Policies +The process to create credit or offset claims can be validated and verified to be turned into a product that is called measurement, reporting, and verification data, also known as MRV data. Today, this process of collecting the supporting data for these carbon credits or offsets is heavily manual and prone to errors due to poor data quality, a lack of assurance, potential double counting, greenwashing, and an overall lack of trust. This is where Guardian, which leverages a Policy Workflow Engine, ameliorates the issue with the current processes. The dynamic Policy Workflow Engine can mirror the standards and business requirements of regulatory bodies. + +A Policy Workflow Engine is a software application that manages business processes based on business rules and business data which are defined within the context of a specific policy. A policy workflow engine, therefore, manages and monitors the state of required policy actions and the required information flow in a policy grouped into a policy workflow, and determines which are the next policy actions based on the state of a policy workflow. The policy actions may be anything from saving an application form in a document management system to sending a reminder e-mail to users or escalating overdue items to management. Policy Workflow Blocks enable different business logic to exist within the Guardian’s policy workflow engine. diff --git a/docs/guardian/standard-registry/policies/dry-run/README.md b/docs/guardian/standard-registry/policies/dry-run/README.md new file mode 100644 index 0000000000..c2d6b10de0 --- /dev/null +++ b/docs/guardian/standard-registry/policies/dry-run/README.md @@ -0,0 +1,5 @@ +# πŸ“ Dry Run + +Dry Run mode refers to a feature that allows users to simulate the execution of policies or workflows without actually applying any changes or triggering actions in the live environment. It enables users to test and evaluate the behavior and outcomes of policies or workflows in a controlled manner before implementing them in a production environment. + +This offers a safe and controlled environment for testing, validation, and optimization of policies or workflows. It enables users to assess the behavior and outcomes of policies without affecting live data or systems. By utilizing the dry run mode, users can enhance the reliability, accuracy, and performance of policies or workflows within the Guardian system. diff --git a/docs/dry-run-demo/demo-guide-on-dry-run-operations.md b/docs/guardian/standard-registry/policies/dry-run/demo-guide-on-dry-run-operations.md similarity index 78% rename from docs/dry-run-demo/demo-guide-on-dry-run-operations.md rename to docs/guardian/standard-registry/policies/dry-run/demo-guide-on-dry-run-operations.md index b4849dfda4..c15e7d9735 100644 --- a/docs/dry-run-demo/demo-guide-on-dry-run-operations.md +++ b/docs/guardian/standard-registry/policies/dry-run/demo-guide-on-dry-run-operations.md @@ -10,15 +10,15 @@ There are different ways to start the Dry Run Mode after importing Policy. When the Policy is imported, its in Draft status by default. This status can be seen in the Status/Actions column. To change the Draft status to Dry Run status, click on the drop down arrow and select **Dry Run** option. -![](../.gitbook/assets/dr1.png) +![](../../../../.gitbook/assets/dr1.png) -![](../.gitbook/assets/dr2.png) +![](../../../../.gitbook/assets/dr2.png) #### 1.2 From Policy Configurator Page: When imported Policy is opened for editing, there's an option of changing the Policy status from Draft to Dry Run. The Dry Run option can be selected by clicking on drop down arrow and selecting **Dry Run** option as shown below: -![](../.gitbook/assets/dr3.png) +![](../../../../.gitbook/assets/dr3.png) #### 1.3 By calling the API @@ -28,7 +28,7 @@ Dry Run mode can be started by calling the following API: PUT: /api/v1/policies/{policyId}/dry-run ``` -To get complete information on the above API, please check : [#dry-run-policy](../dry-run-apis/running-policy-without-making-any-changes.md#dry-run-policy "mention") +To get complete information on the above API, please check : [#dry-run-policy](dry-run-mode-using-apis/running-policy-without-making-any-changes.md#dry-run-policy "mention") ### 2. Exit Dry Run and return to Draft status @@ -38,13 +38,13 @@ There are different ways to exit from Dry Run to Draft mode. Policy, which are in the Dry Run status, can be changed to Draft/Publish state by selecting respective option from the drop down arrow. To change the Policy status to Draft, please select **Stop** option and to change the Policy status to Publish, please select **Publish** option. -![](../.gitbook/assets/dr4.png) +![](../../../../.gitbook/assets/dr4.png) #### 2.2 From the Policy Configurator Page Policy status can be changed from Dry Run to Draft/Publish by selecting from the drop down option in Policy Configurator Page. -![](../.gitbook/assets/dr5.png) +![](../../../../.gitbook/assets/dr5.png) #### 2.3 By calling the API @@ -54,7 +54,7 @@ Dry Run mode can be exited to Draft status by calling following API: PUT: /api/v1/policies/{policyId}/draft ``` -To get complete information on the above API, please check : [#return-policy-to-editing](../dry-run-apis/returning-policy-to-editing.md#return-policy-to-editing "mention") +To get complete information on the above API, please check : [#return-policy-to-editing](dry-run-mode-using-apis/returning-policy-to-editing.md#return-policy-to-editing "mention") ### 3. Opening of a running Policy in Dry Run mode @@ -64,13 +64,13 @@ There are two ways to open the Policy in Dry Run mode: To open the Policy in Dry Run mode, click on a **Go** button in the Operation column. -![](../.gitbook/assets/dr6.png) +![](../../../../.gitbook/assets/dr6.png) #### 3.2 From the Policy Configurator Page There's a **Go** option in Policy Configurator page to view the Policy in Dry Run mode. -![](../.gitbook/assets/dr7.png) +![](../../../../.gitbook/assets/dr7.png) ### 4. Policy Instance @@ -78,7 +78,7 @@ There's a **Go** option in Policy Configurator page to view the Policy in Dry Ru This option is used to navigate back to the Policy Configurator page to edit the Policy in Dry Run mode. -![](../.gitbook/assets/dr8.png) +![](../../../../.gitbook/assets/dr8.png) #### 4.2 Restart @@ -88,7 +88,7 @@ Restart is used to reset the state of the Policy by removing all the records for By clicking on **Restart** button, which is located beside View Config. -![](../.gitbook/assets/dr9.png) +![](../../../../.gitbook/assets/dr9.png) #### 4.2.2 By calling the API @@ -98,7 +98,7 @@ Restart can also be performed by calling the following API: POST: /api/v1/policies/{policyId}/dry-run/restart ``` -To get complete information on above API, please check :[#restarts-the-execution-of-the-policy](../dry-run-apis/restarting-the-execution-of-policy.md#restarts-the-execution-of-the-policy "mention") +To get complete information on above API, please check :[#restarts-the-execution-of-the-policy](dry-run-mode-using-apis/restarting-the-execution-of-policy.md#restarts-the-execution-of-the-policy "mention") #### 4.3 Create User @@ -108,7 +108,7 @@ The system provides a facility for the creation of β€˜virtual’ users to enable Virtual User can be created by clicking on **Create User** button as shown below: -![](../.gitbook/assets/dr10.png) +![](../../../../.gitbook/assets/dr10.png) #### 4.3.2 By calling an API @@ -118,7 +118,7 @@ Virtual User for Dry Run can also be created by calling following API: POST: /api/v1/policies/{policyId}/dry-run/user ``` -To get complete information on the above API, please check : [#create-a-new-virtual-account](../dry-run-apis/creating-virtual-account.md#create-a-new-virtual-account "mention") +To get complete information on the above API, please check : [#create-a-new-virtual-account](dry-run-mode-using-apis/creating-virtual-account.md#create-a-new-virtual-account "mention") #### 4.4 Users @@ -130,7 +130,7 @@ Virtual user can be selected in multiple ways: Virtual user can be selected by clicking on respective users in the drop down list as shown below: -![](../.gitbook/assets/dr11.png) +![](../../../../.gitbook/assets/dr11.png) #### 4.4.2 By calling the API @@ -140,13 +140,13 @@ Virtual user also can be selected by calling the following API: POST: /api/v1/policies/{policyId}/dry-run/login ``` -To get complete information on above API, please check : [#logs-virtual-user-into-the-system](../dry-run-apis/logging-virtual-user.md#logs-virtual-user-into-the-system "mention") +To get complete information on above API, please check : [#logs-virtual-user-into-the-system](dry-run-mode-using-apis/logging-virtual-user.md#logs-virtual-user-into-the-system "mention") #### 4.5 Policy View This option is used to view complete Policy with its tabs in it. -![](<../.gitbook/assets/Screen Shot 2022-08-15 at 12.21.49 PM.png>) +![](<../../../../.gitbook/assets/Screen Shot 2022-08-15 at 12.21.49 PM.png>) #### 4.6 Transactions @@ -158,7 +158,7 @@ These transactions can be viewed in different ways: All the transactions can be viewed by clicking on **Transactions** tab as shown below: -![](../.gitbook/assets/dr13.png) +![](../../../../.gitbook/assets/dr13.png) #### 4.6.2 By calling an API @@ -168,7 +168,7 @@ Transactions can also be viewed by calling the following API: GET: /api/v1/policies/{policyId}/dry-run/transactions?pageIndex=0&pageSize=100 ``` -To get more information on the above API, please check:[#returns-lists-of-virtual-transactions](../dry-run-apis/returns-list-of-transactions.md#returns-lists-of-virtual-transactions "mention") +To get more information on the above API, please check:[#returns-lists-of-virtual-transactions](dry-run-mode-using-apis/returns-list-of-transactions.md#returns-lists-of-virtual-transactions "mention") #### 4.7 Artifacts @@ -180,7 +180,7 @@ These Artifacts can be viewed in different ways: All the Artifacts can be viewed by clicking on **Artifacts** option as shown below: -![](../.gitbook/assets/dr14.png) +![](../../../../.gitbook/assets/dr14.png) #### 4.7.2 By calling an API @@ -190,7 +190,7 @@ We can also view Artifacts list by calling the following API: GET: /api/v1/policies/{policyId}/dry-run/artifacts?pageIndex=0&pageSize=100 ``` -To get complete information on the above API, please check : [#returns-lists-of-virtual-artifacts](../dry-run-apis/returns-list-of-artifacts.md#returns-lists-of-virtual-artifacts "mention") +To get complete information on the above API, please check : [#returns-lists-of-virtual-artifacts](dry-run-mode-using-apis/returns-list-of-artifacts.md#returns-lists-of-virtual-artifacts "mention") #### 4.8 IPFS @@ -202,7 +202,7 @@ There are different ways to view the list of files: To view the list of the files, that will be stored in IPFS, click on **IPFS** option as shown below: -![](../.gitbook/assets/dr15.png) +![](../../../../.gitbook/assets/dr15.png) #### 4.8.2 By calling an API @@ -212,4 +212,4 @@ The IPFS files list can also be viewed by calling the following API: GET: /api/v1/policies/{policyId}/dry-run/ipfs?pageIndex=0&pageSize=100 ``` -To get complete information on above API, please check : [#returns-lists-of-ipfs-files.](../dry-run-apis/returns-list-of-ipfs-files.md#returns-lists-of-ipfs-files. "mention") +To get complete information on above API, please check : [#returns-lists-of-ipfs-files.](dry-run-mode-using-apis/returns-list-of-ipfs-files.md#returns-lists-of-ipfs-files. "mention") diff --git a/docs/guardian/standard-registry/policies/dry-run-mode-using-apis/README.md b/docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/README.md similarity index 100% rename from docs/guardian/standard-registry/policies/dry-run-mode-using-apis/README.md rename to docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/README.md diff --git a/docs/dry-run-apis/creating-virtual-account.md b/docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/creating-virtual-account.md similarity index 100% rename from docs/dry-run-apis/creating-virtual-account.md rename to docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/creating-virtual-account.md diff --git a/docs/dry-run-apis/logging-virtual-user.md b/docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/logging-virtual-user.md similarity index 100% rename from docs/dry-run-apis/logging-virtual-user.md rename to docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/logging-virtual-user.md diff --git a/docs/dry-run-apis/restarting-the-execution-of-policy.md b/docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/restarting-the-execution-of-policy.md similarity index 100% rename from docs/dry-run-apis/restarting-the-execution-of-policy.md rename to docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/restarting-the-execution-of-policy.md diff --git a/docs/dry-run-apis/returning-all-virtual-users.md b/docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/returning-all-virtual-users.md similarity index 100% rename from docs/dry-run-apis/returning-all-virtual-users.md rename to docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/returning-all-virtual-users.md diff --git a/docs/dry-run-apis/returning-policy-to-editing.md b/docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/returning-policy-to-editing.md similarity index 100% rename from docs/dry-run-apis/returning-policy-to-editing.md rename to docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/returning-policy-to-editing.md diff --git a/docs/dry-run-apis/returns-list-of-artifacts.md b/docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/returns-list-of-artifacts.md similarity index 100% rename from docs/dry-run-apis/returns-list-of-artifacts.md rename to docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/returns-list-of-artifacts.md diff --git a/docs/dry-run-apis/returns-list-of-ipfs-files.md b/docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/returns-list-of-ipfs-files.md similarity index 100% rename from docs/dry-run-apis/returns-list-of-ipfs-files.md rename to docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/returns-list-of-ipfs-files.md diff --git a/docs/dry-run-apis/returns-list-of-transactions.md b/docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/returns-list-of-transactions.md similarity index 100% rename from docs/dry-run-apis/returns-list-of-transactions.md rename to docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/returns-list-of-transactions.md diff --git a/docs/dry-run-apis/running-policy-without-making-any-changes.md b/docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/running-policy-without-making-any-changes.md similarity index 100% rename from docs/dry-run-apis/running-policy-without-making-any-changes.md rename to docs/guardian/standard-registry/policies/dry-run/dry-run-mode-using-apis/running-policy-without-making-any-changes.md diff --git a/docs/guardian/standard-registry/policies/modules/README.md b/docs/guardian/standard-registry/policies/modules/README.md new file mode 100644 index 0000000000..0273619a81 --- /dev/null +++ b/docs/guardian/standard-registry/policies/modules/README.md @@ -0,0 +1,5 @@ +# πŸ“ Modules + +Modules refer to distinct and reusable units of functionality that can be utilized within the system. Modules are designed to encapsulate specific sets of features or capabilities, allowing for modular and flexible development of policies, workflows, and other functionalities. + +Modules are designed to promote reusability, modularity, and extensibility. They provide a structured and organized approach to developing policies, workflows, and associated functionalities. By leveraging modules, users can build on existing components, enhance functionality, and adapt the system to specific requirements more efficiently. diff --git a/docs/guardian/standard-registry/policies/modules-apis/README.md b/docs/guardian/standard-registry/policies/modules/modules-apis/README.md similarity index 100% rename from docs/guardian/standard-registry/policies/modules-apis/README.md rename to docs/guardian/standard-registry/policies/modules/modules-apis/README.md diff --git a/docs/guardian/standard-registry/policies/modules-apis/creating-new-module.md b/docs/guardian/standard-registry/policies/modules/modules-apis/creating-new-module.md similarity index 100% rename from docs/guardian/standard-registry/policies/modules-apis/creating-new-module.md rename to docs/guardian/standard-registry/policies/modules/modules-apis/creating-new-module.md diff --git a/docs/guardian/standard-registry/policies/modules-apis/delete-the-module.md b/docs/guardian/standard-registry/policies/modules/modules-apis/delete-the-module.md similarity index 100% rename from docs/guardian/standard-registry/policies/modules-apis/delete-the-module.md rename to docs/guardian/standard-registry/policies/modules/modules-apis/delete-the-module.md diff --git a/docs/guardian/standard-registry/policies/modules-apis/exporting-module-in-zip-format.md b/docs/guardian/standard-registry/policies/modules/modules-apis/exporting-module-in-zip-format.md similarity index 100% rename from docs/guardian/standard-registry/policies/modules-apis/exporting-module-in-zip-format.md rename to docs/guardian/standard-registry/policies/modules/modules-apis/exporting-module-in-zip-format.md diff --git a/docs/guardian/standard-registry/policies/modules-apis/import-module-from-ipfs.md b/docs/guardian/standard-registry/policies/modules/modules-apis/import-module-from-ipfs.md similarity index 100% rename from docs/guardian/standard-registry/policies/modules-apis/import-module-from-ipfs.md rename to docs/guardian/standard-registry/policies/modules/modules-apis/import-module-from-ipfs.md diff --git a/docs/guardian/standard-registry/policies/modules-apis/import-module-from-zip-file.md b/docs/guardian/standard-registry/policies/modules/modules-apis/import-module-from-zip-file.md similarity index 100% rename from docs/guardian/standard-registry/policies/modules-apis/import-module-from-zip-file.md rename to docs/guardian/standard-registry/policies/modules/modules-apis/import-module-from-zip-file.md diff --git a/docs/guardian/standard-registry/policies/modules-apis/preview-module-from-ipfs.md b/docs/guardian/standard-registry/policies/modules/modules-apis/preview-module-from-ipfs.md similarity index 100% rename from docs/guardian/standard-registry/policies/modules-apis/preview-module-from-ipfs.md rename to docs/guardian/standard-registry/policies/modules/modules-apis/preview-module-from-ipfs.md diff --git a/docs/guardian/standard-registry/policies/modules-apis/preview-module-from-zip-file.md b/docs/guardian/standard-registry/policies/modules/modules-apis/preview-module-from-zip-file.md similarity index 100% rename from docs/guardian/standard-registry/policies/modules-apis/preview-module-from-zip-file.md rename to docs/guardian/standard-registry/policies/modules/modules-apis/preview-module-from-zip-file.md diff --git a/docs/guardian/standard-registry/policies/modules-apis/publishing-module-onto-ipfs.md b/docs/guardian/standard-registry/policies/modules/modules-apis/publishing-module-onto-ipfs.md similarity index 100% rename from docs/guardian/standard-registry/policies/modules-apis/publishing-module-onto-ipfs.md rename to docs/guardian/standard-registry/policies/modules/modules-apis/publishing-module-onto-ipfs.md diff --git a/docs/guardian/standard-registry/policies/modules-apis/retrieves-module-configuration.md b/docs/guardian/standard-registry/policies/modules/modules-apis/retrieves-module-configuration.md similarity index 100% rename from docs/guardian/standard-registry/policies/modules-apis/retrieves-module-configuration.md rename to docs/guardian/standard-registry/policies/modules/modules-apis/retrieves-module-configuration.md diff --git a/docs/guardian/standard-registry/policies/modules-apis/returns-all-modules.md b/docs/guardian/standard-registry/policies/modules/modules-apis/returns-all-modules.md similarity index 100% rename from docs/guardian/standard-registry/policies/modules-apis/returns-all-modules.md rename to docs/guardian/standard-registry/policies/modules/modules-apis/returns-all-modules.md diff --git a/docs/guardian/standard-registry/policies/modules-apis/returns-hedera-id-for-specific-module.md b/docs/guardian/standard-registry/policies/modules/modules-apis/returns-hedera-id-for-specific-module.md similarity index 100% rename from docs/guardian/standard-registry/policies/modules-apis/returns-hedera-id-for-specific-module.md rename to docs/guardian/standard-registry/policies/modules/modules-apis/returns-hedera-id-for-specific-module.md diff --git a/docs/guardian/standard-registry/policies/modules-apis/returns-module-menu.md b/docs/guardian/standard-registry/policies/modules/modules-apis/returns-module-menu.md similarity index 100% rename from docs/guardian/standard-registry/policies/modules-apis/returns-module-menu.md rename to docs/guardian/standard-registry/policies/modules/modules-apis/returns-module-menu.md diff --git a/docs/guardian/standard-registry/policies/modules-apis/updates-module-configuration.md b/docs/guardian/standard-registry/policies/modules/modules-apis/updates-module-configuration.md similarity index 100% rename from docs/guardian/standard-registry/policies/modules-apis/updates-module-configuration.md rename to docs/guardian/standard-registry/policies/modules/modules-apis/updates-module-configuration.md diff --git a/docs/guardian/standard-registry/policies/modules-apis/validates-module.md b/docs/guardian/standard-registry/policies/modules/modules-apis/validates-module.md similarity index 100% rename from docs/guardian/standard-registry/policies/modules-apis/validates-module.md rename to docs/guardian/standard-registry/policies/modules/modules-apis/validates-module.md diff --git a/docs/guardian/standard-registry/policies/modules-using-ui.md b/docs/guardian/standard-registry/policies/modules/modules-using-ui.md similarity index 73% rename from docs/guardian/standard-registry/policies/modules-using-ui.md rename to docs/guardian/standard-registry/policies/modules/modules-using-ui.md index 657aa6ef0f..182b716d87 100644 --- a/docs/guardian/standard-registry/policies/modules-using-ui.md +++ b/docs/guardian/standard-registry/policies/modules/modules-using-ui.md @@ -10,47 +10,47 @@ Policy Modules are large-scale components of the policy containing multiple bloc Modules are managed via the corresponding page in the Policies section. -![image1.png](<../../../.gitbook/assets/0 (1).png>) +![image1.png](<../../../../.gitbook/assets/0 (1).png>) #### **1.1 Creating Modules** Modules can be created via the Modules management page in the Guardian UI by clicking on **Create New** button as shown below: -![image2.png](<../../../.gitbook/assets/1 (1) (2).png>) +![image2.png](<../../../../.gitbook/assets/1 (1) (2).png>) Modules can also be created via the Policy editor UI in two ways: 1. By clicking on Create New Module button, 2. Converting policy to Module. -![image3.png](<../../../.gitbook/assets/2 (5).png>) +![image3.png](<../../../../.gitbook/assets/2 (6).png>) -![image4.png](<../../../.gitbook/assets/3 (2).png>) +![image4.png](<../../../../.gitbook/assets/3 (2).png>) #### 1.2 Module Import Modules can be imported from local file system or from IPFS via messageIds. -
+
-
+
#### 1.3 Module Export Modules can be exported as files or/and β€˜published’ into IPFS. For published modules users can retrieve its messageId which can serve as a reference for import elsewhere. -![image7.png](<../../../.gitbook/assets/6 (2).png>) +![image7.png](<../../../../.gitbook/assets/6 (5).png>) -![image8.png](<../../../.gitbook/assets/7 (1).png>) +![image8.png](<../../../../.gitbook/assets/7 (1).png>) #### 1.4 Deleting Module Modules which have not been published can be deleted. -![image9.png](<../../../.gitbook/assets/8 (1).png>) +![image9.png](<../../../../.gitbook/assets/8 (1).png>) #### 1.5 Editing Modules Modules which have not been published can be edited. -![image10.png](<../../../.gitbook/assets/9 (4).png>) +![image10.png](<../../../../.gitbook/assets/9 (6).png>) ### 2. Using Modules @@ -58,13 +58,13 @@ Modules which have not been published can be edited. The β€˜insides’ of modules are isolated from the rest of Policy it may be embedded into. The external view of a module is represented by _**Variables**_ and _**Input\Output Events**_, which serve as an interface of the Module and transmit data into and out of the module. -
+
#### 2.1.1 Generic Structure Generic structure of Modules is the same as Policies, most of the functionality used for creation of Policies can be used in Modules. -
+
#### 2.1.2 Variables @@ -72,15 +72,15 @@ Variable are part of the external interface of Modules, they are used to represe **Creating variables:** -![image13.png](<../../../.gitbook/assets/12 (1).png>) +![image13.png](<../../../../.gitbook/assets/12 (1).png>) **Using variables inside modules:** -![image14.png](<../../../.gitbook/assets/13 (1).png>) +![image14.png](<../../../../.gitbook/assets/13 (1).png>) **Assigning values to the (module) variables in Policy:** -![image15.png](<../../../.gitbook/assets/14 (4).png>) +![image15.png](<../../../../.gitbook/assets/14 (4).png>) #### 2.1.3 Input\Output Events @@ -88,11 +88,11 @@ Similarly to Variables, Input\Output Events are the second part of the interface **Input Events** – incoming events into the module. For the rest of the Policy this is the ingress endpoint for the module, from inside the module this is the point where all events appear to be generated. -![image16.png](<../../../.gitbook/assets/15 (3).png>) +![image16.png](<../../../../.gitbook/assets/15 (3).png>) **Output Events** – outgoing events from the module. From the rest of the policy this looks like the point of events generation, while inside the module this is the event sink. -![image17.png](<../../../.gitbook/assets/16 (3).png>) +![image17.png](<../../../../.gitbook/assets/16 (3).png>) ### 2.2 Using Modules in the Policy @@ -100,19 +100,19 @@ Similarly to Variables, Input\Output Events are the second part of the interface Saved modules can be found in the left-hand panel in the Modules section of the UI. They can be used similarly to the ordinary Policy blocks. -![image18.png](<../../../.gitbook/assets/17 (3).png>) +![image18.png](<../../../../.gitbook/assets/17 (3).png>) #### 2.2.2 Creating new modules In the Policy Editor new modules can be created similarly to creating of a new block. -![image19.png](<../../../.gitbook/assets/18 (3).png>) +![image19.png](<../../../../.gitbook/assets/18 (3).png>) #### 2.2.3 Transforming blocks into modules Selected block can be transformed into a module together with all its child components and events. -![image20.png](<../../../.gitbook/assets/19 (4).png>) +![image20.png](<../../../../.gitbook/assets/19 (4).png>) {% hint style="info" %} **Important Note**: Settings for roles, tokens, schemas and topics, as well as events which are external for the block will be lost during the conversion. @@ -126,4 +126,4 @@ Module added to the policy can be freely edited and changed. Module can be opene Modules added or created in the policy are β€˜instances’ of the module and can only exist inside the policy until they are explicitly saved which adds them to the module library. -
+
diff --git a/docs/guardian/standard-registry/policies/policy-differentiation/README.md b/docs/guardian/standard-registry/policies/policy-differentiation/README.md new file mode 100644 index 0000000000..aac6f478e0 --- /dev/null +++ b/docs/guardian/standard-registry/policies/policy-differentiation/README.md @@ -0,0 +1,3 @@ +# πŸ“ Policy Differentiation + +Policy differentiation refers to the process of distinguishing and categorizing policies based on their characteristics, attributes, or purposes. It involves identifying and defining unique aspects of policies to classify and manage them effectively within the system. diff --git a/docs/guardian/standard-registry/policies/policy-differentiation-apis/README.md b/docs/guardian/standard-registry/policies/policy-differentiation/policy-differentiation-apis/README.md similarity index 100% rename from docs/guardian/standard-registry/policies/policy-differentiation-apis/README.md rename to docs/guardian/standard-registry/policies/policy-differentiation/policy-differentiation-apis/README.md diff --git a/docs/guardian/standard-registry/policies/policy-differentiation-apis/exports-comparison-results.md b/docs/guardian/standard-registry/policies/policy-differentiation/policy-differentiation-apis/exports-comparison-results.md similarity index 100% rename from docs/guardian/standard-registry/policies/policy-differentiation-apis/exports-comparison-results.md rename to docs/guardian/standard-registry/policies/policy-differentiation/policy-differentiation-apis/exports-comparison-results.md diff --git a/docs/guardian/standard-registry/policies/policy-differentiation-apis/returns-result-of-policy-comparison.md b/docs/guardian/standard-registry/policies/policy-differentiation/policy-differentiation-apis/returns-result-of-policy-comparison.md similarity index 100% rename from docs/guardian/standard-registry/policies/policy-differentiation-apis/returns-result-of-policy-comparison.md rename to docs/guardian/standard-registry/policies/policy-differentiation/policy-differentiation-apis/returns-result-of-policy-comparison.md diff --git a/docs/guardian/standard-registry/policies/policy-differentiation-using-ui.md b/docs/guardian/standard-registry/policies/policy-differentiation/policy-differentiation-using-ui.md similarity index 90% rename from docs/guardian/standard-registry/policies/policy-differentiation-using-ui.md rename to docs/guardian/standard-registry/policies/policy-differentiation/policy-differentiation-using-ui.md index 28cd4b0799..26cc5e0854 100644 --- a/docs/guardian/standard-registry/policies/policy-differentiation-using-ui.md +++ b/docs/guardian/standard-registry/policies/policy-differentiation/policy-differentiation-using-ui.md @@ -6,17 +6,17 @@ We can now perform a detailed comparison between two policies. To compare the policies, we need to click on **Compare** button in the policies tab as shown below: -
+
When Compare button is clicked, we get a pop up to select policies, which we want to perform comparison off. -
+
## 2. Comparison Result We have several different sections in our comparison screen including filter parameters: -
+
### 2.1 Comparison Parameters @@ -63,9 +63,9 @@ There are different sections in the comparison such as We have several Display settings in Policy Blocks section: -
+
-
+
**Display Settings:** description and show/hide settings for each color/type of difference: @@ -78,4 +78,4 @@ We have several Display settings in Policy Blocks section: Block comparison displays can be unfolded to display a detailed view of the block Properties. -
+
diff --git a/docs/guardian/standard-registry/policies/policy-wizard/README.md b/docs/guardian/standard-registry/policies/policy-wizard/README.md new file mode 100644 index 0000000000..fda2e2ef3c --- /dev/null +++ b/docs/guardian/standard-registry/policies/policy-wizard/README.md @@ -0,0 +1,3 @@ +# πŸ“ Policy Wizard + +The policy wizard in the Guardian policy workflow engine simplifies and streamlines the process of creating, configuring, or modifying policies. It provides a user-friendly interface, validation checks, and contextual help to guide users through the policy creation process. By using the policy wizard, users can efficiently create and manage policies without needing extensive knowledge of the underlying technical details. diff --git a/docs/guardian/standard-registry/policies/demo-on-policy-wizard-using-ui.md b/docs/guardian/standard-registry/policies/policy-wizard/demo-on-policy-wizard-using-ui.md similarity index 70% rename from docs/guardian/standard-registry/policies/demo-on-policy-wizard-using-ui.md rename to docs/guardian/standard-registry/policies/policy-wizard/demo-on-policy-wizard-using-ui.md index 3793085e1c..263d941c23 100644 --- a/docs/guardian/standard-registry/policies/demo-on-policy-wizard-using-ui.md +++ b/docs/guardian/standard-registry/policies/policy-wizard/demo-on-policy-wizard-using-ui.md @@ -4,11 +4,11 @@ There are two ways to open Policy Wizard: 1. Click on Policy Wizard button from Policies Tab as shown below: -
+
2. Open from the Policy Configurator page: -
+
## 4 step process to complete Policy Wizard: @@ -16,7 +16,7 @@ There are two ways to open Policy Wizard: This step allows users to setup policy information such as name, description, policy tag and topic description. -
+
### Policy Roles: @@ -26,7 +26,7 @@ This step provides facilities to manage policy roles. Created Roles can be delet **Note:** Owner is the default policy role (Policy Owner) and cannot be deleted. {% endhint %} -
+
### 3. Policy Schemas @@ -34,7 +34,7 @@ This step allows facilities to manage schemas in the policy by selecting schemas #### 3.1 {schema} configuration -
+
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. @@ -48,11 +48,11 @@ If **Approve and Reject** and **Minting tokens** are set to _enable_ the corresp Note: We can select multiple schemas by entering the schemas names separated by a delimiter: ",". {% endhint %} -
+
#### 3.1.1 {role} configuration -
+
This step allows: @@ -62,13 +62,13 @@ This step allows: ### 4. TrustChain -
+
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 -
+
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’. @@ -76,7 +76,7 @@ In this step, Users can choose a minting schema which will be displayed on the t 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. -
+
{% hint style="info" %} **Note:** @@ -87,5 +87,5 @@ After the policy in the wizard is configured, users can click on β€˜Create’ an 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. -
+
diff --git a/docs/guardian/standard-registry/policies/policy-wizard-apis/README.md b/docs/guardian/standard-registry/policies/policy-wizard/policy-wizard-apis/README.md similarity index 100% rename from docs/guardian/standard-registry/policies/policy-wizard-apis/README.md rename to docs/guardian/standard-registry/policies/policy-wizard/policy-wizard-apis/README.md diff --git a/docs/guardian/standard-registry/policies/policy-wizard-apis/creating-new-policy.md b/docs/guardian/standard-registry/policies/policy-wizard/policy-wizard-apis/creating-new-policy.md similarity index 100% rename from docs/guardian/standard-registry/policies/policy-wizard-apis/creating-new-policy.md rename to docs/guardian/standard-registry/policies/policy-wizard/policy-wizard-apis/creating-new-policy.md diff --git a/docs/guardian/standard-registry/policies/policy-wizard-apis/getting-policy-configuration.md b/docs/guardian/standard-registry/policies/policy-wizard/policy-wizard-apis/getting-policy-configuration.md similarity index 100% rename from docs/guardian/standard-registry/policies/policy-wizard-apis/getting-policy-configuration.md rename to docs/guardian/standard-registry/policies/policy-wizard/policy-wizard-apis/getting-policy-configuration.md diff --git a/docs/guardian/standard-registry/policies/tagging/README.md b/docs/guardian/standard-registry/policies/tagging/README.md new file mode 100644 index 0000000000..14429d1f8f --- /dev/null +++ b/docs/guardian/standard-registry/policies/tagging/README.md @@ -0,0 +1,11 @@ +# πŸ“ Tagging + +Tagging refers to the practice of attaching descriptive labels or metadata to policies, workflows, tasks, or other artifacts within the system. Tags provide a way to categorize, organize, and search for specific artifacts based on their characteristics or attributes. + +Key aspects of using Tagging: + +* Categorization and Organization +* Search and Filtering +* Customization and Flexibility +* Reporting and Analytics +* Collaboration and Communication diff --git a/docs/guardian/standard-registry/policies/tagging-apis/README.md b/docs/guardian/standard-registry/policies/tagging/tagging-apis/README.md similarity index 100% rename from docs/guardian/standard-registry/policies/tagging-apis/README.md rename to docs/guardian/standard-registry/policies/tagging/tagging-apis/README.md diff --git a/docs/guardian/standard-registry/policies/tagging-apis/creating-tag.md b/docs/guardian/standard-registry/policies/tagging/tagging-apis/creating-tag.md similarity index 100% rename from docs/guardian/standard-registry/policies/tagging-apis/creating-tag.md rename to docs/guardian/standard-registry/policies/tagging/tagging-apis/creating-tag.md diff --git a/docs/guardian/standard-registry/policies/tagging-apis/deleting-tag.md b/docs/guardian/standard-registry/policies/tagging/tagging-apis/deleting-tag.md similarity index 100% rename from docs/guardian/standard-registry/policies/tagging-apis/deleting-tag.md rename to docs/guardian/standard-registry/policies/tagging/tagging-apis/deleting-tag.md diff --git a/docs/guardian/standard-registry/policies/tagging-apis/searching-tag.md b/docs/guardian/standard-registry/policies/tagging/tagging-apis/searching-tag.md similarity index 100% rename from docs/guardian/standard-registry/policies/tagging-apis/searching-tag.md rename to docs/guardian/standard-registry/policies/tagging/tagging-apis/searching-tag.md diff --git a/docs/guardian/standard-registry/policies/tagging-apis/synchronization-of-tags.md b/docs/guardian/standard-registry/policies/tagging/tagging-apis/synchronization-of-tags.md similarity index 100% rename from docs/guardian/standard-registry/policies/tagging-apis/synchronization-of-tags.md rename to docs/guardian/standard-registry/policies/tagging/tagging-apis/synchronization-of-tags.md diff --git a/docs/guardian/standard-registry/policies/tagging-using-ui.md b/docs/guardian/standard-registry/policies/tagging/tagging-using-ui.md similarity index 85% rename from docs/guardian/standard-registry/policies/tagging-using-ui.md rename to docs/guardian/standard-registry/policies/tagging/tagging-using-ui.md index 866f034b4a..d77f320090 100644 --- a/docs/guardian/standard-registry/policies/tagging-using-ui.md +++ b/docs/guardian/standard-registry/policies/tagging/tagging-using-ui.md @@ -49,44 +49,44 @@ Document objects which can be attached to Schemas, Policies, Modules, Tokens, DI Tags can be created by clicking on "Create Tag" button. -![Create Tag button](../../../.gitbook/assets/0.png) +![Create Tag button](../../../../.gitbook/assets/0.png) Tag can be created with label and the description as shown below: -![Label and Description ](<../../../.gitbook/assets/1 (5).png>) +![Label and Description ](<../../../../.gitbook/assets/1 (6).png>) An additional document can be added/linked with the tag using _**Add Document** button and then selecting a suitable document schema_ -![Adding Document](<../../../.gitbook/assets/2 (1) (2).png>) +![Adding Document](<../../../../.gitbook/assets/2 (1) (2).png>) #### **2.2 Remove** Users (DIDs) who created a tag are able to remove it later. -![Removing Tags](<../../../.gitbook/assets/3 (1).png>) +![Removing Tags](<../../../../.gitbook/assets/3 (1).png>) #### **2.3 View** For documents displayed in the grid only the first (alphabetically) tag is shown. -![Documents display](<../../../.gitbook/assets/4 (1) (3).png>) +![Documents display](<../../../../.gitbook/assets/4 (1) (3).png>) Users can click on the tag icon to show the detailed information about all tag assigned to the document. -![All the tags assigned to the document](<../../../.gitbook/assets/5 (1).png>) +![All the tags assigned to the document](<../../../../.gitbook/assets/5 (1).png>) Tags are grounded by labels. When a label is selected then a detailed information about all tags with this label is displayed below. -![detailed information about the tags](<../../../.gitbook/assets/6 (1).png>) +![detailed information about the tags](<../../../../.gitbook/assets/6 (1).png>) #### **2.4 History** Tags which have been imported with the Policy or Schema are marked as _**History.**_ These tags are not directly relevant to the new objects and are displayed for the convenience of the user (policy author). These historic tags are neither synchronized nor published when the new objects are published. -![History tags](<../../../.gitbook/assets/7 (2).png>) +![History tags](<../../../../.gitbook/assets/7 (2).png>) #### **2.5 Tag updates (synchronization)** Any credentialed entity can create/remove a tag on any object at any point of time independently from the Guardian instance where this tagable object (document etc) has been created. This presents a challenge for displaying the up-to-date state of 3rd party tags associated with the object, since continuous search and import/updates of such tags can affect UI responsiveness and general UX. Guardian users can refresh (or β€˜pull’) 3rd party tags and update their display in their local Guardian instance by clicking on the corresponding icon (highlighted on the screenshot below). -![synchronization icon](<../../../.gitbook/assets/8 (1) (1).png>) +![synchronization icon](<../../../../.gitbook/assets/8 (1) (1).png>) diff --git a/docs/guardian/standard-registry/policies/themes/README.md b/docs/guardian/standard-registry/policies/themes/README.md new file mode 100644 index 0000000000..c0c21c74a9 --- /dev/null +++ b/docs/guardian/standard-registry/policies/themes/README.md @@ -0,0 +1,3 @@ +# πŸ“ Themes + +Themes play a significant role in the visual presentation and user experience of the system. They allow users to customize and tailor the interface according to their preferences, branding guidelines, and accessibility requirements. Themes contribute to a visually appealing, user-friendly, and consistent user interface, enhancing the overall usability and satisfaction of Guardian users. diff --git a/docs/guardian/standard-registry/policies/themes-apis/README.md b/docs/guardian/standard-registry/policies/themes/themes-apis/README.md similarity index 100% rename from docs/guardian/standard-registry/policies/themes-apis/README.md rename to docs/guardian/standard-registry/policies/themes/themes-apis/README.md diff --git a/docs/guardian/standard-registry/policies/themes-apis/creating-theme.md b/docs/guardian/standard-registry/policies/themes/themes-apis/creating-theme.md similarity index 100% rename from docs/guardian/standard-registry/policies/themes-apis/creating-theme.md rename to docs/guardian/standard-registry/policies/themes/themes-apis/creating-theme.md diff --git a/docs/guardian/standard-registry/policies/themes-apis/deleting-theme.md b/docs/guardian/standard-registry/policies/themes/themes-apis/deleting-theme.md similarity index 100% rename from docs/guardian/standard-registry/policies/themes-apis/deleting-theme.md rename to docs/guardian/standard-registry/policies/themes/themes-apis/deleting-theme.md diff --git a/docs/guardian/standard-registry/policies/themes-apis/importing-theme.md b/docs/guardian/standard-registry/policies/themes/themes-apis/importing-theme.md similarity index 100% rename from docs/guardian/standard-registry/policies/themes-apis/importing-theme.md rename to docs/guardian/standard-registry/policies/themes/themes-apis/importing-theme.md diff --git a/docs/guardian/standard-registry/policies/themes-apis/returning-all-themes.md b/docs/guardian/standard-registry/policies/themes/themes-apis/returning-all-themes.md similarity index 100% rename from docs/guardian/standard-registry/policies/themes-apis/returning-all-themes.md rename to docs/guardian/standard-registry/policies/themes/themes-apis/returning-all-themes.md diff --git a/docs/guardian/standard-registry/policies/themes-apis/returning-zip-file-containing-themes.md b/docs/guardian/standard-registry/policies/themes/themes-apis/returning-zip-file-containing-themes.md similarity index 100% rename from docs/guardian/standard-registry/policies/themes-apis/returning-zip-file-containing-themes.md rename to docs/guardian/standard-registry/policies/themes/themes-apis/returning-zip-file-containing-themes.md diff --git a/docs/guardian/standard-registry/policies/themes-apis/updating-theme-configuration.md b/docs/guardian/standard-registry/policies/themes/themes-apis/updating-theme-configuration.md similarity index 100% rename from docs/guardian/standard-registry/policies/themes-apis/updating-theme-configuration.md rename to docs/guardian/standard-registry/policies/themes/themes-apis/updating-theme-configuration.md diff --git a/docs/guardian/standard-registry/policies/themes-using-ui.md b/docs/guardian/standard-registry/policies/themes/themes-using-ui.md similarity index 71% rename from docs/guardian/standard-registry/policies/themes-using-ui.md rename to docs/guardian/standard-registry/policies/themes/themes-using-ui.md index 0e6a946c98..5da785333f 100644 --- a/docs/guardian/standard-registry/policies/themes-using-ui.md +++ b/docs/guardian/standard-registry/policies/themes/themes-using-ui.md @@ -10,19 +10,19 @@ Block’s display style is determined by their matching of the criteria defined Policy Configurator contains a section, it can be navigated to by clicking the corresponding button named **Settings** in the top panel. -
+
-
+
{% hint style="info" %} _**Note**: users must click β€˜**Save**’ button to preserve the changes to the theme after edits as shown below:_ {% endhint %} -
+
#### **1.1 Menu actions** -![image4.png](<../../../.gitbook/assets/3 (6).png>) +![image4.png](<../../../../.gitbook/assets/3 (6).png>) * Create new theme * Copy selected theme @@ -42,39 +42,39 @@ The matching and styling algorithm is as follows: * If/when the block satisfied more than one rule all styles are β€˜merged’ and applied to the block resulting in the multi-colored blocks. * If/when the block does not match any of the rules’ criteria the default style is applied to the block. Default style always exist in every theme. -
+
**1.2.1 Adding new rules** New rules can be added by clicking on **Create Rule** button. -

Adding new Rules

+

Adding new Rules

**1.2.2 Removing rules** Rules can be removed by clicking on remove icon as shown below: -
+
**1.2.3 Default rule** This rule is applied if and only if no other rules’ conditions matches the Block. -![](<../../../.gitbook/assets/7 (5).png>) +![](<../../../../.gitbook/assets/7 (5).png>) **1.2.4 Conditions** -
+
Multiple types of conditions can be used in rule definitions * Types – allows matching based on the type of the block -![](<../../../.gitbook/assets/9 (4) (1).png>) +![](<../../../../.gitbook/assets/9 (4) (1).png>) * Roles – allows matching based on block permissions, i.e. based on the roles to whom the blocks are accessible -
+
{% hint style="info" %} **Note:** @@ -84,7 +84,7 @@ _roles are dynamic variables in policies (i.e. policies can define arbitrary num * API – allows matching based on the API-level access to the block -![](<../../../.gitbook/assets/11 (6).png>) +![](<../../../../.gitbook/assets/11 (6).png>) * GET & POST – block can be access with GET and POST HTTP requests * Only GET – block can only be accessed via GET API method @@ -94,7 +94,7 @@ _roles are dynamic variables in policies (i.e. policies can define arbitrary num Style definitions in rules defined text color and text background color, line (shape) color, form and thickness. -![](<../../../.gitbook/assets/12 (5).png>) +![](<../../../../.gitbook/assets/12 (5).png>) {% hint style="info" %} **Note:** @@ -102,15 +102,15 @@ Style definitions in rules defined text color and text background color, line (s _In the case when multiple theme rules are applied to the block (when multiple rule criteria matched the block) only the background color is β€˜merged’ resulting in the multi-colored (stripy) block appearance. For all other style parameters the definitions from the first matching rule are used._ {% endhint %} -![](<../../../.gitbook/assets/13 (5).png>) +![](<../../../../.gitbook/assets/13 (5).png>) -![](<../../../.gitbook/assets/14 (5).png>) +![](<../../../../.gitbook/assets/14 (5).png>) **1.2.6 Description** Description – is a textual description of the rule. It is displayed next to the explainer drop down in the Policy Configurator. -![](<../../../.gitbook/assets/15 (4) (1).png>) +![](<../../../../.gitbook/assets/15 (4) (1).png>) ### **2. Using themes** @@ -118,12 +118,12 @@ Description – is a textual description of the rule. It is displayed next to th Themes can be selected from the drop down button as shown below: -
+
**2.2 Explainer drop-down :** We are able to see all the defined settings in policy configurator screen. -![](<../../../.gitbook/assets/17 (4).png>) +![](<../../../../.gitbook/assets/17 (4).png>) Explainer drop-down button is highlighted as shown below: -![](<../../../.gitbook/assets/18 (4).png>) +![](<../../../../.gitbook/assets/18 (4).png>) diff --git a/docs/guardian/standard-registry/schemas/README.md b/docs/guardian/standard-registry/schemas/README.md index fc0b6639d4..a67ca08a1b 100644 --- a/docs/guardian/standard-registry/schemas/README.md +++ b/docs/guardian/standard-registry/schemas/README.md @@ -1,2 +1,5 @@ # πŸ›  Schemas +From an ESG perspective, schemas contain environmentally-oriented vocabularies of terms for representing machine- and human-comprehensible structured data. In other words, they are linguistic β€œtemplates”, β€œframes”, or β€œpatterns” together with rules for using them to specify a potentially infinite multitude of numbers, phrases, sentences, or arguments, which represent environmental data. + +In Guardian, various environmental data produced in the course of executing policy workflows are packaged into JSON documents such as verifiable credentials and verifiable presentations. Schemas define the structure and content of these verifiable documents, enabling their automatic processing and provenance verification. It’s critical that all data required to be presented and or collected during a policy workflow has a well-defined verifiable credential schema. The schema will be used in the structural conformance verification of a document within a policy workflow. diff --git a/docs/guardian/standard-registry/schemas/creating-system-schema-using-ui.md b/docs/guardian/standard-registry/schemas/creating-system-schema-using-ui.md index 211245457c..b7129194c5 100644 --- a/docs/guardian/standard-registry/schemas/creating-system-schema-using-ui.md +++ b/docs/guardian/standard-registry/schemas/creating-system-schema-using-ui.md @@ -79,7 +79,7 @@ There are different types of Schema Types: * Verifiable Credential * Encrypted Verifiable Credential -To know more details regarding encrypted Verifiable Credential please look at [Selective Disclosure Demo](../selective-disclosure-demo.md) +To know more details regarding encrypted Verifiable Credential please look at [Selective Disclosure Demo](../selective-disclosure/selective-disclosure-demo.md) There are different types of Field Types: diff --git a/docs/guardian/standard-registry/schemas/schema-differentiation/README.md b/docs/guardian/standard-registry/schemas/schema-differentiation/README.md new file mode 100644 index 0000000000..cdd0dd534b --- /dev/null +++ b/docs/guardian/standard-registry/schemas/schema-differentiation/README.md @@ -0,0 +1,3 @@ +# πŸ“ Schema Differentiation + +Schema differentiation refers to the process of distinguishing and categorizing schemas based on their characteristics, attributes, or purposes. It involves identifying and defining unique aspects of schemas to classify and manage them effectively within the system. diff --git a/docs/guardian/standard-registry/schemas/schema-differentiation-apis/README.md b/docs/guardian/standard-registry/schemas/schema-differentiation/schema-differentiation-apis/README.md similarity index 100% rename from docs/guardian/standard-registry/schemas/schema-differentiation-apis/README.md rename to docs/guardian/standard-registry/schemas/schema-differentiation/schema-differentiation-apis/README.md diff --git a/docs/guardian/standard-registry/schemas/schema-differentiation-apis/exports-schema-differentiation-results.md b/docs/guardian/standard-registry/schemas/schema-differentiation/schema-differentiation-apis/exports-schema-differentiation-results.md similarity index 100% rename from docs/guardian/standard-registry/schemas/schema-differentiation-apis/exports-schema-differentiation-results.md rename to docs/guardian/standard-registry/schemas/schema-differentiation/schema-differentiation-apis/exports-schema-differentiation-results.md diff --git a/docs/guardian/standard-registry/schemas/schema-differentiation-apis/returns-result-of-schema-comparison.md b/docs/guardian/standard-registry/schemas/schema-differentiation/schema-differentiation-apis/returns-result-of-schema-comparison.md similarity index 100% rename from docs/guardian/standard-registry/schemas/schema-differentiation-apis/returns-result-of-schema-comparison.md rename to docs/guardian/standard-registry/schemas/schema-differentiation/schema-differentiation-apis/returns-result-of-schema-comparison.md diff --git a/docs/guardian/standard-registry/schemas/schema-differentiation-using-ui.md b/docs/guardian/standard-registry/schemas/schema-differentiation/schema-differentiation-using-ui.md similarity index 90% rename from docs/guardian/standard-registry/schemas/schema-differentiation-using-ui.md rename to docs/guardian/standard-registry/schemas/schema-differentiation/schema-differentiation-using-ui.md index 6e4ecd8cd0..44ac2c93de 100644 --- a/docs/guardian/standard-registry/schemas/schema-differentiation-using-ui.md +++ b/docs/guardian/standard-registry/schemas/schema-differentiation/schema-differentiation-using-ui.md @@ -6,7 +6,7 @@ We can compare two schemas by following some steps as follows: We click on **Compare** button present in Schemas tab as shown below: -
+
## 2. Comparison View @@ -25,9 +25,9 @@ We click on **Compare** button present in Schemas tab as shown below: 2\. **Schema Fields** – comparison results of the schema fields. -
+
-
+
**Display settings** _–_ description and show/hide settings for each color/type of difference diff --git a/docs/guardian/standard-registry/schemas/tag-schema/README.md b/docs/guardian/standard-registry/schemas/tag-schema/README.md new file mode 100644 index 0000000000..34a2326912 --- /dev/null +++ b/docs/guardian/standard-registry/schemas/tag-schema/README.md @@ -0,0 +1,3 @@ +# πŸ“ Tag Schema + +Tagging Schemas refers to the practice of attaching descriptive labels or metadata to schemas. Tags provide a way to categorize, organize, and search for schemas based on their characteristics, attributes, or purposes. Tagging schemas in Guardian helps users easily identify and manage schemas based on their specific needs or criteria. diff --git a/docs/guardian/standard-registry/schemas/creating-tag-schemas-using-ui.md b/docs/guardian/standard-registry/schemas/tag-schema/creating-tag-schemas-using-ui.md similarity index 76% rename from docs/guardian/standard-registry/schemas/creating-tag-schemas-using-ui.md rename to docs/guardian/standard-registry/schemas/tag-schema/creating-tag-schemas-using-ui.md index a83439476a..dc2c5b0ab1 100644 --- a/docs/guardian/standard-registry/schemas/creating-tag-schemas-using-ui.md +++ b/docs/guardian/standard-registry/schemas/tag-schema/creating-tag-schemas-using-ui.md @@ -4,6 +4,6 @@ Tags can have attached/linked documents. To add a document to the tag a schema is required. Such documents can be found under the **Tag Schemas** section. -
+
Users can select one of the published schemas in the section when adding a tag to add a corresponding document to the tag being created. diff --git a/docs/guardian/standard-registry/schemas/schema-tags-apis/README.md b/docs/guardian/standard-registry/schemas/tag-schema/schema-tags-apis/README.md similarity index 100% rename from docs/guardian/standard-registry/schemas/schema-tags-apis/README.md rename to docs/guardian/standard-registry/schemas/tag-schema/schema-tags-apis/README.md diff --git a/docs/guardian/standard-registry/schemas/schema-tags-apis/creating-new-schema-tag.md b/docs/guardian/standard-registry/schemas/tag-schema/schema-tags-apis/creating-new-schema-tag.md similarity index 100% rename from docs/guardian/standard-registry/schemas/schema-tags-apis/creating-new-schema-tag.md rename to docs/guardian/standard-registry/schemas/tag-schema/schema-tags-apis/creating-new-schema-tag.md diff --git a/docs/guardian/standard-registry/schemas/schema-tags-apis/deleting-schema-tag.md b/docs/guardian/standard-registry/schemas/tag-schema/schema-tags-apis/deleting-schema-tag.md similarity index 100% rename from docs/guardian/standard-registry/schemas/schema-tags-apis/deleting-schema-tag.md rename to docs/guardian/standard-registry/schemas/tag-schema/schema-tags-apis/deleting-schema-tag.md diff --git a/docs/guardian/standard-registry/schemas/schema-tags-apis/publishing-schema.md b/docs/guardian/standard-registry/schemas/tag-schema/schema-tags-apis/publishing-schema.md similarity index 100% rename from docs/guardian/standard-registry/schemas/schema-tags-apis/publishing-schema.md rename to docs/guardian/standard-registry/schemas/tag-schema/schema-tags-apis/publishing-schema.md diff --git a/docs/guardian/standard-registry/schemas/schema-tags-apis/returning-all-schema-tags.md b/docs/guardian/standard-registry/schemas/tag-schema/schema-tags-apis/returning-all-schema-tags.md similarity index 100% rename from docs/guardian/standard-registry/schemas/schema-tags-apis/returning-all-schema-tags.md rename to docs/guardian/standard-registry/schemas/tag-schema/schema-tags-apis/returning-all-schema-tags.md diff --git a/docs/guardian/standard-registry/schemas/schema-tags-apis/returning-list-of-published-schemas.md b/docs/guardian/standard-registry/schemas/tag-schema/schema-tags-apis/returning-list-of-published-schemas.md similarity index 100% rename from docs/guardian/standard-registry/schemas/schema-tags-apis/returning-list-of-published-schemas.md rename to docs/guardian/standard-registry/schemas/tag-schema/schema-tags-apis/returning-list-of-published-schemas.md diff --git a/docs/guardian/standard-registry/schemas/schema-tags-apis/updating-schema-tag.md b/docs/guardian/standard-registry/schemas/tag-schema/schema-tags-apis/updating-schema-tag.md similarity index 100% rename from docs/guardian/standard-registry/schemas/schema-tags-apis/updating-schema-tag.md rename to docs/guardian/standard-registry/schemas/tag-schema/schema-tags-apis/updating-schema-tag.md diff --git a/docs/guardian/standard-registry/selective-disclosure/README.md b/docs/guardian/standard-registry/selective-disclosure/README.md new file mode 100644 index 0000000000..6d7314b8a1 --- /dev/null +++ b/docs/guardian/standard-registry/selective-disclosure/README.md @@ -0,0 +1,3 @@ +# πŸ”‘ Selective Disclosure + +Selective disclosure in the context of the Guardian policy workflow engine refers to the capability of the system to control and limit the disclosure of sensitive or confidential information based on predefined policies or access rules. It ensures that only authorized individuals or systems have access to specific data or information within the Guardian system, while restricting access to unauthorized users or entities. diff --git a/docs/guardian/standard-registry/selective-disclosure-demo.md b/docs/guardian/standard-registry/selective-disclosure/selective-disclosure-demo.md similarity index 96% rename from docs/guardian/standard-registry/selective-disclosure-demo.md rename to docs/guardian/standard-registry/selective-disclosure/selective-disclosure-demo.md index c73f62782d..17e09ffb95 100644 --- a/docs/guardian/standard-registry/selective-disclosure-demo.md +++ b/docs/guardian/standard-registry/selective-disclosure/selective-disclosure-demo.md @@ -4,11 +4,11 @@ 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>) +![](<../../../.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>) +![](<../../../.gitbook/assets/1 (1).png>) 3. Encrypted Verifiable Credential will be published in IPFS with AES GCM encryption diff --git a/frontend/package.json b/frontend/package.json index cf056acb50..0fd0852a47 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -66,5 +66,5 @@ "test": "ng test", "watch": "ng build --watch --configuration development --output-path ../www-data" }, - "version": "2.13.0" + "version": "2.13.1" } diff --git a/frontend/src/app/modules/policy-engine/policy-viewer/blocks/documents-source-block/documents-source-block.component.html b/frontend/src/app/modules/policy-engine/policy-viewer/blocks/documents-source-block/documents-source-block.component.html index 7c7a39af01..aa27040faf 100644 --- a/frontend/src/app/modules/policy-engine/policy-viewer/blocks/documents-source-block/documents-source-block.component.html +++ b/frontend/src/app/modules/policy-engine/policy-viewer/blocks/documents-source-block/documents-source-block.component.html @@ -25,7 +25,7 @@ - + diff --git a/guardian-service/package.json b/guardian-service/package.json index f42963971c..c9fd7dd9ea 100644 --- a/guardian-service/package.json +++ b/guardian-service/package.json @@ -12,8 +12,8 @@ }, "author": "Envision Blockchain Solutions ", "dependencies": { - "@guardian/common": "^2.13.0", - "@guardian/interfaces": "^2.13.0", + "@guardian/common": "^2.13.1", + "@guardian/interfaces": "^2.13.1", "@hashgraph/sdk": "^2.24.2", "@mattrglobal/jsonld-signatures-bbs": "^1.1.2", "@meeco/cryppo": "^2.0.2", @@ -84,5 +84,5 @@ "test:local": "mocha tests/**/*.test.js --exit", "test:stability": "mocha tests/stability.test.js" }, - "version": "2.13.0" + "version": "2.13.1" } diff --git a/interfaces/package.json b/interfaces/package.json index 95daaf2b3d..cb795bb88a 100644 --- a/interfaces/package.json +++ b/interfaces/package.json @@ -25,5 +25,5 @@ "prepack": "npm run build", "test": "echo \"Error: no test specified\" && exit 1" }, - "version": "2.13.0" + "version": "2.13.1" } diff --git a/logger-service/package.json b/logger-service/package.json index af383820f4..5e4c7dfcbf 100644 --- a/logger-service/package.json +++ b/logger-service/package.json @@ -1,8 +1,8 @@ { "author": "Envision Blockchain Solutions ", "dependencies": { - "@guardian/common": "^2.13.0", - "@guardian/interfaces": "^2.13.0", + "@guardian/common": "^2.13.1", + "@guardian/interfaces": "^2.13.1", "@mikro-orm/core": "~5.7.7", "@mikro-orm/mongodb": "~5.7.7", "@nestjs/common": "^9.4.1", @@ -40,5 +40,5 @@ "start": "node dist/index.js", "watch": "nodemon src/index.ts" }, - "version": "2.13.0" + "version": "2.13.1" } diff --git a/mrv-sender/package.json b/mrv-sender/package.json index ad2406e656..f33519da5b 100644 --- a/mrv-sender/package.json +++ b/mrv-sender/package.json @@ -1,7 +1,7 @@ { "author": "Envision Blockchain Solutions ", "dependencies": { - "@guardian/common": "^2.13.0", + "@guardian/common": "^2.13.1", "@transmute/credentials-context": "0.7.0-unstable.80", "@transmute/did-context": "0.7.0-unstable.80", "@transmute/ed25519-signature-2018": "0.7.0-unstable.80", @@ -32,5 +32,5 @@ "dev:docker": "nodemon .", "start": "node dist/index.js" }, - "version": "2.13.0" + "version": "2.13.1" } diff --git a/package.json b/package.json index be525971c8..aec0de74ac 100644 --- a/package.json +++ b/package.json @@ -17,5 +17,5 @@ "policy-service", "api-tests" ], - "version": "2.13.0" + "version": "2.13.1" } diff --git a/policy-service/package.json b/policy-service/package.json index 2bdd3e9f17..d46731f189 100644 --- a/policy-service/package.json +++ b/policy-service/package.json @@ -11,8 +11,8 @@ }, "author": "Envision Blockchain Solutions ", "dependencies": { - "@guardian/common": "^2.13.0", - "@guardian/interfaces": "^2.13.0", + "@guardian/common": "^2.13.1", + "@guardian/interfaces": "^2.13.1", "@hashgraph/sdk": "^2.24.2", "@mattrglobal/jsonld-signatures-bbs": "^1.1.2", "@meeco/cryppo": "^2.0.2", @@ -81,5 +81,5 @@ "test:local": "mocha tests/**/*.test.js", "test:stability": "mocha tests/stability.test.js" }, - "version": "2.13.0" + "version": "2.13.1" } diff --git a/policy-service/src/policy-engine/blocks/aggregate-block.ts b/policy-service/src/policy-engine/blocks/aggregate-block.ts index dec16ca416..65bdb23fe7 100644 --- a/policy-service/src/policy-engine/blocks/aggregate-block.ts +++ b/policy-service/src/policy-engine/blocks/aggregate-block.ts @@ -67,7 +67,7 @@ export class AggregateBlock { const documentCacheFields = PolicyComponentsUtils.getDocumentCacheFields(ref.policyId); ref.options?.groupByFields - ?.filter((field) => field.fieldPath?.startsWith('document.')) + ?.filter((field) => field?.fieldPath?.startsWith('document.')) .forEach((field) => { documentCacheFields.add(field.fieldPath.replace('document.', '')); }); diff --git a/policy-service/src/policy-engine/blocks/documents-source-addon.ts b/policy-service/src/policy-engine/blocks/documents-source-addon.ts index cca55ee622..7951db14fa 100644 --- a/policy-service/src/policy-engine/blocks/documents-source-addon.ts +++ b/policy-service/src/policy-engine/blocks/documents-source-addon.ts @@ -44,7 +44,7 @@ export class DocumentsSourceAddon { const documentCacheFields = PolicyComponentsUtils.getDocumentCacheFields(ref.policyId); ref.options?.filters - ?.filter((filter) => filter.field?.startsWith('document.')) + ?.filter((filter) => filter?.field?.startsWith('document.')) .forEach((filter) => { documentCacheFields.add(filter.field.replace('document.', '')); }); diff --git a/policy-service/src/policy-engine/blocks/documents-source.ts b/policy-service/src/policy-engine/blocks/documents-source.ts index 1b0cef602e..e773c0e70e 100644 --- a/policy-service/src/policy-engine/blocks/documents-source.ts +++ b/policy-service/src/policy-engine/blocks/documents-source.ts @@ -38,6 +38,20 @@ export class InterfaceDocumentsSource { @StateField() private state; + /** + * Before init callback + */ + public async beforeInit(): Promise { + const ref = PolicyComponentsUtils.GetBlockRef(this); + const documentCacheFields = + PolicyComponentsUtils.getDocumentCacheFields(ref.policyId); + ref.options?.uiMetaData?.fields + ?.filter((field) => field?.name?.startsWith('document.')) + .forEach((field) => { + documentCacheFields.add(field.name.replace('document.', '')); + }); + } + constructor() { if (!this.state) { this.state = {}; diff --git a/policy-service/src/policy-engine/blocks/report-item-block.ts b/policy-service/src/policy-engine/blocks/report-item-block.ts index e4aa07e877..32eeec62dc 100644 --- a/policy-service/src/policy-engine/blocks/report-item-block.ts +++ b/policy-service/src/policy-engine/blocks/report-item-block.ts @@ -37,7 +37,7 @@ export class ReportItemBlock { const documentCacheFields = PolicyComponentsUtils.getDocumentCacheFields(ref.policyId); ref.options?.filters - ?.filter((filter) => filter.field?.startsWith('document.')) + ?.filter((filter) => filter?.field?.startsWith('document.')) .forEach((filter) => { documentCacheFields.add(filter.field.replace('document.', '')); }); diff --git a/topic-viewer/package.json b/topic-viewer/package.json index a705878646..2dcd682962 100644 --- a/topic-viewer/package.json +++ b/topic-viewer/package.json @@ -22,5 +22,5 @@ "dev": "tsc -w", "start": "node dist/index.js" }, - "version": "2.13.0" + "version": "2.13.1" } diff --git a/tree-viewer/package.json b/tree-viewer/package.json index 6c96f1ffc9..fb6671a633 100644 --- a/tree-viewer/package.json +++ b/tree-viewer/package.json @@ -20,5 +20,5 @@ "dev": "tsc -w", "start": "node dist/index.js" }, - "version": "2.13.0" + "version": "2.13.1" } diff --git a/worker-service/package.json b/worker-service/package.json index 36050ed2ec..7cf0d51ae4 100644 --- a/worker-service/package.json +++ b/worker-service/package.json @@ -1,8 +1,8 @@ { "author": "Envision Blockchain Solutions ", "dependencies": { - "@guardian/common": "^2.13.0", - "@guardian/interfaces": "^2.13.0", + "@guardian/common": "^2.13.1", + "@guardian/interfaces": "^2.13.1", "@hashgraph/sdk": "^2.24.2", "@transmute/credentials-context": "^0.7.0-unstable.80", "@transmute/did-context": "^0.7.0-unstable.80", @@ -49,5 +49,5 @@ "start": "node dist/index.js", "test": "mocha tests/**/*.test.js --reporter mocha-junit-reporter --reporter-options mochaFile=../test_results/worker-service.xml --exit" }, - "version": "2.13.0" + "version": "2.13.1" } diff --git a/yarn.lock b/yarn.lock index f23c289af5..e92cdf4c5f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1239,14 +1239,14 @@ __metadata: languageName: node linkType: hard -"@guardian/common@^2.13.0, @guardian/common@workspace:common": +"@guardian/common@^2.13.1, @guardian/common@workspace:common": version: 0.0.0-use.local resolution: "@guardian/common@workspace:common" dependencies: "@aws-sdk/client-secrets-manager": ^3.319.0 "@azure/identity": ^3.2.2 "@azure/keyvault-secrets": ^4.7.0 - "@guardian/interfaces": ^2.13.0 + "@guardian/interfaces": ^2.13.1 "@hashgraph/sdk": ^2.24.2 "@mattrglobal/jsonld-signatures-bbs": ^1.1.2 "@meeco/cryppo": ^2.0.2 @@ -1288,7 +1288,7 @@ __metadata: languageName: unknown linkType: soft -"@guardian/interfaces@^2.13.0, @guardian/interfaces@workspace:interfaces": +"@guardian/interfaces@^2.13.1, @guardian/interfaces@workspace:interfaces": version: 0.0.0-use.local resolution: "@guardian/interfaces@workspace:interfaces" dependencies: @@ -3200,8 +3200,8 @@ __metadata: version: 0.0.0-use.local resolution: "api-gateway@workspace:api-gateway" dependencies: - "@guardian/common": ^2.13.0 - "@guardian/interfaces": ^2.13.0 + "@guardian/common": ^2.13.1 + "@guardian/interfaces": ^2.13.1 "@nestjs/common": ^9.4.1 "@nestjs/core": ^9.4.1 "@nestjs/microservices": ^9.4.1 @@ -3421,8 +3421,8 @@ __metadata: version: 0.0.0-use.local resolution: "auth-service@workspace:auth-service" dependencies: - "@guardian/common": ^2.13.0 - "@guardian/interfaces": ^2.13.0 + "@guardian/common": ^2.13.1 + "@guardian/interfaces": ^2.13.1 "@mikro-orm/core": ~5.7.7 "@mikro-orm/mongodb": ~5.7.7 "@nestjs/common": ^9.4.1 @@ -6170,8 +6170,8 @@ __metadata: version: 0.0.0-use.local resolution: "guardian-service@workspace:guardian-service" dependencies: - "@guardian/common": ^2.13.0 - "@guardian/interfaces": ^2.13.0 + "@guardian/common": ^2.13.1 + "@guardian/interfaces": ^2.13.1 "@hashgraph/sdk": ^2.24.2 "@mattrglobal/jsonld-signatures-bbs": ^1.1.2 "@meeco/cryppo": ^2.0.2 @@ -8265,8 +8265,8 @@ __metadata: version: 0.0.0-use.local resolution: "logger-service@workspace:logger-service" dependencies: - "@guardian/common": ^2.13.0 - "@guardian/interfaces": ^2.13.0 + "@guardian/common": ^2.13.1 + "@guardian/interfaces": ^2.13.1 "@mikro-orm/core": ~5.7.7 "@mikro-orm/mongodb": ~5.7.7 "@nestjs/common": ^9.4.1 @@ -8914,7 +8914,7 @@ __metadata: version: 0.0.0-use.local resolution: "mrv-sender@workspace:mrv-sender" dependencies: - "@guardian/common": ^2.13.0 + "@guardian/common": ^2.13.1 "@transmute/credentials-context": 0.7.0-unstable.80 "@transmute/did-context": 0.7.0-unstable.80 "@transmute/ed25519-signature-2018": 0.7.0-unstable.80 @@ -9904,8 +9904,8 @@ __metadata: version: 0.0.0-use.local resolution: "policy-service@workspace:policy-service" dependencies: - "@guardian/common": ^2.13.0 - "@guardian/interfaces": ^2.13.0 + "@guardian/common": ^2.13.1 + "@guardian/interfaces": ^2.13.1 "@hashgraph/sdk": ^2.24.2 "@mattrglobal/jsonld-signatures-bbs": ^1.1.2 "@meeco/cryppo": ^2.0.2 @@ -12479,8 +12479,8 @@ __metadata: version: 0.0.0-use.local resolution: "worker-service@workspace:worker-service" dependencies: - "@guardian/common": ^2.13.0 - "@guardian/interfaces": ^2.13.0 + "@guardian/common": ^2.13.1 + "@guardian/interfaces": ^2.13.1 "@hashgraph/sdk": ^2.24.2 "@transmute/credentials-context": ^0.7.0-unstable.80 "@transmute/did-context": ^0.7.0-unstable.80