-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Juan Cruz Viotti <[email protected]>
- Loading branch information
Showing
14 changed files
with
180 additions
and
10 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
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
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
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
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
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,10 @@ | ||
GET {{base}}/schemas/doc/.period.json | ||
HTTP 404 | ||
Content-Type: application/json | ||
[Captures] | ||
current_request_id: header "X-Request-id" | ||
[Asserts] | ||
jsonpath "$.code" == 404 | ||
jsonpath "$.error" == "not-found" | ||
jsonpath "$.message" == "There is no schema at this URL" | ||
jsonpath "$.request" == "{{current_request_id}}" |
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,21 @@ | ||
GET {{base}}/example/schemas/.meta.json | ||
HTTP 404 | ||
Content-Type: application/json | ||
[Captures] | ||
current_request_id: header "X-Request-id" | ||
[Asserts] | ||
jsonpath "$.code" == 404 | ||
jsonpath "$.error" == "not-found" | ||
jsonpath "$.message" == "There is no schema at this URL" | ||
jsonpath "$.request" == "{{current_request_id}}" | ||
|
||
GET {{base}}/.meta.json | ||
HTTP 404 | ||
Content-Type: application/json | ||
[Captures] | ||
current_request_id: header "X-Request-id" | ||
[Asserts] | ||
jsonpath "$.code" == 404 | ||
jsonpath "$.error" == "not-found" | ||
jsonpath "$.message" == "There is no schema at this URL" | ||
jsonpath "$.request" == "{{current_request_id}}" |
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
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,13 @@ | ||
FROM registry-ee AS builder | ||
COPY configuration.json /app/configuration.json | ||
COPY schemas /app/schemas | ||
COPY manifest-ee.txt /app/manifest.txt | ||
COPY manifest-check.sh /app/manifest-check.sh | ||
RUN sourcemeta-registry-index /app/configuration.json /app/index | ||
# For basic testing purposes | ||
RUN /app/manifest-check.sh /app/index /app/manifest.txt | ||
|
||
FROM registry | ||
COPY --from=builder /app/index /app/index | ||
ENTRYPOINT [ "/usr/bin/sourcemeta-registry-server" ] | ||
CMD [ "/app/index" ] |
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 |
---|---|---|
|
@@ -2,5 +2,6 @@ services: | |
sandbox: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile.ce | ||
ports: | ||
- 8000:8000 |
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,7 @@ | ||
services: | ||
sandbox: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile.ee | ||
ports: | ||
- 8000:8000 |
File renamed without changes.
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,17 @@ | ||
./configuration.json | ||
./schemas | ||
./schemas/.meta.json | ||
./schemas/doc | ||
./schemas/doc/.meta.json | ||
./schemas/doc/string-1.json | ||
./schemas/example | ||
./schemas/example/.meta.json | ||
./schemas/example/bundling | ||
./schemas/example/bundling/.meta.json | ||
./schemas/example/bundling/single.json | ||
./schemas/example/schemas | ||
./schemas/example/schemas/.meta.json | ||
./schemas/example/schemas/string.json | ||
./schemas/example/v2.0 | ||
./schemas/example/v2.0/.meta.json | ||
./schemas/example/v2.0/schema.json |
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,5 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://example.com/doc/.period.json", | ||
"type": "string" | ||
} |