Skip to content

Commit d9c752f

Browse files
simvaleryprernaadev01dependabot[bot]Celiantenvision-ci-agent
authored
Merging fixed from Develop into Main for 3.1.0 release (#4678)
* GITBOOK-253: Added step 8 * Bump @aws-sdk/client-secrets-manager from 3.515.0 to 3.677.0 (#4301) Bumps [@aws-sdk/client-secrets-manager](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-secrets-manager) from 3.515.0 to 3.677.0. - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-secrets-manager/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.677.0/clients/client-secrets-manager) --- updated-dependencies: - dependency-name: "@aws-sdk/client-secrets-manager" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Merge tests update to develop from tmp-e2e-tests (#4303) * fixes for tests * fixing and updating cotracts tests * update contracts tab and fixes for pipeline * update account register * fixes for contracts tests * test fixes * [skip ci] Add swagger.yaml * [skip ci] Add swagger.yaml * update auth * tests update --------- Co-authored-by: envision-ci-agent <[email protected]> * Bump @fastify/static from 7.0.4 to 8.0.2 (#4278) Bumps [@fastify/static](https://github.com/fastify/fastify-static) from 7.0.4 to 8.0.2. - [Release notes](https://github.com/fastify/fastify-static/releases) - [Commits](https://github.com/fastify/fastify-static/compare/v7.0.4...v8.0.2) --- updated-dependencies: - dependency-name: "@fastify/static" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump multiformats from 13.1.0 to 13.3.1 (#4324) Bumps [multiformats](https://github.com/multiformats/js-multiformats) from 13.1.0 to 13.3.1. - [Release notes](https://github.com/multiformats/js-multiformats/releases) - [Changelog](https://github.com/multiformats/js-multiformats/blob/master/CHANGELOG.md) - [Commits](https://github.com/multiformats/js-multiformats/compare/v13.1.0...v13.3.1) --- updated-dependencies: - dependency-name: multiformats dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @nestjs/platform-fastify from 9.4.3 to 10.4.6 (#4299) Bumps [@nestjs/platform-fastify](https://github.com/nestjs/nest/tree/HEAD/packages/platform-fastify) from 9.4.3 to 10.4.6. - [Release notes](https://github.com/nestjs/nest/releases) - [Commits](https://github.com/nestjs/nest/commits/v10.4.6/packages/platform-fastify) --- updated-dependencies: - dependency-name: "@nestjs/platform-fastify" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix/revert commits from bot about increasing dependencies (#4329) * Revert "Bump @nestjs/platform-fastify from 9.4.3 to 10.4.6 (#4299)" This reverts commit 5fa765534e3458763f433e2401941bdd46c3d0be. * Revert "Bump multiformats from 13.1.0 to 13.3.1 (#4324)" This reverts commit ca7386ba808a410aab31f90a6e3a11ba71573572. * Revert "Bump @fastify/static from 7.0.4 to 8.0.2 (#4278)" This reverts commit cfc18ade0b894868cac6841a53928aebbe273c72. --------- Co-authored-by: Ihar <[email protected]> * GITBOOK-254: updated roadmap changes * #4025 (#4328) #4025 Data Parameterization and Conditional Review Logic * fix: add package lock for front (#4333) Co-authored-by: Ihar <[email protected]> * fix grid style Signed-off-by: Stepan Kiryakov <[email protected]> * fix button names Signed-off-by: Stepan Kiryakov <[email protected]> * fix scroll Signed-off-by: Stepan Kiryakov <[email protected]> * fix style Signed-off-by: Stepan Kiryakov <[email protected]> * fix policy fields Signed-off-by: Stepan Kiryakov <[email protected]> * #4213 Restore Signed-off-by: Stepan Kiryakov <[email protected]> * Azure Cosmos DB for MongoDB support (#4330) * feat: add dynamic role index Signed-off-by: GitHub <[email protected]> * fix: remove duplicated index Signed-off-by: GitHub <[email protected]> --------- Signed-off-by: GitHub <[email protected]> Co-authored-by: Alexander Pyatakov <[email protected]> * GITBOOK-255: schema rules UI and APIs documented * Base images version bump. Builds time optimization (#4338) Base images version bump. Subsequent builds time optimization in case of source code changes only (with no packages changes). Signed-off-by: Alexander Pyatakov <[email protected]> * fix branding; fix calendar Signed-off-by: Stepan Kiryakov <[email protected]> * revert changes Signed-off-by: Stepan Kiryakov <[email protected]> * fix Signed-off-by: Stepan Kiryakov <[email protected]> * fix time format Signed-off-by: Stepan Kiryakov <[email protected]> * fix SR cards Signed-off-by: Stepan Kiryakov <[email protected]> * fix time Signed-off-by: Stepan Kiryakov <[email protected]> * fix time Signed-off-by: Stepan Kiryakov <[email protected]> * fix style Signed-off-by: Stepan Kiryakov <[email protected]> * Feature/2986 (#4339) * test runner Signed-off-by: simvalery <[email protected]> * test runner Signed-off-by: simvalery <[email protected]> * test runner Signed-off-by: simvalery <[email protected]> * test runner Signed-off-by: simvalery <[email protected]> * test runner Signed-off-by: simvalery <[email protected]> * fixes Signed-off-by: simvalery <[email protected]> --------- Signed-off-by: simvalery <[email protected]> * Feature/2986 (#4340) * test runner Signed-off-by: simvalery <[email protected]> * test runner Signed-off-by: simvalery <[email protected]> * test runner Signed-off-by: simvalery <[email protected]> * test runner Signed-off-by: simvalery <[email protected]> * test runner Signed-off-by: simvalery <[email protected]> * fixes Signed-off-by: simvalery <[email protected]> * remove file Signed-off-by: simvalery <[email protected]> --------- Signed-off-by: simvalery <[email protected]> * fix build Signed-off-by: simvalery <[email protected]> * bump version Signed-off-by: simvalery <[email protected]> * fix ai-service build Signed-off-by: simvalery <[email protected]> * fix ai-service start Signed-off-by: simvalery <[email protected]> * GITBOOK-256: roadmap changes * revert commit Signed-off-by: Stepan Kiryakov <[email protected]> * fix autocalculate Signed-off-by: Stepan Kiryakov <[email protected]> * fix indexer build Signed-off-by: simvalery <[email protected]> * Update README.md Signed-off-by: prernaadev01 <[email protected]> * GITBOOK-257: updated roadmap * Correction of spelling in ACM0006 Signed-off-by: prernaadev01 <[email protected]> * Correcting VMR0006 Signed-off-by: prernaadev01 <[email protected]> * Correcting II.G Signed-off-by: prernaadev01 <[email protected]> * Correcting Metered Cooking Signed-off-by: prernaadev01 <[email protected]> * Correcting AMS-I.E Signed-off-by: prernaadev01 <[email protected]> * Correcting ACM0007 Signed-off-by: prernaadev01 <[email protected]> * Correcting UNFCCC_ACM0007 Signed-off-by: prernaadev01 <[email protected]> * Correcting VM0033 Signed-off-by: prernaadev01 <[email protected]> * Correcting GHGP Signed-off-by: prernaadev01 <[email protected]> * Correcting GS TPDDTEC Signed-off-by: prernaadev01 <[email protected]> * Correcting III.H Signed-off-by: prernaadev01 <[email protected]> * Correcting GS Signed-off-by: prernaadev01 <[email protected]> * Correcting III.F Signed-off-by: prernaadev01 <[email protected]> * Correcting VM0044 Signed-off-by: prernaadev01 <[email protected]> * Correcting III.D Signed-off-by: prernaadev01 <[email protected]> * Correcting III.BB Signed-off-by: prernaadev01 <[email protected]> * fix schema rules Signed-off-by: Stepan Kiryakov <[email protected]> * fix policy permissions Signed-off-by: Stepan Kiryakov <[email protected]> * fix submit button Signed-off-by: Stepan Kiryakov <[email protected]> * fix hidden fields Signed-off-by: Stepan Kiryakov <[email protected]> * fix create policy Signed-off-by: Stepan Kiryakov <[email protected]> * fix schema permissions Signed-off-by: Stepan Kiryakov <[email protected]> * fix export permissions Signed-off-by: Stepan Kiryakov <[email protected]> * fix topic permissions Signed-off-by: Stepan Kiryakov <[email protected]> * fix contract permissions Signed-off-by: Stepan Kiryakov <[email protected]> * fix search permissions Signed-off-by: Stepan Kiryakov <[email protected]> * fix policy permissions Signed-off-by: Stepan Kiryakov <[email protected]> * GITBOOK-259: Landfill protocol guide * Add GHGP policy v2 (#4377) Add U.S. Landfill Protocol policy Update AMS-III BB polity Signed-off-by: Dariy Miseldzhani <[email protected]> Co-authored-by: Dariy Miseldzhani <[email protected]> * Create readme.md of Landfill protocol Signed-off-by: prernaadev01 <[email protected]> * fix token count Signed-off-by: Stepan Kiryakov <[email protected]> * update indexer tasks Signed-off-by: Stepan Kiryakov <[email protected]> * fix label Signed-off-by: Stepan Kiryakov <[email protected]> * fix policy button Signed-off-by: Stepan Kiryakov <[email protected]> * Add files via upload Signed-off-by: prernaadev01 <[email protected]> * GITBOOK-260: step by stpe of landfill protocol * Update readme.md of landfill protocol Signed-off-by: prernaadev01 <[email protected]> * Update readme.md of ML Signed-off-by: prernaadev01 <[email protected]> * GITBOOK-261: updated GHGP changes * Update readme.md of landfill Signed-off-by: prernaadev01 <[email protected]> * Update readMe.md of GHGP Signed-off-by: prernaadev01 <[email protected]> * fix grid size Signed-off-by: Stepan Kiryakov <[email protected]> * Feature/3139 (#4392) * Documentation update with new build instructions (#4356) * fix logs (#3904) Signed-off-by: Artem Buslaev <[email protected]> * update custom logic block (#3918) Signed-off-by: Artem Buslaev <[email protected]> * GITBOOK-206: Added docs for 3610 * GITBOOK-207: added docs for indexer, roles&permissions, global policy search and compare * update map api (#3919) * update map api Signed-off-by: Artem Buslaev <[email protected]> * [skip ci] Add swagger.yaml * fix loading map key on frontend side Signed-off-by: Artem Buslaev <[email protected]> --------- Signed-off-by: Artem Buslaev <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * moved vmr0006 [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * fix docker images configs Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix nginx templates folder Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * Update readme.md of ML folder Signed-off-by: prernaadev01 <[email protected]> * Create readme.md of CDM Signed-off-by: prernaadev01 <[email protected]> * Create readme.md of CDM Signed-off-by: prernaadev01 <[email protected]> * Update readme.md of CDM Signed-off-by: prernaadev01 <[email protected]> * Update readme.md of CDM Signed-off-by: prernaadev01 <[email protected]> * Update readme.md of CDM Signed-off-by: prernaadev01 <[email protected]> * Update readme.md of CDM Signed-off-by: prernaadev01 <[email protected]> * Update readme.md of Verra Signed-off-by: prernaadev01 <[email protected]> * Update readme.md of VMR0007 Signed-off-by: prernaadev01 <[email protected]> * Update README.md of VMR0017 Signed-off-by: prernaadev01 <[email protected]> * Update readMe.md of VM0042 Signed-off-by: prernaadev01 <[email protected]> * Update README.md of VerraARR Signed-off-by: prernaadev01 <[email protected]> * Update readme.md of Verra Signed-off-by: prernaadev01 <[email protected]> * fixed typo [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * fix delete schemas Signed-off-by: Artem Buslaev <[email protected]> * Feature/fix pipeline (#3927) * test action Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * [skip ci] Add swagger.yaml * test action Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * test action Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * test Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * test Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * test fix Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * test fix Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * test fix Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix pipeline Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix pipeline Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix pipeline Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> --------- Signed-off-by: simvalery <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * Update readme.md of Verra Readme Signed-off-by: prernaadev01 <[email protected]> * update vmr0006 (1721826322.833452372) [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * added demo and production docker files [skip ci] (#3928) Signed-off-by: Artem Buslaev <[email protected]> * GITBOOK-208: fixed some doc issues * GITBOOK-209: Added VMR0006 docs * fix demo generations notifications (#3932) Signed-off-by: Artem Buslaev <[email protected]> * upload cdm i.e policy (1721987853.015059003) [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * GITBOOK-210: adding logging configuration * Update readme.md of ML Signed-off-by: prernaadev01 <[email protected]> * Add files via upload Signed-off-by: prernaadev01 <[email protected]> * Update README.md of VMR0006 Signed-off-by: prernaadev01 <[email protected]> * Update readme.md of Verra Signed-off-by: prernaadev01 <[email protected]> * Update readme.md of CDM Signed-off-by: prernaadev01 <[email protected]> * Add files via upload Signed-off-by: prernaadev01 <[email protected]> * Auto-testing (#3935) Auto-testing #2847 * Update readme.md of vmr0006 Signed-off-by: prernaadev01 <[email protected]> * upd i.e policy (1722268220.144894003) [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * Fix/broken access (#3945) * fix token issuer Signed-off-by: Artem Buslaev <[email protected]> * fix block access Signed-off-by: Artem Buslaev <[email protected]> --------- Signed-off-by: Artem Buslaev <[email protected]> * feat: move helper logger from winston to pino[3834] (#3857) * feat: move helper logger from winston to pino[3834] * [skip ci] Add swagger.yaml * feat: provide logger for services across di[3834] * fix: remove winston dependencies[3834] * feat: add tranports and factory for pino logger (#3877) Co-authored-by: Ihar <[email protected]> * feat: dividing code base on modules and refactore[3834] * feat: seq transport for pino logger[3834] * feat: move ai srvice to pino logger[3834] * feat: move auth service to pino[3834] * feat: move gardian service to pino logger[3834] * fix: api gate way internal error func and web sockets[3834] * feat: move notification service to pino[3834] * feat: move policy service to pino logger[3834] * feat: move queue service to pino logger[3834] * feat: move worker service to pino logger[3834] * feat: mongo logger init and pino logger init[3834] * feat: pino logger in common helpers for guardian service[3834] * feat: pino logger instead new old logger for policy service[3834] * feat: move to pino analitics-sevice[3834] * refactore code[3834] * refactore code[3834] * fix: env for common config for pino logger[3834] * fix: linter issues[3834] * docs: link to the seq logging documentation[3834] * feat: conditionat for mongo transport and refactore code[3834] * feat: subscribtions on frontent for states logger service[3834] (#3922) * feat: subscribtions on frontent for states logger service[3834] * feat: open tab with seq by click button[3834] * [skip ci] Add swagger.yaml --------- Co-authored-by: Ihar <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * fix: configs api-gateway[3834] * feat: api key for seq and refactor code --------- Co-authored-by: Ihar <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * update i.e policy (1722339509.124100450) [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * Feature/3834 migrate logger from winston to pino (#3949) * feat: move helper logger from winston to pino[3834] * [skip ci] Add swagger.yaml * feat: provide logger for services across di[3834] * fix: remove winston dependencies[3834] * feat: add tranports and factory for pino logger (#3877) Co-authored-by: Ihar <[email protected]> * feat: dividing code base on modules and refactore[3834] * feat: seq transport for pino logger[3834] * feat: move ai srvice to pino logger[3834] * feat: move auth service to pino[3834] * feat: move gardian service to pino logger[3834] * fix: api gate way internal error func and web sockets[3834] * feat: move notification service to pino[3834] * feat: move policy service to pino logger[3834] * feat: move queue service to pino logger[3834] * feat: move worker service to pino logger[3834] * feat: mongo logger init and pino logger init[3834] * feat: pino logger in common helpers for guardian service[3834] * feat: pino logger instead new old logger for policy service[3834] * feat: move to pino analitics-sevice[3834] * refactore code[3834] * refactore code[3834] * fix: env for common config for pino logger[3834] * fix: linter issues[3834] * docs: link to the seq logging documentation[3834] * feat: conditionat for mongo transport and refactore code[3834] * feat: subscribtions on frontent for states logger service[3834] (#3922) * feat: subscribtions on frontent for states logger service[3834] * feat: open tab with seq by click button[3834] * [skip ci] Add swagger.yaml --------- Co-authored-by: Ihar <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * fix: configs api-gateway[3834] * feat: api key for seq and refactor code * refactore code * refactore code --------- Co-authored-by: Ihar <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * fix record event (added delay for access to blocks) Signed-off-by: Stepan Kiryakov <[email protected]> * fix getting user did keys (#3953) Signed-off-by: Artem Buslaev <[email protected]> * fix mint (#3956) Signed-off-by: Artem Buslaev <[email protected]> * GITBOOK-211: Added UI of Auto testing * fix uploading artifacts (#3958) Signed-off-by: Artem Buslaev <[email protected]> * fix import dialog Signed-off-by: Stepan Kiryakov <[email protected]> * GITBOOK-212: Added APIs of Auto Testing * GITBOOK-213: Added Map related APIs * Feature/3834 migrate logger from winston to pino (#3954) * feat: move helper logger from winston to pino[3834] * [skip ci] Add swagger.yaml * feat: provide logger for services across di[3834] * fix: remove winston dependencies[3834] * feat: add tranports and factory for pino logger (#3877) Co-authored-by: Ihar <[email protected]> * feat: dividing code base on modules and refactore[3834] * feat: seq transport for pino logger[3834] * feat: move ai srvice to pino logger[3834] * feat: move auth service to pino[3834] * feat: move gardian service to pino logger[3834] * fix: api gate way internal error func and web sockets[3834] * feat: move notification service to pino[3834] * feat: move policy service to pino logger[3834] * feat: move queue service to pino logger[3834] * feat: move worker service to pino logger[3834] * feat: mongo logger init and pino logger init[3834] * feat: pino logger in common helpers for guardian service[3834] * feat: pino logger instead new old logger for policy service[3834] * feat: move to pino analitics-sevice[3834] * refactore code[3834] * refactore code[3834] * fix: env for common config for pino logger[3834] * fix: linter issues[3834] * docs: link to the seq logging documentation[3834] * feat: conditionat for mongo transport and refactore code[3834] * feat: subscribtions on frontent for states logger service[3834] (#3922) * feat: subscribtions on frontent for states logger service[3834] * feat: open tab with seq by click button[3834] * [skip ci] Add swagger.yaml --------- Co-authored-by: Ihar <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * fix: configs api-gateway[3834] * feat: api key for seq and refactor code * refactore code * refactore code * fix: crush app in logger mongo initialization[3834] * fix: add logger setting to docker configs[3834] * fix: dublicates records in db[3834] * fix: remove log from the guardian_db --------- Co-authored-by: Ihar <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * Create readme Signed-off-by: prernaadev01 <[email protected]> * added sr initial password (#3960) * added sr initial password Signed-off-by: Artem Buslaev <[email protected]> * fix logger initialization Signed-off-by: Artem Buslaev <[email protected]> --------- Signed-off-by: Artem Buslaev <[email protected]> * GITBOOK-214: added parameter * feat: new init mongo for logger service[3834] (#3961) Co-authored-by: Ihar <[email protected]> * bump version Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * GITBOOK-215: AMS-I.E docs added * fix role description [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * GITBOOK-216: Added tools to 1.E * Create readme.md of AMS-I.E Signed-off-by: prernaadev01 <[email protected]> * Update readme.md of ML Signed-off-by: prernaadev01 <[email protected]> * Update readme.md of ML Signed-off-by: prernaadev01 <[email protected]> * Update password storage (#3965) Change hash password algorithms * remove indexer description [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * add sort Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * GITBOOK-217: Updated roadmap 1 * GITBOOK-218: Updated roadmap 2 * fix filter data types Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix pagination Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix query filters for vp Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * allow full mongo connection string (#3999) Signed-off-by: Artem Buslaev <[email protected]> * Create wip of cdm Signed-off-by: prernaadev01 <[email protected]> * Create WIP of GHG Signed-off-by: prernaadev01 <[email protected]> * Create WIP of Gold Standard Signed-off-by: prernaadev01 <[email protected]> * Create WIP of Verra Signed-off-by: prernaadev01 <[email protected]> * GITBOOK-219: Adding note for indexer data load * unique values for filter addon Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * Add set strict filters functional. (#4019) Signed-off-by: Dariy Miseldzhani <[email protected]> * fix filters Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix filters Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix filters Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix filters Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * restore filters in strict mode Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * Fix/indexer (#4022) * fix map loading [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * fix overview cards [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * added nats config [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * added search page size [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * added fixtures [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * fix indexer docker dependencies [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * Dockerfiles unification * fix nats config [skip ci] Signed-off-by: Artem Buslaev <[email protected]> --------- Signed-off-by: Artem Buslaev <[email protected]> Co-authored-by: Alexander Pyatakov <[email protected]> * fix indexer search bar in safari Signed-off-by: Artem Buslaev <[email protected]> * Feature/interactive block issues (#3993) * added button and dropdown addons Signed-off-by: Artem Buslaev <[email protected]> * [skip ci] Add swagger.yaml * fix set options Signed-off-by: Artem Buslaev <[email protected]> * update types Signed-off-by: Artem Buslaev <[email protected]> * added request vc document addon Signed-off-by: Artem Buslaev <[email protected]> * fix Signed-off-by: Artem Buslaev <[email protected]> * update vm0017 (1723473044.239729003) [skip ci] Signed-off-by: Artem Buslaev <[email protected]> --------- Signed-off-by: Artem Buslaev <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * Feature/cache new routes (#3950) * feat: move helper logger from winston to pino[3834] * [skip ci] Add swagger.yaml * feat: provide logger for services across di[3834] * fix: remove winston dependencies[3834] * feat: add tranports and factory for pino logger (#3877) Co-authored-by: Ihar <[email protected]> * feat: dividing code base on modules and refactore[3834] * feat: seq transport for pino logger[3834] * feat: move ai srvice to pino logger[3834] * feat: move auth service to pino[3834] * feat: move gardian service to pino logger[3834] * fix: api gate way internal error func and web sockets[3834] * feat: move notification service to pino[3834] * feat: move policy service to pino logger[3834] * feat: move queue service to pino logger[3834] * feat: move worker service to pino logger[3834] * feat: mongo logger init and pino logger init[3834] * feat: pino logger in common helpers for guardian service[3834] * feat: pino logger instead new old logger for policy service[3834] * feat: move to pino analitics-sevice[3834] * refactore code[3834] * refactore code[3834] * fix: env for common config for pino logger[3834] * fix: linter issues[3834] * docs: link to the seq logging documentation[3834] * feat: conditionat for mongo transport and refactore code[3834] * feat: subscribtions on frontent for states logger service[3834] (#3922) * feat: subscribtions on frontent for states logger service[3834] * feat: open tab with seq by click button[3834] * [skip ci] Add swagger.yaml --------- Co-authored-by: Ihar <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * fix: configs api-gateway[3834] * feat: api key for seq and refactor code * feat: add policy groups and navigation cache and invalidation * feat: add cache and invalidation for contracts api * feat: add cache and invalidation for schemas api * feat: add cache and invalidation for tags api * refactore code * feat: add cache and invalidation for modules api * feat: add cache and invalidation for ipfs api * fix: remove is express veriable from cache * refactore code * refactore code * [skip ci] Add swagger.yaml * fix:add additional invalidation for wipe retire * fix:add additional invalidation for retire requests * fix:add additional invalidation for retire pools * Revert "fix:add additional invalidation for retire pools" This reverts commit 0211cbcb20cf8632af66802f807aed8088d59554. * Revert "fix:add additional invalidation for retire requests" This reverts commit 358609eadb3cdee893ea3b8cdb52c635a6b543c9. * Revert "feat: add cache and invalidation for contracts api" This reverts commit 942ae73c920355ea74dce7018441f9a262fa792f. * feat: possible work with buffer in cache * [skip ci] Add swagger.yaml --------- Co-authored-by: Ihar <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * Feature/db connection string (#4016) * fix connection string for db logger Signed-off-by: Artem Buslaev <[email protected]> * fix queue service Signed-off-by: Artem Buslaev <[email protected]> * fix Signed-off-by: Artem Buslaev <[email protected]> --------- Signed-off-by: Artem Buslaev <[email protected]> * fix filters reset Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * 3988 (#4035) * 3988 Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix filters reset Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> --------- Signed-off-by: simvalery <[email protected]> * fix lint Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix: get cache from base64 (#4036) * fix: get cache from base64 * fix: lint error * fix: devide cases responce bufer and base64 in cache --------- Co-authored-by: Ihar <[email protected]> * GITBOOK-220: Button block Addon * fix: add document to schema update[3724] (#3986) Co-authored-by: Ihar <[email protected]> * Feature/hard coded default jwt secret key (#3934) * remove hard coded JWT key Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix validator Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * move to RS256 Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fixes Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * [skip ci] Add swagger.yaml * fix routines::unsupported issue Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * merge develop Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> --------- Signed-off-by: simvalery <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * GITBOOK-221: dropdown button block addon added * Feature/hard coded default jwt secret key (#4053) * remove hard coded JWT key Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix validator Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * move to RS256 Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fixes Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * [skip ci] Add swagger.yaml * fix routines::unsupported issue Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * merge develop Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix SR_INITIAL_PASSWORD Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> --------- Signed-off-by: simvalery <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * GITBOOK-222: added requestvcdocumentaddon block * remove unused variables Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * remove unused variables Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * ai-service cleanup (#4069) Signed-off-by: Alexander Pyatakov <[email protected]> * Docker-compose fixes (#4070) * YARN_CACHE_FOLDER fix and images version bump Signed-off-by: Alexander Pyatakov <[email protected]> * Images version bump. Volumes path fixes Signed-off-by: Alexander Pyatakov <[email protected]> --------- Signed-off-by: Alexander Pyatakov <[email protected]> * GITBOOK-223: mongo atlas * fix invalid algorithm error Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * Upgrade to the policy (#3882) * Update readme.md * Add files via upload * Delete Methodology Library/Hackathon/UNFCCC_ACM0007/policy_1712610559572.policy * Delete Methodology Library/Hackathon/UNFCCC_ACM0007/policy_1712610570761.xlsx * chore: migrate github actions to step-security maintained versions (#3989) Signed-off-by: Iliya Savov <[email protected]> Co-authored-by: Iliya Savov <[email protected]> * ci: Updates self hosted runner group and adds CODEOWNERS (#4032) * ci: Updates self hosted runner group and adds CODEOWNERS Update the self-hosted runner to use the guardian runner group label Adds a standard CODEOWNERS file Signed-off-by: Roger Barker <[email protected]> * fixes typo in CODEOWNERS Signed-off-by: Roger Barker <[email protected]> --------- Signed-off-by: Roger Barker <[email protected]> * bump version Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix detect secrets Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * Fix/contracts (#4071) * fix contracts Signed-off-by: Artem Buslaev <[email protected]> * added compatibility errors Signed-off-by: Artem Buslaev <[email protected]> * revert wipe reject ban Signed-off-by: Artem Buslaev <[email protected]> * fix Signed-off-by: Artem Buslaev <[email protected]> * fix sync pools Signed-off-by: Artem Buslaev <[email protected]> * fix Signed-off-by: Artem Buslaev <[email protected]> * fix Signed-off-by: Artem Buslaev <[email protected]> * fix issues in wipe contract Signed-off-by: Artem Buslaev <[email protected]> * fix endpoints Signed-off-by: Artem Buslaev <[email protected]> * [skip ci] Add swagger.yaml --------- Signed-off-by: Artem Buslaev <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * change setup sr profile title [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * GITBOOK-224: added note for jwt key implementation for auth service * Fix load ipfs documents (#4087) Fix load ipfs documents * GITBOOK-225: change password docs added * fix load bind blocks Signed-off-by: Stepan Kiryakov <[email protected]> * update swagger Signed-off-by: Stepan Kiryakov <[email protected]> * Fix: this prevents nginx to emergency shutdown (host xxx not found in upstream) if an optional service is not started; (#3752) Signed-off-by: Giuseppe Bertone <[email protected]> * rename generate demo key task (#4093) * rename generate demo key task Signed-off-by: Artem Buslaev <[email protected]> * [skip ci] Add swagger.yaml --------- Signed-off-by: Artem Buslaev <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * Feature/update create token block (#4084) * update create token by template Signed-off-by: Artem Buslaev <[email protected]> * fix Signed-off-by: Artem Buslaev <[email protected]> * added irec tokens for devices(1724415199.202508003) Signed-off-by: Artem Buslaev <[email protected]> * added autorun and variables in create token block Signed-off-by: Artem Buslaev <[email protected]> * update create token block and validators Signed-off-by: Artem Buslaev <[email protected]> * code refactor for create token block Signed-off-by: Artem Buslaev <[email protected]> * update irec create tokens for devices (1724753425.754266003) [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * refactoring Signed-off-by: Artem Buslaev <[email protected]> * fix Signed-off-by: Artem Buslaev <[email protected]> * fix Signed-off-by: Artem Buslaev <[email protected]> * clear wipe contract id after enable wipe changed Signed-off-by: Artem Buslaev <[email protected]> * [skip ci] Add swagger.yaml * fix token action and token confirmation blocks Signed-off-by: Artem Buslaev <[email protected]> --------- Signed-off-by: Artem Buslaev <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * GITBOOK-226: roadmap changes * GITBOOK-228: dynamic token creation * Enhanced Docker Configuration and Multi-Platform Support (#4096) * Remove obsolete docker-compose files Signed-off-by: Alexander Pyatakov <[email protected]> * arm64 platform added as build target; bump used node image version; bump workflow steps verisons Signed-off-by: Alexander Pyatakov <[email protected]> * Revised docker-compose files Signed-off-by: Alexander Pyatakov <[email protected]> --------- Signed-off-by: Alexander Pyatakov <[email protected]> * Feature/3966 database access layer refactoring (#4002) * fix: call data base server insted helper in analiticts service[3966] * fix: call data base server insted helper in logger service[3966] * fix: call data base server insted helper in auth service[3966] * fix: call data base server insted helper in guardian service[3966] * fix: call data base server insted helper in queue service[3966] * fix: call data base server insted helper in notification service[3966] * fix: call data base server insted helper in common library[3966] * fix: call data base server insted helper in database-server[3966] * fix: common library imports[3966] * fix: auth service data dase update parametrs[3966] * fix: guardian service data base server update parametrs[3966] * fix: notification service data base server update parametrs[3966] * fix: queue service data base server update parametrs[3966] * fix:data base server update parametrs[3966] * fix: analitics service data base server update parametrs[3966] * fix: lint issues[3966] * Feature/3966 database access layer refactoring remove where (#4030) * fix: remove where from quarduan service[3966] * fix: remove where from policy service[3966] * fix: remove where from common service[3966] * fix: remove where from database server[3966] * fix: remove where from database helper[3966] --------- Co-authored-by: Ihar <[email protected]> * Feature/3966 database access layer refactoring types (#4034) * fix: remove where from quarduan service[3966] * fix: remove where from policy service[3966] * fix: remove where from common service[3966] * fix: remove where from database server[3966] * fix: remove where from database helper[3966] * feat: types for database helper[3966] * feat: types for guardian service[3966] * feat: types for policy service[3966] * feat: types for loggers service[3966] * feat: types for queue service[3966] * feat: types for common library[3966] * feat: types for db helper[3966] * feat: types for db server[3966] * feat: types for analitic service[3966] * feat: types for db server[3966] * feat: types for logger service[3966] --------- Co-authored-by: Ihar <[email protected]> * fix: lint errors * fix: lint errors * fix: get cache from base64 * fix: devide cases responce bufer and base64 in cache * Feature/3966 database access layer refactoring agregation (#4048) * fix: get cache from base64 * fix: devide cases responce bufer and base64 in cache * feat: move aggregation filters to bd helper[3966] * feat: move aggregation filters to bd helper for logger service[3966] * feat: move aggregation filters to bd helper for policy service[3966] * feat: move aggregation filters to bd helper for queue service[3966] * feat: move aggregation filters to bd helper and server[3966] --------- Co-authored-by: Ihar <[email protected]> * Feature/3966 move grid fs from services and db server (#4051) * fix: get cache from base64 * fix: devide cases responce bufer and base64 in cache * feat: move aggregation filters to bd helper[3966] * feat: move aggregation filters to bd helper for logger service[3966] * feat: move aggregation filters to bd helper for policy service[3966] * feat: move aggregation filters to bd helper for queue service[3966] * feat: move aggregation filters to bd helper and server[3966] * feat: move grid fs calls from db server to db helper[3966] * feat: connect bd and grid fs in db helper[3966] --------- Co-authored-by: Ihar <[email protected]> * fix: types[3966] * fix: lint error[3966] * Feature/3966 database access layer refactoring common types in db server (#4073) * GITBOOK-221: dropdown button block addon added * Feature/hard coded default jwt secret key (#4053) * remove hard coded JWT key Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix validator Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * move to RS256 Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fixes Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * [skip ci] Add swagger.yaml * fix routines::unsupported issue Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * merge develop Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix SR_INITIAL_PASSWORD Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> --------- Signed-off-by: simvalery <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * GITBOOK-222: added requestvcdocumentaddon block * remove unused variables Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix: any entity arguments[3966] * remove unused variables Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * ai-service cleanup (#4069) Signed-off-by: Alexander Pyatakov <[email protected]> * Docker-compose fixes (#4070) * YARN_CACHE_FOLDER fix and images version bump Signed-off-by: Alexander Pyatakov <[email protected]> * Images version bump. Volumes path fixes Signed-off-by: Alexander Pyatakov <[email protected]> --------- Signed-off-by: Alexander Pyatakov <[email protected]> * feat: types for options[3966] * feat: add types for items in bd server[3966] --------- Signed-off-by: simvalery <[email protected]> Signed-off-by: Alexander Pyatakov <[email protected]> Co-authored-by: prernaa.agarwal <[email protected]> Co-authored-by: simvalery <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> Co-authored-by: Ihar <[email protected]> Co-authored-by: Alexander Pyatakov <[email protected]> * feat: add contract as abstract class for db helper[3966] (#4074) * feat: add contract as abstract class for db helper[3966] * feat: contract as abstract class for db server[3966] * feat: contract as abstract class for db server[3966] --------- Co-authored-by: Ihar <[email protected]> * feat: separate errors for static was not implemented metods[3966] * [skip ci] Add swagger.yaml * fix: linter errors[3966] * fix: lint errors * fix: lint errors (#4089) Co-authored-by: Ihar <[email protected]> --------- Signed-off-by: simvalery <[email protected]> Signed-off-by: Alexander Pyatakov <[email protected]> Co-authored-by: Ihar <[email protected]> Co-authored-by: prernaa.agarwal <[email protected]> Co-authored-by: simvalery <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> Co-authored-by: Alexander Pyatakov <[email protected]> Co-authored-by: IharTsykala <[email protected]> * GITBOOK-229: indexer local node changes * update iii f policy (#4104) * update iii f (1725284560.621023265) [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * added release event to notification block Signed-off-by: Artem Buslaev <[email protected]> --------- Signed-off-by: Artem Buslaev <[email protected]> * GITBOOK-230: updated roadmap * GITBOOK-232: roadmap changes * fix: await user registration[3966] (#4106) Co-authored-by: Ihar <[email protected]> * update policy Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix: confusing field end function in analitic service[3966] (#4113) Co-authored-by: Ihar <[email protected]> * GITBOOK-233: changes in requestVCDocument * GITBOOK-234: Getting Started docs * Update README.md Signed-off-by: prernaadev01 <[email protected]> * Fix/3966 bugs (#4117) * fix: confusing field end function in analitic service[3966] * fix: findOne filters null[3966] --------- Co-authored-by: Ihar <[email protected]> * Feature/3966 database access layer refactoring tests (#4095) * fix: call data base server insted helper in analiticts service[3966] * fix: call data base server insted helper in logger service[3966] * fix: call data base server insted helper in auth service[3966] * fix: call data base server insted helper in guardian service[3966] * fix: call data base server insted helper in queue service[3966] * fix: call data base server insted helper in notification service[3966] * fix: call data base server insted helper in common library[3966] * fix: call data base server insted helper in database-server[3966] * fix: common library imports[3966] * fix: auth service data dase update parametrs[3966] * fix: guardian service data base server update parametrs[3966] * fix: notification service data base server update parametrs[3966] * fix: queue service data base server update parametrs[3966] * fix:data base server update parametrs[3966] * fix: analitics service data base server update parametrs[3966] * fix: lint issues[3966] * Feature/3966 database access layer refactoring remove where (#4030) * fix: remove where from quarduan service[3966] * fix: remove where from policy service[3966] * fix: remove where from common service[3966] * fix: remove where from database server[3966] * fix: remove where from database helper[3966] --------- Co-authored-by: Ihar <[email protected]> * Feature/3966 database access layer refactoring types (#4034) * fix: remove where from quarduan service[3966] * fix: remove where from policy service[3966] * fix: remove where from common service[3966] * fix: remove where from database server[3966] * fix: remove where from database helper[3966] * feat: types for database helper[3966] * feat: types for guardian service[3966] * feat: types for policy service[3966] * feat: types for loggers service[3966] * feat: types for queue service[3966] * feat: types for common library[3966] * feat: types for db helper[3966] * feat: types for db server[3966] * feat: types for analitic service[3966] * feat: types for db server[3966] * feat: types for logger service[3966] --------- Co-authored-by: Ihar <[email protected]> * fix: lint errors * fix: lint errors * fix: get cache from base64 * fix: devide cases responce bufer and base64 in cache * Feature/3966 database access layer refactoring agregation (#4048) * fix: get cache from base64 * fix: devide cases responce bufer and base64 in cache * feat: move aggregation filters to bd helper[3966] * feat: move aggregation filters to bd helper for logger service[3966] * feat: move aggregation filters to bd helper for policy service[3966] * feat: move aggregation filters to bd helper for queue service[3966] * feat: move aggregation filters to bd helper and server[3966] --------- Co-authored-by: Ihar <[email protected]> * Feature/3966 move grid fs from services and db server (#4051) * fix: get cache from base64 * fix: devide cases responce bufer and base64 in cache * feat: move aggregation filters to bd helper[3966] * feat: move aggregation filters to bd helper for logger service[3966] * feat: move aggregation filters to bd helper for policy service[3966] * feat: move aggregation filters to bd helper for queue service[3966] * feat: move aggregation filters to bd helper and server[3966] * feat: move grid fs calls from db server to db helper[3966] * feat: connect bd and grid fs in db helper[3966] --------- Co-authored-by: Ihar <[email protected]> * fix: types[3966] * fix: lint error[3966] * Feature/3966 database access layer refactoring common types in db server (#4073) * GITBOOK-221: dropdown button block addon added * Feature/hard coded default jwt secret key (#4053) * remove hard coded JWT key Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix validator Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * move to RS256 Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fixes Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * [skip ci] Add swagger.yaml * fix routines::unsupported issue Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * merge develop Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix SR_INITIAL_PASSWORD Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> --------- Signed-off-by: simvalery <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> * GITBOOK-222: added requestvcdocumentaddon block * remove unused variables Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix: any entity arguments[3966] * remove unused variables Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * ai-service cleanup (#4069) Signed-off-by: Alexander Pyatakov <[email protected]> * Docker-compose fixes (#4070) * YARN_CACHE_FOLDER fix and images version bump Signed-off-by: Alexander Pyatakov <[email protected]> * Images version bump. Volumes path fixes Signed-off-by: Alexander Pyatakov <[email protected]> --------- Signed-off-by: Alexander Pyatakov <[email protected]> * feat: types for options[3966] * feat: add types for items in bd server[3966] --------- Signed-off-by: simvalery <[email protected]> Signed-off-by: Alexander Pyatakov <[email protected]> Co-authored-by: prernaa.agarwal <[email protected]> Co-authored-by: simvalery <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> Co-authored-by: Ihar <[email protected]> Co-authored-by: Alexander Pyatakov <[email protected]> * feat: add contract as abstract class for db helper[3966] (#4074) * feat: add contract as abstract class for db helper[3966] * feat: contract as abstract class for db server[3966] * feat: contract as abstract class for db server[3966] --------- Co-authored-by: Ihar <[email protected]> * feat: separate errors for static was not implemented metods[3966] * [skip ci] Add swagger.yaml * fix: linter errors[3966] * fix: lint errors * fix: lint errors * feat: mocs and base tests[3966] * feat: mocs and base tests[3966] * feat: add base db server tests and import mocks[3966] * feat: test for db server[3966] --------- Signed-off-by: simvalery <[email protected]> Signed-off-by: Alexander Pyatakov <[email protected]> Co-authored-by: Ihar <[email protected]> Co-authored-by: prernaa.agarwal <[email protected]> Co-authored-by: simvalery <[email protected]> Co-authored-by: envision-ci-agent <[email protected]> Co-authored-by: Alexander Pyatakov <[email protected]> Co-authored-by: IharTsykala <[email protected]> * GITBOOK-235: roadmap table changes * 4086 Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * 4086 Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix lint Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * fix reset filters Signed-off-by: simvalery <[email protected]> Signed-off-by: simvalery <[email protected]> * GITBOOK-236: roadmap changes * fix retire contract [skip ci] (#4170) Signed-off-by: Artem Buslaev <[email protected]> * GITBOOK-237: Contract changes * Update readme.md of iii.F Signed-off-by: prernaadev01 <[email protected]> * GITBOOK-238: Added section for SSL encryption configuration * added gccm001 (1726477041.282981680) [skip ci] (#4169) * added gccm001 (1726477041.282981680) [skip ci] Signed-off-by: Artem Buslaev <[email protected]> * update gccm001 (1726567693.914953000) [skip ci] Signed-off-by: Artem Buslaev <[email protected]> --------- Signed-off-by: Artem Buslaev <[email protected]> * feat: cache serialization for streams (#4175) * feat: cache serialization for streams * fix: lint erros --------- Co-authored-by: Ihar <[email protected]> * Update readme.md of ML Signed-off-by: prernaadev01 <[email protected]> * Update readme.md of CDM ML Signed-off-by: prernaadev01 <[email protected]> * Update readme.md of tool 33 Signed-off-by: prernaadev01 <[email protected]> * update tool and policy files [skip ci] (#4183) Signed-off-by: Artem Buslaev <[email protected]> * Fixing fronte…
1 parent 10d06ca commit d9c752f

32 files changed

+615
-173
lines changed

frontend/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src/app/injectors/block-type-tips.injector.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ BLOCK_TYPE_TIPS_VALUE[BlockType.DocumentsViewer] =
2424
'A block type which outputs information from the DB as grid';
2525
BLOCK_TYPE_TIPS_VALUE[BlockType.PaginationAddon] =
2626
'A block type which adds pagination to the InterfaceDocumentSourceBlock if added';
27+
BLOCK_TYPE_TIPS_VALUE[BlockType.DataTransformationAddon] =
28+
'A block type that transforms grid data';
2729
BLOCK_TYPE_TIPS_VALUE[BlockType.DocumentsSourceAddon] =
2830
'A block for searching VC, for grid';
2931
BLOCK_TYPE_TIPS_VALUE[BlockType.FiltersAddon] =

frontend/src/app/modules/policy-engine/helpers/select-block/select-block.component.ts

Lines changed: 47 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Output, SimpleChanges } from '@angular/core';
1+
import { AfterViewInit, ChangeDetectionStrategy, Component, EventEmitter, Input, Output, SimpleChanges } from '@angular/core';
22
import { RegisteredService } from '../../services/registered.service';
33
import { PolicyBlock, PolicyFolder } from '../../structures';
44

@@ -13,7 +13,9 @@ type ValueType = string | PolicyBlock | null | undefined;
1313
templateUrl: './select-block.component.html',
1414
styleUrls: ['./select-block.component.scss']
1515
})
16-
export class SelectBlock {
16+
export class SelectBlock implements AfterViewInit {
17+
private searchTimeout!: any;
18+
private data?: any[];
1719
@Input('root') root!: PolicyFolder;
1820
@Input('blocks') blocks!: PolicyBlock[];
1921
@Input('readonly') readonly!: boolean;
@@ -22,16 +24,56 @@ export class SelectBlock {
2224
@Output('valueChange') valueChange = new EventEmitter<any>();
2325
@Output('change') change = new EventEmitter<any>();
2426
@Input() multiple: boolean = false;
25-
2627
public text: string | null | undefined;
2728
public search: string = '';
2829
public searchData?: any[];
29-
private searchTimeout!: any;
30-
private data?: any[];
3130

3231
constructor(private registeredService: RegisteredService) {
3332
}
3433

34+
private getText(value: string | PolicyBlock | null | undefined): string {
35+
if (value && typeof value === 'object') {
36+
if (value === this.root) {
37+
if (this.root.isModule) {
38+
return 'Module';
39+
} else if (this.root.isTool) {
40+
return 'Tool';
41+
} else {
42+
return 'Policy';
43+
}
44+
} else {
45+
return value.localTag;
46+
}
47+
} if (value) {
48+
return value;
49+
} else {
50+
return '';
51+
}
52+
}
53+
54+
private getIcon(value: PolicyBlock) {
55+
if (value === this.root) {
56+
if (this.root.isModule) {
57+
return { icon: 'policy-module', svg: true };
58+
} else if (this.root.isTool) {
59+
return { icon: 'handyman', svg: false };
60+
} else {
61+
return { icon: 'article', svg: false };
62+
}
63+
} else {
64+
return {
65+
icon: this.registeredService.getIcon(value.blockType),
66+
svg: false
67+
};
68+
}
69+
}
70+
71+
ngAfterViewInit(): void {
72+
setTimeout(() => {
73+
this.onChange();
74+
}, 100)
75+
}
76+
3577
onChange() {
3678
this.text = this.multiple
3779
? (this.value as ValueType[])
@@ -78,43 +120,6 @@ export class SelectBlock {
78120
}, 0);
79121
}
80122

81-
private getText(value: string | PolicyBlock | null | undefined): string {
82-
if (value && typeof value === 'object') {
83-
if (value === this.root) {
84-
if (this.root.isModule) {
85-
return 'Module';
86-
} else if (this.root.isTool) {
87-
return 'Tool';
88-
} else {
89-
return 'Policy';
90-
}
91-
} else {
92-
return value.localTag;
93-
}
94-
} if (value) {
95-
return value;
96-
} else {
97-
return '';
98-
}
99-
}
100-
101-
private getIcon(value: PolicyBlock) {
102-
if (value === this.root) {
103-
if (this.root.isModule) {
104-
return { icon: 'policy-module', svg: true };
105-
} else if (this.root.isTool) {
106-
return { icon: 'handyman', svg: false };
107-
} else {
108-
return { icon: 'article', svg: false };
109-
}
110-
} else {
111-
return {
112-
icon: this.registeredService.getIcon(value.blockType),
113-
svg: false
114-
};
115-
}
116-
}
117-
118123
public onSearch(event: any) {
119124
clearTimeout(this.searchTimeout);
120125
this.searchTimeout = setTimeout(() => {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- UI Prop -->
2+
<table class="properties" [attr.readonly]="readonly" *ngIf="properties">
3+
<tr class="propRow">
4+
<td class="propRowCol"></td>
5+
<td class="propRowCell cellName">Expression</td>
6+
<td class="propRowCell">
7+
<input class="prop-input" type="text" [(ngModel)]="properties.expression" [readonly]="true"
8+
(click)="editExpression($event)">
9+
</td>
10+
</tr>
11+
</table>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
import {Component, EventEmitter, Input, OnInit, Output, ViewEncapsulation} from '@angular/core';
2+
import {CodeEditorDialogComponent} from '../../../../dialogs/code-editor-dialog/code-editor-dialog.component';
3+
import {PolicyBlock, SchemaVariables} from '../../../../structures';
4+
import {DialogService} from 'primeng/dynamicdialog';
5+
6+
@Component({
7+
selector: 'app-data-transformation-config',
8+
templateUrl: './data-transformation-config.component.html',
9+
styleUrls: ['./data-transformation-config.component.scss'],
10+
encapsulation: ViewEncapsulation.Emulated
11+
})
12+
export class DataTransformationConfigComponent implements OnInit {
13+
@Input('block') currentBlock!: PolicyBlock;
14+
@Input('readonly') readonly!: boolean;
15+
@Output() onInit = new EventEmitter();
16+
17+
private item!: PolicyBlock;
18+
19+
properties!: any;
20+
propHidden: any = {
21+
outputSchemaGroup: false
22+
};
23+
schemas!: SchemaVariables[];
24+
25+
constructor(
26+
private dialog: DialogService,
27+
) {
28+
29+
}
30+
31+
ngOnInit(): void {
32+
this.schemas = [];
33+
this.onInit.emit(this);
34+
this.load(this.currentBlock);
35+
}
36+
37+
load(block: PolicyBlock) {
38+
this.item = block;
39+
this.properties = block.properties;
40+
this.properties.uiMetaData = this.properties.uiMetaData || {}
41+
this.properties.expression = this.properties.expression || ''
42+
this.properties.documentSigner = this.properties.documentSigner || '';
43+
this.properties.idType = this.properties.idType || '';
44+
}
45+
46+
editExpression($event: MouseEvent) {
47+
const dialogRef = this.dialog.open(CodeEditorDialogComponent, {
48+
width: '80%',
49+
data: {
50+
expression: this.properties.expression,
51+
readonly: this.readonly
52+
},
53+
styleClass: 'g-dialog',
54+
modal: true,
55+
closable: false,
56+
})
57+
dialogRef.onClose.subscribe(result => {
58+
if (result) {
59+
this.properties.expression = result.expression;
60+
}
61+
})
62+
}
63+
64+
onSave() {
65+
this.item.changed = true;
66+
}
67+
}

frontend/src/app/modules/policy-engine/policy-engine.module.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ import { JsonEditorDialogComponent } from './dialogs/json-editor-dialog/json-edi
147147
import { PolicyTestDialog } from './dialogs/policy-test-dialog/policy-test-dialog.component';
148148
import { NewImportFileDialog } from './dialogs/new-import-file-dialog/new-import-file-dialog.component';
149149
import { RequestDocumentBlockDialog } from './policy-viewer/blocks/request-document-block/dialog/request-document-block-dialog.component';
150+
import { DataTransformationConfigComponent } from './policy-configuration/blocks/calculate/data-transformation-config/data-transformation-config.component';
150151

151152
@NgModule({
152153
declarations: [
@@ -252,7 +253,8 @@ import { RequestDocumentBlockDialog } from './policy-viewer/blocks/request-docum
252253
DropdownBlockAddonComponent,
253254
RequestAddonConfigComponent,
254255
RequestDocumentBlockAddonComponent,
255-
RequestDocumentBlockDialog
256+
RequestDocumentBlockDialog,
257+
DataTransformationConfigComponent
256258
],
257259
imports: [
258260
CommonModule,

frontend/src/app/modules/policy-engine/policy-viewer/blocks/filters-addon-block/filters-addon-block.component.html

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
[appendTo]="'body'"
1717
[style]="{'width':'100%', 'border-radius': '8px 0 0 8px'}"
1818
class="w-full"
19-
(onChange)="onFilters($event)">
19+
(onChange)="onType($event)">
2020
<ng-template pTemplate="selectedItem" let-selectedOption>
2121
<span class="prefix-dropdown">Type</span>
2222
<span *ngIf="selectedOption">{{ selectedOption.name }}</span>
@@ -36,8 +36,9 @@
3636
<span *ngIf="currentType === 'lte'" class="common-prefix-dropdown">Less Than or Equal</span>
3737
</div>
3838

39-
<div *ngIf="type == 'dropdown'" class="content-select">
39+
<div *ngIf="type == 'dropdown'" class="content-select" [attr.valid]="valid">
4040
<p-dropdown
41+
*ngIf="!(currentType === 'in' || currentType === 'not_in' || currentType === 'nin')"
4142
autoWidth="false"
4243
[(ngModel)]="currentValue"
4344
[options]="options"
@@ -53,8 +54,23 @@
5354
<span *ngIf="!selectedOption">Not selected</span>
5455
</ng-template>
5556
</p-dropdown>
57+
<p-multiSelect
58+
*ngIf="currentType === 'in' || currentType === 'not_in' || currentType === 'nin'"
59+
autoWidth="false"
60+
[(ngModel)]="currentValue"
61+
[options]="multioptions"
62+
[showHeader]="false"
63+
optionLabel="name"
64+
optionValue="value"
65+
[appendTo]="'body'"
66+
(onChange)="onFilters($event)"
67+
[style]="{'width':'100%', 'height': '100%'}"
68+
class="w-full filter-dropdown"
69+
panelStyleClass="guardian-multiselect-panel"
70+
>
71+
</p-multiSelect>
5672
</div>
57-
<div *ngIf="type == 'datepicker'" class="content-select">
73+
<div *ngIf="type == 'datepicker'" class="content-select" [attr.valid]="valid">
5874
<p-calendar
5975
[style]="{'border-left': '0', 'border-radius': '0 8px 8px 0'}"
6076
[(ngModel)]="currentValue"
@@ -65,7 +81,7 @@
6581
dateFormat="yy-mm-dd">
6682
</p-calendar>
6783
</div>
68-
<div *ngIf="type == 'input'" class="content-select">
84+
<div *ngIf="type == 'input'" class="content-select" [attr.valid]="valid">
6985
<input class="input-filter" [(ngModel)]="currentValue" (change)="onFilters($event)">
7086
</div>
7187
</div>

frontend/src/app/modules/policy-engine/policy-viewer/blocks/filters-addon-block/filters-addon-block.component.scss

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,24 @@
3838
align-self: flex-end;
3939
flex: 1;
4040
height: 38px;
41+
42+
&[valid="false"] ::ng-deep {
43+
.p-multiselect {
44+
border-color: #f00;
45+
}
46+
47+
.p-dropdown {
48+
border-color: #f00;
49+
}
50+
51+
.p-inputtext {
52+
border-color: #f00;
53+
}
54+
55+
.input-filter {
56+
border-color: #f00;
57+
}
58+
}
4159
}
4260

4361
.grouped-content {
@@ -81,30 +99,42 @@ p-calendar {
8199
margin-right: 5px;
82100
}
83101

84-
::ng-deep .p-dropdown-label {
85-
font-size: 14px;
86-
color: #23252E;
87-
}
88-
89-
::ng-deep .p-component {
102+
.content ::ng-deep .p-component {
90103
border-radius: 8px;
91104
outline: none;
92105
box-shadow: none;
93106
}
94107

95-
::ng-deep .filter-dropdown .p-dropdown {
108+
.content ::ng-deep .filter-dropdown .p-dropdown {
96109
border-radius: 0 8px 8px 0;
97110
border-left: 0;
111+
112+
.p-dropdown-label {
113+
font-size: 14px;
114+
color: #23252E;
115+
height: 36px;
116+
}
117+
}
118+
119+
.content ::ng-deep .filter-dropdown .p-multiselect {
120+
border-radius: 0 8px 8px 0;
121+
border-left: 0;
122+
123+
.p-multiselect-label {
124+
font-size: 14px;
125+
color: #23252E;
126+
height: 36px;
127+
}
98128
}
99129

100-
::ng-deep .calendar-filter .p-inputtext {
130+
.content ::ng-deep .calendar-filter .p-inputtext {
101131
padding: 8px 8px 11px 16px;
102132
border-radius: 0 8px 8px 0;
103133
border-left: 0;
104134
height: 37px;
105135
}
106136

107-
::ng-deep .calendar-filter .p-datepicker-trigger {
137+
.content ::ng-deep .calendar-filter .p-datepicker-trigger {
108138
position: absolute;
109139
top: 50%;
110140
right: 8px;

0 commit comments

Comments
 (0)