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

kpm diagnostic tool behaves inconsistently when the api credentials are specified in a config file as well as on the command line #269

Open
reshmabidikar opened this issue Apr 23, 2024 · 0 comments

Comments

@reshmabidikar
Copy link
Contributor

Steps to reproduce:

  1. Create a config.yml file as follows:
killbill:
  api_key: bob
  api_secret: lazar
  port: 8080
  host: localhost
  user: admin
  password: password
  plugins_dir: /var/tmp/bundles
  1. Run the kpm diagnostic command as follows:
kpm diagnostic --account-export=<account id from bob/lazar tenant> --config_file=config.yml --killbill-api-credentials=t1 t1 
  1. In this case, the diagnostic file contains tenant information from the t1/t1 tenant and account information from the bob/lazar tenant.

Expected Behavior: We should disallow specifying both a config file and command line options to prevent such inconsistent behavior.

@reshmabidikar reshmabidikar changed the title kpm diagnostic tool behaves inconsistently when both the api credentials are specified in a config file as well as on the command line kpm diagnostic tool behaves inconsistently when the api credentials are specified in a config file as well as on the command line Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant