The write_device_properties_to_db was creating an instance of the database by connecting to the real database server. This is not something we want to do everytime, as we want to run a tango device using a file as a database (for the mkat-rts configuration).
I also changed the get_file_name utililty function to get_database. It now returns the tango database instance.
Run device server using file or real database
The
write_device_properties_to_db
was creating an instance of the database by connecting to the real database server. This is not something we want to do everytime, as we want to run a tango device using a file as a database (for the mkat-rts configuration).I also changed the
get_file_name
utililty function toget_database
. It now returns the tango database instance.JIRA: MT-145