diff --git a/devops/Jenkinsfile b/devops/Jenkinsfile
new file mode 100644
index 0000000000000000000000000000000000000000..18c362a0247a0e63755edbf5be25e5b9dc5b6e5c
--- /dev/null
+++ b/devops/Jenkinsfile
@@ -0,0 +1,84 @@
+pipeline {
+ agent {
+ kubernetes {
+ cloud 'openshift'
+ label 'maven-openjdk18'
+ yaml """
+spec:
+ containers:
+ - name: jnlp
+ image: quay.io/openshift/origin-jenkins-agent-maven:v4.0.0
+ volumeMounts:
+ - mountPath: "/tmp"
+ name: "workspace-volume"
+ readOnly: false
+ workingDir: "/tmp"
+ securityContext:
+ privileged: false
+ tty: false
+ resources:
+ limits:
+ cpu: 200m
+ memory: 2Gi
+ requests:
+ cpu: 200m
+ memory: 2Gi
+ restartPolicy: "Never"
+"""
+ }
+ }
+
+ environment {
+
+ //Cluster environment variable(CLS_ENV). Like QA, DEV, PERF, PROD etc.
+ CLS_ENV = "dev"
+
+ //Service variable(CORE_SERVICE). Like indexer, search, delivery, storage, legal etc.
+ CORE_SERVICE = "search"
+
+ //GitHub repo URL credential ID for Environment variable files which saved as Secure text in Jenkins Credential.
+ GIT_ENV_VAR_PATH_URL = credentials('GitRepo-URL-For-Environment-variables')
+
+ //Personal token variable ID which saved as Secure text in Jenkins Credential. Like: GitHub-PRIVATE-TOKEN.
+ PRIVATE_TOKEN = credentials('GitHub-PRIVATE-TOKEN')
+
+ def runShell = sh (returnStdout: true, script: "curl --header 'PRIVATE-TOKEN: $PRIVATE_TOKEN' ''$GIT_ENV_VAR_PATH_URL'%2F'$CORE_SERVICE'_'$CLS_ENV'_env.json/raw?ref=master' -s -o env.json")
+
+ }
+
+ stages {
+ stage('Integration_test') {
+ environment {
+ def readContent = readJSON file: 'env.json'
+
+ AUTH_USER_ACCESS = "${readContent['AUTH_USER_ACCESS']}"
+ AUTH_USER_ACCESS_PASSWORD = "${readContent['AUTH_USER_ACCESS_PASSWORD']}"
+ DEFAULT_DATA_PARTITION_ID_TENANT1 = "${readContent['DEFAULT_DATA_PARTITION_ID_TENANT1']}"
+ DEFAULT_DATA_PARTITION_ID_TENANT2 = "${readContent['DEFAULT_DATA_PARTITION_ID_TENANT2']}"
+ DEPLOY_ENV = "${readContent['DEPLOY_ENV']}"
+ DOMAIN = "${readContent['DOMAIN']}"
+ ELASTIC_HOST = "${readContent['ELASTIC_HOST']}"
+ ELASTIC_PASSWORD = "${readContent['ELASTIC_PASSWORD']}"
+ ELASTIC_PORT = "${readContent['ELASTIC_PORT']}"
+ ELASTIC_USER_NAME = "${readContent['ELASTIC_USER_NAME']}"
+ ENTITLEMENTS_DOMAIN = "${readContent['ENTITLEMENTS_DOMAIN']}"
+ KEYCLOAK_CLIENT_ID = "${readContent['KEYCLOAK_CLIENT_ID']}"
+ KEYCLOAK_CLIENT_SECRET = "${readContent['KEYCLOAK_CLIENT_SECRET']}"
+ KEYCLOAK_REALM = "${readContent['KEYCLOAK_REALM']}"
+ KEYCLOAK_URL = "${readContent['KEYCLOAK_URL']}"
+ LEGAL_TAG = "${readContent['LEGAL_TAG']}"
+ OTHER_RELEVANT_DATA_COUNTRIES = "${readContent['OTHER_RELEVANT_DATA_COUNTRIES']}"
+ PROJECT_ID = "${readContent['PROJECT_ID']}"
+ SEARCH_HOST = "${readContent['SEARCH_HOST']}"
+ STORAGE_HOST = "${readContent['STORAGE_HOST']}"
+ USER_EMAIL = "${readContent['USER_EMAIL']}"
+ }
+ steps {
+ script {
+ sh 'mvn -f testing/integration-tests/search-test-ibm/pom.xml test'
+ }
+ }
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/provider/search-ibm/pom.xml b/provider/search-ibm/pom.xml
index c3bd7350b40a8684d39f84536b42db25c6baecf2..c966b7ed03255d92dbd478a2bb42ea3d15ef8738 100644
--- a/provider/search-ibm/pom.xml
+++ b/provider/search-ibm/pom.xml
@@ -25,7 +25,7 @@
jar
- 0.0.18
+ 0.3.8-SNAPSHOT
org.opengroup.osdu.search.provider.ibm.app.SearchIBMApplication
diff --git a/provider/search-ibm/src/main/java/org/opengroup/osdu/search/provider/ibm/security/SecurityConfig.java b/provider/search-ibm/src/main/java/org/opengroup/osdu/search/provider/ibm/security/SecurityConfig.java
index ee04f7e81956c56ddf978556f1425741ab8204c9..c155cb194a4284588cb1a6fec4d870d9e2bbd2dc 100644
--- a/provider/search-ibm/src/main/java/org/opengroup/osdu/search/provider/ibm/security/SecurityConfig.java
+++ b/provider/search-ibm/src/main/java/org/opengroup/osdu/search/provider/ibm/security/SecurityConfig.java
@@ -34,6 +34,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.authorizeRequests()
.antMatchers("/", "/index.html",
"/v2/api-docs",
+ "/health/**",
"/configuration/ui",
"/swagger-resources/**",
"/configuration/security",
diff --git a/testing/integration-tests/search-test-ibm/pom.xml b/testing/integration-tests/search-test-ibm/pom.xml
index 3e8495c27ab6c9afcc9f8ad760e415cfc00a54d1..7b774db43dc6e7f7a8ca600f21f1c06b34bcbcfa 100644
--- a/testing/integration-tests/search-test-ibm/pom.xml
+++ b/testing/integration-tests/search-test-ibm/pom.xml
@@ -12,9 +12,9 @@
1.8
1.8
1.2.5
- 0.0.18
+ 0.3.8-SNAPSHOT
-
+
${gitlab-server}
@@ -39,13 +39,13 @@
search-test-core
0.0.2-SNAPSHOT
-
+
org.opengroup.osdu
os-core-lib-ibm
${os-core-lib-ibm.version}
-
+
junit