Révision 96454bcd
Ajouté par Sylvain Sauvage il y a plus de 11 ans
IoTa-Installer/lib/alfa.py | ||
---|---|---|
class ALfAInstaller(installer.Installer):
|
||
|
||
def __init__(self):
|
||
installer.Installer.__init__(self, "ALfA", "alfa", [
|
||
("Enter the DS login", "alfa", "ds_login", {}),
|
||
("Enter the DS password", "alfa", "ds_password", {}),
|
||
("Enter the RMI name", "alfa", "rmi_name", {}),
|
||
("Enter the RMI port number", "alfa", "rmi_port", {}),
|
||
installer.Installer.__init__(self, "ALfA RMI server", "alfa", [
|
||
("Enter the archive file pathname", "alfa", "repo", {"type": "file"}),
|
||
("Enter the path where you want to unpack it", "alfa", "directory",
|
||
{"type": "path"}),
|
||
("Enter the name of the directory", "alfa", "name", {})
|
||
("Enter the name of the directory", "alfa", "name", {}),
|
||
("Enter the RMI name", "alfa", "rmi_name", {}),
|
||
("Enter the RMI port number", "alfa", "rmi_port", {})
|
||
], [
|
||
("application",
|
||
{ "ds-login": ("alfa", "ds_login"),
|
||
"ds-password": ("alfa", "ds_password"),
|
||
"rmi-server-name": ("alfa", "rmi_name"),
|
||
{ "rmi-server-name": ("alfa", "rmi_name"),
|
||
"rmi-server-host": ("global", "host"),
|
||
"rmi-server-port": ("alfa", "rmi_port"),
|
||
"ons": ("ons", "server"),
|
||
"ons-domain-prefix": ("ons", "domain_prefix"),
|
||
"ons-spec-level": ("ons", "spec_level"),
|
||
"ons-epcis-entry": ("ons", "epcis_entry"),
|
||
"ons-ds-entry": ("ons", "ds_entry"),
|
||
"ons-spec-entry": ("ons", "spec_entry"),
|
||
"ons-entry-regex": ("ons", "entry_regex")
|
||
})
|
||
])
|
||
|
||
|
||
def postConfigure(self):
|
||
url = "//" + CONFIG.get("global", "host") + ":" + CONFIG.get("alfa", "rmi_port") + "/" + CONFIG.get("alfa", "rmi_name")
|
||
CONFIG.set("alfa", "rmi_url", url)
|
||
url = "//" + CONFIG.get("global", "host") + ":" + self.cget("rmi_port") + "/" + self.cget("rmi_name")
|
||
self.cset("rmi_url", url)
|
||
|
||
|
||
def postInstall(self):
|
Formats disponibles : Unified diff
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.
- code cleaned and refactored
- lots of bugs fixed
- dependencies checked and trimmed
- documentation added
- Identity handling added
- code refactored
- new, better APIs
- Identity handling added
- use EPCglobal and DS events (no proxy types anymore)
- 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)
- new temporary User web service
- new Xi module: XACML Interrogation web service (was two modules: TCP and
servlet)
- ETa and its Callback modules
- ActiveMQ
- SigMa
- certificate/signing key
- 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