feat: GraphQL Endpoint, Sub-Graph Modules#50
Merged
halcyondude merged 18 commits intomainfrom Aug 25, 2022
Merged
Conversation
18 tasks
8fe6852 to
6fe92d5
Compare
23 tasks
6fe92d5 to
aa67b8d
Compare
cb35076 to
2f1c07c
Compare
6d6123f to
92b7dac
Compare
92b7dac to
4535c55
Compare
4535c55 to
fa827a7
Compare
68efa2c to
14feb65
Compare
5a207ea to
32f43e2
Compare
ae2f4bd to
c5b98d1
Compare
Signed-off-by: Matt Young <halcyondude@gmail.com>
Related to https://github.com/cncf/landscape-graph/issues/42∑ Signed-off-by: Matt Young <halcyondude@gmail.com>
Signed-off-by: Matt Young <halcyondude@gmail.com>
Signed-off-by: Matt Young <halcyondude@gmail.com>
Signed-off-by: Matt Young <halcyondude@gmail.com>
Signed-off-by: Matt Young <halcyondude@gmail.com>
* 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 <halcyondude@gmail.com>
* 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 <halcyondude@gmail.com>
* 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 <halcyondude@gmail.com>
* 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 <halcyondude@gmail.com>
* 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 <halcyondude@gmail.com>
* Sub-Graph Packs: data model extensibility
Related to:
#2
#4
Signed-off-by: Matt Young <halcyondude@gmail.com>
* resources: grandstack blogs
Signed-off-by: Matt Young <halcyondude@gmail.com>
* resources: Cloud Native Application Bundles
Related to https://github.com/cncf/landscape-graph/issues/42∑
Signed-off-by: Matt Young <halcyondude@gmail.com>
* sgp --> sgm, misc docs
Signed-off-by: Matt Young <halcyondude@gmail.com>
* apps/panorama: initial project creation
Signed-off-by: Matt Young <halcyondude@gmail.com>
* apps/panorama: WIP
Signed-off-by: Matt Young <halcyondude@gmail.com>
* apps/panorama: WIP
Signed-off-by: Matt Young <halcyondude@gmail.com>
* add: github.com GraphQL schema SDL
octokit/graphql-schema@34d7f06
Signed-off-by: Matt Young <halcyondude@gmail.com>
* [chore] Basic fed2 boilerplate example, references
Signed-off-by: Matt Young <halcyondude@gmail.com>
* [chore] remove Angular sample app prototype
Signed-off-by: Matt Young <halcyondude@gmail.com>
Co-authored-by: flat-data <flat-data@users.noreply.github.com>
Signed-off-by: Matt Young <halcyondude@gmail.com>
Signed-off-by: Matt Young <halcyondude@gmail.com>
Signed-off-by: Matt Young <halcyondude@gmail.com>
Add cncf subgraph GraphQL SDL (Schema Design Language) Signed-off-by: Matt Young <halcyondude@gmail.com>
Signed-off-by: Matt Young <halcyondude@gmail.com>
Signed-off-by: Matt Young <halcyondude@gmail.com>
gen-exec-schema generate-schema :) Signed-off-by: Matt Young <halcyondude@gmail.com>
Signed-off-by: Matt Young <halcyondude@gmail.com>
Signed-off-by: Matt Young <halcyondude@gmail.com>
ᐅ 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 <halcyondude@gmail.com>
c5b98d1 to
e2fe517
Compare
This file contains hidden or 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
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.
https://github.com/cncf/landscape-graph/tree/4-graphql-endpoint-v1/db
Resolves: #4, #54