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

feat: GraphQL Endpoint, Sub-Graph Modules #50

Merged
merged 18 commits into from
Aug 25, 2022
Merged

Conversation

halcyondude
Copy link
Collaborator

@halcyondude halcyondude commented Apr 23, 2022

@halcyondude halcyondude linked an issue Apr 23, 2022 that may be closed by this pull request
18 tasks
@halcyondude halcyondude force-pushed the 4-graphql-endpoint-v1 branch 4 times, most recently from 8fe6852 to 6fe92d5 Compare April 25, 2022 22:47
@halcyondude halcyondude linked an issue Apr 26, 2022 that may be closed by this pull request
23 tasks
@halcyondude halcyondude changed the title GraphQL Endpoint, Sub-Graph Modules feat: GraphQL Endpoint, Sub-Graph Modules May 9, 2022
@halcyondude halcyondude force-pushed the 4-graphql-endpoint-v1 branch 4 times, most recently from 68efa2c to 14feb65 Compare August 4, 2022 21:09
@halcyondude halcyondude force-pushed the 4-graphql-endpoint-v1 branch 5 times, most recently from 5a207ea to 32f43e2 Compare August 18, 2022 22:40
@halcyondude halcyondude force-pushed the 4-graphql-endpoint-v1 branch 4 times, most recently from ae2f4bd to c5b98d1 Compare August 25, 2022 18:15
@halcyondude halcyondude marked this pull request as ready for review August 25, 2022 18:15
- add landscape-graph-core-schema.gql
= put in place sgp extensibility mechanism

* #4
* #2
* #42

Signed-off-by: Matt Young <[email protected]>
Related to:

#2
#4

Signed-off-by: Matt Young <[email protected]>
halcyondude and others added 14 commits August 25, 2022 14:16
Signed-off-by: Matt Young <[email protected]>
Signed-off-by: Matt Young <[email protected]>
Signed-off-by: Matt Young <[email protected]>
* Flat: latest data (2022-07-15T00:05:18.517Z)
{
  "date": "2022-07-15T00:05:18.517Z",
  "files": [
    {
      "name": "landscape-items-clean.json",
      "deltaBytes": -415,
      "source": "https://landscape.cncf.io/data/items.json"
    },
    {
      "name": "landscape-items.json",
      "deltaBytes": -209,
      "source": "https://landscape.cncf.io/data/items.json"
    }
  ]
}

Signed-off-by: Matt Young <[email protected]>

* Flat: latest data (2022-07-16T00:05:37.097Z)
{
  "date": "2022-07-16T00:05:37.097Z",
  "files": [
    {
      "name": "landscape-items-clean.json",
      "deltaBytes": 10943,
      "source": "https://landscape.cncf.io/data/items.json"
    },
    {
      "name": "landscape-items.json",
      "deltaBytes": 9687,
      "source": "https://landscape.cncf.io/data/items.json"
    }
  ]
}

Signed-off-by: Matt Young <[email protected]>

* Flat: latest data (2022-07-17T00:04:46.190Z)
{
  "date": "2022-07-17T00:04:46.190Z",
  "files": [
    {
      "name": "landscape-items-clean.json",
      "deltaBytes": 248,
      "source": "https://landscape.cncf.io/data/items.json"
    },
    {
      "name": "landscape-items.json",
      "deltaBytes": 54,
      "source": "https://landscape.cncf.io/data/items.json"
    }
  ]
}

Signed-off-by: Matt Young <[email protected]>

* Flat: latest data (2022-07-18T00:04:51.054Z)
{
  "date": "2022-07-18T00:04:51.054Z",
  "files": [
    {
      "name": "landscape-items-clean.json",
      "deltaBytes": 240,
      "source": "https://landscape.cncf.io/data/items.json"
    },
    {
      "name": "landscape-items.json",
      "deltaBytes": 176,
      "source": "https://landscape.cncf.io/data/items.json"
    }
  ]
}

Signed-off-by: Matt Young <[email protected]>

* GraphQL is the source of data mode truth

- add landscape-graph-core-schema.gql
= put in place sgp extensibility mechanism

* #4
* #2
* #42

Signed-off-by: Matt Young <[email protected]>

* Sub-Graph Packs: data model extensibility

Related to:

#2
#4

Signed-off-by: Matt Young <[email protected]>

* resources: grandstack blogs

Signed-off-by: Matt Young <[email protected]>

* resources: Cloud Native Application Bundles

Related to https://github.com/cncf/landscape-graph/issues/42∑

Signed-off-by: Matt Young <[email protected]>

* sgp --> sgm, misc docs

Signed-off-by: Matt Young <[email protected]>

* apps/panorama: initial project creation

Signed-off-by: Matt Young <[email protected]>

* apps/panorama: WIP

Signed-off-by: Matt Young <[email protected]>

* apps/panorama: WIP

Signed-off-by: Matt Young <[email protected]>

* add: github.com GraphQL schema SDL

octokit/graphql-schema@34d7f06
Signed-off-by: Matt Young <[email protected]>

* [chore] Basic fed2 boilerplate example, references

Signed-off-by: Matt Young <[email protected]>

* [chore] remove Angular sample app prototype

Signed-off-by: Matt Young <[email protected]>

Co-authored-by: flat-data <[email protected]>
Signed-off-by: Matt Young <[email protected]>
Add cncf subgraph GraphQL SDL (Schema Design Language)

Signed-off-by: Matt Young <[email protected]>
Signed-off-by: Matt Young <[email protected]>
gen-exec-schema
generate-schema

:)

Signed-off-by: Matt Young <[email protected]>
Signed-off-by: Matt Young <[email protected]>
ᐅ npx graphql-code-generator init

    Welcome to GraphQL Code Generator!
    Answer few questions and we will setup everything for you.

? What type of application are you building? Backend - API or server
? Where is your schema?: (path or url) http://localhost:4000
? Pick plugins: TypeScript (required by other typescript plugins), TypeScript Resolvers (strongly typed resolve functions), TypeScript GraphQL
document nodes (embedded GraphQL document)
? Where to write the output: src/generated/graphql.ts
? Do you want to generate an introspection file? Yes
? How to name the config file? codegen.yml
? What script in package.json should run the codegen? codegen
Fetching latest versions of selected plugins...

    Config file generated at codegen.yml

      $ npm install

    To install the plugins.

      $ npm run codegen

    To run GraphQL Code Generator.

Signed-off-by: Matt Young <[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.

design: Sub-Graph Modules (sgm) Create GraphQL endpoint, leveraging neo4j graphql library v3
1 participant