jhuapl-boss / boss-manage

Repo for Boss configuration and management software
Apache License 2.0
5 stars 6 forks source link

Rename Collection in RDS #113

Closed sandyhider closed 2 years ago

sandyhider commented 2 years ago

Updated lib/boss_rds.py bin/boss_rds.py to allow the renaming of collections /lib/external.py was modified to optionally provide the sql connection The sql connection is needed to commit updates and inserts to the RDS table.

We are making these changes to help us quickly change out all the Neurodata channels from SPDB to CVDB in AWS Open Data Bucket

sql_resource_lookup_key() was modified so it is possible for other sql functions to call this one without having to establish the connection and cursor to the database.