Révision 96454bcd
Ajouté par Sylvain Sauvage il y a plus de 11 ans
IoTa-Installer/lib/ephi.py | ||
---|---|---|
("Enter the EpcisPHI web application name", "ephi", "name", {}),
|
||
("Enter the archive file pathname", "ephi", "repo", {"type": "file"}),
|
||
("Enter the path where the policies will be saved", "epcis_policies", "dir", {}), # not "type": "path" as the directories are created
|
||
("Enter the port that will be used between ETa and XACML module", "epcis_policies", "xacml_port", {}),
|
||
("Enter the URL of the User web service of ETa", "eta", "userservice_url", {})
|
||
("Enter the URL of the User web service", "user", "url", {})
|
||
], [
|
||
("xacml_configuration",
|
||
{ "query-policy-directory": ("epcis_policies", "query_dir"),
|
||
"capture-policy-directory": ("epcis_policies", "capture_dir"),
|
||
"admin-policy-directory": ("epcis_policies", "admin_dir") }),
|
||
("application",
|
||
{ "xacml-service-port": ("epcis_policies", "xacml_port"),
|
||
"eta.userservice.url": ("eta", "userservice_url") })
|
||
{ "eta.userservice.url": ("user", "url") })
|
||
] )
|
||
|
||
|
||
def postConfigure(self):
|
||
# set default url (for ETa)
|
||
url = "http://" + CONFIG.get("global", "host") + ":" + CONFIG.get("tomcat", "http_port") + "/" + CONFIG.get("ephi", "name")
|
||
CONFIG.set("ephi", "url", url + "/index.jsp")
|
||
CONFIG.set("epcis_policies", "xacml_url", url + "/xacml")
|
||
url = self.setURL()
|
||
CONFIG.set("epcis_policies", "xacml_url", url + "xi")
|
||
|
||
# set policies directories (for ETa)
|
||
policies_dir = CONFIG.get("epcis_policies", "dir")
|
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