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

Database creation wrapper tool #580

Open
7flying opened this issue Nov 28, 2023 · 0 comments
Open

Database creation wrapper tool #580

7flying opened this issue Nov 28, 2023 · 0 comments
Labels
admin-tools API Anything to do with the onboarding API and associated libraries/bindings enhancement New feature or request jira manufacturing Anything to do with the manufacturing client/service/APIs/protocol onboarding Anything to do with the onboarding service rendevous Anything to do with the rendevous service service info modules bugs or RFEs for FDO SIMs services-configurations RFEs for services configuration

Comments

@7flying
Copy link
Contributor

7flying commented Nov 28, 2023

With #556 we are adding DB support to FDO, in order to initialise the database contents the clients would need to run:
diesel migration run --migration-dir ./migrations_{DATABASE_TYPE_AND_SERVER_TYPE} --database-url  {DATABASE_URL} 

so, do we need to wrap that command into something more easy and encapsulate the dependencies inside an existing RPM?

e.g: fdo-owner-tool initialize-database owner postgres $POSTGRES_URL

@7flying 7flying added the jira label Nov 28, 2023
@nullr0ute nullr0ute added enhancement New feature or request service info modules bugs or RFEs for FDO SIMs services-configurations RFEs for services configuration manufacturing Anything to do with the manufacturing client/service/APIs/protocol rendevous Anything to do with the rendevous service onboarding Anything to do with the onboarding service API Anything to do with the onboarding API and associated libraries/bindings admin-tools labels Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin-tools API Anything to do with the onboarding API and associated libraries/bindings enhancement New feature or request jira manufacturing Anything to do with the manufacturing client/service/APIs/protocol onboarding Anything to do with the onboarding service rendevous Anything to do with the rendevous service service info modules bugs or RFEs for FDO SIMs services-configurations RFEs for services configuration
Projects
None yet
Development

No branches or pull requests

2 participants