- change version on 1.8

- add docker-compose
- update entaxy
This commit is contained in:
2021-09-10 22:42:19 +03:00
parent 7d80bb81c6
commit 094a3fe67f
77 changed files with 2561 additions and 854 deletions

View File

@ -0,0 +1,85 @@
###
# ~~~~~~licensing~~~~~~
# platform
# ==========
# Copyright (C) 2020 - 2021 EmDev LLC
# ==========
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ~~~~~~/licensing~~~~~~
###
echo
echo
echo "************"
echo "Welcome to Entaxy platform installation script"
echo "************"
echo
echo "** Checking feature repository: ${project.groupId}/${project.artifactId}/${project.version}/xml/features ..."
_repo = (feature:repo-list | grep ru.entaxy.esb/platform)
_repo_length = ($_repo length)
if { $_repo_length'' equals "0" } {
echo "\>\> Installing Entaxy repository..."
feature:repo-add mvn:${project.groupId}/${project.artifactId}/${project.version}/xml/features
echo "\>\> ... installed"
} else {
echo "\>\> Entaxy repository is already installed"
}
echo
echo "** Checking entaxy-karaf-configuration feature ..."
_config = [((feature:list | grep entaxy-karaf-configuration) split '\|')]
_status = (($_config get 3) trim)
if { $_status equals "Uninstalled" } {
echo "\>\> Installing feature..."
feature:install entaxy-karaf-configuration
echo "\>\> ... installed"
echo
if { $1'' equals "skipReboot" } {
echo "** the system will skip reboot for applying JRE exports"
echo " \( see etc/jre.properties \)"
echo " due to 'skipReboot argument'"
echo "** If further installation will fail with errors please reboot"
} else {
echo "** the system will reboot now to apply JRE exports"
echo " \( see etc/jre.properties \)"
echo
echo "** PLEASE RUN THE SCRIPT AGAIN AFTER RESTART **"
shutdown -r -f
}
} else {
echo "\>\> Entaxy configuration is already installed"
}
echo
_config = [((feature:list | grep entaxy-karaf-configuration) split '\|')]
_status = (($_config get 3) trim)
if { NOT { $_status equals "Started" } } {
echo "** Current configuration feature status is " $_status
echo "** Please clean the container and run installation again "
} else {
echo "** Installing Entaxy platform in verbose mode..."
_platform = [((feature:list | grep entaxy-platform) split '\|')]
_status = (($_platform get 3) trim)
if { $_status equals "Uninstalled" } {
feature:install -v entaxy-platform
echo
echo "\>\> ... installed"
} else {
echo "\>\> Entaxy platform is already installed"
}
}
echo
echo "** Thank you!"