Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ab2d 6276/Research LOE for HttpGet to HttpPost request change #119

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipeline {

tools {
gradle "gradle-7.2"
jdk 'openjdk15'
jdk 'openjdk17'
}

stages {
Expand Down
10 changes: 5 additions & 5 deletions eob-fetcher/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ dependencies {
implementation 'com.amazonaws:aws-lambda-java-events:3.11.0'
implementation 'org.springframework:spring-context:5.3.25'
implementation 'com.newrelic.agent.java:newrelic-api:8.2.0'
implementation 'ca.uhn.hapi.fhir:hapi-fhir-structures-dstu3:6.6.0'
implementation 'ca.uhn.hapi.fhir:hapi-fhir-structures-r4:6.1.3'
implementation 'ca.uhn.hapi.fhir:hapi-fhir-structures-dstu3:6.6.2'
implementation 'ca.uhn.hapi.fhir:hapi-fhir-structures-r4:6.6.2'
implementation 'gov.cms.ab2d:ab2d-aggregator:1.2.5'
implementation 'gov.cms.ab2d:ab2d-bfd:2.0.2'
implementation 'gov.cms.ab2d:ab2d-bfd:2.4.1'
implementation 'gov.cms.ab2d:ab2d-events-client:1.11.2'
implementation 'gov.cms.ab2d:ab2d-fhir:1.1.5'
implementation 'gov.cms.ab2d:ab2d-filters:1.6.5'
Expand All @@ -39,8 +39,8 @@ task wrapper(type: Wrapper) {
}

java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ public class JobFetchPayload {
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSSz")
private OffsetDateTime since;
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSSz")
private OffsetDateTime until;
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSSz")
private Date attestationDate;
private PatientCoverage[] beneficiaries;
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ List<IBaseResource> getEobBundleResources(JobFetchPayload payload, PatientCovera

// Make first request and begin looping over remaining pages
eobBundle = bfdClient.requestEOBFromServer(payload.getVersion(),
patientCoverage.getBeneId(), payload.getSince(), payload.getContract());
patientCoverage.getBeneId(), payload.getSince(), payload.getUntil(), payload.getContract());
List<IBaseResource> eobs = new ArrayList<>(PatientClaimsFilter.filterEntries(eobBundle, patientCoverage, payload.getAttestationDate(),
payload.isSkipBillablePeriodCheck(), payload.getSince(), payload.getVersion()));

Expand Down
4 changes: 4 additions & 0 deletions metrics-lambda/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ dependencies {

test {
useJUnitPlatform()
jvmArgs = [
'--add-opens=java.base/java.util=ALL-UNNAMED'
]
}

task buildZip(type: Zip) {

from compileJava
Expand Down