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

Story new graphql proxy #398

Merged
merged 89 commits into from
Feb 6, 2024
Merged

Story new graphql proxy #398

merged 89 commits into from
Feb 6, 2024

Conversation

MarcoMruz
Copy link
Contributor

We removed some services from inventory server that we used until now as API graphql gateway for the frontend. Since we switched to one graphql API gateway we do not need them in this inventory server. We also added new queries to support new time protocols for topology discovery such as SyncE and PTP.

soson and others added 30 commits March 21, 2023 14:31
* 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
plehocky and others added 24 commits September 18, 2023 11:01
* 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
* 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

* add pr check to new branch
* 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 usage of linksAndDevices endpoint

* remove hasAndInterfaces endpoint

* add idHas to query

* remove obsolete hasAndInterfaces/linksAndDevices graphql enpdoints

* revert .env.example

* idHas removed
* ptpDiffSynce query setup

* result fix

* formatting

* Update topology-discovery.graphql.ts

* removed unused code

---------

Co-authored-by: Martin Sottnik <[email protected]>
@soson soson merged commit 85961ba into master Feb 6, 2024
6 checks passed
@soson soson deleted the story-new-graphql-proxy branch February 6, 2024 09:36
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.

5 participants