-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
6 changed files
with
66 additions
and
6 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
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
22 changes: 22 additions & 0 deletions
22
...rsistence-schema/src/test/java/com/ibm/fhir/schema/app/test/main/AddKeyForTenantMain.java
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,22 @@ | ||
/* | ||
* (C) Copyright IBM Corp. 2020 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.ibm.fhir.schema.app.test.main; | ||
|
||
import com.ibm.fhir.schema.app.Main; | ||
import com.ibm.fhir.schema.app.test.main.helper.TestHelper; | ||
|
||
public class AddKeyForTenantMain { | ||
public static void main(String[] args) { | ||
String[] arguments = { | ||
"--prop-file", TestHelper.absolutePathToProperties(), | ||
"--pool-size", "5", | ||
"--schema-name", "FHIRDATA", | ||
"--add-tenant-key", "default" | ||
}; | ||
Main.main(arguments); | ||
} | ||
} |
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
23 changes: 23 additions & 0 deletions
23
...hema/src/test/java/com/ibm/fhir/schema/app/test/main/dryrun/AllocateTenantDryRunMain.java
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,23 @@ | ||
/* | ||
* (C) Copyright IBM Corp. 2020 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.ibm.fhir.schema.app.test.main.dryrun; | ||
|
||
import com.ibm.fhir.schema.app.Main; | ||
import com.ibm.fhir.schema.app.test.main.helper.TestHelper; | ||
|
||
public class AllocateTenantDryRunMain { | ||
public static void main(String[] args) { | ||
String[] arguments = { | ||
"--prop-file", TestHelper.absolutePathToProperties(), | ||
"--pool-size", "5", | ||
"--schema-name", "FHIRDATA", | ||
"--allocate-tenant", "default10", | ||
"--dry-run" | ||
}; | ||
Main.main(arguments); | ||
} | ||
} |