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:

ThETa/install_theta.py
def __init__(self):
lib.installer.Installer.__init__(self, "ThETa", "theta", [
#("Enter the DS login", "theta", "rho_login", {}),
#("Enter the DS password", "theta", "rho_password", {}),
("Enter RHO (REST/HTTP Object JSON interface) URL", "theta", "rho_url", {}),
("Enter EPC code", "theta", "epc", {}),
("Enter your identity", "theta", "identity", {}),
("Enter the EPC code", "theta", "epc", {}),
("Enter the CSV file for readpoints lat/lon path", "theta", "csv_repo", {"type": "file"}),
("Enter the archive file path", "theta", "repo", {"type": "file"}),
("Enter the path where you want to unpack it", "theta", "directory",
......
("Enter the name of the directory", "theta", "name", {})
], [
("theta",
{ #"rho.login": ("theta", "rho_login"),
#"rho.password": ("theta", "rho_password"),
"IoTa.sortDataStorage.ds1.ds.csvFile": ("theta", "csv_file"),
{ "IoTa.sortDataStorage.ds1.ds.csvFile": ("theta", "csv_file"),
"IoTa.sortDataStorage.ds0.url": ("theta", "rho_url_epc"),
})
])
def postConfigure(self):
CONFIG.set("theta", "rho_url_epc", CONFIG.get("theta", "rho_url") + "?epc=" + CONFIG.get("theta", "epc"))
CONFIG.set("theta", "csv_file", CONFIG.get("theta", "directory") + CONFIG.get("theta", "name") + "/" + "readpoints.csv")
self.cset("rho_url_epc", self.cget("rho_url") + "?theta=true&id=" + self.cget("identity") + "&epc=" + self.cget("epc"))
self.cset("csv_file", self.cget("directory") + self.cget("name") + "/" + "readpoints.csv")
def postUnpack(self):
theta_dir = CONFIG.get("theta", "directory") + CONFIG.get("theta", "name")
theta_dir = self.cget("directory") + self.cget("name")
lib.utils.sh_cp("resources/theta.properties", theta_dir)
lib.utils.sh_cp("resources/theta.sh", theta_dir)
lib.utils.sh_cp(CONFIG.get("theta", "csv_repo"), CONFIG.get("theta", "csv_file"))
lib.utils.sh_cp(self.cget("csv_repo"), self.cget("csv_file"))
if __name__ == "__main__":

Formats disponibles : Unified diff