Projet

Général

Profil

« Précédent | Suivant » 

Révision 96454bcd

Ajouté par Sylvain Sauvage il y a plus de 11 ans

Version 1.9-mock

This is version 1.9-mock. 1.9 because the API still have changes pending
(principally relative to the Discovery Services). “mock” because TLS
configuration is not yet available and the signatures (SigMa) are not fully
implemented.

  • All:
    - code cleaned and refactored
    - lots of bugs fixed
    - dependencies checked and trimmed
    - documentation added
    - Identity handling added
  • New library modules (Mu, Nu)
  • New signature modules (SigMa)
  • Access Layer and User interfaces (ALfA and OMeGa):
    - code refactored
    - new, better APIs
    - Identity handling added
    - use EPCglobal and DS events (no proxy types anymore)
  • New tempororay DSeTa web service (pending new DS)
  • ETa corrected and added to the IoTa-Installer
    - ETa-Callback modules are now available as web applications
    - filtering rules: if a part of an event is not allowed, now the whole
    event is deleted from the result (before only the rejectd part was)
  • CaPPa: overall refactoring of XACML handling
    - new temporary User web service
    - new Xi module: XACML Interrogation web service (was two modules: TCP and
    servlet)
  • PSi now signs its events
  • Installer, now also installs or configures:
    - ETa and its Callback modules
    - ActiveMQ
    - SigMa
    - certificate/signing key
  • Greyc letters figures:
    - new simplified figures (sans IoTa and simplified IoTa)
    - new figure for ETa modules
    - show 3rd party clients
    - data flows specified
    - TLS and link security added
    - IDs and trusted IDs added
    - color adjusted for printing
    - GREYC logo added

Voir les différences:

IoTa-Installer/lib/installer.py
self.options = options
def cget(self, option_name):
return CONFIG.get(self.section_name, option_name)
def cisTrue(self, option_name):
return CONFIG.isTrue(self.section_name, option_name)
def cset(self, option_name, value):
CONFIG.set(self.section_name, option_name, value)
return value
def configure(self):
# asks all the questions
for question, section, option, dic in self.options:
......
def unpack(self):
utils.putWait("Unpacking " + self.pretty_name)
directory = CONFIG.get(self.section_name, "directory") + "/" + CONFIG.get(self.section_name, "name")
directory = self.cget("directory") + "/" + self.cget("name")
utils.sh_mkdir_p(directory)
detar_command = ("tar -C " + directory + " --strip-components=1 -xaf " +
CONFIG.get(self.section_name, "repo"))
detar_command = "tar -C " + directory + " --strip-components=1 -xaf " + self.cget("repo")
if utils.sh_exec(detar_command):
utils.putDoneOK()
self.postUnpack()
......
self.postUnpack()
def setURL(self):
return self.cset("url", "http://" + CONFIG.get("global", "host") + ":" +
CONFIG.get("tomcat", "http_port") + "/" + self.cget("name") + "/")
# default implementation, beware when overrinding
def postConfigure(self):
self.setURL()
def configureProperties(self):
for filename, dic in self.properties_options:
utils.configurePropertiesWebApp(self.pretty_name, filename, self.section_name, dic)
if self.properties_options:
if CONFIG.isTrue("tomcat", "use_manager"):
utils.putWait("Reloading " + self.pretty_name)
utils.manageTomcat("reload?path=/" + CONFIG.get(self.section_name, "name"))
utils.manageTomcat("reload?path=/" + self.cget("name"))
else:
utils.stopTomcat()
utils.startTomcat()

Formats disponibles : Unified diff