This repository has been archived by the owner on May 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add catalog generation to integration test
- Loading branch information
amckenzie
committed
Nov 21, 2017
1 parent
592c2ac
commit 05c086c
Showing
38 changed files
with
332 additions
and
276 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
53 changes: 53 additions & 0 deletions
53
catalog-core/src/main/resources/schema_catalog_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,53 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
}, | ||
"group": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"baseLocation": { | ||
"type": "string" | ||
}, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"schema": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": "string" | ||
}, | ||
"location": { | ||
"location": "string" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"id", | ||
"location" | ||
] | ||
} | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"baseLocation", | ||
"name", | ||
"schema" | ||
] | ||
} | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"name", | ||
"group" | ||
] | ||
} |
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
54 changes: 26 additions & 28 deletions
54
catalog-core/src/test/resources/json/schema/schema_catalog.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 |
---|---|---|
@@ -1,30 +1,28 @@ | ||
{ | ||
"catalog": { | ||
"name": "my catalog", | ||
"group": [ | ||
{ | ||
"name": "standards", | ||
"baseLocation": "standards/", | ||
"schema": [ | ||
{ | ||
"id": "http://justice.gov.uk/standards/complex_address.json", | ||
"location": "complex_address.json" | ||
}, | ||
{ | ||
"id": "http://justice.gov.uk/standards/address.json", | ||
"location": "address.json" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "staging interface", | ||
"schema": [ | ||
{ | ||
"id": "http://justice.gov.uk/context/person.json", | ||
"location": "context/person.json" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
"name": "my catalog", | ||
"group": [ | ||
{ | ||
"name": "standards", | ||
"baseLocation": "standards/", | ||
"schema": [ | ||
{ | ||
"id": "http://justice.gov.uk/standards/complex_address.json", | ||
"location": "complex_address.json" | ||
}, | ||
{ | ||
"id": "http://justice.gov.uk/standards/address.json", | ||
"location": "address.json" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "staging interface", | ||
"schema": [ | ||
{ | ||
"id": "http://justice.gov.uk/context/person.json", | ||
"location": "context/person.json" | ||
} | ||
] | ||
} | ||
] | ||
} |
15 changes: 0 additions & 15 deletions
15
catalog-domain/src/main/java/uk/gov/justice/schema/catalog/domain/CatalogWrapper.java
This file was deleted.
Oops, something went wrong.
71 changes: 0 additions & 71 deletions
71
catalog-domain/src/main/resources/domain/json_catalog.schema.json
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
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
Oops, something went wrong.