From ed24aadbe62219d5d043ca05fbee8c0ad5c81cc4 Mon Sep 17 00:00:00 2001 From: simvalery Date: Mon, 4 Nov 2024 21:03:54 +0400 Subject: [PATCH] Fix github build for 3.0 (#4355) * GITBOOK-205: Indexer API * Feature/3610 (#3905) * add query params to dataSource block Signed-off-by: simvalery Signed-off-by: simvalery * add query params to dataSource block Signed-off-by: simvalery Signed-off-by: simvalery * [skip ci] Add swagger.yaml * remove size from necessary params Signed-off-by: simvalery Signed-off-by: simvalery * fix package.json Signed-off-by: simvalery Signed-off-by: simvalery * add filterByUUID param Signed-off-by: simvalery Signed-off-by: simvalery --------- Signed-off-by: simvalery Co-authored-by: envision-ci-agent * fix logs (#3904) Signed-off-by: Artem Buslaev * update custom logic block (#3918) Signed-off-by: Artem Buslaev * 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 * [skip ci] Add swagger.yaml * fix loading map key on frontend side Signed-off-by: Artem Buslaev --------- Signed-off-by: Artem Buslaev Co-authored-by: envision-ci-agent * moved vmr0006 [skip ci] Signed-off-by: Artem Buslaev * fix docker images configs Signed-off-by: simvalery Signed-off-by: simvalery * fix nginx templates folder Signed-off-by: simvalery Signed-off-by: simvalery * Update readme.md of ML folder Signed-off-by: prernaadev01 * Create readme.md of CDM Signed-off-by: prernaadev01 * Create readme.md of CDM Signed-off-by: prernaadev01 * Update readme.md of CDM Signed-off-by: prernaadev01 * Update readme.md of CDM Signed-off-by: prernaadev01 * Update readme.md of CDM Signed-off-by: prernaadev01 * Update readme.md of CDM Signed-off-by: prernaadev01 * Update readme.md of Verra Signed-off-by: prernaadev01 * Update readme.md of VMR0007 Signed-off-by: prernaadev01 * Update README.md of VMR0017 Signed-off-by: prernaadev01 * Update readMe.md of VM0042 Signed-off-by: prernaadev01 * Update README.md of VerraARR Signed-off-by: prernaadev01 * Update readme.md of Verra Signed-off-by: prernaadev01 * fixed typo [skip ci] Signed-off-by: Artem Buslaev * fix delete schemas Signed-off-by: Artem Buslaev * Feature/fix pipeline (#3927) * test action Signed-off-by: simvalery Signed-off-by: simvalery * [skip ci] Add swagger.yaml * test action Signed-off-by: simvalery Signed-off-by: simvalery * test action Signed-off-by: simvalery Signed-off-by: simvalery * test Signed-off-by: simvalery Signed-off-by: simvalery * test Signed-off-by: simvalery Signed-off-by: simvalery * test fix Signed-off-by: simvalery Signed-off-by: simvalery * test fix Signed-off-by: simvalery Signed-off-by: simvalery * test fix Signed-off-by: simvalery Signed-off-by: simvalery * fix pipeline Signed-off-by: simvalery Signed-off-by: simvalery * fix pipeline Signed-off-by: simvalery Signed-off-by: simvalery * fix pipeline Signed-off-by: simvalery Signed-off-by: simvalery --------- Signed-off-by: simvalery Co-authored-by: envision-ci-agent * Update readme.md of Verra Readme Signed-off-by: prernaadev01 * update vmr0006 (1721826322.833452372) [skip ci] Signed-off-by: Artem Buslaev * added demo and production docker files [skip ci] (#3928) Signed-off-by: Artem Buslaev * GITBOOK-208: fixed some doc issues * GITBOOK-209: Added VMR0006 docs * fix demo generations notifications (#3932) Signed-off-by: Artem Buslaev * upload cdm i.e policy (1721987853.015059003) [skip ci] Signed-off-by: Artem Buslaev * GITBOOK-210: adding logging configuration * Update readme.md of ML Signed-off-by: prernaadev01 * Add files via upload Signed-off-by: prernaadev01 * Update README.md of VMR0006 Signed-off-by: prernaadev01 * Update readme.md of Verra Signed-off-by: prernaadev01 * Update readme.md of CDM Signed-off-by: prernaadev01 * Add files via upload Signed-off-by: prernaadev01 * Auto-testing (#3935) Auto-testing #2847 * Update readme.md of vmr0006 Signed-off-by: prernaadev01 * upd i.e policy (1722268220.144894003) [skip ci] Signed-off-by: Artem Buslaev * Fix/broken access (#3945) * fix token issuer Signed-off-by: Artem Buslaev * fix block access Signed-off-by: Artem Buslaev --------- Signed-off-by: Artem Buslaev * 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 * 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 Co-authored-by: envision-ci-agent * fix: configs api-gateway[3834] * feat: api key for seq and refactor code --------- Co-authored-by: Ihar Co-authored-by: envision-ci-agent * update i.e policy (1722339509.124100450) [skip ci] Signed-off-by: Artem Buslaev * 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 * 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 Co-authored-by: envision-ci-agent * fix: configs api-gateway[3834] * feat: api key for seq and refactor code * refactore code * refactore code --------- Co-authored-by: Ihar Co-authored-by: envision-ci-agent * fix record event (added delay for access to blocks) Signed-off-by: Stepan Kiryakov * fix getting user did keys (#3953) Signed-off-by: Artem Buslaev * fix mint (#3956) Signed-off-by: Artem Buslaev * GITBOOK-211: Added UI of Auto testing * fix uploading artifacts (#3958) Signed-off-by: Artem Buslaev * fix import dialog Signed-off-by: Stepan Kiryakov * 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 * 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 Co-authored-by: envision-ci-agent * 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 Co-authored-by: envision-ci-agent * Create readme Signed-off-by: prernaadev01 * added sr initial password (#3960) * added sr initial password Signed-off-by: Artem Buslaev * fix logger initialization Signed-off-by: Artem Buslaev --------- Signed-off-by: Artem Buslaev * GITBOOK-214: added parameter * feat: new init mongo for logger service[3834] (#3961) Co-authored-by: Ihar * bump version Signed-off-by: simvalery Signed-off-by: simvalery * GITBOOK-215: AMS-I.E docs added * fix role description [skip ci] Signed-off-by: Artem Buslaev * GITBOOK-216: Added tools to 1.E * Create readme.md of AMS-I.E Signed-off-by: prernaadev01 * Update readme.md of ML Signed-off-by: prernaadev01 * Update readme.md of ML Signed-off-by: prernaadev01 * Update password storage (#3965) Change hash password algorithms * remove indexer description [skip ci] Signed-off-by: Artem Buslaev * add sort Signed-off-by: simvalery Signed-off-by: simvalery * GITBOOK-217: Updated roadmap 1 * GITBOOK-218: Updated roadmap 2 * fix filter data types Signed-off-by: simvalery Signed-off-by: simvalery * fix pagination Signed-off-by: simvalery Signed-off-by: simvalery * fix query filters for vp Signed-off-by: simvalery Signed-off-by: simvalery * allow full mongo connection string (#3999) Signed-off-by: Artem Buslaev * Create wip of cdm Signed-off-by: prernaadev01 * Create WIP of GHG Signed-off-by: prernaadev01 * Create WIP of Gold Standard Signed-off-by: prernaadev01 * Create WIP of Verra Signed-off-by: prernaadev01 * GITBOOK-219: Adding note for indexer data load * unique values for filter addon Signed-off-by: simvalery Signed-off-by: simvalery * Add set strict filters functional. (#4019) Signed-off-by: Dariy Miseldzhani * fix filters Signed-off-by: simvalery Signed-off-by: simvalery * fix filters Signed-off-by: simvalery Signed-off-by: simvalery * fix filters Signed-off-by: simvalery Signed-off-by: simvalery * fix filters Signed-off-by: simvalery Signed-off-by: simvalery * restore filters in strict mode Signed-off-by: simvalery Signed-off-by: simvalery * Fix/indexer (#4022) * fix map loading [skip ci] Signed-off-by: Artem Buslaev * fix overview cards [skip ci] Signed-off-by: Artem Buslaev * added nats config [skip ci] Signed-off-by: Artem Buslaev * added search page size [skip ci] Signed-off-by: Artem Buslaev * added fixtures [skip ci] Signed-off-by: Artem Buslaev * fix indexer docker dependencies [skip ci] Signed-off-by: Artem Buslaev * Dockerfiles unification * fix nats config [skip ci] Signed-off-by: Artem Buslaev --------- Signed-off-by: Artem Buslaev Co-authored-by: Alexander Pyatakov * fix indexer search bar in safari Signed-off-by: Artem Buslaev * Feature/interactive block issues (#3993) * added button and dropdown addons Signed-off-by: Artem Buslaev * [skip ci] Add swagger.yaml * fix set options Signed-off-by: Artem Buslaev * update types Signed-off-by: Artem Buslaev * added request vc document addon Signed-off-by: Artem Buslaev * fix Signed-off-by: Artem Buslaev * update vm0017 (1723473044.239729003) [skip ci] Signed-off-by: Artem Buslaev --------- Signed-off-by: Artem Buslaev Co-authored-by: envision-ci-agent * 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 * 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 Co-authored-by: envision-ci-agent * 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 Co-authored-by: envision-ci-agent * Feature/db connection string (#4016) * fix connection string for db logger Signed-off-by: Artem Buslaev * fix queue service Signed-off-by: Artem Buslaev * fix Signed-off-by: Artem Buslaev --------- Signed-off-by: Artem Buslaev * fix filters reset Signed-off-by: simvalery Signed-off-by: simvalery * 3988 (#4035) * 3988 Signed-off-by: simvalery Signed-off-by: simvalery * fix filters reset Signed-off-by: simvalery Signed-off-by: simvalery --------- Signed-off-by: simvalery * fix lint Signed-off-by: simvalery Signed-off-by: simvalery * 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 * GITBOOK-220: Button block Addon * fix: add document to schema update[3724] (#3986) Co-authored-by: Ihar * Feature/hard coded default jwt secret key (#3934) * remove hard coded JWT key Signed-off-by: simvalery Signed-off-by: simvalery * fix validator Signed-off-by: simvalery Signed-off-by: simvalery * move to RS256 Signed-off-by: simvalery Signed-off-by: simvalery * fixes Signed-off-by: simvalery Signed-off-by: simvalery * fix Signed-off-by: simvalery Signed-off-by: simvalery * fix Signed-off-by: simvalery Signed-off-by: simvalery * [skip ci] Add swagger.yaml * fix routines::unsupported issue Signed-off-by: simvalery Signed-off-by: simvalery * merge develop Signed-off-by: simvalery Signed-off-by: simvalery --------- Signed-off-by: simvalery Co-authored-by: envision-ci-agent * GITBOOK-221: dropdown button block addon added * Feature/hard coded default jwt secret key (#4053) * remove hard coded JWT key Signed-off-by: simvalery Signed-off-by: simvalery * fix validator Signed-off-by: simvalery Signed-off-by: simvalery * move to RS256 Signed-off-by: simvalery Signed-off-by: simvalery * fixes Signed-off-by: simvalery Signed-off-by: simvalery * fix Signed-off-by: simvalery Signed-off-by: simvalery * fix Signed-off-by: simvalery Signed-off-by: simvalery * [skip ci] Add swagger.yaml * fix routines::unsupported issue Signed-off-by: simvalery Signed-off-by: simvalery * merge develop Signed-off-by: simvalery Signed-off-by: simvalery * fix SR_INITIAL_PASSWORD Signed-off-by: simvalery Signed-off-by: simvalery --------- Signed-off-by: simvalery Co-authored-by: envision-ci-agent * GITBOOK-222: added requestvcdocumentaddon block * remove unused variables Signed-off-by: simvalery Signed-off-by: simvalery * remove unused variables Signed-off-by: simvalery Signed-off-by: simvalery * ai-service cleanup (#4069) Signed-off-by: Alexander Pyatakov * Docker-compose fixes (#4070) * YARN_CACHE_FOLDER fix and images version bump Signed-off-by: Alexander Pyatakov * Images version bump. Volumes path fixes Signed-off-by: Alexander Pyatakov --------- Signed-off-by: Alexander Pyatakov * GITBOOK-223: mongo atlas * fix invalid algorithm error Signed-off-by: simvalery Signed-off-by: simvalery * 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 Co-authored-by: Iliya Savov * 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 * fixes typo in CODEOWNERS Signed-off-by: Roger Barker --------- Signed-off-by: Roger Barker * bump version Signed-off-by: simvalery Signed-off-by: simvalery * fix detect secrets Signed-off-by: simvalery Signed-off-by: simvalery * Fix/contracts (#4071) * fix contracts Signed-off-by: Artem Buslaev * added compatibility errors Signed-off-by: Artem Buslaev * revert wipe reject ban Signed-off-by: Artem Buslaev * fix Signed-off-by: Artem Buslaev * fix sync pools Signed-off-by: Artem Buslaev * fix Signed-off-by: Artem Buslaev * fix Signed-off-by: Artem Buslaev * fix issues in wipe contract Signed-off-by: Artem Buslaev * fix endpoints Signed-off-by: Artem Buslaev * [skip ci] Add swagger.yaml --------- Signed-off-by: Artem Buslaev Co-authored-by: envision-ci-agent * change setup sr profile title [skip ci] Signed-off-by: Artem Buslaev * 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 * update swagger Signed-off-by: Stepan Kiryakov * 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 * rename generate demo key task (#4093) * rename generate demo key task Signed-off-by: Artem Buslaev * [skip ci] Add swagger.yaml --------- Signed-off-by: Artem Buslaev Co-authored-by: envision-ci-agent * Feature/update create token block (#4084) * update create token by template Signed-off-by: Artem Buslaev * fix Signed-off-by: Artem Buslaev * added irec tokens for devices(1724415199.202508003) Signed-off-by: Artem Buslaev * added autorun and variables in create token block Signed-off-by: Artem Buslaev * update create token block and validators Signed-off-by: Artem Buslaev * code refactor for create token block Signed-off-by: Artem Buslaev * update irec create tokens for devices (1724753425.754266003) [skip ci] Signed-off-by: Artem Buslaev * refactoring Signed-off-by: Artem Buslaev * fix Signed-off-by: Artem Buslaev * fix Signed-off-by: Artem Buslaev * clear wipe contract id after enable wipe changed Signed-off-by: Artem Buslaev * [skip ci] Add swagger.yaml * fix token action and token confirmation blocks Signed-off-by: Artem Buslaev --------- Signed-off-by: Artem Buslaev Co-authored-by: envision-ci-agent * 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 * arm64 platform added as build target; bump used node image version; bump workflow steps verisons Signed-off-by: Alexander Pyatakov * Revised docker-compose files Signed-off-by: Alexander Pyatakov --------- Signed-off-by: Alexander Pyatakov * 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 * 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 * 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 * 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 * 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 Signed-off-by: simvalery * fix validator Signed-off-by: simvalery Signed-off-by: simvalery * move to RS256 Signed-off-by: simvalery Signed-off-by: simvalery * fixes Signed-off-by: simvalery Signed-off-by: simvalery * fix Signed-off-by: simvalery Signed-off-by: simvalery * fix Signed-off-by: simvalery Signed-off-by: simvalery * [skip ci] Add swagger.yaml * fix routines::unsupported issue Signed-off-by: simvalery Signed-off-by: simvalery * merge develop Signed-off-by: simvalery Signed-off-by: simvalery * fix SR_INITIAL_PASSWORD Signed-off-by: simvalery Signed-off-by: simvalery --------- Signed-off-by: simvalery Co-authored-by: envision-ci-agent * GITBOOK-222: added requestvcdocumentaddon block * remove unused variables Signed-off-by: simvalery Signed-off-by: simvalery * fix: any entity arguments[3966] * remove unused variables Signed-off-by: simvalery Signed-off-by: simvalery * ai-service cleanup (#4069) Signed-off-by: Alexander Pyatakov * Docker-compose fixes (#4070) * YARN_CACHE_FOLDER fix and images version bump Signed-off-by: Alexander Pyatakov * Images version bump. Volumes path fixes Signed-off-by: Alexander Pyatakov --------- Signed-off-by: Alexander Pyatakov * feat: types for options[3966] * feat: add types for items in bd server[3966] --------- Signed-off-by: simvalery Signed-off-by: Alexander Pyatakov Co-authored-by: prernaa.agarwal Co-authored-by: simvalery Co-authored-by: envision-ci-agent Co-authored-by: Ihar Co-authored-by: Alexander Pyatakov * 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 * 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 --------- Signed-off-by: simvalery Signed-off-by: Alexander Pyatakov Co-authored-by: Ihar Co-authored-by: prernaa.agarwal Co-authored-by: simvalery Co-authored-by: envision-ci-agent Co-authored-by: Alexander Pyatakov Co-authored-by: IharTsykala * GITBOOK-229: indexer local node changes * update iii f policy (#4104) * update iii f (1725284560.621023265) [skip ci] Signed-off-by: Artem Buslaev * added release event to notification block Signed-off-by: Artem Buslaev --------- Signed-off-by: Artem Buslaev * GITBOOK-230: updated roadmap * GITBOOK-232: roadmap changes * fix: await user registration[3966] (#4106) Co-authored-by: Ihar * update policy Signed-off-by: simvalery Signed-off-by: simvalery * fix: confusing field end function in analitic service[3966] (#4113) Co-authored-by: Ihar * GITBOOK-233: changes in requestVCDocument * GITBOOK-234: Getting Started docs * Update README.md Signed-off-by: prernaadev01 * Fix/3966 bugs (#4117) * fix: confusing field end function in analitic service[3966] * fix: findOne filters null[3966] --------- Co-authored-by: Ihar * 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 * 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 * 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 * 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 * 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 Signed-off-by: simvalery * fix validator Signed-off-by: simvalery Signed-off-by: simvalery * move to RS256 Signed-off-by: simvalery Signed-off-by: simvalery * fixes Signed-off-by: simvalery Signed-off-by: simvalery * fix Signed-off-by: simvalery Signed-off-by: simvalery * fix Signed-off-by: simvalery Signed-off-by: simvalery * [skip ci] Add swagger.yaml * fix routines::unsupported issue Signed-off-by: simvalery Signed-off-by: simvalery * merge develop Signed-off-by: simvalery Signed-off-by: simvalery * fix SR_INITIAL_PASSWORD Signed-off-by: simvalery Signed-off-by: simvalery --------- Signed-off-by: simvalery Co-authored-by: envision-ci-agent * GITBOOK-222: added requestvcdocumentaddon block * remove unused variables Signed-off-by: simvalery Signed-off-by: simvalery * fix: any entity arguments[3966] * remove unused variables Signed-off-by: simvalery Signed-off-by: simvalery * ai-service cleanup (#4069) Signed-off-by: Alexander Pyatakov * Docker-compose fixes (#4070) * YARN_CACHE_FOLDER fix and images version bump Signed-off-by: Alexander Pyatakov * Images version bump. Volumes path fixes Signed-off-by: Alexander Pyatakov --------- Signed-off-by: Alexander Pyatakov * feat: types for options[3966] * feat: add types for items in bd server[3966] --------- Signed-off-by: simvalery Signed-off-by: Alexander Pyatakov Co-authored-by: prernaa.agarwal Co-authored-by: simvalery Co-authored-by: envision-ci-agent Co-authored-by: Ihar Co-authored-by: Alexander Pyatakov * 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 * 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 Signed-off-by: Alexander Pyatakov Co-authored-by: Ihar Co-authored-by: prernaa.agarwal Co-authored-by: simvalery Co-authored-by: envision-ci-agent Co-authored-by: Alexander Pyatakov Co-authored-by: IharTsykala * GITBOOK-235: roadmap table changes * 4086 Signed-off-by: simvalery Signed-off-by: simvalery * 4086 Signed-off-by: simvalery Signed-off-by: simvalery * fix lint Signed-off-by: simvalery Signed-off-by: simvalery * fix reset filters Signed-off-by: simvalery Signed-off-by: simvalery * GITBOOK-236: roadmap changes * fix retire contract [skip ci] (#4170) Signed-off-by: Artem Buslaev * GITBOOK-237: Contract changes * Update readme.md of iii.F Signed-off-by: prernaadev01 * 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 * update gccm001 (1726567693.914953000) [skip ci] Signed-off-by: Artem Buslaev --------- Signed-off-by: Artem Buslaev * feat: cache serialization for streams (#4175) * feat: cache serialization for streams * fix: lint erros --------- Co-authored-by: Ihar * Update readme.md of ML Signed-off-by: prernaadev01 * Update readme.md of CDM ML Signed-off-by: prernaadev01 * Update readme.md of tool 33 Signed-off-by: prernaadev01 * update tool and policy files [skip ci] (#4183) Signed-off-by: Artem Buslaev * Fixing frontend-demo image name (#4121) Signed-off-by: Giuseppe Bertone * fix: refactore configs useUnifiedTopology (#4184) Co-authored-by: IharTsykala * 2933 Signed-off-by: simvalery Signed-off-by: simvalery * 3435 Signed-off-by: simvalery Signed-off-by: simvalery * Update README.md on SSL configuration Signed-off-by: prernaadev01 * GITBOOK-243: roadmap changes * update system schema Signed-off-by: simvalery Signed-off-by: simvalery * fix system schema Signed-off-by: simvalery Signed-off-by: simvalery * Add Deloitte ESI Mangrove policy to methodology library (#4114) * Added Deloitte ESI Mangrove to Methodology library Signed-off-by: Bram Bosch * Moved to work in progress directory As per Giuseppe's request Signed-off-by: Bram Bosch --------- Signed-off-by: Bram Bosch * GITBOOK-244: roadmap changes * GITBOOK-245: Added GCCM001 policy demo * Create readme.md of GCCM001 Signed-off-by: prernaadev01 * Update readme.md of GCCM001 Signed-off-by: prernaadev01 * Add files via upload Signed-off-by: prernaadev01 * Delete Methodology Library/Global Carbon Council/GCCM001/GCCM001 v4.0 ReadMe.docx Signed-off-by: prernaadev01 * Feature/default values (#4203) * added default values Signed-off-by: Artem Buslaev * fix sub schema issue Signed-off-by: Artem Buslaev * fix choosing first time preset value for ref Signed-off-by: Artem Buslaev * fix frequent refresh Signed-off-by: Artem Buslaev * fix sub tool schemas for published schemas Signed-off-by: Artem Buslaev * fix choosing sub schema while schema creation Signed-off-by: Artem Buslaev * fix choosing sub schemas for schema creation Signed-off-by: Artem Buslaev * fix export to excel Signed-off-by: Artem Buslaev * fix Signed-off-by: Artem Buslaev * apply ui design Signed-off-by: Artem Buslaev * fix excel import export Signed-off-by: Artem Buslaev * fix Signed-off-by: Artem Buslaev * fix Signed-off-by: Artem Buslaev * fix Signed-off-by: Artem Buslaev --------- Signed-off-by: Artem Buslaev * fix suggested value label [skip ci] Signed-off-by: Artem Buslaev * fix: invatidation cache schema with sub schemas by create schema (#4207) * fix: invatidation cache schema with sub schemas by create schema * feat: add invalidation for post put delete schemas * fix: remove invalidation preview and xlsx * fix: add invalidation importPolicyFromXlsx importPolicyFromXlsxAsync --------- Co-authored-by: Ihar * GITBOOK-246: roadmap changes * [WIP]feature/increase angular version (#4191) * feat: base increase angular until 13 * feat: changing on front websocket service * fix: proxy config path * [WIP] feature/increase angular 14 version (#4193) * feat: moving to 14 version of angular * feat:base moving angular to 14 version * feat: increase version for not base dependencies * refactor code --------- Co-authored-by: Ihar --------- Co-authored-by: IharTsykala Co-authored-by: Ihar * fix:types of filters for findAndCount and count[3966] (#4210) Co-authored-by: Ihar * GITBOOK-247: added jwt keys section in installation * [WIP] feat: save and update many with one connect to bd[3966] (#4127) * feat: save and update many with one connect to bd[3966] * feat: add many methods in db service[3966] * fix: lint errors * Feature/3966 database access layer refactoring impruving requests db microservises (#4143) * fix: lint errors * feat: add save many for guardian service[3966] * feat: add save many for queue service[3966] * feat: add update many for guardian service[3966] * feat: add update many for common[3966] * feat: add update many for policy service[3966] * fix: update many for common[3966] * fix: lint errors * feat: unit tests for save and uodate many in db server and helper[3966] --------- Co-authored-by: Ihar * refactore code * fix: issue update many get collection for bulk write[3966] * feat: add multi entities in tests[3966] * fix: swich update schemas in db server to update db helper[3966] * fix: delete update many[3966] * fix: remove save many from queue service[3966] * Revert "fix: remove save many from queue service[3966]" This reverts commit c66a3cd3b2c35201d20d8308a40b1359a4a2b159. * Revert "fix: delete update many[3966]" This reverts commit ebfa5f50901c3ba13af047aeff367417aecc7e16. * Revert "Revert "fix: remove save many from queue service[3966]"" This reverts commit 998dbe7513489dbdc81999e421e3ccbcc66feaea. * fix: remove apdate many for contracts[3966] * fix: remove promice all from update array[3966] * refactor code * refactor code * fix: lint errors --------- Co-authored-by: Ihar Co-authored-by: IharTsykala * feature/4194 increase angular 15 version (#4212) * feat: base increase angular until 13 * feat: changing on front websocket service * fix: proxy config path * [WIP] feature/increase angular 14 version (#4193) * feat: moving to 14 version of angular * feat:base moving angular to 14 version * feat: increase version for not base dependencies * refactor code --------- Co-authored-by: Ihar * feat: base dependencies before migration[4194] * feat: dependencies after base migration[4194] * feat: migration material[4194] * fix: import errors[4194] * feat: legasy styles in angular json[4194] * fix: frontend warnings * refactore code --------- Co-authored-by: IharTsykala Co-authored-by: Ihar * fix: styles issues from past incresing versions[4194] (#4222) Co-authored-by: Ihar * GITBOOK-248: Added schema defined values docs * GITBOOK-249: updated roadmap * tls (#4230) * fix root document view Signed-off-by: simvalery Signed-off-by: simvalery * fix virtual users order Signed-off-by: simvalery Signed-off-by: simvalery * fix companyLogo === null error Signed-off-by: simvalery Signed-off-by: simvalery * tls encryption Signed-off-by: simvalery Signed-off-by: simvalery * disable tls by default Signed-off-by: simvalery Signed-off-by: simvalery * fix schemas Signed-off-by: simvalery Signed-off-by: simvalery * [skip ci] Add swagger.yaml * large payload container tls Signed-off-by: simvalery Signed-off-by: simvalery * fix Signed-off-by: simvalery Signed-off-by: simvalery --------- Signed-off-by: simvalery Co-authored-by: envision-ci-agent * fix pagination for hedera rest api (#4219) * fix pagination for hedera rest api Signed-off-by: Artem Buslaev * added max limit constant to indexer Signed-off-by: Artem Buslaev * added missing limit type Signed-off-by: Artem Buslaev --------- Signed-off-by: Artem Buslaev * fix: update notification[3966] (#4238) Co-authored-by: Ihar * Guardian analytics: bottom-up data traceability (#4232) #3336 Guardian analytics: bottom-up data traceability * GITBOOK-250: updated versioning docs * Submitting VM0003, CDM AR Tool 03, CDM AR Tool 04 on behalf of Allcot IO (#4239) * Submitting VM003 on behalf of AllcotIO * VM0003 Policy on behalf of AllcotIO * READme changes * Update README.md * Update README.md * Update README.md * Update README.md * CDM AR Tool 03 on behalf of Allcot IO * CDM AR Tool 04 on behalf of Allcot IO * Update README * Update README.md * Update README.md * Update README.md * Add VM0033 documentation and schema (#4231) Co-authored-by: Gautam Prajapati * fix policy statistics Signed-off-by: Stepan Kiryakov * Fix/4194 increase angular 15 version styles (#4241) * fix: styles issues from past incresing versions[4194] * feat: create schema styles[4194] --------- Co-authored-by: Ihar * feat: move to angular 16 and primeng 16 [4194] (#4245) * feat: move to angular 16 and primeng 16 [4194] * fix: log message type drobdown[4194] * fix: buttons colors and paddings[4194] * fix: confirm dialog component[4194] * fix: tooltips and hovers in policy menu[4194] * fix: color of delete button in policy[4194] * fix: dropdown initial option in tokens[4194] * fix: pagination user managment[4194] --------- Co-authored-by: Ihar * GITBOOK-251: bottom up data docs and APIs * GITBOOK-252: roadmap changes * fix predefined values (#4264) Signed-off-by: Artem Buslaev * fix import modules (#4276) Signed-off-by: Artem Buslaev * [WIP]fix 4194 styles and initializations components with angular and primeNG 16 (#4275) * fix: pre fill document in create tag diolog[4194] * fix: mask input for compare policy[4194] * fix: confirmation dialog buttons block[4194] --------- Co-authored-by: Ihar * Bump @hashgraph/sdk from 2.34.1 to 2.52.0 (#4283) Bumps [@hashgraph/sdk](https://github.com/hashgraph/hedera-sdk-js) from 2.34.1 to 2.52.0. - [Release notes](https://github.com/hashgraph/hedera-sdk-js/releases) - [Changelog](https://github.com/hashgraph/hedera-sdk-js/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashgraph/hedera-sdk-js/compare/v2.34.1...v2.52.0) --- updated-dependencies: - dependency-name: "@hashgraph/sdk" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @azure/keyvault-secrets from 4.8.0 to 4.9.0 (#4281) Bumps [@azure/keyvault-secrets](https://github.com/Azure/azure-sdk-for-js) from 4.8.0 to 4.9.0. - [Release notes](https://github.com/Azure/azure-sdk-for-js/releases) - [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Changelog-for-next-generation.md) - [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/keyvault-secrets_4.8.0...@azure/keyvault-secrets_4.9.0) --- updated-dependencies: - dependency-name: "@azure/keyvault-secrets" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * GHGP Policy (#4292) * update ghgp policy (1729501063.737961187) [skip ci] Signed-off-by: Artem Buslaev * fix displaying time, datetime, date Signed-off-by: Artem Buslaev * update ghgp policy (1729507749.618903359) [skip ci] Signed-off-by: Artem Buslaev * fix Signed-off-by: Artem Buslaev * update ghgp policy (1729589646.268944000) [skip ci] Signed-off-by: Artem Buslaev --------- Signed-off-by: Artem Buslaev * update ghgp policy (1729604449.737593597) [skip ci] Signed-off-by: Artem Buslaev * 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] 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 * 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] 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] 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] 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 * 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 * fix grid style Signed-off-by: Stepan Kiryakov * fix button names Signed-off-by: Stepan Kiryakov * fix scroll Signed-off-by: Stepan Kiryakov * fix style Signed-off-by: Stepan Kiryakov * fix policy fields Signed-off-by: Stepan Kiryakov * #4213 Restore Signed-off-by: Stepan Kiryakov * Azure Cosmos DB for MongoDB support (#4330) * feat: add dynamic role index Signed-off-by: GitHub * fix: remove duplicated index Signed-off-by: GitHub --------- Signed-off-by: GitHub Co-authored-by: Alexander Pyatakov * 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 * fix branding; fix calendar Signed-off-by: Stepan Kiryakov * revert changes Signed-off-by: Stepan Kiryakov * fix Signed-off-by: Stepan Kiryakov * fix time format Signed-off-by: Stepan Kiryakov * fix SR cards Signed-off-by: Stepan Kiryakov * fix time Signed-off-by: Stepan Kiryakov * fix time Signed-off-by: Stepan Kiryakov * fix style Signed-off-by: Stepan Kiryakov * Feature/2986 (#4339) * test runner Signed-off-by: simvalery * test runner Signed-off-by: simvalery * test runner Signed-off-by: simvalery * test runner Signed-off-by: simvalery * test runner Signed-off-by: simvalery * fixes Signed-off-by: simvalery --------- Signed-off-by: simvalery * Feature/2986 (#4340) * test runner Signed-off-by: simvalery * test runner Signed-off-by: simvalery * test runner Signed-off-by: simvalery * test runner Signed-off-by: simvalery * test runner Signed-off-by: simvalery * fixes Signed-off-by: simvalery * remove file Signed-off-by: simvalery --------- Signed-off-by: simvalery * fix build Signed-off-by: simvalery * bump version Signed-off-by: simvalery * fix ai-service build Signed-off-by: simvalery * fix ai-service start Signed-off-by: simvalery * GITBOOK-256: roadmap changes * revert commit Signed-off-by: Stepan Kiryakov * fix autocalculate Signed-off-by: Stepan Kiryakov * fix indexer build Signed-off-by: simvalery --------- Signed-off-by: simvalery Signed-off-by: Artem Buslaev Signed-off-by: prernaadev01 Signed-off-by: Stepan Kiryakov Signed-off-by: Dariy Miseldzhani Signed-off-by: Alexander Pyatakov Signed-off-by: Iliya Savov Signed-off-by: Roger Barker Signed-off-by: Giuseppe Bertone Signed-off-by: Giuseppe Bertone Signed-off-by: Bram Bosch Signed-off-by: dependabot[bot] Signed-off-by: GitHub Co-authored-by: prernaa.agarwal Co-authored-by: envision-ci-agent Co-authored-by: Artem Buslaev Co-authored-by: Stepan Kiryakov Co-authored-by: Ihar Tsykala Co-authored-by: Ihar Co-authored-by: Dariy Miseldzhani <142525798+DariyEnvision@users.noreply.github.com> Co-authored-by: Alexander Pyatakov Co-authored-by: ankurgupta007 <98680735+ankurgupta007@users.noreply.github.com> Co-authored-by: Iliya Savov <117984128+isavov@users.noreply.github.com> Co-authored-by: Iliya Savov Co-authored-by: Roger Barker Co-authored-by: Giuseppe Bertone Co-authored-by: IharTsykala Co-authored-by: Giuseppe Bertone Co-authored-by: bbosch-d <37069258+bbosch-d@users.noreply.github.com> Co-authored-by: erika <33100208+erikamoji@users.noreply.github.com> Co-authored-by: Gautam Prajapati Co-authored-by: Gautam Prajapati Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Celiant Co-authored-by: Khaled Khalifa <33331600+khkhalifa@users.noreply.github.com> Co-authored-by: krystal --- indexer-api-gateway/src/app.ts | 1 + indexer-common/src/index.ts | 2 ++ indexer-common/src/utils/tls.ts | 10 ++++++++++ indexer-service/src/app.ts | 3 +-- indexer-worker-service/src/app.ts | 3 +-- 5 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 indexer-common/src/utils/tls.ts diff --git a/indexer-api-gateway/src/app.ts b/indexer-api-gateway/src/app.ts index a794a1eb92..15aac77245 100644 --- a/indexer-api-gateway/src/app.ts +++ b/indexer-api-gateway/src/app.ts @@ -29,6 +29,7 @@ Promise.all([ queue: 'INDEXER_API_SERVICES', servers: [`nats://${process.env.MQ_ADDRESS}:4222`], }, + // tls: GenerateTLSOptionsNats() }); app.useGlobalPipes( new ValidationPipe({ diff --git a/indexer-common/src/index.ts b/indexer-common/src/index.ts index daed8cd76d..384f8fd1a3 100644 --- a/indexer-common/src/index.ts +++ b/indexer-common/src/index.ts @@ -1,9 +1,11 @@ import 'reflect-metadata'; import * as ent from './entity/index.js'; + export * from './entity/index.js'; export * from './utils/utils.js'; export * from './utils/environment.js'; export * from './utils/job.js'; +export * from './utils/tls.js'; export * from './db-helper/db-config.js'; export * from './db-helper/db-migration.js'; export * from './db-helper/db-helper.js'; diff --git a/indexer-common/src/utils/tls.ts b/indexer-common/src/utils/tls.ts new file mode 100644 index 0000000000..e7117b0323 --- /dev/null +++ b/indexer-common/src/utils/tls.ts @@ -0,0 +1,10 @@ +export function GenerateTLSOptionsNats() { + if (process.env.TLS_CERT && process.env.TLS_KEY) { + return { + cert: process.env.TLS_CERT, + key: process.env.TLS_KEY, + ca: process.env.TLS_CA + } + } + return undefined; +} diff --git a/indexer-service/src/app.ts b/indexer-service/src/app.ts index d04596e836..17c3aba6c8 100644 --- a/indexer-service/src/app.ts +++ b/indexer-service/src/app.ts @@ -2,7 +2,7 @@ import * as process from 'process'; import { Module } from '@nestjs/common'; import { NestFactory } from '@nestjs/core'; import { ClientsModule, MicroserviceOptions, Transport, } from '@nestjs/microservices'; -import { COMMON_CONNECTION_CONFIG, DataBaseHelper, entities, Migration, Utils, } from '@indexer/common'; +import { COMMON_CONNECTION_CONFIG, DataBaseHelper, entities, GenerateTLSOptionsNats, Migration, Utils } from '@indexer/common'; import { ChannelService } from './api/channel.service.js'; import { LogService } from './_dev/api/log.service.js'; import { SearchService } from './api/search.service.js'; @@ -12,7 +12,6 @@ import { LandingService } from './api/landing.service.js'; import { AnalyticsService } from './api/analytics.service.js'; import { SynchronizationAnalytics, SynchronizationContracts, SynchronizationDid, SynchronizationModules, SynchronizationPolicy, SynchronizationProjects, SynchronizationRegistries, SynchronizationRoles, SynchronizationSchemas, SynchronizationTools, SynchronizationTopics, SynchronizationVCs, SynchronizationVPs, } from './helpers/synchronizers/index.js'; import { fixtures } from './helpers/fixtures.js'; -import { GenerateTLSOptionsNats } from '@guardian/common'; const channelName = ( process.env.SERVICE_CHANNEL || `indexer-service.${Utils.GenerateUUIDv4(26)}` diff --git a/indexer-worker-service/src/app.ts b/indexer-worker-service/src/app.ts index 228730e4e0..c65cf16199 100644 --- a/indexer-worker-service/src/app.ts +++ b/indexer-worker-service/src/app.ts @@ -5,8 +5,7 @@ import { ClientsModule, MicroserviceOptions, Transport } from '@nestjs/microserv import { ChannelService, Worker } from './api/channel.service.js'; import { IPFSService } from './loaders/ipfs-service.js'; import { HederaService } from './loaders/hedera-service.js'; -import { COMMON_CONNECTION_CONFIG, DataBaseHelper, entities, Environment, Migration, Utils } from '@indexer/common'; -import { GenerateTLSOptionsNats } from '@guardian/common'; +import { COMMON_CONNECTION_CONFIG, DataBaseHelper, entities, Environment, GenerateTLSOptionsNats, Migration, Utils } from '@indexer/common'; const channelName = (process.env.SERVICE_CHANNEL || `indexer-worker.${Utils.GenerateUUIDv4(26)}`).toUpperCase();