In order to access the JWT authentication token, we need to configure the Apache installation to pass the Authorization header on to CGI scripts. Do this with mod_rewrite.
refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42
update documentation to reference Tomcat 7, Java 7 and newer apache config file name conventions. https://projects.ecoinformatics.org/ecoinfo/issues/6855
For sample Apache config, disable SSLv2 and SSLv3 in favor of TLS. https://projects.ecoinformatics.org/ecoinfo/issues/6827
Use the wild card in the class path. So it will not be pain if the jar files were changed.
Make them executable.
Add a script file to restore knb db from a dumped file.
Add a script to dump the knb database.
Add the option -h for tar command in order to follow the link.
Don't remove postgresql 8.4 and 9.1Don't remove data directory of postgresql 8.4
add JkOptions directive and encoded slash options for dataone and solr query support in the URLs that metacat can get (they were in the -ssl version of this file already)
add the code to install xmlstarlet.
Find files of which type is link.
Keep /var/lib/postgresql/8.4/main directory.
Add the code to stop tomcat and apache.
Add the "-y" option to force removing the old postgresql without prompting a y/n question.
Restore the database for a gzipped sql file.
Added the code to gzip the output file in the dumpall command. This will save disk space.
Modified the redirect rules which didn't work.
Add the code to add the attribute useHttpOnly='false' to the Context element in the context.xml file.
Fixed a bug the code can get the argument from the command line.
Added the code to change the permission of the backup file so the postgres user can read it.
Added the code to check if the metacat backup file exists.Added the code "exist 0" at the end of the scripts.
Added the .conf to those site files since the new apache server only loads the sites with the extension.
Add the code to vacuum the db.
Add the code to enable the 8009 port for ajp connection in the server.xml of tomcat7.
Added the code to modify the geo data directory in the metacat.properties file.
Fixed some bugs to restore postgresql data.
Add the code install some components for installing tomcat7
Use a variable to replace the hard code.
Use the version directly.
Fixed a typo.
put the date to an output file.
A script for vacuum the db.
Add a script to move the db from 8.3 to 9.1 base on a dumped file.
Use the pg_dumpall command to back up all information of the database.
Add the code to backup the cerificate/key of the apache server.
Removed the code to write the backup file to a dvd drive.
Added the code to copy Metacat and other web applications from the webapps directory in tomcat6 to tomcat7. It also update the value of deploy.applicationDir in the metacat.properties file as well.
Only insert new configuration lines once to the /etc/tomcat7/catalina.properties.
Used variables to replace hard code in sed command. Also we have to escape the variables.
Used variables to replace the hard code.
Add the code to modify the workers.properties file.
Fixed typo.
Add a script to install openjdk 7 and tomcat 7.It also configures java, javac,keytools and tomcat7.
Backup the /etc/apache2/site-enabled directory.
Remove the code to stop/start ldap server.Change the script name to stop/start tomcat.Also backup metacat.properties.
include SSLVerify* directives for client certificates and a pointer for getting the DataONE chain files.
Edited the replicaPolicies script to print out a list of IDs that have a different authoritative member node, the number of successes, and failures at the end.
Add comments to bash script to explain its function and dependencies
Added a bash script to call /replicaPolicies/{pid} via the DataONE API for all objects in a MN or a list of ids.
Add a note to let users know where to run the script.
Change the base directory location.
Add a double quotes at $@. This will make the any argument in the double quotes as one argument.
Pass all arguments to the java class.
Add a script to help administor to manage usrs/groups.
add sample SSLCertificateChainFile directive to DataONE section.
Refer to metacat.war deployments since those are now the default. https://projects.ecoinformatics.org/ecoinfo/issues/6082
include certificate export SSL options as an example (used heavily for DataONE and Metacat Replication)
Added the following values to the HTTPD site configuration: JkOptions +ForwardURICompatUnparsed AllowEncodedSlashes On AcceptPathInfo On
include SSL settings for client certificate-based replication
remove reference to tomcat5.5 in favor of tomcat6. including the "custom" start up script that used the sun jdk -- this can be configured rather than coded into the script.
Merged in the D1_0_6_2_BRANCH changes that include the transition from ObjectFormat calls to ObjectFormatCache calls.
Merge 1.9.2 changes back into the trunk
Create some basic workflow scheduler system installation documents
Create database scripts for workflow scheduler
Add a new line for NameVirtualHost. Otherwise, the host will fail.
Add ssl virtualhost. Change non-ssl to work with ssl.
distribute perl autosplit.ix file with metacat. change tomcat startup script output to echos.
update workers.properties with more standard ajp13 worker name (not used until apt-get install project)
moved file from metacat/bin to metacat/src/scripts/bash since eclipse uses <project>/bin as a default build directory and these files will consistently get blown away locally by eclipse.
Added files to create any version of database schema from scratch
Scripts to support a debian package build
Move these scripts to the debian directory
use standard ajp13 worker instead of custom knb
moved scripts from bin dir
added lsid apache/ubuntu confguration file (for sites-available)
Export environment variables in tomcat startup file
Initial addition of apache/tomcat configuration files for ubuntu