From e387000cdd096529eb07cfe40f564a35ded37596 Mon Sep 17 00:00:00 2001 From: MOHANKUMAR T <31698165+mohan-13@users.noreply.github.com> Date: Mon, 11 Dec 2023 10:47:12 +0530 Subject: [PATCH] BAH-3367 | Fix. Workflow failures and build errors (#74) * BAH-3367 | Fix Missing imports error. - Caused by #50 * BAH-3367 | Upgrade Ruby in GHA to 2.5 as compass installation requires it --- .github/workflows/build_publish_openelis.yml | 2 +- .../src/us/mn/state/health/lims/common/util/SafeRequest.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_publish_openelis.yml b/.github/workflows/build_publish_openelis.yml index 8e260cd2..53ad2b4a 100644 --- a/.github/workflows/build_publish_openelis.yml +++ b/.github/workflows/build_publish_openelis.yml @@ -21,7 +21,7 @@ jobs: with: distribution: 'zulu' java-version: '7' - - name: Setup Ruby 2.3 + - name: Setup Ruby 2.5 uses: ruby/setup-ruby@v1 with: ruby-version: 2.3 diff --git a/openelis/src/us/mn/state/health/lims/common/util/SafeRequest.java b/openelis/src/us/mn/state/health/lims/common/util/SafeRequest.java index cf4b44b8..fa63deb0 100644 --- a/openelis/src/us/mn/state/health/lims/common/util/SafeRequest.java +++ b/openelis/src/us/mn/state/health/lims/common/util/SafeRequest.java @@ -6,6 +6,8 @@ import org.apache.logging.log4j.LogManager; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequestWrapper; +import java.util.Arrays; +import java.util.List; public class SafeRequest extends HttpServletRequestWrapper {