code: @GET
      @Path("{id}")
      public IAgreement  getAgreementById(@PathParam("id") String agreementId) throws NotFoundException {
          logger.debug("StartOf getAgreementById REQUEST for /agreements/" + agreementId);
  
          AgreementHelperE agreementRestHelper = getAgreementHelper();
          IAgreement agreement =  agreementRestHelper.getAgreementByID(agreementId);
          if (agreement==null){
              logger.info("getAgreementById NotFoundException: There is no agreement with id " + agreementId + " in the SLA Repository Database");            
              throw new NotFoundException("There is no agreement with id " + agreementId + " in the SLA Repository Database");        
          }
          logger.debug("EndOf getAgreementById"); 
          return agreement;
  
      }
docs: Gets the information of an specific agreement. If the agreement it is not
  in the database, it returns 404 with empty payload
  
  
  <pre>
  GET /agreements/{id}
  
  Request:
  GET /agreements HTTP/1.1
  
  Response:
  HTTP/1.1 200 OK
  Content-type: application/xml
  
  <?xml version="1.0" encoding="UTF-8"?>
  <wsag:Agreement>...</wsag:Agreement>
  
  
  
  Example: <li>curl
  http://localhost:8080/sla-service/agreements/agreement04</li>
  
  
  @param id
  of the agreement
  @return XML information with the different details of the agreement
  @throws NotFoundException