-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: update solution landing pages and add web streaming * fix: update links and add redirect * feat: update code highlighting theme * chore: move type and kind and remove ToC * feat: update reference locations and change the parser to compare individual kinds * fix: remove extra schema:version option for the cataloged $def * fix: add MSK SPA auth links on deploy page * fix: handle required fields * fix: parse schema types and defaults * fix: model types and required * chore: update action versions * feat: add zilla.yaml file placeholders * fix: add the sidebar hack to prevent auto expand * feat: allow failed github action
- Loading branch information
Showing
243 changed files
with
18,471 additions
and
9,493 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,26 @@ | ||
docker run ghcr.io/aklivity/zilla:latest start -v -Pzilla.engine.verbose.schema >> zilla-schema.json | ||
# Schema Docs Comparison | ||
|
||
This project compares the JSON Schema from the Zilla to the [Reference](../src/reference) section of the docs. | ||
|
||
## Update schema | ||
|
||
In the repository root directory run: | ||
|
||
```bash | ||
brew install gsed | ||
``` | ||
|
||
```bash | ||
CONTAINER_ID=$(docker run -d --rm -e ZILLA_INCUBATOR_ENABLED=true ghcr.io/aklivity/zilla:develop-SNAPSHOT start -v -Pzilla.engine.verbose.schema.plain); | ||
sleep 5; | ||
docker logs $CONTAINER_ID > ./.check-schema/zilla-schema.json 2>&1; | ||
docker stop $CONTAINER_ID; | ||
|
||
gsed -i '1,2d' ./.check-schema/zilla-schema.json; | ||
gsed -i '$d' ./.check-schema/zilla-schema.json; | ||
|
||
``` | ||
|
||
Once the docker container has printed "started" it must be deleted for the command to complete. | ||
|
||
Remove the none JSON lines from the beginning and end of each file. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import globals from "globals"; | ||
import pluginJs from "@eslint/js"; | ||
|
||
|
||
export default [ | ||
{ files: ["**/*.js"], languageOptions: { sourceType: "commonjs" } }, | ||
{ languageOptions: { globals: globals.browser } }, | ||
pluginJs.configs.recommended, | ||
]; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Oops, something went wrong.