package gov.samhsa.c2s.c2suiapi.infrastructure;

import gov.samhsa.c2s.c2suiapi.infrastructure.dto.TryPolicyDto;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

public interface TryPolicyClient {
    @RequestMapping(value = "/tryPolicyXHTML", method = RequestMethod.GET)
    public TryPolicyDto tryPolicyByConsentIdXHTML(@RequestParam("documentId") String documentId,
                                                  @RequestParam("consentId") String consentId,
                                                  @RequestParam("patientId") String patientId,
                                                  @RequestParam("purposeOfUseCode") String purposeOfUseCode);
}

@@ -106,16 +106,76 @@
 icyDto;%0A
+import org.springframework.cloud.netflix.feign.FeignClient;%0A
 import o
@@ -353,16 +353,42 @@
 Param;%0A%0A
+@FeignClient(%22tryPolicy%22)%0A
 public i

Add feign client annotation