-
Notifications
You must be signed in to change notification settings - Fork 0
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
new conductor api #311
Draft
soson
wants to merge
72
commits into
main
Choose a base branch
from
story-new-conductor-api
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
new conductor api #311
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* workflow query definitions * add missing files * better typing of metadata api * schema changes * return tasks as stringified json * workflow node query added
* 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]>
* 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]>
* 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 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
* add workflow filters * move workflow filter to separate function
* add input parameters property to workflow * pr-check fix
* 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
* task definitions query added * add missing file; fix type checking * changed task definition props to createdAt, updatedAt * add additional properties
* use executed workflow ids as input in bulk operations * bulk resume fix
* new attributes added to workflow * add output paramters to workflow * add restartable and outputParameters to workflow input * add createdAt, updatedAt to workflow input
* 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
* custom connectionFromArray helper function added * remove unused eslint comment
* add subscription for executed workflow * refactor naming and remove uuid * id generated by uuid and workflowId used for mutations
* 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
* add resource manager to inventory server * push missing files * fix GetPool request
* refactored executed workflows query to support sorting * lint fixing --------- Co-authored-by: PeterL <[email protected]>
* 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]>
* add nodeId to netRoutingPath * remove package-lock.json
* 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]>
Co-authored-by: PeterL <[email protected]>
* 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 * formatting * formatting --------- Co-authored-by: PeterL <[email protected]>
* topology query graphql * add helper functions * graphql backups query
* 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]>
…omizable (#365) * add missing workflow definition properties to make updating more customizable * remove createTime and updateTime
MarcoMruz
previously approved these changes
Sep 7, 2023
…366) * remove possibility to change values of createdAt or updatedAt values for workflow definition from third parties * remove dates from inputs of workflow definition
* added filtering by name to zones and labels * lint error fix * lint error fix * lint error fix --------- Co-authored-by: PeterL <[email protected]>
* 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
* deleted topology discovery rest APIcode * removed topology URL from .env.example and config.ts * formatting --------- Co-authored-by: PeterL <[email protected]>
* dont parse json object params * fix lint * seed moun params fix * revert change
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
we will keep this branch for while, until all will be prepared and tested with the whole Frinx Machine