-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing issue with datastore_mysql_import existing tables (#3972)
- Loading branch information
Showing
5 changed files
with
616 additions
and
2 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
28 changes: 28 additions & 0 deletions
28
modules/datastore/modules/datastore_mysql_import/tests/files/catalog-step-1.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,28 @@ | ||
{ | ||
"dataset": [ | ||
{ | ||
"accessLevel": "public", | ||
"description": "Description #1", | ||
"identifier": "1", | ||
"modified": "2019-12-31", | ||
"title": "One", | ||
"keyword": ["keyword"] | ||
}, | ||
{ | ||
"accessLevel": "public", | ||
"description": "Description #2", | ||
"identifier": "2", | ||
"modified": "2019-12-31", | ||
"title": "Two", | ||
"keyword": ["keyword"] | ||
}, | ||
{ | ||
"accessLevel": "public", | ||
"description": "Description #3", | ||
"identifier": "3", | ||
"modified": "2019-12-31", | ||
"title": "Three", | ||
"keyword": ["keyword"] | ||
} | ||
] | ||
} |
28 changes: 28 additions & 0 deletions
28
modules/datastore/modules/datastore_mysql_import/tests/files/catalog-step-2.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,28 @@ | ||
{ | ||
"dataset": [ | ||
{ | ||
"accessLevel": "public", | ||
"description": "Description #1", | ||
"identifier": "1", | ||
"modified": "2019-12-31", | ||
"title": "One", | ||
"keyword": ["keyword"] | ||
}, | ||
{ | ||
"accessLevel": "public", | ||
"description": "Description #2", | ||
"identifier": "2", | ||
"modified": "2019-12-31", | ||
"title": "Two updated", | ||
"keyword": ["keyword"] | ||
}, | ||
{ | ||
"accessLevel": "public", | ||
"description": "Description #4", | ||
"identifier": "4", | ||
"modified": "2019-12-31", | ||
"title": "Four", | ||
"keyword": ["keyword"] | ||
} | ||
] | ||
} |
Oops, something went wrong.