Merge pull request #430 from Al-assad/maven_ci

Add Maven package test CI
diff --git a/streamx-console/streamx-console-webapp/src/api/index.js b/streamx-console/streamx-console-webapp/src/api/index.js
index c58cbe3..d3debc5 100644
--- a/streamx-console/streamx-console-webapp/src/api/index.js
+++ b/streamx-console/streamx-console-webapp/src/api/index.js
@@ -104,7 +104,6 @@
     GET: '/flink/setting/get',
     WEBURL: '/flink/setting/weburl',
     ALL: '/flink/setting/all',
-    CHECK: '/flink/setting/check',
     GETFLINK: '/flink/setting/getflink',
     SYNC: '/flink/setting/sync',
     UPDATE: '/flink/setting/update'
diff --git a/streamx-console/streamx-console-webapp/src/api/setting.js b/streamx-console/streamx-console-webapp/src/api/setting.js
index e410ae2..0c900b4 100644
--- a/streamx-console/streamx-console-webapp/src/api/setting.js
+++ b/streamx-console/streamx-console-webapp/src/api/setting.js
@@ -41,11 +41,6 @@
   return http.post(api.SETTING.SYNC, {})
 }
 
-
-export function check () {
-  return http.post(api.SETTING.CHECK)
-}
-
 export function update (params) {
   return http.post(api.SETTING.UPDATE, params)
 }
diff --git a/streamx-console/streamx-console-webapp/src/views/flink/app/View.vue b/streamx-console/streamx-console-webapp/src/views/flink/app/View.vue
index ad13c93..37060a1 100644
--- a/streamx-console/streamx-console-webapp/src/views/flink/app/View.vue
+++ b/streamx-console/streamx-console-webapp/src/views/flink/app/View.vue
@@ -863,7 +863,6 @@
   import {baseUrl} from '@/api/baseUrl'
   import Stomp from 'webstomp-client'
   import SvgIcon from '@/components/SvgIcon'
-  import {check} from '@/api/setting'
 
   export default {
   components: {Ellipsis, State, SvgIcon},
@@ -1539,18 +1538,7 @@
     },
 
     handleAdd() {
-      check().then((resp) => {
-        const success = resp.data === true || resp.data === 'true'
-        if (success) {
-          this.$router.push({'path': '/flink/app/add'})
-        } else {
-          this.$swal.fire(
-              'Failed',
-              'Please check "StreamX Console Workspace" is defined and make sure have read and write permissions',
-              'error'
-          )
-        }
-      })
+      this.$router.push({'path': '/flink/app/add'})
     },
 
     handleEdit(app) {