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:

DELTa/src/main/java/fr/unicaen/iota/validator/Configuration.java
private Configuration() {
}
private static final String PROPERTIES_CONFIG_FILE = "/application.properties";
public static String DS_SERVICE_TYPE_FOR_EPCIS = "epcis";
public static String DS_SERVICE_TYPE_FOR_DS = "ds";
public static String EPCIS_CAPTURE_INTERFACE = "/capture";
public static String EPCIS_QUERY_INTERFACE = "/query";
public static String IOTA_XML_SCHEMA = "./resources/iota.xml";
public static String VERIFIED_DIRECTORY = "./repository/verified";
public static String UNVERIFIED_DIRECTORY = "./repository/unverified";
public static String LOG_DIRECTORY = "./repository/logs";
public static String RMI_SERVER_URL = "//localhost:1099/ALfA";
public static String DS_SERVICE_TYPE_FOR_EPCIS;
public static String DS_SERVICE_TYPE_FOR_DS;
public static String EPCIS_CAPTURE_INTERFACE;
public static String EPCIS_QUERY_INTERFACE;
public static String IOTA_XML_SCHEMA;
public static String VERIFIED_DIRECTORY;
public static String UNVERIFIED_DIRECTORY;
public static String LOG_DIRECTORY;
public static String RMI_SERVER_URL;
public static boolean DEBUG = false;
public static int NUMBER_OF_ACTIVE_THREAD = 10;
public static String EPCIS_LOG_TYPE = "epcis";
public static String DS_LOG_TYPE = "ds";
public static String DS_TO_DS_LOG_TYPE = "dstods";
public static boolean ANALYSE_EPCIS_EVENTS = false;
public static boolean ANALYSE_EPCIS_TO_DS_EVENTS = true;
public static boolean ANALYSE_DS_TO_DS_EVENTS = true;
public static String PSI_REPOSITORY = "psi/repository";
public static String XML_EVENT_FOLDER = PSI_REPOSITORY + "/events/";
public static String STATS_FOLDER = PSI_REPOSITORY + "/stats/";
public static String EPCIS_LOG_TYPE;
public static String DS_LOG_TYPE;
public static String DS_TO_DS_LOG_TYPE;
public static boolean ANALYSE_EPCIS_EVENTS;
public static boolean ANALYSE_EPCIS_TO_DS_EVENTS;
public static boolean ANALYSE_DS_TO_DS_EVENTS;
public static String PSI_REPOSITORY;
public static String XML_EVENT_FOLDER;
public static String STATS_FOLDER;
public static String IDENTITY;
static {
try {
Properties props = loadProperties();
DS_SERVICE_TYPE_FOR_EPCIS = props.getProperty("ds-service-type-for-epcis");
DS_SERVICE_TYPE_FOR_DS = props.getProperty("ds-service-type-for-ds");
EPCIS_CAPTURE_INTERFACE = props.getProperty("epcis-capture-interface");
EPCIS_QUERY_INTERFACE = props.getProperty("epcis-query-interface");
IOTA_XML_SCHEMA = props.getProperty("iota-xml-schema");
VERIFIED_DIRECTORY = props.getProperty("verified-directory");
UNVERIFIED_DIRECTORY = props.getProperty("unverified-directory");
LOG_DIRECTORY = props.getProperty("log-directory");
RMI_SERVER_URL = props.getProperty("rmi-server-url");
DEBUG = Boolean.parseBoolean(props.getProperty("debug"));
NUMBER_OF_ACTIVE_THREAD = Integer.parseInt(props.getProperty("thread-number"));
EPCIS_LOG_TYPE = props.getProperty("epcis-log-type");
DS_LOG_TYPE = props.getProperty("ds-log-type");
DS_TO_DS_LOG_TYPE = props.getProperty("ds-to-ds-log-type");
ANALYSE_EPCIS_EVENTS = Boolean.parseBoolean(props.getProperty("analyse-epcis-events"));
ANALYSE_EPCIS_TO_DS_EVENTS = Boolean.parseBoolean(props.getProperty("analyse-epcis-to-ds-events"));
ANALYSE_DS_TO_DS_EVENTS = Boolean.parseBoolean(props.getProperty("analyse-ds-to-ds-events"));
PSI_REPOSITORY = props.getProperty("psi-repository");
DS_SERVICE_TYPE_FOR_EPCIS = props.getProperty("ds-service-type-for-epcis", "epcis");
DS_SERVICE_TYPE_FOR_DS = props.getProperty("ds-service-type-for-ds", "ds");
EPCIS_CAPTURE_INTERFACE = props.getProperty("epcis-capture-interface", "/capture");
EPCIS_QUERY_INTERFACE = props.getProperty("epcis-query-interface", "/query");
IOTA_XML_SCHEMA = props.getProperty("iota-xml-schema", "./resources/iota.xml");
VERIFIED_DIRECTORY = props.getProperty("verified-directory", "./repository/verified");
UNVERIFIED_DIRECTORY = props.getProperty("unverified-directory", "./repository/unverified");
LOG_DIRECTORY = props.getProperty("log-directory", "./repository/logs");
RMI_SERVER_URL = props.getProperty("rmi-server-url", "//localhost:1099/ALfA");
DEBUG = Boolean.parseBoolean(props.getProperty("debug", "false"));
NUMBER_OF_ACTIVE_THREAD = Integer.parseInt(props.getProperty("thread-number", "10"));
EPCIS_LOG_TYPE = props.getProperty("epcis-log-type", "epcis");
DS_LOG_TYPE = props.getProperty("ds-log-type", "ds");
DS_TO_DS_LOG_TYPE = props.getProperty("ds-to-ds-log-type", "dstods");
ANALYSE_EPCIS_EVENTS = Boolean.parseBoolean(props.getProperty("analyse-epcis-events", "false"));
ANALYSE_EPCIS_TO_DS_EVENTS = Boolean.parseBoolean(props.getProperty("analyse-epcis-to-ds-events", "true"));
ANALYSE_DS_TO_DS_EVENTS = Boolean.parseBoolean(props.getProperty("analyse-ds-to-ds-events", "true"));
PSI_REPOSITORY = props.getProperty("psi-repository", "psi/repository");
XML_EVENT_FOLDER = PSI_REPOSITORY + "/events/";
STATS_FOLDER = PSI_REPOSITORY + "/stats/";
IDENTITY = props.getProperty("identity", "anonymous");
} catch (IOException ex) {
LogFactory.getLog(Configuration.class).fatal(null, ex);
}

Formats disponibles : Unified diff