Révision 96454bcd
Ajouté par Sylvain Sauvage il y a plus de 11 ans
IoTa-DiscoveryWS/IoTa-DiscoveryWS-Client/src/main/java/fr/unicaen/iota/discovery/client/DsClient.java | ||
---|---|---|
/*
|
||
/*
|
||
* This program is a part of the IoTa Project.
|
||
*
|
||
* Copyright © 2008-2012 Université de Caen Basse-Normandie, GREYC
|
||
... | ... | |
}
|
||
return result;
|
||
}
|
||
|
||
|
||
private ADBBean execOperation(ADBBean operation) throws RemoteException {
|
||
ESDS_ServiceStub service;
|
||
ADBBean result = null;
|
||
... | ... | |
SERVICE_TYPES.put("ws", TServiceType.ws);
|
||
SERVICE_TYPES.put("html", TServiceType.html);
|
||
SERVICE_TYPES.put("xmlrpc", TServiceType.xmlrpc);
|
||
SERVICE_TYPES.put("ided_ds", TServiceType.ided_ds);
|
||
SERVICE_TYPES.put("ided_epcis", TServiceType.ided_epcis);
|
||
}
|
||
|
||
private TServiceType createServiceType(String type) {
|
||
... | ... | |
return result;
|
||
}
|
||
|
||
private TEventTypeChoice createVoidEventTypeChoice(int eventId, String ttl, int priority) {
|
||
TEventTypeChoice tEventTypeChoice = new TEventTypeChoice();
|
||
ESDS_ServiceStub.TVoidEvent tVoidEvent = new ESDS_ServiceStub.TVoidEvent();
|
||
|
||
ESDS_ServiceStub.TEventID tEventID = new ESDS_ServiceStub.TEventID();
|
||
tEventID.setTEventID(new PositiveInteger(eventId + ""));
|
||
tVoidEvent.setEventID(tEventID);
|
||
|
||
ESDS_ServiceStub.TEventTTL tEventTTL = new ESDS_ServiceStub.TEventTTL();
|
||
tEventTTL.setTEventTTL(new PositiveInteger(ttl));
|
||
tVoidEvent.setTtl(tEventTTL);
|
||
|
||
ESDS_ServiceStub.TEventPriority tEventPriority = new ESDS_ServiceStub.TEventPriority();
|
||
tEventPriority.setTEventPriority(priority);
|
||
tVoidEvent.setPriority(tEventPriority);
|
||
|
||
tEventTypeChoice.setVoidEvent(tVoidEvent);
|
||
return tEventTypeChoice;
|
||
}
|
||
|
||
private List<String> createServiceIds(Collection<Service> serviceList) {
|
||
List<String> serviceIds = new ArrayList<String>();
|
||
for (Service s : serviceList) {
|
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