AMONCode / Analysis

Repository for the AMON software
2 stars 0 forks source link

Adding new streams is hardcoded #12

Closed AMONCode closed 4 years ago

AMONCode commented 4 years ago

The current code is hardcoded to add new streams. The function inside db_base/db_write.y called def write_event_config_archive(stream_num, host_name, user_name, passw_name, db_name): is where this occurs.

Need to find a way to create a new event stream without hardcoding things

hayalaso commented 4 years ago

I've made a new command located in bin to deal with this issue. It is located in the branch test_develop and I'll merge it to develop once other changes have been made in that branch.

https://github.com/AMONCode/Analysis/blob/test_develop/AmonPy/bin/amon_add_event_stream_config

hayalaso commented 4 years ago

Just merged this into Dev.