Projet

Général

Profil

« Précédent | Suivant » 

Révision 8fd1d584

Ajouté par Remy Menard il y a plus de 11 ans

Version 2.0

  • All:
    - upgrades Apache CXF to 2.7.5
    - upgrades Apache ActiveMQ to 5.8.0
    - license LGPL-3 for client libraries
    - a few bugs fixed!
  • new DS and DSeTa applications:
    - use Apache CXF
    - use JMS to store events to publish
  • LaMBDa:
    - uses GaMMa for event mapping with OpenLayers
    - "trace" and "DS" services are fully functionnal
  • DiscoveryPHI:
    - uses YPSilon
    - access to the web interface of policy management is made by
    certificate
  • EpcisPHI:
    - adds the MasterData to the web interface of policy management
  • ETa:
    - retrieves the owner of MasterData in the attributes if missing from
    the extensions
  • EPCIS:
    - removes calls to old CXF classes to avoid compatibility problems
  • Installer:
    - installs and configures the new DS and DSeTa
    - adds GaMMa to LaMBDa
    - upgrades Apache Tomcat to 7.0.41 and mysql-connector to 5.1.25

Voir les différences:

IoTa-Installer/lib/dphi.py
#
# This program is a part of the IoTa project.
#
# Copyright © 2012 Université de Caen Basse-Normandie, GREYC
# Copyright © 2012-2013 Université de Caen Basse-Normandie, GREYC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
......
("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 URL of the Discovery Web Services", "ds", "url", {})
("Do you want to deploy the default policies?", "dphi", "deploy_policies", {"type": "YN"}),
("Enter the URL of YPSilon", "ypsilon", "url", {})
], [
("xacml_configuration",
{ "query-policy-directory": ("ds_policies", "query_dir"),
"capture-policy-directory": ("ds_policies", "capture_dir"),
"admin-policy-directory": ("ds_policies", "admin_dir") }),
("application",
{ "ds-address": ("ds", "url") })
{ "ypsilon-url": ("ypsilon", "url"),
"pks-filename": ("cert", "keystore"),
"pks-password": ("cert", "password"),
"trust-pks-filename": ("cert", "truststore"),
"trust-pks-password": ("cert", "trustpassword") })
] )
......
url = self.setSecuredURL()
CONFIG.set("ds_policies", "xacml_url", url + "xi")
self.cset("url", url + "index.jsp")
# set policies directories (for DSeTa)
policies_dir = CONFIG.get("ds_policies", "dir")
admin_dir = (policies_dir + "/admin/").replace("//", "/")
......
CONFIG.set("ds_policies", "capture_dir", capture_dir)
CONFIG.set("ds_policies", "query_dir",query_dir)
#
utils.putWait("Initializing policies in " + policies_dir)
utils.sh_mkdir_p(policies_dir)
if utils.sh_exec("tar -C " + policies_dir + " --strip-components=1 -xaf resources/ds_policies.tar"):
utils.putDoneOK()
else:
utils.putDoneFail()
if (self.cisTrue("deploy_policies")):
utils.putWait("Initializing policies in " + policies_dir)
utils.sh_mkdir_p(policies_dir)
if utils.sh_exec("tar -C " + policies_dir + " --strip-components=1 -xaf resources/ds_policies.tar"):
utils.putDoneOK()
else:
utils.putDoneFail()

Formats disponibles : Unified diff