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