From 771f893f2f1fcba36991bb6d88e8dc74b54ffd15 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 1 Dec 2011 18:45:07 +0100 Subject: [PATCH] minor tweaks --- Makefile | 1 + sfa/managers/driver.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6d770b4e..f0202042 100644 --- a/Makefile +++ b/Makefile @@ -143,6 +143,7 @@ else +$(RSYNC) $(BINS) $(SSHURL)/usr/bin/ +$(RSYNC) ./init.d/sfa $(SSHURL)/etc/init.d/ +$(RSYNC) ./config/default_config.xml $(SSHURL)/etc/sfa/ + +$(RSYNC) ./sfa/storage/sfa.sql $(SSHURL)/usr/share/sfa/ $(SSHCOMMAND) exec service sfa restart endif diff --git a/sfa/managers/driver.py b/sfa/managers/driver.py index 7d4b5b23..903a0359 100644 --- a/sfa/managers/driver.py +++ b/sfa/managers/driver.py @@ -18,6 +18,10 @@ class Driver: # after looking up the sfa db, we wish to be able to display # testbed-specific info as well # this at minima should fill in the 'researcher' field for slice records + # as this information is then used to compute rights + # roadmap: there is an intention to redesign the SFA database so as to clear up + # this constraint, based on the principle that SFA should not rely on the + # testbed database to perform such a core operation (i.e. getting rights right) def augment_records_with_testbed_info (self, sfa_records): return sfa_records @@ -25,7 +29,6 @@ class Driver: # expected retcod 'pointer' # 'pointer' is typically an int db id, that makes sense in the testbed environment # -1 if this feature is not relevant - # here type will be 'authority' def register (self, sfa_record, hrn, pub_key) : return -1 -- 2.43.0