Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Feature/infra pagination#32

Merged
nxtcoder17 merged 13 commits into
kloudlite:mainfrom
nxtcoder17:feature/infra-pagination
Jun 29, 2023
Merged

Feature/infra pagination#32
nxtcoder17 merged 13 commits into
kloudlite:mainfrom
nxtcoder17:feature/infra-pagination

Conversation

@nxtcoder17
Copy link
Copy Markdown
Member

Description

  • graphql types generation updated
  • infra api pagination
  • corrected error messages when resource creation fails because of duplicate key error in DB

nxtcoder17 and others added 13 commits May 21, 2023 12:05
* [cmd/struct-to-graphql] basic grapqhl schema generation now available, with parsing from go struct as well as any json schema if provided through json-schema tag

* [cmd/struct-to-graphql] kind of complete, can successfully generate graphql fields from specified json schema, and inline is also honored

* [cmd/struct-to-graphql] adding tests for validating generated schema, now we should be able to refacator it with confidence

* WIP: trying to come up with GraphQL schema generation from struct itself

* implements provisions for OAuth implementation to be optional for each of the providers
* 🚧 wip

* 🚧 wip

* ✨ new improved nodectrl written

nodectrl with support of digital ocean and aws with feature of creation and deletion added.
Node Creation, Cluster Creation, Master node, and worker node management with the cloud provider AWS are done.
Left changes form last pull request
…repo

* struct-to-graphql types, input types, enums, common-types are being generated, but still need a stable sorting of generated fields, so that diff among multiple generations is kept at small

* [cmd/struct-to-graphql] better parsing from struct and json-schema

* cmd/struct-to-gql nested structs now have pkgpath prefixed to their name

* [cmd/struct-to-graphql] graphql schema generation and dumping with unique nested structs generation, i.e. no repeating of types

* [cmd/struct-to-graphql] tests are passing, reaching stability

* [cmd/struct-to-graphql] tests are passing, json-schema tests are also passing

* [cmd/struct-to-graphql] using it to generate graphql schema for console

* [cmd/struct-to-graphql] successfully generates graphql types, inputs, enums, handles nested structs, as well as inlining structs

* apps/console mongo repo updated to give out paginated records

* cursor based pagination finally coming through, able to paginate records based on user specified sort key, and page size

* paginated query refactorings ...

* struct-to-graphql types, input types, enums, common-types are being generated, but still need a stable sorting of generated fields, so that diff among multiple generations is kept at small

* [cmd/struct-to-graphql] better parsing from struct and json-schema

* cmd/struct-to-gql nested structs now have pkgpath prefixed to their name

* [cmd/struct-to-graphql] graphql schema generation and dumping with unique nested structs generation, i.e. no repeating of types

* [cmd/struct-to-graphql] tests are passing, reaching stability

* [cmd/struct-to-graphql] tests are passing, json-schema tests are also passing

* [cmd/struct-to-graphql] using it to generate graphql schema for console

* [cmd/struct-to-graphql] successfully generates graphql types, inputs, enums, handles nested structs, as well as inlining structs

* apps/console mongo repo updated to give out paginated records

* cursor based pagination finally coming through, able to paginate records based on user specified sort key, and page size

* paginated query refactorings ...

* implemented pagination for workspaces, routers, apps, projects, configs, secrets, managed services and managed resources

* resolves bugs in apps/nodectrl, and findPaginated method in mongo repo

* removes old files, and comments cleanup
@nxtcoder17 nxtcoder17 merged commit 24fdd9d into kloudlite:main Jun 29, 2023
@nxtcoder17 nxtcoder17 deleted the feature/infra-pagination branch June 29, 2023 02:55
nxtcoder17 added a commit that referenced this pull request Jun 29, 2023
nxtcoder17 added a commit that referenced this pull request Jun 29, 2023
@nxtcoder17 nxtcoder17 restored the feature/infra-pagination branch June 29, 2023 03:11
@nxtcoder17 nxtcoder17 deleted the feature/infra-pagination branch June 29, 2023 03:20
abdheshnayak added a commit that referenced this pull request Nov 5, 2024
* message office refactorings (#18)

* [apps/console] msvc templates listing through graphql (#19)

* Bugfix/optional oauth in auth api (#20)

* [cmd/struct-to-graphql] basic grapqhl schema generation now available, with parsing from go struct as well as any json schema if provided through json-schema tag

* [cmd/struct-to-graphql] kind of complete, can successfully generate graphql fields from specified json schema, and inline is also honored

* [cmd/struct-to-graphql] adding tests for validating generated schema, now we should be able to refacator it with confidence

* WIP: trying to come up with GraphQL schema generation from struct itself

* implements provisions for OAuth implementation to be optional for each of the providers

* changes container registry for image building and pushing (#21)

* Feature/nodejob (#22)

* 🚧 wip

* 🚧 wip

* ✨ new improved nodectrl written

nodectrl with support of digital ocean and aws with feature of creation and deletion added.

* Feature/nodejob (#23)

Node Creation, Cluster Creation, Master node, and worker node management with the cloud provider AWS are done.

* 🚧 wip (#24)

Left changes form last pull request

* [apps/nodectrl] taskfile updated to build nodectrl image locally (#26)

* cursor based pagination for console api along with findpaginated for repo

* struct-to-graphql types, input types, enums, common-types are being generated, but still need a stable sorting of generated fields, so that diff among multiple generations is kept at small

* [cmd/struct-to-graphql] better parsing from struct and json-schema

* cmd/struct-to-gql nested structs now have pkgpath prefixed to their name

* [cmd/struct-to-graphql] graphql schema generation and dumping with unique nested structs generation, i.e. no repeating of types

* [cmd/struct-to-graphql] tests are passing, reaching stability

* [cmd/struct-to-graphql] tests are passing, json-schema tests are also passing

* [cmd/struct-to-graphql] using it to generate graphql schema for console

* [cmd/struct-to-graphql] successfully generates graphql types, inputs, enums, handles nested structs, as well as inlining structs

* apps/console mongo repo updated to give out paginated records

* cursor based pagination finally coming through, able to paginate records based on user specified sort key, and page size

* paginated query refactorings ...

* struct-to-graphql types, input types, enums, common-types are being generated, but still need a stable sorting of generated fields, so that diff among multiple generations is kept at small

* [cmd/struct-to-graphql] better parsing from struct and json-schema

* cmd/struct-to-gql nested structs now have pkgpath prefixed to their name

* [cmd/struct-to-graphql] graphql schema generation and dumping with unique nested structs generation, i.e. no repeating of types

* [cmd/struct-to-graphql] tests are passing, reaching stability

* [cmd/struct-to-graphql] tests are passing, json-schema tests are also passing

* [cmd/struct-to-graphql] using it to generate graphql schema for console

* [cmd/struct-to-graphql] successfully generates graphql types, inputs, enums, handles nested structs, as well as inlining structs

* apps/console mongo repo updated to give out paginated records

* cursor based pagination finally coming through, able to paginate records based on user specified sort key, and page size

* paginated query refactorings ...

* implemented pagination for workspaces, routers, apps, projects, configs, secrets, managed services and managed resources

* resolves bugs in apps/nodectrl, and findPaginated method in mongo repo

* removes old files, and comments cleanup

* woker node with spot instance of aws support added in nodectrl (#28)

* updated graphql schema from updated types, and throws error when creation fails for resources

* [apps/infra] api pagination

* infra pagination, and graphql type synchronisation across apollo federation

---------

Co-authored-by: Abdhesh Nayak <abdheshnayak@gmail.com>
abdheshnayak pushed a commit that referenced this pull request Nov 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants