-
Notifications
You must be signed in to change notification settings - Fork 21
Feature/816 migration scripts #866
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
Conversation
- Created a new folder structure for migration queries - Two top level directories called action and reporting each containing a directory for default and ngraph queries. - Simplified query file names with new directory structure - Lots of small changes to queries - Split multi query files into individual files - Updated percentage action query - Tested queries on Apache Jena, GraphDB, and Allegro Graph
Created new directories under `migration/v12.0/queries/reporting/` for old and new gist namespace validation scripts. - Old namespace queries should be used for validating before migration - New namespace queries should be used for validating after migration - Added a README to old and new namespace directories stating the above two bullet points
- Improved directory structure for report queries - Following action directory format (action/default|ngraphs) - Added README in report directory with directory layout - Updated `migrate_local.yaml` with new directory structure - README for v12.0 migrations (WiP)
# validation | ||
# default | ||
- action: "verify" | ||
message: "Check for other items that should be reviewed." | ||
type: "construct" | ||
inference: "none" | ||
stopOnFail: false | ||
target: "{report}" | ||
endpoint: | ||
query_uri: "{endpoint}" | ||
user: "{user}" | ||
password: "{password}" | ||
queries: | ||
source: "{reporting_queries_path_default}/" | ||
includes: | ||
- "detect_removed.rq" | ||
- "detect_renamed.rq" | ||
- "detect_old_namespace_subject.rq" | ||
- "detect_old_namespace_predicate.rq" | ||
- "detect_old_namespace_object.rq" | ||
- "detect_old_namespace_graph.rq" | ||
# ngraphs | ||
- action: "verify" | ||
message: "Check for other items that should be reviewed." | ||
type: "construct" | ||
inference: "none" | ||
stopOnFail: false | ||
target: "{report}" | ||
endpoint: | ||
query_uri: "{endpoint}" | ||
user: "{user}" | ||
password: "{password}" | ||
queries: | ||
source: "{reporting_queries_path_ngraphs}/" | ||
includes: | ||
- "detect_removed.rq" | ||
- "detect_renamed.rq" | ||
- "detect_old_namespace_subject.rq" | ||
- "detect_old_namespace_predicate.rq" | ||
- "detect_old_namespace_object.rq" | ||
- "detect_old_namespace_graph.rq" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have been unable to test the validation against an endpoint. I am getting an error back that appears to be from the endpoint, I may have the wrong URL. I have tries several databases with no luck. @Jamie-SA, could you provide me with the endpoint URL for AGraph or GraphDB please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed a few items and/or questions.
migration/v12.0/queries/report/default/new_namespace/detect_renamed.rq
Outdated
Show resolved
Hide resolved
migration/v12.0/queries/report/default/old_namespace/detect_old_namespace_object.rq
Outdated
Show resolved
Hide resolved
migration/v12.0/queries/report/default/old_namespace/detect_old_namespace_predicate.rq
Outdated
Show resolved
Hide resolved
migration/v12.0/queries/report/ngraphs/old_namespace/detect_old_namespace_graph.rq
Outdated
Show resolved
Hide resolved
migration/v12.0/queries/report/ngraphs/old_namespace/detect_old_namespace_object.rq
Outdated
Show resolved
Hide resolved
migration/v12.0/queries/report/ngraphs/old_namespace/detect_old_namespace_predicate.rq
Outdated
Show resolved
Hide resolved
migration/v12.0/queries/report/ngraphs/old_namespace/detect_old_namespace_subject.rq
Outdated
Show resolved
Hide resolved
migration/v12.0/queries/report/ngraphs/old_namespace/detect_renamed.rq
Outdated
Show resolved
Hide resolved
Colton is out for a couple of weeks so I'm going to work on addressing some of the issues I found during my review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed the issues I saw.
No description provided.