Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

FD-518 bulk operations #275

Merged
merged 1 commit into from
Apr 17, 2023
Merged

Conversation

soson
Copy link
Collaborator

@soson soson commented Apr 6, 2023

No description provided.

@soson soson merged commit 9d09d98 into story-new-conductor-api Apr 17, 2023
@soson soson deleted the FD-518-bulk-operations branch April 17, 2023 15:01
soson added a commit that referenced this pull request Feb 6, 2024
* FD-495 definition list query (#262)

* workflow query definitions

* add missing files

* better typing of metadata api

* schema changes

* return tasks as stringified json

* workflow node query added

* Executed workflow query (#264)

* workflow query definitions

* add missing files

* better typing of metadata api

* schema changes

* return tasks as stringified json

* workflow node query added

* create graphql and io-ts schemas for executed workflow and executed workflow tasks

* add filter and pagination query

* update calculation of relay specific pagination

* add executed workflow detail query

* resolve wanted changes to make codebase more readable

* remove as type

* add tests for conductor helpers (#266)

---------

Co-authored-by: Martin Sottnik <[email protected]>

* Pause resume wf mutations (#265)

* bump version 1.8.3 (#263)

* create pause and resume mutation with bulk ones

* add env variable for github action

---------

Co-authored-by: Martin Sottnik <[email protected]>

* fix typescript error of nonexisting property

* FD-496 workflow definition mutations (#267)

* workflow defintion mutations added

* typo fixes; add missing fields

* handling bulk result on update workflow

* add CONDUCTOR_API_URL to env variables

* addWorkflow renamed to createWorkflow

* add scheduler api to inventory server (#270)

* workflow labels query added (#271)

* Add mutation execute workflow (#268)

* add mutation to start new workflow

* move from executed to workflow file and create start new workflow mutation

* add mutation to execute workflow

* use our custom logger and use correct name convention

* remove trycatches and loggers

* add jsdocs and handle JSON parsing

* use void instead of custom string and fix errored imports

* remove logger

* FD-504 workflow filters (#272)

* add workflow filters

* move workflow filter to separate function

* Add workflow input params (#273)

* add input parameters property to workflow

* pr-check fix

* Retry, restart, terminate and remove workflow mutations (#269)

* add retry, resume, terminate and remove workflow mutations

* remove custom string responses and return isOk

* remove redundant trycatch and custom string responses in API calls

* rename optional args by our naming conventiosn

* FD-517 task definitions query (#274)

* task definitions query added

* add missing file; fix type checking

* changed task definition props to createdAt, updatedAt

* add additional properties

* bulk operations added (terminate, restart, retry) (#275)

* add workflow instance detail query (#278)

* instance detail query fix (#283)

* bulk executed workflow id fix (#285)

* use executed workflow ids as input in bulk operations

* bulk resume fix

* FD-526 new workflow attributes (#287)

* new attributes added to workflow

* add output paramters to workflow

* add restartable and outputParameters to workflow input

* add createdAt, updatedAt to workflow input

* Add graphql scheduler (#289)

* add urql to handle schellar graphql requests

* add graphql resolvers for schellar in inventory

* add generated types from schellar server

* fix hasSchedule logic of workflow

* remove urql and use graphql-request

* refactor property names

* add resolvers for schedule schema properties and refactor query resolvers

* FD-527 custom connection from array (#288)

* custom connectionFromArray helper function added

* remove unused eslint comment

* unify workflow mutation input (#291)

* add status to schedule (#292)

* Workflow status subscription (#293)

* add subscription for executed workflow

* refactor naming and remove uuid

* id generated by uuid and workflowId used for mutations

* Change executed task query (#307)

* refactor ID for executed workflow

* refactor property naming and url handling of empty value

* remove warnings

* set default value if priority was not defined

* handle optional values from input

* prettier fix

* FD-537 add resource manager (#312)

* add resource manager to inventory server

* push missing files

* fix GetPool request

* add resource manger api url to pr-check env

* fix formatter

* README.md updated

* freeResource mutation added (#313)

* fix formatter

* Add delete and create mutation for task definitions (#316)

* added graphql task definitions mutation for deleting and creating

* refactor input and output of create task definition mutation

* remove redundant funciton and use static one instead for readability purposes

* fix guard statement

* refactored delete mutation and create mutation

* formatting

* changed tasks query to relay connection format

* fixed realy connection resolver for taskDefinitionsQuery

---------

Co-authored-by: PeterL <[email protected]>
Co-authored-by: marco.mruz <[email protected]>

* Add event listener graphql support (#318)

* add API typings and CRUD operation

* add event handler queries

* add event handler mutations for CRUD operations

* format and lint files

* add typings for converter functions

* fix typings of converter functions

* refactor update mutation of event handler because of terrible netflix conductor logic

* refactor inputs needed to update event handler

* add query to get event handlers by event and event handler detail query

* fix JSON validation and decoding

* add ID to event handlers action

* generate graphql schema typings

* remove generated id of event handler actions

* fix lint and formatting

* output parameters fix (#319)

* Typegen fix (#321)

* type checks fix

* remove unused code

* add story branch to pr-check

* workflow node type changes

* make workflow id as stringified object of name and version properties

* add poll data query (#317)

* add poll data query

* format changed files and add ID to poll data query

* generate schema typings

* refactor input parms for filtering poll data and add handlers for filters

* formatter fixes

* shortest path endpoint implementation (#324)

* shortest path endpoint implementation

* formatter fix

* Update poll data sorting (#323)

* fix incorrect blueprintId sent to database - change it to native db id (#314)

* add poll data query

* format changed files and add ID to poll data query

* generate schema typings

* refactor input parms for filtering poll data and add handlers for filters

* formatter fixes

* added sorting to PollDataQuery

* formatting

* linter fixes

* fixed ts error

* formatting

* sorting refactoring

* ordering refactoring

---------

Co-authored-by: Pavol Porubský <[email protected]>
Co-authored-by: marco.mruz <[email protected]>
Co-authored-by: PeterL <[email protected]>

* add new data types for validation (#325)

* add name to event handlers filter (#326)

* add name to event handlers filter

* format file

* move filter logic to helper functions

* handle also when string is of 0 length

* change logic so that every handler must fulfill statements

* task definitions createdAt, updatedAt fix (#328)

* refactored executed workflows query to support sorting (#329)

* refactored executed workflows query to support sorting

* lint fixing

---------

Co-authored-by: PeterL <[email protected]>

* make executed workflow order input optional (#334)

* updated workflow list to sort by name (#332)

* updated workflow list to sort by name

* lint fix

* use shared sort direction type

---------

Co-authored-by: PeterL <[email protected]>
Co-authored-by: Martin Sottnik <[email protected]>

* shortest path (#327)

* add nodeId to netRoutingPath

* remove package-lock.json

* update logic of how to handle update of event handler (#337)

* added sorting to event handlers (#338)

* added sorting

* making workflows sorting optional

* formatting

* lint fix

* removed filtering possibility by actions

* formatting fix

* typo fix

* made ordering optional

* convert graphql to api sortKey helper function added

* use ternary operator; switch can be introduced later if needed

---------

Co-authored-by: PeterL <[email protected]>
Co-authored-by: Martin Sottnik <[email protected]>

* added sorting to taskDefinitions query (#342)

Co-authored-by: PeterL <[email protected]>

* FD-540 shortest path weights (#340)

* topology query graphql

* add helper functions

* add weights to shortest path and net topology query

* prisma upgraded 4.2.1 -> 5.1.1

* fix device.spec.ts test

* use device name as nodeId (topology edges fix)

* make changes according to latest changes in topolgoy-discovery (master)

---------

Co-authored-by: Paulooze <[email protected]>

* updated device sorting (#343)

* updated device sorting

* formatting

* formatting

---------

Co-authored-by: PeterL <[email protected]>

* new workflow properties added (#344)

* external storage endpoint added (#345)

* FD-540 backups query (#341)

* topology query graphql

* add helper functions

* graphql backups query

* regenarate seed script to conform new folder structure (#348)

* fix import paths (#349)

* FD-540 diff and update positions (#350)

* fix incorrect blueprintId sent to database - change it to native db id (#314)

* bump version 1.9.3 (#330)

* Add labels into Dockerfile (#333)

* Add source label for renovatebot

* Update Dockerfile

* Update docker-publish.yml

* made filtering by device name case insensitive (#335)

Co-authored-by: PeterL <[email protected]>

* diff queries, common nodes query and update positions mutation

* revert status validator

* remove logs

* lint fixes

* add type annotations to helpers functions

* topology diff fixes

* remove logs

---------

Co-authored-by: Pavol Porubský <[email protected]>
Co-authored-by: Šimon Mišenčík <[email protected]>
Co-authored-by: plehocky <[email protected]>
Co-authored-by: PeterL <[email protected]>

* add missing workflow definition properties to make updating more customizable (#365)

* add missing workflow definition properties to make updating more customizable

* remove createTime and updateTime

* bump version 2.0.1 (#367)

* remove possibility to change values of createdAt or updatedAt values (#366)

* remove possibility to change values of createdAt or updatedAt values for workflow definition from third parties

* remove dates from inputs of workflow definition

* add pool properties to resource pool (#369)

* added filtering by name to zones and labels (#368)

* added filtering by name to zones and labels

* lint error fix

* lint error fix

* lint error fix

---------

Co-authored-by: PeterL <[email protected]>

* Add bulk install (#373)

* add support for bulk install of devices

* remove logs and handle prisma JSONValue parsing

* fix naming of input object type

* fix parsing of mount params when one device installed

* refactor code and move helper logic to helpers and add bulk uninstall mutation

* refactor logic for bulk installation of devices

* code improvements to make it easier to read

* add nativeIds convertion and also fix parsing of prisma json's

* add comments

* bump version 2.0.2 (#375)

* resource type fix (#374)

* remove conductor,schellar,rm apis (#376)

* remove conductor,schellar,rm apis

* remove env variables from config; remove useless ts-ignore

* remove forgotten types in graph id helpers

* remove forgotten files

* remove yarn; use npm (#377)

* remove yarn; use npm

* add pr check to new branch

* update apollo server to v4 (#378)

* Small refactor (#379)

* update apollo server to v4

* fix tenantId in context

* use default tenantId from config

* add @types/cors package; fix type-check error

* remove unused functions; refactor

* remove https

* remove version from node

* add ptp topology query and ptp path to GM query (#382)

* fix data mapping (#383)

* add topology_type parameter to updatePosition endpoint (#385)

* remove ptpStatus and use only status (#388)

* add new mutations and queries to support synce topology from topology discovery (#389)

* add new ptp device details (#390)

* remove redundant property (optimization) (#391)

* hive registry integration

* add details about interfaces

* Ignore dependabot for hive ci gha

* synce gm path added (#393)

* build fix

* obsolete graphql endpoints removed (#395)

* remove usage of linksAndDevices endpoint

* remove hasAndInterfaces endpoint

* add idHas to query

* remove obsolete hasAndInterfaces/linksAndDevices graphql enpdoints

* revert .env.example

* idHas removed

* Add ptp diff synce (#396)

* ptpDiffSynce query setup

* result fix

* formatting

* Update topology-discovery.graphql.ts

* removed unused code

---------

Co-authored-by: Martin Sottnik <[email protected]>

---------

Co-authored-by: Martin Sottnik <[email protected]>
Co-authored-by: plehocky <[email protected]>
Co-authored-by: PeterL <[email protected]>
Co-authored-by: Pavol Porubský <[email protected]>
Co-authored-by: Šimon Mišenčík <[email protected]>
Co-authored-by: Jozef Volak <[email protected]>
Co-authored-by: Jozef Volák <[email protected]>
MarcoMruz added a commit that referenced this pull request Feb 6, 2024
* FD-495 definition list query (#262)

* workflow query definitions

* add missing files

* better typing of metadata api

* schema changes

* return tasks as stringified json

* workflow node query added

* Executed workflow query (#264)

* workflow query definitions

* add missing files

* better typing of metadata api

* schema changes

* return tasks as stringified json

* workflow node query added

* create graphql and io-ts schemas for executed workflow and executed workflow tasks

* add filter and pagination query

* update calculation of relay specific pagination

* add executed workflow detail query

* resolve wanted changes to make codebase more readable

* remove as type

* add tests for conductor helpers (#266)

---------

Co-authored-by: Martin Sottnik <[email protected]>

* Pause resume wf mutations (#265)

* bump version 1.8.3 (#263)

* create pause and resume mutation with bulk ones

* add env variable for github action

---------

Co-authored-by: Martin Sottnik <[email protected]>

* fix typescript error of nonexisting property

* FD-496 workflow definition mutations (#267)

* workflow defintion mutations added

* typo fixes; add missing fields

* handling bulk result on update workflow

* add CONDUCTOR_API_URL to env variables

* addWorkflow renamed to createWorkflow

* add scheduler api to inventory server (#270)

* workflow labels query added (#271)

* Add mutation execute workflow (#268)

* add mutation to start new workflow

* move from executed to workflow file and create start new workflow mutation

* add mutation to execute workflow

* use our custom logger and use correct name convention

* remove trycatches and loggers

* add jsdocs and handle JSON parsing

* use void instead of custom string and fix errored imports

* remove logger

* FD-504 workflow filters (#272)

* add workflow filters

* move workflow filter to separate function

* Add workflow input params (#273)

* add input parameters property to workflow

* pr-check fix

* Retry, restart, terminate and remove workflow mutations (#269)

* add retry, resume, terminate and remove workflow mutations

* remove custom string responses and return isOk

* remove redundant trycatch and custom string responses in API calls

* rename optional args by our naming conventiosn

* FD-517 task definitions query (#274)

* task definitions query added

* add missing file; fix type checking

* changed task definition props to createdAt, updatedAt

* add additional properties

* bulk operations added (terminate, restart, retry) (#275)

* add workflow instance detail query (#278)

* instance detail query fix (#283)

* bulk executed workflow id fix (#285)

* use executed workflow ids as input in bulk operations

* bulk resume fix

* FD-526 new workflow attributes (#287)

* new attributes added to workflow

* add output paramters to workflow

* add restartable and outputParameters to workflow input

* add createdAt, updatedAt to workflow input

* Add graphql scheduler (#289)

* add urql to handle schellar graphql requests

* add graphql resolvers for schellar in inventory

* add generated types from schellar server

* fix hasSchedule logic of workflow

* remove urql and use graphql-request

* refactor property names

* add resolvers for schedule schema properties and refactor query resolvers

* FD-527 custom connection from array (#288)

* custom connectionFromArray helper function added

* remove unused eslint comment

* unify workflow mutation input (#291)

* add status to schedule (#292)

* Workflow status subscription (#293)

* add subscription for executed workflow

* refactor naming and remove uuid

* id generated by uuid and workflowId used for mutations

* Change executed task query (#307)

* refactor ID for executed workflow

* refactor property naming and url handling of empty value

* remove warnings

* set default value if priority was not defined

* handle optional values from input

* prettier fix

* FD-537 add resource manager (#312)

* add resource manager to inventory server

* push missing files

* fix GetPool request

* add resource manger api url to pr-check env

* fix formatter

* README.md updated

* freeResource mutation added (#313)

* fix formatter

* Add delete and create mutation for task definitions (#316)

* added graphql task definitions mutation for deleting and creating

* refactor input and output of create task definition mutation

* remove redundant funciton and use static one instead for readability purposes

* fix guard statement

* refactored delete mutation and create mutation

* formatting

* changed tasks query to relay connection format

* fixed realy connection resolver for taskDefinitionsQuery

---------

Co-authored-by: PeterL <[email protected]>
Co-authored-by: marco.mruz <[email protected]>

* Add event listener graphql support (#318)

* add API typings and CRUD operation

* add event handler queries

* add event handler mutations for CRUD operations

* format and lint files

* add typings for converter functions

* fix typings of converter functions

* refactor update mutation of event handler because of terrible netflix conductor logic

* refactor inputs needed to update event handler

* add query to get event handlers by event and event handler detail query

* fix JSON validation and decoding

* add ID to event handlers action

* generate graphql schema typings

* remove generated id of event handler actions

* fix lint and formatting

* output parameters fix (#319)

* Typegen fix (#321)

* type checks fix

* remove unused code

* add story branch to pr-check

* workflow node type changes

* make workflow id as stringified object of name and version properties

* add poll data query (#317)

* add poll data query

* format changed files and add ID to poll data query

* generate schema typings

* refactor input parms for filtering poll data and add handlers for filters

* formatter fixes

* shortest path endpoint implementation (#324)

* shortest path endpoint implementation

* formatter fix

* Update poll data sorting (#323)

* fix incorrect blueprintId sent to database - change it to native db id (#314)

* add poll data query

* format changed files and add ID to poll data query

* generate schema typings

* refactor input parms for filtering poll data and add handlers for filters

* formatter fixes

* added sorting to PollDataQuery

* formatting

* linter fixes

* fixed ts error

* formatting

* sorting refactoring

* ordering refactoring

---------

Co-authored-by: Pavol Porubský <[email protected]>
Co-authored-by: marco.mruz <[email protected]>
Co-authored-by: PeterL <[email protected]>

* add new data types for validation (#325)

* add name to event handlers filter (#326)

* add name to event handlers filter

* format file

* move filter logic to helper functions

* handle also when string is of 0 length

* change logic so that every handler must fulfill statements

* task definitions createdAt, updatedAt fix (#328)

* refactored executed workflows query to support sorting (#329)

* refactored executed workflows query to support sorting

* lint fixing

---------

Co-authored-by: PeterL <[email protected]>

* make executed workflow order input optional (#334)

* updated workflow list to sort by name (#332)

* updated workflow list to sort by name

* lint fix

* use shared sort direction type

---------

Co-authored-by: PeterL <[email protected]>
Co-authored-by: Martin Sottnik <[email protected]>

* shortest path (#327)

* add nodeId to netRoutingPath

* remove package-lock.json

* update logic of how to handle update of event handler (#337)

* added sorting to event handlers (#338)

* added sorting

* making workflows sorting optional

* formatting

* lint fix

* removed filtering possibility by actions

* formatting fix

* typo fix

* made ordering optional

* convert graphql to api sortKey helper function added

* use ternary operator; switch can be introduced later if needed

---------

Co-authored-by: PeterL <[email protected]>
Co-authored-by: Martin Sottnik <[email protected]>

* added sorting to taskDefinitions query (#342)

Co-authored-by: PeterL <[email protected]>

* FD-540 shortest path weights (#340)

* topology query graphql

* add helper functions

* add weights to shortest path and net topology query

* prisma upgraded 4.2.1 -> 5.1.1

* fix device.spec.ts test

* use device name as nodeId (topology edges fix)

* make changes according to latest changes in topolgoy-discovery (master)

---------

Co-authored-by: Paulooze <[email protected]>

* updated device sorting (#343)

* updated device sorting

* formatting

* formatting

---------

Co-authored-by: PeterL <[email protected]>

* new workflow properties added (#344)

* external storage endpoint added (#345)

* FD-540 backups query (#341)

* topology query graphql

* add helper functions

* graphql backups query

* regenarate seed script to conform new folder structure (#348)

* fix import paths (#349)

* FD-540 diff and update positions (#350)

* fix incorrect blueprintId sent to database - change it to native db id (#314)

* bump version 1.9.3 (#330)

* Add labels into Dockerfile (#333)

* Add source label for renovatebot

* Update Dockerfile

* Update docker-publish.yml

* made filtering by device name case insensitive (#335)

Co-authored-by: PeterL <[email protected]>

* diff queries, common nodes query and update positions mutation

* revert status validator

* remove logs

* lint fixes

* add type annotations to helpers functions

* topology diff fixes

* remove logs

---------

Co-authored-by: Pavol Porubský <[email protected]>
Co-authored-by: Šimon Mišenčík <[email protected]>
Co-authored-by: plehocky <[email protected]>
Co-authored-by: PeterL <[email protected]>

* add missing workflow definition properties to make updating more customizable (#365)

* add missing workflow definition properties to make updating more customizable

* remove createTime and updateTime

* bump version 2.0.1 (#367)

* remove possibility to change values of createdAt or updatedAt values (#366)

* remove possibility to change values of createdAt or updatedAt values for workflow definition from third parties

* remove dates from inputs of workflow definition

* add pool properties to resource pool (#369)

* added filtering by name to zones and labels (#368)

* added filtering by name to zones and labels

* lint error fix

* lint error fix

* lint error fix

---------

Co-authored-by: PeterL <[email protected]>

* Add bulk install (#373)

* add support for bulk install of devices

* remove logs and handle prisma JSONValue parsing

* fix naming of input object type

* fix parsing of mount params when one device installed

* refactor code and move helper logic to helpers and add bulk uninstall mutation

* refactor logic for bulk installation of devices

* code improvements to make it easier to read

* add nativeIds convertion and also fix parsing of prisma json's

* add comments

* bump version 2.0.2 (#375)

* resource type fix (#374)

* remove conductor,schellar,rm apis (#376)

* remove conductor,schellar,rm apis

* remove env variables from config; remove useless ts-ignore

* remove forgotten types in graph id helpers

* remove forgotten files

* remove yarn; use npm (#377)

* remove yarn; use npm

* add pr check to new branch

* update apollo server to v4 (#378)

* Small refactor (#379)

* update apollo server to v4

* fix tenantId in context

* use default tenantId from config

* add @types/cors package; fix type-check error

* remove unused functions; refactor

* remove https

* remove version from node

* add ptp topology query and ptp path to GM query (#382)

* fix data mapping (#383)

* add topology_type parameter to updatePosition endpoint (#385)

* remove ptpStatus and use only status (#388)

* add new mutations and queries to support synce topology from topology discovery (#389)

* add new ptp device details (#390)

* remove redundant property (optimization) (#391)

* hive registry integration

* add details about interfaces

* Ignore dependabot for hive ci gha

* synce gm path added (#393)

* build fix

* obsolete graphql endpoints removed (#395)

* remove usage of linksAndDevices endpoint

* remove hasAndInterfaces endpoint

* add idHas to query

* remove obsolete hasAndInterfaces/linksAndDevices graphql enpdoints

* revert .env.example

* idHas removed

* Add ptp diff synce (#396)

* ptpDiffSynce query setup

* result fix

* formatting

* Update topology-discovery.graphql.ts

* removed unused code

---------

Co-authored-by: Martin Sottnik <[email protected]>

* decrease time when cache is cleared to 30 seconds

---------

Co-authored-by: Martin Sottnik <[email protected]>
Co-authored-by: plehocky <[email protected]>
Co-authored-by: PeterL <[email protected]>
Co-authored-by: Pavol Porubský <[email protected]>
Co-authored-by: Šimon Mišenčík <[email protected]>
Co-authored-by: Jozef Volak <[email protected]>
Co-authored-by: Jozef Volák <[email protected]>
soson added a commit that referenced this pull request Feb 29, 2024
* FD-495 definition list query (#262)

* workflow query definitions

* add missing files

* better typing of metadata api

* schema changes

* return tasks as stringified json

* workflow node query added

* Executed workflow query (#264)

* workflow query definitions

* add missing files

* better typing of metadata api

* schema changes

* return tasks as stringified json

* workflow node query added

* create graphql and io-ts schemas for executed workflow and executed workflow tasks

* add filter and pagination query

* update calculation of relay specific pagination

* add executed workflow detail query

* resolve wanted changes to make codebase more readable

* remove as type

* add tests for conductor helpers (#266)

---------

Co-authored-by: Martin Sottnik <[email protected]>

* Pause resume wf mutations (#265)

* bump version 1.8.3 (#263)

* create pause and resume mutation with bulk ones

* add env variable for github action

---------

Co-authored-by: Martin Sottnik <[email protected]>

* fix typescript error of nonexisting property

* FD-496 workflow definition mutations (#267)

* workflow defintion mutations added

* typo fixes; add missing fields

* handling bulk result on update workflow

* add CONDUCTOR_API_URL to env variables

* addWorkflow renamed to createWorkflow

* add scheduler api to inventory server (#270)

* workflow labels query added (#271)

* Add mutation execute workflow (#268)

* add mutation to start new workflow

* move from executed to workflow file and create start new workflow mutation

* add mutation to execute workflow

* use our custom logger and use correct name convention

* remove trycatches and loggers

* add jsdocs and handle JSON parsing

* use void instead of custom string and fix errored imports

* remove logger

* FD-504 workflow filters (#272)

* add workflow filters

* move workflow filter to separate function

* Add workflow input params (#273)

* add input parameters property to workflow

* pr-check fix

* Retry, restart, terminate and remove workflow mutations (#269)

* add retry, resume, terminate and remove workflow mutations

* remove custom string responses and return isOk

* remove redundant trycatch and custom string responses in API calls

* rename optional args by our naming conventiosn

* FD-517 task definitions query (#274)

* task definitions query added

* add missing file; fix type checking

* changed task definition props to createdAt, updatedAt

* add additional properties

* bulk operations added (terminate, restart, retry) (#275)

* add workflow instance detail query (#278)

* instance detail query fix (#283)

* bulk executed workflow id fix (#285)

* use executed workflow ids as input in bulk operations

* bulk resume fix

* FD-526 new workflow attributes (#287)

* new attributes added to workflow

* add output paramters to workflow

* add restartable and outputParameters to workflow input

* add createdAt, updatedAt to workflow input

* Add graphql scheduler (#289)

* add urql to handle schellar graphql requests

* add graphql resolvers for schellar in inventory

* add generated types from schellar server

* fix hasSchedule logic of workflow

* remove urql and use graphql-request

* refactor property names

* add resolvers for schedule schema properties and refactor query resolvers

* FD-527 custom connection from array (#288)

* custom connectionFromArray helper function added

* remove unused eslint comment

* unify workflow mutation input (#291)

* add status to schedule (#292)

* Workflow status subscription (#293)

* add subscription for executed workflow

* refactor naming and remove uuid

* id generated by uuid and workflowId used for mutations

* Change executed task query (#307)

* refactor ID for executed workflow

* refactor property naming and url handling of empty value

* remove warnings

* set default value if priority was not defined

* handle optional values from input

* prettier fix

* FD-537 add resource manager (#312)

* add resource manager to inventory server

* push missing files

* fix GetPool request

* add resource manger api url to pr-check env

* fix formatter

* README.md updated

* freeResource mutation added (#313)

* fix formatter

* Add delete and create mutation for task definitions (#316)

* added graphql task definitions mutation for deleting and creating

* refactor input and output of create task definition mutation

* remove redundant funciton and use static one instead for readability purposes

* fix guard statement

* refactored delete mutation and create mutation

* formatting

* changed tasks query to relay connection format

* fixed realy connection resolver for taskDefinitionsQuery

---------

Co-authored-by: PeterL <[email protected]>
Co-authored-by: marco.mruz <[email protected]>

* Add event listener graphql support (#318)

* add API typings and CRUD operation

* add event handler queries

* add event handler mutations for CRUD operations

* format and lint files

* add typings for converter functions

* fix typings of converter functions

* refactor update mutation of event handler because of terrible netflix conductor logic

* refactor inputs needed to update event handler

* add query to get event handlers by event and event handler detail query

* fix JSON validation and decoding

* add ID to event handlers action

* generate graphql schema typings

* remove generated id of event handler actions

* fix lint and formatting

* output parameters fix (#319)

* Typegen fix (#321)

* type checks fix

* remove unused code

* add story branch to pr-check

* workflow node type changes

* make workflow id as stringified object of name and version properties

* add poll data query (#317)

* add poll data query

* format changed files and add ID to poll data query

* generate schema typings

* refactor input parms for filtering poll data and add handlers for filters

* formatter fixes

* shortest path endpoint implementation (#324)

* shortest path endpoint implementation

* formatter fix

* Update poll data sorting (#323)

* fix incorrect blueprintId sent to database - change it to native db id (#314)

* add poll data query

* format changed files and add ID to poll data query

* generate schema typings

* refactor input parms for filtering poll data and add handlers for filters

* formatter fixes

* added sorting to PollDataQuery

* formatting

* linter fixes

* fixed ts error

* formatting

* sorting refactoring

* ordering refactoring

---------

Co-authored-by: Pavol Porubský <[email protected]>
Co-authored-by: marco.mruz <[email protected]>
Co-authored-by: PeterL <[email protected]>

* add new data types for validation (#325)

* add name to event handlers filter (#326)

* add name to event handlers filter

* format file

* move filter logic to helper functions

* handle also when string is of 0 length

* change logic so that every handler must fulfill statements

* task definitions createdAt, updatedAt fix (#328)

* refactored executed workflows query to support sorting (#329)

* refactored executed workflows query to support sorting

* lint fixing

---------

Co-authored-by: PeterL <[email protected]>

* make executed workflow order input optional (#334)

* updated workflow list to sort by name (#332)

* updated workflow list to sort by name

* lint fix

* use shared sort direction type

---------

Co-authored-by: PeterL <[email protected]>
Co-authored-by: Martin Sottnik <[email protected]>

* shortest path (#327)

* add nodeId to netRoutingPath

* remove package-lock.json

* update logic of how to handle update of event handler (#337)

* added sorting to event handlers (#338)

* added sorting

* making workflows sorting optional

* formatting

* lint fix

* removed filtering possibility by actions

* formatting fix

* typo fix

* made ordering optional

* convert graphql to api sortKey helper function added

* use ternary operator; switch can be introduced later if needed

---------

Co-authored-by: PeterL <[email protected]>
Co-authored-by: Martin Sottnik <[email protected]>

* added sorting to taskDefinitions query (#342)

Co-authored-by: PeterL <[email protected]>

* FD-540 shortest path weights (#340)

* topology query graphql

* add helper functions

* add weights to shortest path and net topology query

* prisma upgraded 4.2.1 -> 5.1.1

* fix device.spec.ts test

* use device name as nodeId (topology edges fix)

* make changes according to latest changes in topolgoy-discovery (master)

---------

Co-authored-by: Paulooze <[email protected]>

* updated device sorting (#343)

* updated device sorting

* formatting

* formatting

---------

Co-authored-by: PeterL <[email protected]>

* new workflow properties added (#344)

* external storage endpoint added (#345)

* FD-540 backups query (#341)

* topology query graphql

* add helper functions

* graphql backups query

* regenarate seed script to conform new folder structure (#348)

* fix import paths (#349)

* FD-540 diff and update positions (#350)

* fix incorrect blueprintId sent to database - change it to native db id (#314)

* bump version 1.9.3 (#330)

* Add labels into Dockerfile (#333)

* Add source label for renovatebot

* Update Dockerfile

* Update docker-publish.yml

* made filtering by device name case insensitive (#335)

Co-authored-by: PeterL <[email protected]>

* diff queries, common nodes query and update positions mutation

* revert status validator

* remove logs

* lint fixes

* add type annotations to helpers functions

* topology diff fixes

* remove logs

---------

Co-authored-by: Pavol Porubský <[email protected]>
Co-authored-by: Šimon Mišenčík <[email protected]>
Co-authored-by: plehocky <[email protected]>
Co-authored-by: PeterL <[email protected]>

* add missing workflow definition properties to make updating more customizable (#365)

* add missing workflow definition properties to make updating more customizable

* remove createTime and updateTime

* bump version 2.0.1 (#367)

* remove possibility to change values of createdAt or updatedAt values (#366)

* remove possibility to change values of createdAt or updatedAt values for workflow definition from third parties

* remove dates from inputs of workflow definition

* add pool properties to resource pool (#369)

* added filtering by name to zones and labels (#368)

* added filtering by name to zones and labels

* lint error fix

* lint error fix

* lint error fix

---------

Co-authored-by: PeterL <[email protected]>

* Add bulk install (#373)

* add support for bulk install of devices

* remove logs and handle prisma JSONValue parsing

* fix naming of input object type

* fix parsing of mount params when one device installed

* refactor code and move helper logic to helpers and add bulk uninstall mutation

* refactor logic for bulk installation of devices

* code improvements to make it easier to read

* add nativeIds convertion and also fix parsing of prisma json's

* add comments

* bump version 2.0.2 (#375)

* resource type fix (#374)

* remove conductor,schellar,rm apis (#376)

* remove conductor,schellar,rm apis

* remove env variables from config; remove useless ts-ignore

* remove forgotten types in graph id helpers

* remove forgotten files

* remove yarn; use npm (#377)

* remove yarn; use npm

* add pr check to new branch

* update apollo server to v4 (#378)

* Small refactor (#379)

* update apollo server to v4

* fix tenantId in context

* use default tenantId from config

* add @types/cors package; fix type-check error

* remove unused functions; refactor

* remove https

* remove version from node

* add ptp topology query and ptp path to GM query (#382)

* fix data mapping (#383)

* add topology_type parameter to updatePosition endpoint (#385)

* remove ptpStatus and use only status (#388)

* add new mutations and queries to support synce topology from topology discovery (#389)

* add new ptp device details (#390)

* remove redundant property (optimization) (#391)

* hive registry integration

* add details about interfaces

* Ignore dependabot for hive ci gha

* synce gm path added (#393)

* build fix

* update coordinates response change

* obsolete graphql endpoints removed (#395)

* remove usage of linksAndDevices endpoint

* remove hasAndInterfaces endpoint

* add idHas to query

* remove obsolete hasAndInterfaces/linksAndDevices graphql enpdoints

* revert .env.example

* idHas removed

* multilink support added

* revert wrong merge

* revert wrong merge

* revert wrong merge

* make version diff working (FRINXio/topology-discovery#362)

---------

Co-authored-by: Marco <[email protected]>
Co-authored-by: marco.mruz <[email protected]>
Co-authored-by: plehocky <[email protected]>
Co-authored-by: PeterL <[email protected]>
Co-authored-by: Pavol Porubský <[email protected]>
Co-authored-by: Šimon Mišenčík <[email protected]>
Co-authored-by: Jozef Volak <[email protected]>
Co-authored-by: Jozef Volák <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants