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

Fix schemata updates #67

Merged
merged 25 commits into from
Oct 29, 2019
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
dc17d25
Use editor in schema view for drafts
wwerner Oct 20, 2019
493e5e1
[WIP] E2E test for editing schema spec
wwerner Oct 20, 2019
f317b95
Build dependencies manually instead of pulling them from central due …
wwerner Oct 24, 2019
77725fd
Don't rebuild application within container, use the jar created in pr…
wwerner Oct 25, 2019
ccb251c
Copy target/ from build to image creation step
wwerner Oct 25, 2019
84144b9
Merge branch 'master' into feature/57-edit_draft_schemas
wwerner Oct 25, 2019
94c4720
Enable constraints in HSQL
wwerner Oct 25, 2019
231d6e7
Make assertions for context test more strict
wwerner Oct 25, 2019
4678218
Modify context persistence test to actually update instead of re-crea…
wwerner Oct 25, 2019
09d43f2
Switch test back to HSQL
wwerner Oct 25, 2019
4a81e6c
Assert that updates were persisted in object store tests
wwerner Oct 27, 2019
40cd4ff
Enable unique constraints on HSQLDB
wwerner Oct 27, 2019
d910892
Add category to schema unique constraint
wwerner Oct 27, 2019
fab57d6
Add simple update tests
wwerner Oct 27, 2019
21b4cc5
Make tests more clear
wwerner Oct 27, 2019
ae0c386
Switch tests back to HSQL
wwerner Oct 27, 2019
5b82b56
Fix schema version test assertions
wwerner Oct 27, 2019
aee9ffd
Merge master
wwerner Oct 28, 2019
c3dfcd3
Remove duplicate tests now that the underlying symbio issue is resolved
wwerner Oct 28, 2019
459eafc
Revert some irrelevant local changes to be closer to the tests on master
wwerner Oct 28, 2019
211d616
Remove hardcoded persistence IDs to prevent side effects between mult…
wwerner Oct 28, 2019
97c6f71
Update cypress
wwerner Oct 28, 2019
21e99ca
Update tests to support monaco editor
wwerner Oct 28, 2019
b3b0579
Ignore failing test for now, see issue #69
wwerner Oct 28, 2019
47ead2c
Improve edit dialog layout
wwerner Oct 28, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Switch tests back to HSQL
wwerner committed Oct 27, 2019
commit ae0c386ab55bbe31f872d4d8915634eadf28f996
Original file line number Diff line number Diff line change
@@ -403,7 +403,7 @@ public void testThatObjectStoreCanUpdateSchema() {
.withCategory(Category.Data)
.withDescription("updated description")
.withName("updated name");

objectStore.persist(updatedState, insertedState.persistenceId(), persistInterest);

queryInterest.until = TestUntil.happenings(1);
@@ -475,7 +475,7 @@ public void setUp() throws Exception {

dispatcher = new NoopDispatcher();

final SchemataObjectStore schemataObjectStore = SchemataObjectStore.instance("prod");
final SchemataObjectStore schemataObjectStore = SchemataObjectStore.instance("dev");
objectStore = schemataObjectStore.objectStoreFor(world, dispatcher, schemataObjectStore.persistentMappers());
final ObjectTypeRegistry registry = new ObjectTypeRegistry(world);
schemataObjectStore.register(registry, objectStore);