code: @GET
      @Path("agreementsPerTemplateAndConsumer")
      @Deprecated
      public List<IAgreement> getAgreementsPerTemplateAndConsumer(
              @QueryParam("consumerId") String consumerId,
              @QueryParam("templateUUID") String templateUUID) {
          logger.debug("StartOf getAgreementsPerTemplateAndConsumer - REQUEST for /agreementsPerTemplateAndConsumer");
          AgreementHelperE agreementRestHelper = getAgreementHelper();
          List<IAgreement> agreements =  agreementRestHelper.getAgreementsPerTemplateAndConsumer(consumerId, templateUUID);
              
          return agreements;
      }
docs: Gets a the list of available agreements from where we can get metrics,
  host information, etc.
  
  </pre>
  
  Example:
  <li>curl http://localhost:8080/sla-service/agreements</li>
  <li>curl http://localhost:8080/sla-service/agreements?consumerId=user-10343</li>
  @throws NotFoundException
  
  @throws JAXBException