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

Bugfix/optional oauth in auth api#20

Merged
nxtcoder17 merged 5 commits into
kloudlite:release-1.0.5from
nxtcoder17:bugfix/optional-oauth-in-auth-api
May 31, 2023
Merged

Bugfix/optional oauth in auth api#20
nxtcoder17 merged 5 commits into
kloudlite:release-1.0.5from
nxtcoder17:bugfix/optional-oauth-in-auth-api

Conversation

@nxtcoder17
Copy link
Copy Markdown
Member

Description

provisions for making oAuth2 optional, for each of the oAuth2 providers (github, gitlab and google).

provides Graphql Query, to check which of the providers are enabled

query ListOAuthProviders {
  auth_listOAuthProviders {
    provider
    enabled
  }
}

…, with parsing from go struct as well as any json schema if provided through json-schema tag
…raphql fields from specified json schema, and inline is also honored
… now we should be able to refacator it with confidence
@nxtcoder17 nxtcoder17 requested a review from karthik1729 as a code owner May 31, 2023 13:14
@nxtcoder17 nxtcoder17 merged commit 2c816c0 into kloudlite:release-1.0.5 May 31, 2023
@nxtcoder17 nxtcoder17 deleted the bugfix/optional-oauth-in-auth-api branch May 31, 2023 17:44
nxtcoder17 added a commit that referenced this pull request Jun 29, 2023
* 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
Former-commit-id: 6533173633ab3d135badbda122994aade829709b
abdheshnayak pushed a commit that referenced this pull request Nov 5, 2024
* [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
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>
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.

1 participant