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

Allocate Tenant without TenantKey Fails in the ibm-fhir-schematool on db2 #2349

Closed
prb112 opened this issue May 12, 2021 · 2 comments
Closed
Assignees
Labels
bug Something isn't working persistence

Comments

@prb112
Copy link
Contributor

prb112 commented May 12, 2021

Describe the bug
Allocate Tenant without TenantKey Fails in the ibm-fhir-schematool on db2

Environment
Which version of IBM FHIR Server?
4.7.1

To Reproduce
Steps to reproduce the behavior:

  1. Run
docker run ibm-fhir-schematool:latest-debug --tool.behavior=onboard --db.host=localhost \
    --db.port=50000 --user=db2inst1 --password=change-password --db.database=fhirdb \
    --sslConnection=false --db.type=db2 --schema.name.fhir=CLINIC3 --grant.to=testuser \
    --tenant.name=ic3
  1. Check the exit code $? and it returns 1 which is unexpected.

Expected behavior
Allocation should complete with exit code 0 and then proceed to test-tenant

Additional context
Reported by Client

@prb112 prb112 added bug Something isn't working persistence labels May 12, 2021
@prb112 prb112 self-assigned this May 12, 2021
prb112 added a commit that referenced this issue May 12, 2021
… db2 #2349

Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
@prb112
Copy link
Contributor Author

prb112 commented May 12, 2021

PR #2351

prb112 added a commit that referenced this issue May 13, 2021
Allocate Tenant without TenantKey Fails in the ibm-fhir-schematool on db2 #2349
@kmbarton423
Copy link
Contributor

Verified behavior via docker run of ibm-fhir-schematool with db2 on ibmcloud

(output at run conclusion)
2021-05-14 18:28:55.098 00000001 INFO com.ibm.fhir.schema.app.Main SCHEMA CHANGE: OK

  • echo 0
  • set +x
    Successful Setup of:
    TENANT_NAME: KMB
    TENANT_KEY: rzpTU7STgHWdiAIBKLplKb++W+apo4k7yAmGysxwnsc=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working persistence
Projects
None yet
Development

No branches or pull requests

2 participants