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 configuration api #6035

Merged
merged 12 commits into from
Feb 8, 2023
Merged

Add configuration api #6035

merged 12 commits into from
Feb 8, 2023

Conversation

andig
Copy link
Member

@andig andig commented Feb 4, 2023

Refs #6029

  • add /config/templates/<class> api
  • prepare templates for json export
  • some internal renames
  • add config/test/<class> api
  • simple config form for vehicles with testing ability @naltatis

For testing:

curl -X POST --data '{"template":"dsmr","host":"foo"}' http://localhost:7070/api/config/test/meter
{"error":"cannot create meter 'template': cannot create meter 'dsmr': dial tcp: lookup foo: no such host"}

new vehicle creation dialog (WIP)
Feb-07-2023 18-45-50

enable "Experimentals" (only in dev & nightly) to reveal the "Add vehicle" option
enable

@andig andig added the infrastructure Basic functionality label Feb 4, 2023
@andig andig requested a review from naltatis February 4, 2023 09:02
@andig andig force-pushed the feature/config-1 branch 2 times, most recently from f4e6b4f to 9e21a67 Compare February 5, 2023 12:39
@andig
Copy link
Member Author

andig commented Feb 5, 2023

make toml

@andig andig merged commit 54321c0 into master Feb 8, 2023
@andig andig deleted the feature/config-1 branch February 8, 2023 10:29
@andig andig mentioned this pull request Feb 11, 2023
22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Basic functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants