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:

ETa/ETa/src/main/java/fr/unicaen/iota/eta/constants/Constants.java
/*
* This program is a part of the IoTa Project.
*
* Copyright © 2008-2012 Université de Caen Basse-Normandie, GREYC
* Copyright © 2011-2012 Université de Caen Basse-Normandie, GREYC
* Copyright © 2011 Orange Labs
*
* This program is free software: you can redistribute it and/or modify
......
public final class Constants {
private static final Log log = LogFactory.getLog(Constants.class);
public static final String PROP_SERVICE_VERSION = "service-version";
public static final String PROP_SESSION_TIME_LEASE = "session-time-lease";
public static final String PROP_SESSION_FAILED_ID = "session-failed-id";
public static final String PROP_XACML_URL = "xacml-url";
public static final String PROP_XACML_IHM_URL = "xacml-ihm-url";
public static final String PROP_XACML_DEFAULT_USER = "xacml-default-user";
public static final String PROP_EPCIS_QUERY_URL = "epcis-query-url";
public static final String PROP_EPCIS_CAPTURE_URL = "epcis-capture-url";
public static final String PROP_CALLBACK_URL = "eta-callback-url";
public static final String PROP_EPCIS_SCHEMA_FILE = "epcisSchemaFile";
public static final String PROP_EPCIS_MASTER_DATA_SCHEMA_FILE = "epcisMasterDataSchemaFile";
public static final String PROP_JNDI_DATASOURCE_NAME = "jndi-datasource-name";
public static final String PROP_LDAP_URL = "ldap-url";
public static final String PROP_LDAP_BASE_DN = "ldap-basedn";
public static final String PROP_LDAP_USER = "ldap-user";
public static final String PROP_LDAP_PASSWORD = "ldap-password";
public static final String PROP_SIGMA_URL = "sigma-url";
public static final String PROP_SIGMA_VERIFICATION = "sigma-verification";
public static final String SERVICE_VERSION;
public static final int SESSION_TIME_LEASE;
public static final String SESSION_FAILED_ID;
public static final String XACML_URL;
public static final String XACML_IHM_URL;
public static final String XACML_DEFAULT_USER;
public static final String CALLBACK_URL;
public static final String EPCIS_QUERY_URL;
public static final String EPCIS_CAPTURE_URL;
public static final String EPCIS_SCHEMA_FILE;
public static final String EPCIS_MASTER_DATA_SCHEMA_FILE;
public static final String JNDI_DATASOURCE_NAME;
public static final String LDAP_URL;
public static final String LDAP_BASE_DN;
public static final String LDAP_USER;
public static final String LDAP_PASSWORD;
public static final String SIGMA_URL;
public static final boolean SIGMA_VERIFICATION;
private Constants() {
}
......
} catch (IOException ex) {
log.fatal(null, ex);
}
SERVICE_VERSION = properties.getProperty(PROP_SERVICE_VERSION);
SESSION_TIME_LEASE = Integer.parseInt(properties.getProperty(PROP_SESSION_TIME_LEASE));
SESSION_FAILED_ID = properties.getProperty(PROP_SESSION_FAILED_ID );
XACML_URL = properties.getProperty(PROP_XACML_URL);
XACML_IHM_URL = properties.getProperty(PROP_XACML_IHM_URL);
XACML_DEFAULT_USER = properties.getProperty(PROP_XACML_DEFAULT_USER);
EPCIS_QUERY_URL = properties.getProperty(PROP_EPCIS_QUERY_URL);
EPCIS_CAPTURE_URL = properties.getProperty(PROP_EPCIS_CAPTURE_URL);
CALLBACK_URL = properties.getProperty(PROP_CALLBACK_URL);
EPCIS_SCHEMA_FILE = properties.getProperty(PROP_EPCIS_SCHEMA_FILE);
EPCIS_MASTER_DATA_SCHEMA_FILE = properties.getProperty(PROP_EPCIS_MASTER_DATA_SCHEMA_FILE);
JNDI_DATASOURCE_NAME = properties.getProperty(PROP_JNDI_DATASOURCE_NAME);
LDAP_URL = properties.getProperty(PROP_LDAP_URL);
LDAP_BASE_DN = properties.getProperty(PROP_LDAP_BASE_DN);
LDAP_USER = properties.getProperty(PROP_LDAP_USER);
LDAP_PASSWORD = properties.getProperty(PROP_LDAP_PASSWORD);
SIGMA_URL = properties.getProperty(PROP_SIGMA_URL);
SIGMA_VERIFICATION = Boolean.parseBoolean(properties.getProperty(PROP_SIGMA_VERIFICATION));
}
}

Formats disponibles : Unified diff