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

Add dryrun functionality to the fhir-persistence-schema Main #380

Open
prb112 opened this issue Nov 7, 2019 · 1 comment
Open

Add dryrun functionality to the fhir-persistence-schema Main #380

prb112 opened this issue Nov 7, 2019 · 1 comment
Labels
automation automation enhancement New feature or request

Comments

@prb112
Copy link
Contributor

prb112 commented Nov 7, 2019

Add dryrun functionality to the fhir-persistence-schema Main

Related to #371 and #159

@prb112 prb112 self-assigned this Nov 7, 2019
@prb112 prb112 added automation automation enhancement New feature or request labels Nov 7, 2019
@prb112 prb112 mentioned this issue Nov 7, 2019
@lmsurpre
Copy link
Member

lmsurpre commented Nov 7, 2019

One challenge will be knowing what versions are already in place on the target db. It would be really cool if it connected to the actual database, read the version information from the FHIR_ADMIN.VERSION_HISTORY table and then printed out just the DDL it would actually run to "upgrade" that schema.

@prb112 prb112 added this to the Sprint 6 milestone Dec 20, 2019
prb112 added a commit that referenced this issue Dec 30, 2019
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Dec 31, 2019
- Add DryRunConnection, DryRunJdbcConnectionProvider
- Update the JdbcPropertyAdapter to make a method public
- Refactor Main into a series of ISchemaAction
- Add actions for the representative menu actions.

Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 1, 2020
- change the default directories for actions

Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 1, 2020
- Update Actions to be Stateless

Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 3, 2020
- Update Actions to be Stateless
- Refactor the ActionProcessor to encapsulate the CreateConnection, and
DB access setup.
- Added DryRunContainer to register calls and choose to execute a
destructive call in each database-utils call
- Test Run
	- DropSchemaAction
	- CreateSchemaAction
	- CheckCompatibilityAction
	- VersionHistoryServiceAction
- Removed DryRunConnection/Provider/Statement

Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 6, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 6, 2020
- Add Java Application mains to run/dryrun specific actions from the
workspace without configuring specific Run/Run As

Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
@prb112 prb112 modified the milestones: Sprint 6, Sprint 7 Jan 7, 2020
@lmsurpre lmsurpre modified the milestones: Sprint 7, Sprint 8 Jan 28, 2020
prb112 added a commit that referenced this issue Jan 29, 2020
- Add dryrun functionality to the fhir-persistence-schema Main #380
- Document the schema migration process on the project wiki #270
- Update SearchNearTest to make sure it uses distinct IDs/Responses and
clean up the debug output to limit the 'extra' output data
- Fix LogFormatter invalid case when setting a filename
- Enhance Test coverage for DerbyFhirDatabase
- Remove unused build stored procedures method
- Removed unused latlng type

Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 29, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 29, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 29, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 29, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 29, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 29, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 29, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 29, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 29, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 29, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 29, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 29, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 29, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 29, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 29, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 30, 2020
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
prb112 added a commit that referenced this issue Jan 31, 2020
1 - Tested Run/DryRun with Check Compatibility
2 - Tested Run/DryRun with Create FHIR Schemas
3 - Tested Run/DryRun with Allocate Tenant

Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
@lmsurpre lmsurpre modified the milestones: Sprint 8, Sprint 9 Feb 18, 2020
prb112 added a commit that referenced this issue Feb 25, 2020
1 - Tested Run/DryRun with Check Compatibility
2 - Tested Run/DryRun with Create FHIR Schemas
3 - Tested Run/DryRun with Allocate Tenant

Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
@lmsurpre lmsurpre modified the milestones: Sprint 9, Sprint 10 Mar 9, 2020
@lmsurpre lmsurpre modified the milestones: Sprint 10, Sprint 11 Mar 30, 2020
@prb112 prb112 modified the milestones: Sprint 11, Sprint 12 Apr 21, 2020
@lmsurpre lmsurpre removed this from the Sprint 12 milestone May 8, 2020
@prb112 prb112 removed their assignment Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation automation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants