Révision 96454bcd
Ajouté par Sylvain Sauvage il y a plus de 11 ans
IoTa-DiscoveryWS/IoTa-DiscoveryWS/src/main/java/fr/unicaen/iota/discovery/server/tests/TestConfiguration.java | ||
---|---|---|
import fr.unicaen.iota.discovery.server.hibernate.User;
|
||
import fr.unicaen.iota.discovery.server.query.QueryOperationsModule;
|
||
import fr.unicaen.iota.discovery.server.util.HibernateUtil;
|
||
import fr.unicaen.iota.nu.ONSOperation;
|
||
import java.io.IOException;
|
||
import java.io.InputStream;
|
||
import java.io.PrintWriter;
|
||
... | ... | |
"sc_EventTime_Restriction"
|
||
};
|
||
|
||
/**
|
||
* Processes requests for HTTP <code>GET</code> methods.
|
||
/**
|
||
* Processes requests for HTTP
|
||
* <code>GET</code> methods.
|
||
*
|
||
* @param request servlet request
|
||
* @param response servlet response
|
||
*/
|
||
... | ... | |
}
|
||
}
|
||
|
||
/**
|
||
* Processes requests for HTTP <code>POST</code> methods.
|
||
/**
|
||
* Processes requests for HTTP
|
||
* <code>POST</code> methods.
|
||
*
|
||
* @param request servlet request
|
||
* @param response servlet response
|
||
*/
|
||
... | ... | |
QueryOperationsModule queryOperationsModule = new QueryOperationsModule();
|
||
boolean succed = false;
|
||
for (String ons : ONS_ADDRESSES) {
|
||
ONSOperation onsop = new ONSOperation(ons);
|
||
try {
|
||
out.println("<span class=\"name\">executing ping ONS (" + ons + ") ...</span> ");
|
||
out.flush();
|
||
queryOperationsModule.pingONS(ons);
|
||
onsop.pingONS();
|
||
out.println("<span class=\"param\">[ DONE ]</span>");
|
||
out.flush();
|
||
out.println("<br/>");
|
||
... | ... | |
// <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
|
||
|
||
/**
|
||
* Handles the HTTP <code>GET</code> method.
|
||
* Handles the HTTP
|
||
* <code>GET</code> method.
|
||
*
|
||
* @param request servlet request
|
||
* @param response servlet response
|
||
*/
|
||
@Override
|
||
protected void doGet(HttpServletRequest request, HttpServletResponse response)
|
||
throws ServletException, IOException {
|
||
processRequest(request, response);
|
||
}
|
||
|
||
/**
|
||
* Handles the HTTP <code>POST</code> method.
|
||
/**
|
||
* Handles the HTTP
|
||
* <code>POST</code> method.
|
||
*
|
||
* @param request servlet request
|
||
* @param response servlet response
|
||
*/
|
||
@Override
|
||
protected void doPost(HttpServletRequest request, HttpServletResponse response)
|
||
throws ServletException, IOException {
|
||
processAction(request, response);
|
||
}
|
||
|
||
/**
|
||
/**
|
||
* Returns a short description of the servlet.
|
||
*/
|
||
@Override
|
||
public String getServletInfo() {
|
||
return "Short description";
|
||
}// </editor-fold>
|
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