+
+ local url_encoded="${1//+/ }"
+ printf '%b' "${url_encoded//%/\\x}"
+}
+
+
+function download() {
+
+ URL_LOGIN=https://constellium.konvergence.com/login
+ CONSTELLIUM_USER=$1
+ CONSTELLIUM_PASSWORD=$2
+ URL_FILE=$3
+ OUTPUT_FILE=$4
+
+ echo get CONSTELLIUM_USER
+ USER=${CONSTELLIUM_USER}
+ echo get CONSTELLIUM_PASSWORD
+ PASS=${CONSTELLIUM_PASSWORD}
+
+
+ # https://constellium.konvergence.com/login
+ [ -z "${URL_LOGIN}" ] && echo "URL_LOGIN No supplied" && return 1
+
+ # https://constellium.konvergence.com/projects/base-de-connaissances-partners/repository/repo-partners-sources/raw/4.6/ShuttleInstaller-4.6.0.26304.jar
+ [ -z "${URL_FILE}" ] && echo "URL_FILE No supplied" && return 1
+
+ [ -z "${USER}" ] && echo "USER No supplied" && return 1
+ [ -z "${PASS}" ] && echo "PASS No supplied" && return 1
+ [ -z "${OUTPUT_FILE}" ] && echo "OUTPUT_FILE No supplied" && return 1
+
+ cookie_file=$(mktemp)
+
+
+ CURL_CONFIGS="--silent --show-error --fail --insecure --location -b ${cookie_file} -c ${cookie_file}"
+ CURL_CONFIGS2="--show-error --fail --insecure --location -b ${cookie_file} -c ${cookie_file}"
+
+
+ # Fetch CSRF authenticity token
+ echo Fetch CSRF authenticity token
+ CSRF1=$(curl $CURL_CONFIGS ${URL_LOGIN} | grep "name=\"authenticity_token" | sed 's/.*value="\(.*\)".*/\1/')
+
+ if [[ $? -ne 0 ]]; then
+ echo "Error getting csrf token"
+ echo $CSRF1
+ rm -f $cookie_file
+ return -1
+ fi
+
+ # Login
+ echo Login to CONSTELLIUM
+ HTML=$(curl $CURL_CONFIGS -d "login=Login&username=$(urlencode ${USER})&password=$(urlencode ${PASS})&authenticity_token=$(urlencode ${CSRF1})" ${URL_LOGIN})
+ if [[ $? -ne 0 ]]; then
+ echo "Error logging in"
+ rm -f $cookie_file
+ return -1
+ fi
+
+ # Download file
+ echo download $URL_FILE
+ curl $CURL_CONFIGS2 $URL_FILE -o $OUTPUT_FILE
+ if [[ $? -ne 0 ]]; then
+ echo "Error downloading backup file"
+ rm -f $cookie_file
+ return -1
+ fi
+
+# clear cookie file
+ rm -f $cookie_file
+ return 0
+
+
+}
+
+download "$@"
+
diff --git a/packages/documentation/ShuttleDocumentation-4.8.1.zip b/packages/documentation/ShuttleDocumentation-4.8.1.zip
new file mode 100644
index 0000000..ec5c72c
Binary files /dev/null and b/packages/documentation/ShuttleDocumentation-4.8.1.zip differ
diff --git a/packages/get_packages.sh b/packages/get_packages.sh
new file mode 100644
index 0000000..26db87c
--- /dev/null
+++ b/packages/get_packages.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+RELEASE_MAJOR="4.8"
+RELEASE_MINOR="1"
+SERVER_BUILD="29276"
+
+SHUTTLE_REPO=https://constellium.konvergence.com/projects/base-de-connaissances-partners/repository/repo-partners-sources/raw/${RELEASE_MAJOR}.${RELEASE_MINOR}
+
+rm -rf installer/*
+rm -rf patches/module/*
+rm -rf patches/server/*
+rm -rf patches/client/*
+rm -rf patches/class/*
+
+read -p "CONSTELLIUM_USER:" CONSTELLIUM_USER
+read -s -p "CONSTELLIUM_PASSWORD:" CONSTELLIUM_PASSWORD
+
+bash constellium_download_cred.sh ${CONSTELLIUM_USER} ${CONSTELLIUM_PASSWORD} ${SHUTTLE_REPO}/ShuttleInstaller-4.8.1.28881.jar installer/ShuttleInstaller-4.8.1.28881.jar
+bash constellium_download_cred.sh ${CONSTELLIUM_USER} ${CONSTELLIUM_PASSWORD} ${SHUTTLE_REPO}/documentation/ShuttleDocumentation-4.8.1.zip documentation/ShuttleDocumentation-4.8.1.zip
+
+
+bash constellium_download_cred.sh ${CONSTELLIUM_USER} ${CONSTELLIUM_PASSWORD} ${SHUTTLE_REPO}/Patches/Server/4.8.1.28924/Plugin.ManageDatamartObjects-4.8.1.28924.jar patches/module/Plugin.ManageDatamartObjects-4.8.1.28924.jar
+bash constellium_download_cred.sh ${CONSTELLIUM_USER} ${CONSTELLIUM_PASSWORD} ${SHUTTLE_REPO}/Patches/Server/4.8.1.28924/shuttle-vdb-4.8.1.28924.jar patches/server/shuttle-vdb-4.8.1.28924.jar
+bash constellium_download_cred.sh ${CONSTELLIUM_USER} ${CONSTELLIUM_PASSWORD} ${SHUTTLE_REPO}/Patches/Server/4.8.1.29092/shuttle-security-4.8.1.29092.jar patches/server/shuttle-security-4.8.1.29092.jar
+bash constellium_download_cred.sh ${CONSTELLIUM_USER} ${CONSTELLIUM_PASSWORD} ${SHUTTLE_REPO}/Patches/Server/4.8.1.29092/shuttle-sdk-4.8.1.29092.jar patches/server/shuttle-sdk-4.8.1.29092.jar
+bash constellium_download_cred.sh ${CONSTELLIUM_USER} ${CONSTELLIUM_PASSWORD} ${SHUTTLE_REPO}/Patches/Server/4.8.1.29092/shuttle-commons-utils-4.8.1.29092.jar patches/server/shuttle-commons-utils-4.8.1.29092.jar
+bash constellium_download_cred.sh ${CONSTELLIUM_USER} ${CONSTELLIUM_PASSWORD} ${SHUTTLE_REPO}/Patches/Server/4.8.1.29276/shuttle-schema-4.8.1.29276.jar patches/server/shuttle-schema-4.8.1.29276.jar
\ No newline at end of file
diff --git a/usr/local/drivers/jdbc/oracle-jdbc.md b/usr/local/drivers/jdbc/oracle-jdbc.md
new file mode 100644
index 0000000..9f30566
--- /dev/null
+++ b/usr/local/drivers/jdbc/oracle-jdbc.md
@@ -0,0 +1,4 @@
+#### Download ORACLE JDBC drivers - ojdbc7.jar - NEED AUTHENTICATE"
+# http://www.oracle.com/technetwork/database/features/jdbc/jdbc-drivers-12c-download-1958347.html
+# wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn/utilities_drivers/jdbc/121010/ojdbc7.jar
+# Add usr/local/drivers/jdbc for Oracle driver ojdbc7.jar
diff --git a/usr/local/tomcat/error-pages.xml b/usr/local/tomcat/error-pages.xml
new file mode 100644
index 0000000..e1e72e3
--- /dev/null
+++ b/usr/local/tomcat/error-pages.xml
@@ -0,0 +1,16 @@
+
+ 500
+ /errors/500.html
+
+
+ 404
+ /errors/404.html
+
+
+ 403
+ /errors/403.html
+
+
+ 400
+ /errors/400.html
+
\ No newline at end of file
diff --git a/usr/local/tomcat/errors/400.html b/usr/local/tomcat/errors/400.html
new file mode 100644
index 0000000..6057aac
--- /dev/null
+++ b/usr/local/tomcat/errors/400.html
@@ -0,0 +1 @@
+HTTP Status 400 - Bad RequestHTTP Status 400 - Bad Request
Type Status Report
Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
\ No newline at end of file
diff --git a/usr/local/tomcat/errors/403.html b/usr/local/tomcat/errors/403.html
new file mode 100644
index 0000000..810bc19
--- /dev/null
+++ b/usr/local/tomcat/errors/403.html
@@ -0,0 +1,3 @@
+
+HTTP Status 403 - ForbiddenHTTP Status 403 - Forbidden
Type Status Report
Description The server understood the request, but is refusing to fulfill it.
+
\ No newline at end of file
diff --git a/usr/local/tomcat/errors/404.html b/usr/local/tomcat/errors/404.html
new file mode 100644
index 0000000..db085e0
--- /dev/null
+++ b/usr/local/tomcat/errors/404.html
@@ -0,0 +1,3 @@
+
+HTTP Status 404 - Not FoundHTTP Status 404 - Not Found
Type Status Report
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
+
\ No newline at end of file
diff --git a/usr/local/tomcat/errors/500.html b/usr/local/tomcat/errors/500.html
new file mode 100644
index 0000000..4ae4da5
--- /dev/null
+++ b/usr/local/tomcat/errors/500.html
@@ -0,0 +1,3 @@
+
+HTTP Status 500 - Internal ErrorHTTP Status 500 - Internal Error
Type Status Report
Description
+
\ No newline at end of file
diff --git a/usr/local/tomcat/logging-by-date.properties b/usr/local/tomcat/logging-by-date.properties
new file mode 100644
index 0000000..a2ad9c2
--- /dev/null
+++ b/usr/local/tomcat/logging-by-date.properties
@@ -0,0 +1,70 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
+handlers = 1catalina.org.apache.juli.AsyncFileHandler, 2localhost.org.apache.juli.AsyncFileHandler, 3manager.org.apache.juli.AsyncFileHandler, 4host-manager.org.apache.juli.AsyncFileHandler, java.util.logging.ConsoleHandler
+
+.handlers = 1catalina.org.apache.juli.AsyncFileHandler, java.util.logging.ConsoleHandler
+
+############################################################
+# Handler specific properties.
+# Describes specific configuration info for Handlers.
+############################################################
+
+1catalina.org.apache.juli.AsyncFileHandler.level = FINE
+1catalina.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
+1catalina.org.apache.juli.AsyncFileHandler.prefix = catalina.
+
+2localhost.org.apache.juli.AsyncFileHandler.level = FINE
+2localhost.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
+2localhost.org.apache.juli.AsyncFileHandler.prefix = localhost.
+
+3manager.org.apache.juli.AsyncFileHandler.level = FINE
+3manager.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
+3manager.org.apache.juli.AsyncFileHandler.prefix = manager.
+
+4host-manager.org.apache.juli.AsyncFileHandler.level = FINE
+4host-manager.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
+4host-manager.org.apache.juli.AsyncFileHandler.prefix = host-manager.
+
+java.util.logging.ConsoleHandler.level = FINE
+java.util.logging.ConsoleHandler.formatter = org.apache.juli.OneLineFormatter
+
+
+############################################################
+# Facility specific properties.
+# Provides extra control for each logger.
+############################################################
+
+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.AsyncFileHandler
+
+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level = INFO
+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers = 3manager.org.apache.juli.AsyncFileHandler
+
+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level = INFO
+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers = 4host-manager.org.apache.juli.AsyncFileHandler
+
+# For example, set the org.apache.catalina.util.LifecycleBase logger to log
+# each component that extends LifecycleBase changing state:
+#org.apache.catalina.util.LifecycleBase.level = FINE
+
+# To see debug messages in TldLocationsCache, uncomment the following line:
+#org.apache.jasper.compiler.TldLocationsCache.level = FINE
+
+# To see debug messages for HTTP/2 handling, uncomment the following line:
+#org.apache.coyote.http2.level = FINE
+
+# To see debug messages for WebSocket handling, uncomment the following line:
+#org.apache.tomcat.websocket.level = FINE
diff --git a/usr/local/tomcat/logging-by-size.properties b/usr/local/tomcat/logging-by-size.properties
new file mode 100644
index 0000000..cf88c62
--- /dev/null
+++ b/usr/local/tomcat/logging-by-size.properties
@@ -0,0 +1,77 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
+handlers = 1catalina.java.util.logging.FileHandler, 2localhost.java.util.logging.FileHandler, 3manager.java.util.logging.FileHandler, 4host-manager.java.util.logging.FileHandler, java.util.logging.ConsoleHandler
+.handlers = 1catalina.java.util.logging.FileHandler, java.util.logging.ConsoleHandler
+
+
+java.util.logging.SimpleFormatter.format=%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS %4$-6s %2$s %5$s%6$s%n
+
+############################################################
+# Handler specific properties.
+# Describes specific configuration info for Handlers.
+############################################################
+
+1catalina.java.util.logging.FileHandler.level = FINE
+1catalina.java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
+1catalina.java.util.logging.FileHandler.pattern = ${catalina.base}/logs/catalina.%g.log
+1catalina.java.util.logging.FileHandler.limit = 10485760
+1catalina.java.util.logging.FileHandler.count = 10
+
+2localhost.java.util.logging.FileHandler.level = FINE
+2localhost.java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
+2localhost.java.util.logging.FileHandler.pattern = ${catalina.base}/logs/localhost.%g.log
+2localhost.java.util.logging.FileHandler.limit = 10485760
+2localhost.java.util.logging.FileHandler.count = 10
+
+3manager.java.util.logging.FileHandler.level = FINE
+3manager.java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
+3manager.java.util.logging.FileHandler.pattern = ${catalina.base}/logs/manager.%g.log
+3manager.java.util.logging.FileHandler.limit = 10485760
+3manager.java.util.logging.FileHandler.count = 10
+
+4host-manager.java.util.logging.FileHandler.level = FINE
+4host-manager.java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
+4host-manager.java.util.logging.FileHandler.pattern = ${catalina.base}/logs/host-manager.%g.log
+4host-manager.java.util.logging.FileHandler.limit = 10485760
+4host-manager.java.util.logging.FileHandler.count = 10
+
+
+java.util.logging.ConsoleHandler.level = FINE
+java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
+
+
+############################################################
+# Facility specific properties.
+# Provides extra control for each logger.
+############################################################
+
+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.java.util.logging.FileHandler
+
+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level = INFO
+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers = 3manager.java.util.logging.FileHandler
+
+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level = INFO
+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers = 4host-manager.java.util.logging.FileHandler
+
+
+
+# For example, to log debug messages in ContextConfig and HostConfig
+# classes and to log only warnings and errors in other
+# org.apache.catalina.** classes, uncomment these lines:
+#org.apache.catalina.startup.ContextConfig.level = FINE
+#org.apache.catalina.startup.HostConfig.level = FINE
+#org.apache.catalina.level = WARNING
diff --git a/usr/local/tomcat/server.xml.dist b/usr/local/tomcat/server.xml.dist
new file mode 100644
index 0000000..ebfdd15
--- /dev/null
+++ b/usr/local/tomcat/server.xml.dist
@@ -0,0 +1,173 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/usr/local/tomcat/sun-jaxws.xml.dist b/usr/local/tomcat/sun-jaxws.xml.dist
new file mode 100644
index 0000000..6ab73c4
--- /dev/null
+++ b/usr/local/tomcat/sun-jaxws.xml.dist
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/whatsnew-470.md b/whatsnew-470.md
deleted file mode 100644
index dfdb1a3..0000000
--- a/whatsnew-470.md
+++ /dev/null
@@ -1,19 +0,0 @@
-## Shuttle 4.7.0 released at 13 October 2017
-
-### What's New ?
-
-#### General
-
-- Single-Sign On is now available with support of SAML v2 standard.
-- Dropdown list on text cells: a text cell can be associated with a list of choices defined as a member list (enabling scripting). This option enables to guide users for their textual data input. The input can be limited to the choice list.
-- Ability to export a report as a PowerPoint presentation through a script calling an external resource.
-Important: You must have an external resource enabling to build PowerPoint presentations.
-- Native support of proxy auto-config files (PAC)
-
-#### Shuttle Studio
-- Improved treatment of columns/rows addition: spanned cells are automatically increased when impacted by an addition.
-#### Shuttle Client
-- Possibility to link to Shuttle Client screens through a share button enabling to copy the link or share it via e-mail.
-- Improved the focus for comments: on the subject field when creating a comment, on the body field when answering to or editing a comment.
-- Improved chart ranges order when values are missing.
-
diff --git a/whatsnew-480.md b/whatsnew-480.md
deleted file mode 100644
index 3388a9d..0000000
--- a/whatsnew-480.md
+++ /dev/null
@@ -1,36 +0,0 @@
-## Shuttle 4.8.0 released at 23 March 2018
-
-- What's new
-
- General
- - Rebranding and UI improvements
- - New kShuttle logo, icons, and branding elements.
- - Redesigned and optimized installer screen flow.
- - Multiple UI and usability improvements.
- - Enhanced support of Cloud Operations and Administration
- - New superuser user with full privileges to administrate server and users.
- - Improved security of default admin supervisor.
- - Improved authentication logic to fully support multiple authentication sources (embedded and/or LDAP).
- - Improved Life Cycle management
- - More reliable and secure repository life-cycle during create, clear, delete operations.
- - Advanced repository meta-data to control backup and restore operations.
- - Authentication sources life cycle now decoupled from repository’s.
- - Robust security and seamless client deployment
- - More advanced encryption capability to comply with ANSSI and NIST standards.
- - Simplified proxy management with unified configuration.
-
- Shuttle Studio
- - Improved UI and usability.
- - Repository listing and operations
- - User listing and operations
-
- Shuttle Client
- - Brand new 64-bit version (in addition to 32-bit) to leverage full capabilities of 64-bit OS.
- - Simplified proxy management with unified configuration.
- - Improved support for system proxy configuration.
-
- Platform Policy
- - Full support of both 32-bit and 64-bit OS for Shuttle clients.
- - New support of Microsoft Windows 8.1 for Shuttle clients.
- - New support of Microsoft Windows Server 2016 for Shuttle Server
- - New support of Microsoft SQLServer 2016 for Shuttle datastore.
\ No newline at end of file
diff --git a/whatsnew-481.md b/whatsnew-481.md
deleted file mode 100644
index 97ab75c..0000000
--- a/whatsnew-481.md
+++ /dev/null
@@ -1,10 +0,0 @@
-## Shuttle 4.8.1 released at April 2018
-
-### What's New ?
-
-### General
-- Improved performance when processing large volumes of data.
-- Added support for SAML HTTP-Redirect binding mode.
-#### Shuttle Client
-- Improved Login menu behavior when working with multiple connections.
-- Better support for configuration with multiple servers using SAML authentication
\ No newline at end of file