Compare commits
No commits in common. "unidata_20.3.2" and "gh-pages" have entirely different histories.
unidata_20
...
gh-pages
22180 changed files with 59085 additions and 5192953 deletions
BIN
.DS_Store
vendored
BIN
.DS_Store
vendored
Binary file not shown.
56
.github/workflows/deploy_docs.yml
vendored
56
.github/workflows/deploy_docs.yml
vendored
|
@ -1,56 +0,0 @@
|
|||
name: publish mkdocs to github pages
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- unidata_20.3.2
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- 'mkdocs.yml'
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Python and mkdocs
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.8'
|
||||
|
||||
- name: Update pip
|
||||
run: |
|
||||
# install pip=>20.1 to use "pip cache dir"
|
||||
python3 -m pip install --upgrade pip
|
||||
|
||||
- name: Create mkdocs_requirements.txt
|
||||
run: |
|
||||
echo "markdown==3.3.4" >> mkdocs_requirements.txt
|
||||
echo "mkdocs==1.3.0" >> mkdocs_requirements.txt
|
||||
echo "mkdocs-unidata" >> mkdocs_requirements.txt
|
||||
echo "fontawesome_markdown" >> mkdocs_requirements.txt
|
||||
|
||||
- name: Get pip cache dir
|
||||
id: pip-cache
|
||||
run: echo "::set-output name=dir::$(pip cache dir)"
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ${{ steps.pip-cache.outputs.dir }}
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/mkdocs_requirements.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pip-
|
||||
|
||||
- name: Install python dependencies
|
||||
run: python3 -m pip install -r ./mkdocs_requirements.txt
|
||||
|
||||
- run: mkdocs build
|
||||
|
||||
- name: Deploy to gh-pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./site
|
45
.github/workflows/update_NDM-v20.yml
vendored
45
.github/workflows/update_NDM-v20.yml
vendored
|
@ -1,45 +0,0 @@
|
|||
name: update station info v20
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 7 * * *"
|
||||
|
||||
jobs:
|
||||
update_ndm:
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: VLAB
|
||||
steps:
|
||||
# Install svn since it is no longer included by default in ubuntu-latest (ubuntu-24.04 image)
|
||||
- name: Install svn package
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install subversion
|
||||
# Checkout this repo
|
||||
# this gets the latest code (and is run on the default branch)
|
||||
- name: Checkout awips2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: unidata_20.3.2
|
||||
# Do individual pulls for all the files in the ndm directory
|
||||
- name: Pull latest from vlab svn repo
|
||||
run: |
|
||||
cd rpms/awips2.edex/Installer.edex/ndm/
|
||||
for file in *; do
|
||||
svn export --force https://vlab.noaa.gov/svn/awips-ndm/trunk/"$file" --username ${{ secrets.VLAB_UNAME }} --password ${{ secrets.VLAB_PASS }}
|
||||
done
|
||||
# Check in all the new files
|
||||
# Only do a git add/commit/push if files have changed
|
||||
- name: Update existing NDM files for awips2 repo
|
||||
run: |
|
||||
date=`date +%Y%m%d-%H:%M:%S`
|
||||
git config user.name $GITHUB_ACTOR
|
||||
git config user.email $GITHUB_ACTOR@users.noreply.github.com
|
||||
change=`git diff`
|
||||
if [[ ! -z "$change" ]]
|
||||
then
|
||||
git add --all
|
||||
git commit -m "New NDM updates on $date - autogenerated"
|
||||
git push
|
||||
fi
|
17
.gitignore
vendored
17
.gitignore
vendored
|
@ -1,17 +0,0 @@
|
|||
bin/
|
||||
.metadata/
|
||||
ldm/Debug
|
||||
test-bin/
|
||||
testbin/
|
||||
testBin/
|
||||
bin-test/
|
||||
*.class
|
||||
*.pyo
|
||||
*.pyc
|
||||
*.o
|
||||
*.orig
|
||||
__pycache__
|
||||
build/awips-ade/RPMS/
|
||||
build/logs/
|
||||
cave/com.raytheon.viz.ui.personalities.awips/splash.bmp
|
||||
dist/el7*
|
13
LICENSE
13
LICENSE
|
@ -1,13 +0,0 @@
|
|||
Copyright 2021 University Corporation for Atmospheric Research
|
||||
|
||||
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.
|
45
README.md
45
README.md
|
@ -1,45 +0,0 @@
|
|||
# NSF Unidata AWIPS
|
||||
|
||||
[https://www.unidata.ucar.edu/software/awips/](https://www.unidata.ucar.edu/software/awips/)
|
||||
|
||||
[]()
|
||||
|
||||
The Advanced Weather Interactive Processing System (AWIPS) is a meteorological software package. It is used for decoding, displaying, and analyzing data, and was originally developed for the National Weather Service (NWS) by Raytheon. There is a program at UCAR called the NSF Unidata Program Center (UCP) which develops and supports a modified non-operational version of AWIPS for use in research and education by academic institutions. This is released as open source software, free to download and use.
|
||||
|
||||
AWIPS takes a unified approach to data ingest, where most data ingested into the system comes through the LDM client pulling data feeds from the [NSF Unidata IDD](https://www.unidata.ucar.edu/projects/#idd). Various raw data and product files (netCDF, grib, BUFR, ASCII text, gini, AREA) are decoded and stored as HDF5 files and Postgres database entries by [EDEX](docs/install/install-edex), which serves products and data over http.
|
||||
|
||||
Unidata supports two data visualization frameworks: [CAVE](docs/install/install-cave) (an Eclipse-built Java application which runs on Linux, Mac, and Windows), and [python-awips](docs/python/overview) (a programatic API written as a python package).
|
||||
|
||||
> **Note**: Our version of CAVE is a **non-operational** version. It does not support some features of NWS AWIPS. Warnings and alerts cannot be issued from our builds of CAVE. Additional functionality may not be available as well.
|
||||
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## License
|
||||
|
||||
NSF Unidata AWIPS source code and binaries (RPMs) are considered to be in the public domain, meaning there are no restrictions on any download, modification, or distribution in any form (original or modified). NSF Unidata AWIPS license information can be found [here](./LICENSE).
|
||||
|
||||
---
|
||||
|
||||
## AWIPS Data in the Cloud
|
||||
|
||||
NSF Unidata and XSEDE Jetstream have partnered to offer an EDEX data server in the cloud, open to the community. Select the server in the Connectivity Preferences dialog, or enter **`edex-cloud.unidata.ucar.edu`** (without *http://* before, or *:9581/services* after).
|
||||
|
||||

|
||||
|
||||
|
||||
# Documentation - http://unidata.github.io/awips2/
|
||||
|
||||
Popular Pages:
|
||||
|
||||
* [NSF Unidata AWIPS User Manual](http://unidata.github.io/awips2/)
|
||||
* [How to Install CAVE](http://unidata.github.io/awips2/install/install-cave)
|
||||
* [How to Install EDEX](http://unidata.github.io/awips2/install/install-edex)
|
||||
* [Common Problems with AWIPS](http://unidata.github.io/awips2/appendix/common-problems)
|
||||
* [Educational Resources](http://unidata.github.io/awips2/appendix/educational-resources)
|
||||
* [python-awips Data Access Framework](http://unidata.github.io/python-awips/)
|
||||
* [awips2-users Mailing List Archives](https://www.unidata.ucar.edu/mailing_lists/archives/awips2-users/)
|
||||
|
||||
* [(click to subscribe)](mailto:awips2-users-join@unidata.ucar.edu)
|
1519
appendix/appendix-acronyms/index.html
Normal file
1519
appendix/appendix-acronyms/index.html
Normal file
File diff suppressed because it is too large
Load diff
7293
appendix/appendix-grid-parameters/index.html
Normal file
7293
appendix/appendix-grid-parameters/index.html
Normal file
File diff suppressed because it is too large
Load diff
1679
appendix/appendix-wsr88d/index.html
Normal file
1679
appendix/appendix-wsr88d/index.html
Normal file
File diff suppressed because it is too large
Load diff
1516
appendix/common-problems/index.html
Normal file
1516
appendix/common-problems/index.html
Normal file
File diff suppressed because it is too large
Load diff
1509
appendix/educational-resources/index.html
Normal file
1509
appendix/educational-resources/index.html
Normal file
File diff suppressed because it is too large
Load diff
3990
appendix/maps-database/index.html
Normal file
3990
appendix/maps-database/index.html
Normal file
File diff suppressed because it is too large
Load diff
BIN
assets/images/favicon.ico
Normal file
BIN
assets/images/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
1
assets/images/icons/bitbucket-670608a71a.svg
Normal file
1
assets/images/icons/bitbucket-670608a71a.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="352" height="448" viewBox="0 0 352 448" id="bitbucket"><path fill="currentColor" d="M203.75 214.75q2 15.75-12.625 25.25t-27.875 1.5q-9.75-4.25-13.375-14.5t-.125-20.5 13-14.5q9-4.5 18.125-3t16 8.875 6.875 16.875zm27.75-5.25q-3.5-26.75-28.25-41T154 165.25q-15.75 7-25.125 22.125t-8.625 32.375q1 22.75 19.375 38.75t41.375 14q22.75-2 38-21t12.5-42zM291.25 74q-5-6.75-14-11.125t-14.5-5.5T245 54.25q-72.75-11.75-141.5.5-10.75 1.75-16.5 3t-13.75 5.5T60.75 74q7.5 7 19 11.375t18.375 5.5T120 93.75Q177 101 232 94q15.75-2 22.375-3t18.125-5.375T291.25 74zm14.25 258.75q-2 6.5-3.875 19.125t-3.5 21-7.125 17.5-14.5 14.125q-21.5 12-47.375 17.875t-50.5 5.5-50.375-4.625q-11.5-2-20.375-4.5T88.75 412 70.5 401.125t-13-15.375q-6.25-24-14.25-73l1.5-4 4.5-2.25q55.75 37 126.625 37t126.875-37q5.25 1.5 6 5.75t-1.25 11.25-2 9.25zM350.75 92.5q-6.5 41.75-27.75 163.75-1.25 7.5-6.75 14t-10.875 10T291.75 288q-63 31.5-152.5 22-62-6.75-98.5-34.75-3.75-3-6.375-6.625t-4.25-8.75-2.25-8.5-1.5-9.875T25 232.75q-2.25-12.5-6.625-37.5t-7-40.375T5.5 118 0 78.5Q.75 72 4.375 66.375T12.25 57t11.25-7.5T35 43.875t12-4.625q31.25-11.5 78.25-16 94.75-9.25 169 12.5Q333 47.25 348 66.25q4 5 4.125 12.75t-1.375 13.5z"/></svg>
|
After Width: | Height: | Size: 1.2 KiB |
1
assets/images/icons/github-1da075986e.svg
Normal file
1
assets/images/icons/github-1da075986e.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="416" height="448" viewBox="0 0 416 448" id="github"><path fill="currentColor" d="M160 304q0 10-3.125 20.5t-10.75 19T128 352t-18.125-8.5-10.75-19T96 304t3.125-20.5 10.75-19T128 256t18.125 8.5 10.75 19T160 304zm160 0q0 10-3.125 20.5t-10.75 19T288 352t-18.125-8.5-10.75-19T256 304t3.125-20.5 10.75-19T288 256t18.125 8.5 10.75 19T320 304zm40 0q0-30-17.25-51T296 232q-10.25 0-48.75 5.25Q229.5 240 208 240t-39.25-2.75Q130.75 232 120 232q-29.5 0-46.75 21T56 304q0 22 8 38.375t20.25 25.75 30.5 15 35 7.375 37.25 1.75h42q20.5 0 37.25-1.75t35-7.375 30.5-15 20.25-25.75T360 304zm56-44q0 51.75-15.25 82.75-9.5 19.25-26.375 33.25t-35.25 21.5-42.5 11.875-42.875 5.5T212 416q-19.5 0-35.5-.75t-36.875-3.125-38.125-7.5-34.25-12.875T37 371.5t-21.5-28.75Q0 312 0 260q0-59.25 34-99-6.75-20.5-6.75-42.5 0-29 12.75-54.5 27 0 47.5 9.875t47.25 30.875Q171.5 96 212 96q37 0 70 8 26.25-20.5 46.75-30.25T376 64q12.75 25.5 12.75 54.5 0 21.75-6.75 42 34 40 34 99.5z"/></svg>
|
After Width: | Height: | Size: 991 B |
1
assets/images/icons/gitlab-5ad3f9f9e5.svg
Normal file
1
assets/images/icons/gitlab-5ad3f9f9e5.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 500 500" id="gitlab"><path fill="currentColor" d="M93.667 473.347l90.684-279.097H2.983l90.684 279.097z" transform="translate(156.198 1.16)"/><path fill="currentColor" d="M221.333 473.345L130.649 194.25H3.557l217.776 279.095z" transform="translate(28.531 1.16)" opacity=".7"/><path fill="currentColor" d="M32 195.155L4.441 279.97a18.773 18.773 0 0 0 6.821 20.99l238.514 173.29L32 195.155z" transform="translate(.089 .256)" opacity=".5"/><path fill="currentColor" d="M2.667-84.844h127.092L75.14-252.942c-2.811-8.649-15.047-8.649-17.856 0L2.667-84.844z" transform="translate(29.422 280.256)"/><path fill="currentColor" d="M2.667 473.345L93.351 194.25h127.092L2.667 473.345z" transform="translate(247.198 1.16)" opacity=".7"/><path fill="currentColor" d="M221.334 195.155l27.559 84.815a18.772 18.772 0 0 1-6.821 20.99L3.557 474.25l217.777-279.095z" transform="translate(246.307 .256)" opacity=".5"/><path fill="currentColor" d="M130.667-84.844H3.575l54.618-168.098c2.811-8.649 15.047-8.649 17.856 0l54.618 168.098z" transform="translate(336.974 280.256)"/></svg>
|
After Width: | Height: | Size: 1.1 KiB |
1
assets/javascripts/application-eaeb7b21e3.js
Normal file
1
assets/javascripts/application-eaeb7b21e3.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/javascripts/lunr/lunr.da.js
Normal file
1
assets/javascripts/lunr/lunr.da.js
Normal file
|
@ -0,0 +1 @@
|
|||
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.da=function(){this.pipeline.reset(),this.pipeline.add(e.da.trimmer,e.da.stopWordFilter,e.da.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.da.stemmer))},e.da.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.da.trimmer=e.trimmerSupport.generateTrimmer(e.da.wordCharacters),e.Pipeline.registerFunction(e.da.trimmer,"trimmer-da"),e.da.stemmer=function(){var r=e.stemmerSupport.Among,i=e.stemmerSupport.SnowballProgram,n=new function(){function e(){var e,r=f.cursor+3;if(d=f.limit,0<=r&&r<=f.limit){for(a=r;;){if(e=f.cursor,f.in_grouping(w,97,248)){f.cursor=e;break}if(f.cursor=e,e>=f.limit)return;f.cursor++}for(;!f.out_grouping(w,97,248);){if(f.cursor>=f.limit)return;f.cursor++}(d=f.cursor)<a&&(d=a)}}function n(){var e,r;if(f.cursor>=d&&(r=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,e=f.find_among_b(c,32),f.limit_backward=r,e))switch(f.bra=f.cursor,e){case 1:f.slice_del();break;case 2:f.in_grouping_b(p,97,229)&&f.slice_del()}}function t(){var e,r=f.limit-f.cursor;f.cursor>=d&&(e=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,f.find_among_b(l,4)?(f.bra=f.cursor,f.limit_backward=e,f.cursor=f.limit-r,f.cursor>f.limit_backward&&(f.cursor--,f.bra=f.cursor,f.slice_del())):f.limit_backward=e)}function s(){var e,r,i,n=f.limit-f.cursor;if(f.ket=f.cursor,f.eq_s_b(2,"st")&&(f.bra=f.cursor,f.eq_s_b(2,"ig")&&f.slice_del()),f.cursor=f.limit-n,f.cursor>=d&&(r=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,e=f.find_among_b(m,5),f.limit_backward=r,e))switch(f.bra=f.cursor,e){case 1:f.slice_del(),i=f.limit-f.cursor,t(),f.cursor=f.limit-i;break;case 2:f.slice_from("løs")}}function o(){var e;f.cursor>=d&&(e=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,f.out_grouping_b(w,97,248)?(f.bra=f.cursor,u=f.slice_to(u),f.limit_backward=e,f.eq_v_b(u)&&f.slice_del()):f.limit_backward=e)}var a,d,u,c=[new r("hed",-1,1),new r("ethed",0,1),new r("ered",-1,1),new r("e",-1,1),new r("erede",3,1),new r("ende",3,1),new r("erende",5,1),new r("ene",3,1),new r("erne",3,1),new r("ere",3,1),new r("en",-1,1),new r("heden",10,1),new r("eren",10,1),new r("er",-1,1),new r("heder",13,1),new r("erer",13,1),new r("s",-1,2),new r("heds",16,1),new r("es",16,1),new r("endes",18,1),new r("erendes",19,1),new r("enes",18,1),new r("ernes",18,1),new r("eres",18,1),new r("ens",16,1),new r("hedens",24,1),new r("erens",24,1),new r("ers",16,1),new r("ets",16,1),new r("erets",28,1),new r("et",-1,1),new r("eret",30,1)],l=[new r("gd",-1,-1),new r("dt",-1,-1),new r("gt",-1,-1),new r("kt",-1,-1)],m=[new r("ig",-1,1),new r("lig",0,1),new r("elig",1,1),new r("els",-1,1),new r("løst",-1,2)],w=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,48,0,128],p=[239,254,42,3,0,0,0,0,0,0,0,0,0,0,0,0,16],f=new i;this.setCurrent=function(e){f.setCurrent(e)},this.getCurrent=function(){return f.getCurrent()},this.stem=function(){var r=f.cursor;return e(),f.limit_backward=r,f.cursor=f.limit,n(),f.cursor=f.limit,t(),f.cursor=f.limit,s(),f.cursor=f.limit,o(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return n.setCurrent(e),n.stem(),n.getCurrent()}):(n.setCurrent(e),n.stem(),n.getCurrent())}}(),e.Pipeline.registerFunction(e.da.stemmer,"stemmer-da"),e.da.stopWordFilter=e.generateStopWordFilter("ad af alle alt anden at blev blive bliver da de dem den denne der deres det dette dig din disse dog du efter eller en end er et for fra ham han hans har havde have hende hendes her hos hun hvad hvis hvor i ikke ind jeg jer jo kunne man mange med meget men mig min mine mit mod ned noget nogle nu når og også om op os over på selv sig sin sine sit skal skulle som sådan thi til ud under var vi vil ville vor være været".split(" ")),e.Pipeline.registerFunction(e.da.stopWordFilter,"stopWordFilter-da")}});
|
1
assets/javascripts/lunr/lunr.de.js
Normal file
1
assets/javascripts/lunr/lunr.de.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/javascripts/lunr/lunr.du.js
Normal file
1
assets/javascripts/lunr/lunr.du.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/javascripts/lunr/lunr.es.js
Normal file
1
assets/javascripts/lunr/lunr.es.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/javascripts/lunr/lunr.fi.js
Normal file
1
assets/javascripts/lunr/lunr.fi.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/javascripts/lunr/lunr.fr.js
Normal file
1
assets/javascripts/lunr/lunr.fr.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/javascripts/lunr/lunr.hu.js
Normal file
1
assets/javascripts/lunr/lunr.hu.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/javascripts/lunr/lunr.it.js
Normal file
1
assets/javascripts/lunr/lunr.it.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/javascripts/lunr/lunr.jp.js
Normal file
1
assets/javascripts/lunr/lunr.jp.js
Normal file
|
@ -0,0 +1 @@
|
|||
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var r="2"==e.version[0];e.jp=function(){this.pipeline.reset(),this.pipeline.add(e.jp.stopWordFilter,e.jp.stemmer),r?this.tokenizer=e.jp.tokenizer:(e.tokenizer&&(e.tokenizer=e.jp.tokenizer),this.tokenizerFn&&(this.tokenizerFn=e.jp.tokenizer))};var t=new e.TinySegmenter;e.jp.tokenizer=function(n){if(!arguments.length||null==n||void 0==n)return[];if(Array.isArray(n))return n.map(function(t){return r?new e.Token(t.toLowerCase()):t.toLowerCase()});for(var i=n.toString().toLowerCase().replace(/^\s+/,""),o=i.length-1;o>=0;o--)if(/\S/.test(i.charAt(o))){i=i.substring(0,o+1);break}return t.segment(i).filter(function(e){return!!e}).map(function(t){return r?new e.Token(t):t})},e.jp.stemmer=function(){return function(e){return e}}(),e.Pipeline.registerFunction(e.jp.stemmer,"stemmer-jp"),e.jp.wordCharacters="一二三四五六七八九十百千万億兆一-龠々〆ヵヶぁ-んァ-ヴーア-ン゙a-zA-Za-zA-Z0-90-9",e.jp.stopWordFilter=function(t){if(-1===e.jp.stopWordFilter.stopWords.indexOf(r?t.toString():t))return t},e.jp.stopWordFilter=e.generateStopWordFilter("これ それ あれ この その あの ここ そこ あそこ こちら どこ だれ なに なん 何 私 貴方 貴方方 我々 私達 あの人 あのかた 彼女 彼 です あります おります います は が の に を で え から まで より も どの と し それで しかし".split(" ")),e.Pipeline.registerFunction(e.jp.stopWordFilter,"stopWordFilter-jp")}});
|
1
assets/javascripts/lunr/lunr.multi.js
Normal file
1
assets/javascripts/lunr/lunr.multi.js
Normal file
|
@ -0,0 +1 @@
|
|||
!function(e,i){"function"==typeof define&&define.amd?define(i):"object"==typeof exports?module.exports=i():i()(e.lunr)}(this,function(){return function(e){e.multiLanguage=function(){for(var i=Array.prototype.slice.call(arguments),t=i.join("-"),r="",n=[],s=[],p=0;p<i.length;++p)"en"==i[p]?(r+="\\w",n.unshift(e.stopWordFilter),n.push(e.stemmer),s.push(e.stemmer)):(r+=e[i[p]].wordCharacters,n.unshift(e[i[p]].stopWordFilter),n.push(e[i[p]].stemmer),s.push(e[i[p]].stemmer));var o=e.trimmerSupport.generateTrimmer(r);return e.Pipeline.registerFunction(o,"lunr-multi-trimmer-"+t),n.unshift(o),function(){this.pipeline.reset(),this.pipeline.add.apply(this.pipeline,n),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add.apply(this.searchPipeline,s))}}}});
|
1
assets/javascripts/lunr/lunr.no.js
Normal file
1
assets/javascripts/lunr/lunr.no.js
Normal file
|
@ -0,0 +1 @@
|
|||
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.no=function(){this.pipeline.reset(),this.pipeline.add(e.no.trimmer,e.no.stopWordFilter,e.no.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.no.stemmer))},e.no.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.no.trimmer=e.trimmerSupport.generateTrimmer(e.no.wordCharacters),e.Pipeline.registerFunction(e.no.trimmer,"trimmer-no"),e.no.stemmer=function(){var r=e.stemmerSupport.Among,n=e.stemmerSupport.SnowballProgram,i=new function(){function e(){var e,r=w.cursor+3;if(a=w.limit,0<=r||r<=w.limit){for(s=r;;){if(e=w.cursor,w.in_grouping(d,97,248)){w.cursor=e;break}if(e>=w.limit)return;w.cursor=e+1}for(;!w.out_grouping(d,97,248);){if(w.cursor>=w.limit)return;w.cursor++}(a=w.cursor)<s&&(a=s)}}function i(){var e,r,n;if(w.cursor>=a&&(r=w.limit_backward,w.limit_backward=a,w.ket=w.cursor,e=w.find_among_b(m,29),w.limit_backward=r,e))switch(w.bra=w.cursor,e){case 1:w.slice_del();break;case 2:n=w.limit-w.cursor,w.in_grouping_b(c,98,122)?w.slice_del():(w.cursor=w.limit-n,w.eq_s_b(1,"k")&&w.out_grouping_b(d,97,248)&&w.slice_del());break;case 3:w.slice_from("er")}}function t(){var e,r=w.limit-w.cursor;w.cursor>=a&&(e=w.limit_backward,w.limit_backward=a,w.ket=w.cursor,w.find_among_b(u,2)?(w.bra=w.cursor,w.limit_backward=e,w.cursor=w.limit-r,w.cursor>w.limit_backward&&(w.cursor--,w.bra=w.cursor,w.slice_del())):w.limit_backward=e)}function o(){var e,r;w.cursor>=a&&(r=w.limit_backward,w.limit_backward=a,w.ket=w.cursor,(e=w.find_among_b(l,11))?(w.bra=w.cursor,w.limit_backward=r,1==e&&w.slice_del()):w.limit_backward=r)}var s,a,m=[new r("a",-1,1),new r("e",-1,1),new r("ede",1,1),new r("ande",1,1),new r("ende",1,1),new r("ane",1,1),new r("ene",1,1),new r("hetene",6,1),new r("erte",1,3),new r("en",-1,1),new r("heten",9,1),new r("ar",-1,1),new r("er",-1,1),new r("heter",12,1),new r("s",-1,2),new r("as",14,1),new r("es",14,1),new r("edes",16,1),new r("endes",16,1),new r("enes",16,1),new r("hetenes",19,1),new r("ens",14,1),new r("hetens",21,1),new r("ers",14,1),new r("ets",14,1),new r("et",-1,1),new r("het",25,1),new r("ert",-1,3),new r("ast",-1,1)],u=[new r("dt",-1,-1),new r("vt",-1,-1)],l=[new r("leg",-1,1),new r("eleg",0,1),new r("ig",-1,1),new r("eig",2,1),new r("lig",2,1),new r("elig",4,1),new r("els",-1,1),new r("lov",-1,1),new r("elov",7,1),new r("slov",7,1),new r("hetslov",9,1)],d=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,48,0,128],c=[119,125,149,1],w=new n;this.setCurrent=function(e){w.setCurrent(e)},this.getCurrent=function(){return w.getCurrent()},this.stem=function(){var r=w.cursor;return e(),w.limit_backward=r,w.cursor=w.limit,i(),w.cursor=w.limit,t(),w.cursor=w.limit,o(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return i.setCurrent(e),i.stem(),i.getCurrent()}):(i.setCurrent(e),i.stem(),i.getCurrent())}}(),e.Pipeline.registerFunction(e.no.stemmer,"stemmer-no"),e.no.stopWordFilter=e.generateStopWordFilter("alle at av bare begge ble blei bli blir blitt både båe da de deg dei deim deira deires dem den denne der dere deres det dette di din disse ditt du dykk dykkar då eg ein eit eitt eller elles en enn er et ett etter for fordi fra før ha hadde han hans har hennar henne hennes her hjå ho hoe honom hoss hossen hun hva hvem hver hvilke hvilken hvis hvor hvordan hvorfor i ikke ikkje ikkje ingen ingi inkje inn inni ja jeg kan kom korleis korso kun kunne kva kvar kvarhelst kven kvi kvifor man mange me med medan meg meget mellom men mi min mine mitt mot mykje ned no noe noen noka noko nokon nokor nokre nå når og også om opp oss over på samme seg selv si si sia sidan siden sin sine sitt sjøl skal skulle slik so som som somme somt så sånn til um upp ut uten var vart varte ved vere verte vi vil ville vore vors vort vår være være vært å".split(" ")),e.Pipeline.registerFunction(e.no.stopWordFilter,"stopWordFilter-no")}});
|
1
assets/javascripts/lunr/lunr.pt.js
Normal file
1
assets/javascripts/lunr/lunr.pt.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/javascripts/lunr/lunr.ro.js
Normal file
1
assets/javascripts/lunr/lunr.ro.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/javascripts/lunr/lunr.ru.js
Normal file
1
assets/javascripts/lunr/lunr.ru.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/javascripts/lunr/lunr.stemmer.support.js
Normal file
1
assets/javascripts/lunr/lunr.stemmer.support.js
Normal file
|
@ -0,0 +1 @@
|
|||
!function(r,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():t()(r.lunr)}(this,function(){return function(r){r.stemmerSupport={Among:function(r,t,i,s){if(this.toCharArray=function(r){for(var t=r.length,i=new Array(t),s=0;s<t;s++)i[s]=r.charCodeAt(s);return i},!r&&""!=r||!t&&0!=t||!i)throw"Bad Among initialisation: s:"+r+", substring_i: "+t+", result: "+i;this.s_size=r.length,this.s=this.toCharArray(r),this.substring_i=t,this.result=i,this.method=s},SnowballProgram:function(){var r;return{bra:0,ket:0,limit:0,cursor:0,limit_backward:0,setCurrent:function(t){r=t,this.cursor=0,this.limit=t.length,this.limit_backward=0,this.bra=this.cursor,this.ket=this.limit},getCurrent:function(){var t=r;return r=null,t},in_grouping:function(t,i,s){if(this.cursor<this.limit){var e=r.charCodeAt(this.cursor);if(e<=s&&e>=i&&(e-=i,t[e>>3]&1<<(7&e)))return this.cursor++,!0}return!1},in_grouping_b:function(t,i,s){if(this.cursor>this.limit_backward){var e=r.charCodeAt(this.cursor-1);if(e<=s&&e>=i&&(e-=i,t[e>>3]&1<<(7&e)))return this.cursor--,!0}return!1},out_grouping:function(t,i,s){if(this.cursor<this.limit){var e=r.charCodeAt(this.cursor);if(e>s||e<i)return this.cursor++,!0;if(e-=i,!(t[e>>3]&1<<(7&e)))return this.cursor++,!0}return!1},out_grouping_b:function(t,i,s){if(this.cursor>this.limit_backward){var e=r.charCodeAt(this.cursor-1);if(e>s||e<i)return this.cursor--,!0;if(e-=i,!(t[e>>3]&1<<(7&e)))return this.cursor--,!0}return!1},eq_s:function(t,i){if(this.limit-this.cursor<t)return!1;for(var s=0;s<t;s++)if(r.charCodeAt(this.cursor+s)!=i.charCodeAt(s))return!1;return this.cursor+=t,!0},eq_s_b:function(t,i){if(this.cursor-this.limit_backward<t)return!1;for(var s=0;s<t;s++)if(r.charCodeAt(this.cursor-t+s)!=i.charCodeAt(s))return!1;return this.cursor-=t,!0},find_among:function(t,i){for(var s=0,e=i,n=this.cursor,u=this.limit,o=0,h=0,c=!1;;){for(var a=s+(e-s>>1),f=0,l=o<h?o:h,_=t[a],m=l;m<_.s_size;m++){if(n+l==u){f=-1;break}if(f=r.charCodeAt(n+l)-_.s[m])break;l++}if(f<0?(e=a,h=l):(s=a,o=l),e-s<=1){if(s>0||e==s||c)break;c=!0}}for(;;){if(o>=(_=t[s]).s_size){if(this.cursor=n+_.s_size,!_.method)return _.result;var b=_.method();if(this.cursor=n+_.s_size,b)return _.result}if((s=_.substring_i)<0)return 0}},find_among_b:function(t,i){for(var s=0,e=i,n=this.cursor,u=this.limit_backward,o=0,h=0,c=!1;;){for(var a=s+(e-s>>1),f=0,l=o<h?o:h,_=(m=t[a]).s_size-1-l;_>=0;_--){if(n-l==u){f=-1;break}if(f=r.charCodeAt(n-1-l)-m.s[_])break;l++}if(f<0?(e=a,h=l):(s=a,o=l),e-s<=1){if(s>0||e==s||c)break;c=!0}}for(;;){var m=t[s];if(o>=m.s_size){if(this.cursor=n-m.s_size,!m.method)return m.result;var b=m.method();if(this.cursor=n-m.s_size,b)return m.result}if((s=m.substring_i)<0)return 0}},replace_s:function(t,i,s){var e=s.length-(i-t),n=r.substring(0,t),u=r.substring(i);return r=n+s+u,this.limit+=e,this.cursor>=i?this.cursor+=e:this.cursor>t&&(this.cursor=t),e},slice_check:function(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>r.length)throw"faulty slice operation"},slice_from:function(r){this.slice_check(),this.replace_s(this.bra,this.ket,r)},slice_del:function(){this.slice_from("")},insert:function(r,t,i){var s=this.replace_s(r,t,i);r<=this.bra&&(this.bra+=s),r<=this.ket&&(this.ket+=s)},slice_to:function(){return this.slice_check(),r.substring(this.bra,this.ket)},eq_v_b:function(r){return this.eq_s_b(r.length,r)}}}},r.trimmerSupport={generateTrimmer:function(r){var t=new RegExp("^[^"+r+"]+"),i=new RegExp("[^"+r+"]+$");return function(r){return"function"==typeof r.update?r.update(function(r){return r.replace(t,"").replace(i,"")}):r.replace(t,"").replace(i,"")}}}}});
|
1
assets/javascripts/lunr/lunr.sv.js
Normal file
1
assets/javascripts/lunr/lunr.sv.js
Normal file
|
@ -0,0 +1 @@
|
|||
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.sv=function(){this.pipeline.reset(),this.pipeline.add(e.sv.trimmer,e.sv.stopWordFilter,e.sv.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.sv.stemmer))},e.sv.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.sv.trimmer=e.trimmerSupport.generateTrimmer(e.sv.wordCharacters),e.Pipeline.registerFunction(e.sv.trimmer,"trimmer-sv"),e.sv.stemmer=function(){var r=e.stemmerSupport.Among,n=e.stemmerSupport.SnowballProgram,t=new function(){function e(){var e,r=w.cursor+3;if(o=w.limit,0<=r||r<=w.limit){for(a=r;;){if(e=w.cursor,w.in_grouping(l,97,246)){w.cursor=e;break}if(w.cursor=e,w.cursor>=w.limit)return;w.cursor++}for(;!w.out_grouping(l,97,246);){if(w.cursor>=w.limit)return;w.cursor++}(o=w.cursor)<a&&(o=a)}}function t(){var e,r=w.limit_backward;if(w.cursor>=o&&(w.limit_backward=o,w.cursor=w.limit,w.ket=w.cursor,e=w.find_among_b(u,37),w.limit_backward=r,e))switch(w.bra=w.cursor,e){case 1:w.slice_del();break;case 2:w.in_grouping_b(d,98,121)&&w.slice_del()}}function i(){var e=w.limit_backward;w.cursor>=o&&(w.limit_backward=o,w.cursor=w.limit,w.find_among_b(c,7)&&(w.cursor=w.limit,w.ket=w.cursor,w.cursor>w.limit_backward&&(w.bra=--w.cursor,w.slice_del())),w.limit_backward=e)}function s(){var e,r;if(w.cursor>=o){if(r=w.limit_backward,w.limit_backward=o,w.cursor=w.limit,w.ket=w.cursor,e=w.find_among_b(m,5))switch(w.bra=w.cursor,e){case 1:w.slice_del();break;case 2:w.slice_from("lös");break;case 3:w.slice_from("full")}w.limit_backward=r}}var a,o,u=[new r("a",-1,1),new r("arna",0,1),new r("erna",0,1),new r("heterna",2,1),new r("orna",0,1),new r("ad",-1,1),new r("e",-1,1),new r("ade",6,1),new r("ande",6,1),new r("arne",6,1),new r("are",6,1),new r("aste",6,1),new r("en",-1,1),new r("anden",12,1),new r("aren",12,1),new r("heten",12,1),new r("ern",-1,1),new r("ar",-1,1),new r("er",-1,1),new r("heter",18,1),new r("or",-1,1),new r("s",-1,2),new r("as",21,1),new r("arnas",22,1),new r("ernas",22,1),new r("ornas",22,1),new r("es",21,1),new r("ades",26,1),new r("andes",26,1),new r("ens",21,1),new r("arens",29,1),new r("hetens",29,1),new r("erns",21,1),new r("at",-1,1),new r("andet",-1,1),new r("het",-1,1),new r("ast",-1,1)],c=[new r("dd",-1,-1),new r("gd",-1,-1),new r("nn",-1,-1),new r("dt",-1,-1),new r("gt",-1,-1),new r("kt",-1,-1),new r("tt",-1,-1)],m=[new r("ig",-1,1),new r("lig",0,1),new r("els",-1,1),new r("fullt",-1,3),new r("löst",-1,2)],l=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,24,0,32],d=[119,127,149],w=new n;this.setCurrent=function(e){w.setCurrent(e)},this.getCurrent=function(){return w.getCurrent()},this.stem=function(){var r=w.cursor;return e(),w.limit_backward=r,w.cursor=w.limit,t(),w.cursor=w.limit,i(),w.cursor=w.limit,s(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return t.setCurrent(e),t.stem(),t.getCurrent()}):(t.setCurrent(e),t.stem(),t.getCurrent())}}(),e.Pipeline.registerFunction(e.sv.stemmer,"stemmer-sv"),e.sv.stopWordFilter=e.generateStopWordFilter("alla allt att av blev bli blir blivit de dem den denna deras dess dessa det detta dig din dina ditt du där då efter ej eller en er era ert ett från för ha hade han hans har henne hennes hon honom hur här i icke ingen inom inte jag ju kan kunde man med mellan men mig min mina mitt mot mycket ni nu när någon något några och om oss på samma sedan sig sin sina sitta själv skulle som så sådan sådana sådant till under upp ut utan vad var vara varför varit varje vars vart vem vi vid vilka vilkas vilken vilket vår våra vårt än är åt över".split(" ")),e.Pipeline.registerFunction(e.sv.stopWordFilter,"stopWordFilter-sv")}});
|
1
assets/javascripts/lunr/lunr.tr.js
Normal file
1
assets/javascripts/lunr/lunr.tr.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/javascripts/lunr/tinyseg.js
Normal file
1
assets/javascripts/lunr/tinyseg.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/javascripts/modernizr-e826f8942a.js
Normal file
1
assets/javascripts/modernizr-e826f8942a.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/stylesheets/application-37fa87ea8f.css
Normal file
1
assets/stylesheets/application-37fa87ea8f.css
Normal file
File diff suppressed because one or more lines are too long
1
assets/stylesheets/application-624922a329.palette.css
Normal file
1
assets/stylesheets/application-624922a329.palette.css
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,7 +0,0 @@
|
|||
[awips2repo]
|
||||
name=AWIPS II Repository
|
||||
baseurl=https://downloads.unidata.ucar.edu/awips2/current/linux/rpms/el7/
|
||||
enabled=1
|
||||
protect=0
|
||||
gpgcheck=0
|
||||
proxy=_none_
|
|
@ -1,461 +0,0 @@
|
|||
#!/bin/bash
|
||||
# about: AWIPS install manager
|
||||
# devorg: Unidata Program Center
|
||||
# author: Michael James, Tiffany Meyer
|
||||
# maintainer: <support-awips@unidata.ucar.edu>
|
||||
# Date Updated: 7/5/2023
|
||||
# use: ./awips_install.sh (--cave|--edex|--database|--ingest|--help)
|
||||
|
||||
dir="$( cd "$(dirname "$0")" ; pwd -P )"
|
||||
|
||||
usage="$(basename "$0") [-h] (--cave|--edex|--database|--ingest) #script to install Unidata AWIPS components.\n
|
||||
-h, --help show this help text\n
|
||||
--cave install CAVE for x86_64 Linux\n
|
||||
--edex, --server install EDEX Standaone Server x86_64 Linux\n
|
||||
--database install EDEX Request/Database x86_64 Linux\n
|
||||
--ingest install EDEX Ingest Node Server x86_64 Linux\n"
|
||||
|
||||
function stop_edex_services {
|
||||
for srvc in edex_ldm edex_camel qpidd httpd-pypies edex_postgres ; do
|
||||
if [ -f /etc/init.d/$srvc ]; then
|
||||
service $srvc stop
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
function check_yumfile {
|
||||
if [[ $(grep "release 7" /etc/redhat-release) ]]; then
|
||||
repofile=awips2.repo
|
||||
else
|
||||
echo "You need to be running CentOS7 or RedHat7"
|
||||
exit
|
||||
fi
|
||||
if [ -f /etc/yum.repos.d/awips2.repo ]; then
|
||||
date=$(date +%Y%m%d-%H:%M:%S)
|
||||
cp /etc/yum.repos.d/awips2.repo /etc/yum.repos.d/awips2.repo-${date}
|
||||
fi
|
||||
|
||||
wget_url="https://downloads.unidata.ucar.edu/awips2/20.3.2/linux/${repofile}"
|
||||
echo "wget -O /etc/yum.repos.d/awips2.repo ${wget_url}"
|
||||
wget -O /etc/yum.repos.d/awips2.repo ${wget_url}
|
||||
|
||||
sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/awips2.repo
|
||||
|
||||
yum clean all --enablerepo=awips2repo --disablerepo="*" 1>> /dev/null 2>&1
|
||||
yum --enablerepo=awips2repo clean metadata
|
||||
}
|
||||
|
||||
function check_limits {
|
||||
if [[ ! $(grep awips /etc/security/limits.conf) ]]; then
|
||||
echo "Checking /etc/security/limits.conf for awips: Not found. Adding..."
|
||||
printf "awips soft nproc 65536\nawips soft nofile 65536\n" >> /etc/security/limits.conf
|
||||
fi
|
||||
}
|
||||
|
||||
function check_epel {
|
||||
if [[ ! $(rpm -qa | grep epel-release) ]]; then
|
||||
yum install epel-release -y
|
||||
yum clean all
|
||||
fi
|
||||
}
|
||||
|
||||
function check_wget {
|
||||
if ! [[ $(rpm -qa | grep ^wget) ]]; then
|
||||
# install wget if not installed
|
||||
yum install wget -y
|
||||
fi
|
||||
}
|
||||
|
||||
function check_rsync {
|
||||
if ! [[ $(rpm -qa | grep ^rsync) ]]; then
|
||||
# install rsync if not installed
|
||||
yum install rsync -y
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
function check_netcdf {
|
||||
if [[ $(rpm -qa | grep netcdf-AWIPS) ]]; then
|
||||
# replaced by epel netcdf(-devel) pkgs in 17.1.1-5 so force remove
|
||||
yum remove netcdf-AWIPS netcdf netcdf-devel -y
|
||||
fi
|
||||
}
|
||||
|
||||
function check_git {
|
||||
if ! [[ $(rpm -qa | grep ^git-[12]) ]]; then
|
||||
# install git if not installed
|
||||
yum install git -y
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
function check_cave {
|
||||
if [[ $(rpm -qa | grep awips2-cave-20) ]]; then
|
||||
echo $'\n'CAVE is currently installed and needs to be removed before installing.
|
||||
pkill cave.sh
|
||||
pkill -f 'cave/cave.sh'
|
||||
remove_cave
|
||||
fi
|
||||
check_edex
|
||||
if [[ $(rpm -qa | grep awips2-cave-18) ]]; then
|
||||
while true; do
|
||||
read -p "Version 18.* of CAVE is currently installed and needs to be removed before installing the Beta Version 20.* of CAVE. Do you wish to remove CAVE? (Please type yes or no) `echo $'\n> '`" yn
|
||||
case $yn in
|
||||
[Yy]* ) remove_cave; break;;
|
||||
[Nn]* ) echo "Exiting..."; exit;;
|
||||
* ) echo "Please answer yes or no"
|
||||
esac
|
||||
done
|
||||
fi
|
||||
}
|
||||
function check_cave {
|
||||
if [[ $(rpm -qa | grep awips2-cave) ]]; then
|
||||
echo $'\n'CAVE is currently installed and needs to be removed before installing.
|
||||
pkill cave.sh
|
||||
pkill -f 'cave/run.sh'
|
||||
remove_cave
|
||||
fi
|
||||
}
|
||||
|
||||
function remove_cave {
|
||||
yum groupremove awips2-cave -y
|
||||
|
||||
if [[ $(rpm -qa | grep awips2-cave) ]]; then
|
||||
echo "
|
||||
=================== FAILED ===========================
|
||||
Something went wrong with the un-install of CAVE
|
||||
and packages are still installed. Once the CAVE
|
||||
group has been successfully uninstalled, you can try
|
||||
running this script again.
|
||||
Try running a \"yum grouplist\" to see if the AWIPS
|
||||
CAVE group is still installed and then do a
|
||||
\"yum groupremove [GROUP NAME]\".
|
||||
ex. yum groupremove 'AWIPS EDEX Server'
|
||||
|
||||
You may also need to run \"yum groups mark
|
||||
remove [GROUP NAME]\"
|
||||
ex. yum groups mark remove 'AWIPS CAVE'"
|
||||
exit
|
||||
else
|
||||
dir=cave
|
||||
echo "Removing /awips2/$dir"
|
||||
rm -rf /awips2/$dir
|
||||
rm -rf /home/awips/caveData
|
||||
fi
|
||||
}
|
||||
|
||||
function check_edex {
|
||||
if [[ $(rpm -qa | grep awips2-edex) ]]; then
|
||||
echo "found EDEX RPMs installed. The current EDEX needs to be removed before installing."
|
||||
check_remove_edex
|
||||
else
|
||||
if [ -d /awips2/database/data/ ]; then
|
||||
echo "cleaning up /awips2/database/data/ for new install..."
|
||||
rm -rf /awips2/database/data/
|
||||
fi
|
||||
fi
|
||||
for dir in /awips2/tmp /awips2/data_store ; do
|
||||
if [ ! -d $dir ]; then
|
||||
echo "creating $dir"
|
||||
mkdir -p $dir
|
||||
chown awips:fxalpha $dir
|
||||
fi
|
||||
done
|
||||
if getent passwd awips &>/dev/null; then
|
||||
echo -n ''
|
||||
else
|
||||
echo
|
||||
echo "--- user awips does not exist"
|
||||
echo "--- installation will continue but EDEX services may not run as intended"
|
||||
fi
|
||||
}
|
||||
|
||||
function check_remove_edex {
|
||||
while true; do
|
||||
read -p "Do you wish to remove EDEX? (Please type yes or no) `echo $'\n> '`" yn
|
||||
case $yn in
|
||||
[Yy]* ) remove_edex; break;;
|
||||
[Nn]* ) echo "Exiting..."; exit;;
|
||||
* ) echo "Please answer yes or no"
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
function calcLogSpace {
|
||||
a=("$@")
|
||||
logDiskspace=0
|
||||
for path in "${a[@]}" ; do
|
||||
if [ -d $path ] || [ -f $path ]; then
|
||||
out=`du -sk $path | cut -f1`
|
||||
logDiskspace=$((logDiskspace + $out))
|
||||
fi
|
||||
done
|
||||
logDiskspace=$(echo "scale=8;$logDiskspace*.000000953674316" | bc)
|
||||
}
|
||||
|
||||
function calcConfigSpace {
|
||||
a=("$@")
|
||||
configDiskspace=0
|
||||
for path in "${a[@]}" ; do
|
||||
if [ -d $path ] || [ -f $path ]; then
|
||||
out=`du -sk $path | cut -f1`
|
||||
configDiskspace=$((configDiskspace + $out))
|
||||
fi
|
||||
done
|
||||
configDiskspace=$(echo "scale=8;$configDiskspace*.000000953674316" | bc)
|
||||
}
|
||||
|
||||
function backupLogs {
|
||||
a=("$@")
|
||||
log_backup_dir=${backup_dir}/awips2_backup_${ver}_${date}/logs
|
||||
|
||||
if [[ ! -d ${log_backup_dir} ]]; then
|
||||
mkdir -p ${log_backup_dir}
|
||||
fi
|
||||
echo "Backing up to $log_backup_dir"
|
||||
for path in "${a[@]}" ; do
|
||||
if [ -d $path ] || [ -f $path ]; then
|
||||
rsync -apR $path $log_backup_dir
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
function backupConfigs {
|
||||
|
||||
a=("$@")
|
||||
config_backup_dir=${backup_dir}/awips2_backup_${ver}_${date}/configs
|
||||
|
||||
if [[ ! -d $config_backup_dir ]]; then
|
||||
mkdir -p $config_backup_dir
|
||||
fi
|
||||
echo "Backing up to $config_backup_dir"
|
||||
for path in "${a[@]}" ; do
|
||||
if [ -d $path ] || [ -f $path ]; then
|
||||
rsync -apR $path $config_backup_dir
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
function remove_edex {
|
||||
logPaths=("/awips2/edex/logs" "/awips2/httpd_pypies/var/log/httpd/" "/awips2/database/data/pg_log/" "/awips2/qpid/log/" "/awips2/ldm/logs/")
|
||||
configPaths=("/awips2/database/data/pg_hba*conf" "/awips2/edex/data/utility" "/awips2/edex/bin" "/awips2/ldm/etc" "/awips2/ldm/dev" "/awips2/edex/conf" "/awips2/edex/etc" "/usr/bin/edex" "/etc/init*d/edexServiceList" "/var/spool/cron/awips")
|
||||
|
||||
while true; do
|
||||
read -p "`echo $'\n'`Please make a selction for what you would like backed up. If you choose not to back up files you will lose all your configurations:
|
||||
1. logs
|
||||
2. configs
|
||||
3. both logs and configs
|
||||
4. none
|
||||
`echo $'\n> '`" backup_ans
|
||||
|
||||
#User chooses to back of files
|
||||
if [[ $backup_ans =~ [1-3] ]]; then
|
||||
echo "ANSWER: $backup_ans"
|
||||
while true; do
|
||||
read -p "`echo $'\n'`What location do you want your files backed up to? `echo $'\n> '`" backup_dir
|
||||
|
||||
if [ ! -d $backup_dir ]; then
|
||||
echo "$backup_dir does not exist, enter a path that exists"
|
||||
else
|
||||
#Check to see if user has enough space to backup
|
||||
backupspace=`df -k --output=avail "$backup_dir" | tail -n1`
|
||||
backupspace=$(echo "scale=8;$backupspace*.000000953674316" | bc)
|
||||
date=$(date +'%Y%m%d-%H:%M:%S')
|
||||
|
||||
echo "Checking to see which version of AWIPS is installed..."
|
||||
rpm=`rpm -qa | grep awips2-[12]`
|
||||
IFS='-' str=(${rpm})
|
||||
IFS=. str2=(${str[2]})
|
||||
vers="${str[1]}-${str2[0]}"
|
||||
ver="${vers//[.]/-}"
|
||||
|
||||
if [ $backup_ans = 1 ]; then
|
||||
calcLogSpace "${logPaths[@]}"
|
||||
#Don't let user backup data if there isn't enough space
|
||||
if (( $(echo "$logDiskspace > $backupspace" | bc ) )); then
|
||||
printf "You do not have enough disk space to backup this data to $backup_dir. You only have %.2f GB free and need %.2f GB.\n" $backupspace $logDiskspace
|
||||
#Backup logs
|
||||
else
|
||||
backupLogs "${logPaths[@]}"
|
||||
printf "%.2f GB of logs were backed up to $backup_dir \n" "$logDiskspace"
|
||||
fi
|
||||
elif [ $backup_ans = 2 ]; then
|
||||
calcConfigSpace "${configPaths[@]}"
|
||||
#Don't let user backup data if there isn't enough space
|
||||
if (( $(echo "$configDiskspace > $backupspace" | bc ) )); then
|
||||
printf "You do not have enough disk space to backup this data to $backup_dir. You only have %.2f GB free and need %.2f GB.\n" $backupspace $configDiskspace
|
||||
#Backup logs
|
||||
else
|
||||
backupConfigs "${configPaths[@]}"
|
||||
printf "%.2f GB of configs were backed up to $backup_dir \n" "$configDiskspace"
|
||||
fi
|
||||
elif [ $backup_ans = 3 ]; then
|
||||
calcLogSpace "${logPaths[@]}"
|
||||
calcConfigSpace "${configPaths[@]}"
|
||||
configLogDiskspace=$( echo "$logDiskspace+$configDiskspace" | bc)
|
||||
#Don't let user backup data if there isn't enough space
|
||||
if (( $(echo "$configLogDiskspace > $backupspace" | bc ) )); then
|
||||
printf "You do not have enough disk space to backup this data to $backup_dir . You only have %.2f GB free and need %.2f GB.\n" $backupspace $configLogDiskspace
|
||||
#Backup logs
|
||||
else
|
||||
backupLogs "${logPaths[@]}"
|
||||
backupConfigs "${configPaths[@]}"
|
||||
printf "%.2f GB of logs and configs were backed up to $backup_dir \n" "$configLogDiskspace"
|
||||
fi
|
||||
fi
|
||||
break
|
||||
fi
|
||||
done
|
||||
break
|
||||
#User chooses not to back up any files
|
||||
elif [ $backup_ans = 4 ]; then
|
||||
while true; do
|
||||
read -p "`echo $'\n'`Are you sure you don't want to back up any AWIPS configuration or log files? Type \"yes\" to confirm, \"no\" to select a different backup option, or \"quit\" to exit` echo $'\n> '`" answer
|
||||
answer=$(echo $answer | tr '[:upper:]' '[:lower:]')
|
||||
if [ $answer = yes ] || [ $answer = y ]; then
|
||||
break 2 ;
|
||||
elif [ $answer = quit ] || [ $answer = q ]; then
|
||||
exit;
|
||||
elif [ $answer = no ] || [ $answer = n ]; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
#User did not make a valid selection
|
||||
else
|
||||
echo "Please make a valid selection (1, 2, 3, or 4)"
|
||||
fi
|
||||
done
|
||||
|
||||
FILE="/opt/bin/logarchival/edex_upgrade.pl"
|
||||
|
||||
if test -f "$FILE"; then
|
||||
echo "Running /opt/bin/logarchival/edex_upgrade.pl and logging to /home/awips/crons/logarchival/general"
|
||||
/opt/bin/logarchival/edex_upgrade.pl >> /home/awips/crons/logarchival/general
|
||||
fi
|
||||
|
||||
if [[ $(rpm -qa | grep awips2-cave) ]]; then
|
||||
echo "CAVE is also installed, now removing EDEX and CAVE"
|
||||
pkill cave.sh
|
||||
pkill -f 'cave/run.sh'
|
||||
rm -rf /home/awips/caveData
|
||||
|
||||
else
|
||||
echo "Now removing EDEX"
|
||||
fi
|
||||
|
||||
yum groupremove awips2-server awips2-database awips2-ingest awips2-cave -y
|
||||
yum remove awips2-* -y
|
||||
|
||||
if [[ $(rpm -qa | grep awips2 | grep -v cave) ]]; then
|
||||
echo "
|
||||
=================== FAILED ===========================
|
||||
Something went wrong with the un-install of EDEX
|
||||
and packages are still installed. Once the EDEX
|
||||
groups have been successfully uninstalled, you can try
|
||||
running this script again.
|
||||
Try running a \"yum grouplist\" to see which AWIPS
|
||||
group is still installed and then do a
|
||||
\"yum groupremove [GROUP NAME]\".
|
||||
ex. yum groupremove 'AWIPS EDEX Server'
|
||||
|
||||
You may also need to run \"yum groups mark
|
||||
remove [GROUP NAME]\"
|
||||
ex. yum groups mark remove 'AWIPS EDEX Server'"
|
||||
exit
|
||||
else
|
||||
awips2_dirs=("cave" "data" "database" "data_store" "edex" "hdf5" "httpd_pypies" "java" "ldm" "postgres" "psql" "pypies" "python" "qpid" "tmp" "tools" "yajsw")
|
||||
for dir in ${awips2_dirs[@]}; do
|
||||
if [ $dir != dev ] ; then
|
||||
echo "Removing /awips2/$dir"
|
||||
rm -rf /awips2/$dir
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
function check_users {
|
||||
|
||||
if ! getent group "fxalpha" >/dev/null 2>&1; then
|
||||
groupadd fxalpha
|
||||
fi
|
||||
if ! id "awips" >/dev/null 2>&1; then
|
||||
useradd -G fxalpha awips
|
||||
fi
|
||||
}
|
||||
|
||||
function server_prep {
|
||||
check_users
|
||||
check_yumfile
|
||||
stop_edex_services
|
||||
check_limits
|
||||
check_netcdf
|
||||
check_wget
|
||||
check_rsync
|
||||
check_edex
|
||||
check_git
|
||||
check_epel
|
||||
}
|
||||
|
||||
function disable_ndm_update {
|
||||
crontab -u awips -l >cron_backup
|
||||
crontab -u awips -r
|
||||
sed -i -e 's/30 3 \* \* \* \/bin\/perl \/awips2\/dev\/updateNDM.pl/#30 3 \* \* \* \/bin\/perl \/awips2\/dev\/updateNDM.pl/' cron_backup
|
||||
crontab -u awips cron_backup
|
||||
rm cron_backup
|
||||
}
|
||||
|
||||
function cave_prep {
|
||||
check_users
|
||||
check_yumfile
|
||||
check_cave
|
||||
check_netcdf
|
||||
check_wget
|
||||
check_epel
|
||||
rm -rf /home/awips/caveData
|
||||
}
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
key="-h"
|
||||
else
|
||||
key="$1"
|
||||
fi
|
||||
case $key in
|
||||
--cave)
|
||||
cave_prep
|
||||
yum groupinstall awips2-cave -y 2>&1 | tee -a /tmp/awips-install.log
|
||||
sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/awips2.repo
|
||||
echo "CAVE has finished installing, the install log can be found in /tmp/awips-install.log"
|
||||
;;
|
||||
--server|--edex)
|
||||
server_prep
|
||||
yum groupinstall awips2-server -y 2>&1 | tee -a /tmp/awips-install.log
|
||||
sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/awips2.repo
|
||||
sed -i 's/@LDM_PORT@/388/' /awips2/ldm/etc/registry.xml
|
||||
echo "EDEX server has finished installing, the install log can be found in /tmp/awips-install.log"
|
||||
;;
|
||||
--database)
|
||||
server_prep
|
||||
yum groupinstall awips2-database -y 2>&1 | tee -a /tmp/awips-install.log
|
||||
disable_ndm_update
|
||||
sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/awips2.repo
|
||||
sed -i 's/@LDM_PORT@/388/' /awips2/ldm/etc/registry.xml
|
||||
echo "EDEX database has finished installing, the install log can be found in /tmp/awips-install.log"
|
||||
;;
|
||||
--ingest)
|
||||
server_prep
|
||||
yum groupinstall awips2-ingest -y 2>&1 | tee -a /tmp/awips-install.log
|
||||
disable_ndm_update
|
||||
sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/awips2.repo
|
||||
sed -i 's/@LDM_PORT@/388/' /awips2/ldm/etc/registry.xml
|
||||
echo "EDEX ingest has finished installing, the install log can be found in /tmp/awips-install.log"
|
||||
;;
|
||||
-h|--help)
|
||||
echo -e $usage
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
|
||||
PATH=$PATH:/awips2/edex/bin/
|
||||
exit
|
||||
|
||||
|
463
awips_install.sh
463
awips_install.sh
|
@ -1,463 +0,0 @@
|
|||
#!/bin/bash
|
||||
# about: AWIPS install manager
|
||||
# devorg: Unidata Program Center
|
||||
# author: Michael James, Tiffany Meyer
|
||||
# maintainer: <support-awips@unidata.ucar.edu>
|
||||
# Date Updated: 2/16/2024
|
||||
# use: ./awips_install.sh (--cave|--edex|--database|--ingest|--help)
|
||||
|
||||
dir="$( cd "$(dirname "$0")" ; pwd -P )"
|
||||
|
||||
usage="$(basename "$0") [-h] (--cave|--edex|--database|--ingest) #script to install Unidata AWIPS components.\n
|
||||
-h, --help show this help text\n
|
||||
--cave install CAVE for x86_64 Linux\n
|
||||
--edex, --server install EDEX Standaone Server x86_64 Linux\n
|
||||
--database install EDEX Request/Database x86_64 Linux\n
|
||||
--ingest install EDEX Ingest Node Server x86_64 Linux\n"
|
||||
|
||||
function stop_edex_services {
|
||||
for srvc in edex_ldm edex_camel qpidd httpd-pypies edex_postgres ; do
|
||||
if [ -f /etc/init.d/$srvc ]; then
|
||||
service $srvc stop
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
function check_yumfile {
|
||||
if [[ $(grep "release 7" /etc/redhat-release) ]]; then
|
||||
repofile=awips2.repo
|
||||
else
|
||||
echo "You need to be running CentOS7 or RedHat7"
|
||||
exit
|
||||
fi
|
||||
if [ -f /etc/yum.repos.d/awips2.repo ]; then
|
||||
date=$(date +%Y%m%d-%H:%M:%S)
|
||||
cp /etc/yum.repos.d/awips2.repo /etc/yum.repos.d/awips2.repo-${date}
|
||||
fi
|
||||
|
||||
wget_url="https://downloads.unidata.ucar.edu/awips2/current/linux/${repofile}"
|
||||
#echo "wget -O /etc/yum.repos.d/awips2.repo ${wget_url}"
|
||||
#wget -O /etc/yum.repos.d/awips2.repo ${wget_url}
|
||||
|
||||
sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/awips2.repo
|
||||
|
||||
yum --enablerepo=awips2repo --disablerepo="*" --disableexcludes=main clean all 1>> /dev/null 2>&1
|
||||
yum --enablerepo=awips2repo --disableexcludes=main clean metadata
|
||||
}
|
||||
|
||||
function check_limits {
|
||||
if [[ ! $(grep awips /etc/security/limits.conf) ]]; then
|
||||
echo "Checking /etc/security/limits.conf for awips: Not found. Adding..."
|
||||
printf "awips soft nproc 65536\nawips soft nofile 65536\n" >> /etc/security/limits.conf
|
||||
fi
|
||||
}
|
||||
|
||||
function check_epel {
|
||||
if [[ ! $(rpm -qa | grep epel-release) ]]; then
|
||||
yum install epel-release -y
|
||||
yum clean all
|
||||
fi
|
||||
}
|
||||
|
||||
function check_wget {
|
||||
if ! [[ $(rpm -qa | grep ^wget) ]]; then
|
||||
# install wget if not installed
|
||||
yum install wget -y
|
||||
fi
|
||||
}
|
||||
|
||||
function check_rsync {
|
||||
if ! [[ $(rpm -qa | grep ^rsync) ]]; then
|
||||
# install rsync if not installed
|
||||
yum install rsync -y
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
function check_netcdf {
|
||||
if [[ $(rpm -qa | grep netcdf-AWIPS) ]]; then
|
||||
# replaced by epel netcdf(-devel) pkgs in 17.1.1-5 so force remove
|
||||
yum remove netcdf-AWIPS netcdf netcdf-devel -y
|
||||
fi
|
||||
}
|
||||
|
||||
function check_git {
|
||||
if ! [[ $(rpm -qa | grep ^git-[12]) ]]; then
|
||||
# install git if not installed
|
||||
yum install git -y
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
function check_wgrib2 {
|
||||
if ! [[ $(rpm -qa | grep ^wgrib2) ]]; then
|
||||
# install wgrib2 if not installed
|
||||
yum install wgrib2 -y
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
function check_cave {
|
||||
if [[ $(rpm -qa | grep awips2-cave-20) ]]; then
|
||||
echo $'\n'CAVE is currently installed and needs to be removed before installing.
|
||||
pkill cave.sh
|
||||
pkill -f 'cave/cave.sh'
|
||||
remove_cave
|
||||
fi
|
||||
if [[ $(rpm -qa | grep awips2-cave-18) ]]; then
|
||||
while true; do
|
||||
pkill run.sh
|
||||
pkill -f 'cave/run.sh'
|
||||
read -p "Version 18.* of CAVE is currently installed and needs to be removed before installing the Beta Version 20.* of CAVE. Do you wish to remove CAVE? (Please type yes or no) `echo $'\n> '`" yn
|
||||
case $yn in
|
||||
[Yy]* ) remove_cave; break;;
|
||||
[Nn]* ) echo "Exiting..."; exit;;
|
||||
* ) echo "Please answer yes or no"
|
||||
esac
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
function remove_cave {
|
||||
yum --disableexcludes=main groupremove awips2-cave -y
|
||||
#yum remove awips2-* -y
|
||||
|
||||
if [[ $(rpm -qa | grep awips2-cave) ]]; then
|
||||
echo "
|
||||
=================== FAILED ===========================
|
||||
Something went wrong with the un-install of CAVE
|
||||
and packages are still installed. Once the CAVE
|
||||
group has been successfully uninstalled, you can try
|
||||
running this script again.
|
||||
Try running a \"yum grouplist\" to see if the AWIPS
|
||||
CAVE group is still installed and then do a
|
||||
\"yum groupremove [GROUP NAME]\".
|
||||
ex. yum groupremove 'AWIPS EDEX Server'
|
||||
|
||||
You may also need to run \"yum groups mark
|
||||
remove [GROUP NAME]\"
|
||||
ex. yum groups mark remove 'AWIPS CAVE'"
|
||||
exit
|
||||
else
|
||||
dir=cave
|
||||
echo "Removing /awips2/$dir"
|
||||
rm -rf /awips2/$dir
|
||||
rm -rf /home/awips/caveData
|
||||
fi
|
||||
}
|
||||
|
||||
function check_edex {
|
||||
if [[ $(rpm -qa | grep awips2-edex) ]]; then
|
||||
echo "found EDEX RPMs installed. The current EDEX needs to be removed before installing."
|
||||
check_remove_edex
|
||||
else
|
||||
if [ -d /awips2/database/data/ ]; then
|
||||
echo "cleaning up /awips2/database/data/ for new install..."
|
||||
rm -rf /awips2/database/data/
|
||||
fi
|
||||
fi
|
||||
for dir in /awips2/tmp /awips2/data_store ; do
|
||||
if [ ! -d $dir ]; then
|
||||
echo "creating $dir"
|
||||
mkdir -p $dir
|
||||
chown awips:fxalpha $dir
|
||||
fi
|
||||
done
|
||||
if getent passwd awips &>/dev/null; then
|
||||
echo -n ''
|
||||
else
|
||||
echo
|
||||
echo "--- user awips does not exist"
|
||||
echo "--- installation will continue but EDEX services may not run as intended"
|
||||
fi
|
||||
}
|
||||
|
||||
function check_remove_edex {
|
||||
while true; do
|
||||
read -p "Do you wish to remove EDEX? (Please type yes or no) `echo $'\n> '`" yn
|
||||
case $yn in
|
||||
[Yy]* ) remove_edex; break;;
|
||||
[Nn]* ) echo "Exiting..."; exit;;
|
||||
* ) echo "Please answer yes or no"
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
function calcLogSpace {
|
||||
a=("$@")
|
||||
logDiskspace=0
|
||||
for path in "${a[@]}" ; do
|
||||
if [ -d $path ] || [ -f $path ]; then
|
||||
out=`du -sk $path | cut -f1`
|
||||
logDiskspace=$((logDiskspace + $out))
|
||||
fi
|
||||
done
|
||||
logDiskspace=$(echo "scale=8;$logDiskspace*.000000953674316" | bc)
|
||||
}
|
||||
|
||||
function calcConfigSpace {
|
||||
a=("$@")
|
||||
configDiskspace=0
|
||||
for path in "${a[@]}" ; do
|
||||
if [ -d $path ] || [ -f $path ]; then
|
||||
out=`du -sk $path | cut -f1`
|
||||
configDiskspace=$((configDiskspace + $out))
|
||||
fi
|
||||
done
|
||||
configDiskspace=$(echo "scale=8;$configDiskspace*.000000953674316" | bc)
|
||||
}
|
||||
|
||||
function backupLogs {
|
||||
a=("$@")
|
||||
log_backup_dir=${backup_dir}/awips2_backup_${ver}_${date}/logs
|
||||
|
||||
if [[ ! -d ${log_backup_dir} ]]; then
|
||||
mkdir -p ${log_backup_dir}
|
||||
fi
|
||||
echo "Backing up to $log_backup_dir"
|
||||
for path in "${a[@]}" ; do
|
||||
if [ -d $path ] || [ -f $path ]; then
|
||||
rsync -apR $path $log_backup_dir
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
function backupConfigs {
|
||||
|
||||
a=("$@")
|
||||
config_backup_dir=${backup_dir}/awips2_backup_${ver}_${date}/configs
|
||||
|
||||
if [[ ! -d $config_backup_dir ]]; then
|
||||
mkdir -p $config_backup_dir
|
||||
fi
|
||||
echo "Backing up to $config_backup_dir"
|
||||
for path in "${a[@]}" ; do
|
||||
if [ -d $path ] || [ -f $path ]; then
|
||||
rsync -apR $path $config_backup_dir
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
function remove_edex {
|
||||
logPaths=("/awips2/edex/logs" "/awips2/httpd_pypies/var/log/httpd/" "/awips2/database/data/pg_log/" "/awips2/qpid/log/" "/awips2/ldm/logs/")
|
||||
configPaths=("/awips2/database/data/pg_hba*conf" "/awips2/edex/data/utility" "/awips2/edex/bin" "/awips2/ldm/etc" "/awips2/ldm/dev" "/awips2/edex/conf" "/awips2/edex/etc" "/usr/bin/edex" "/etc/init*d/edexServiceList" "/var/spool/cron/awips")
|
||||
|
||||
while true; do
|
||||
read -p "`echo $'\n'`Please make a selction for what you would like backed up. If you choose not to back up files you will lose all your configurations:
|
||||
1. logs
|
||||
2. configs
|
||||
3. both logs and configs
|
||||
4. none
|
||||
`echo $'\n> '`" backup_ans
|
||||
|
||||
#User chooses to back of files
|
||||
if [[ $backup_ans =~ [1-3] ]]; then
|
||||
echo "ANSWER: $backup_ans"
|
||||
while true; do
|
||||
read -p "`echo $'\n'`What location do you want your files backed up to? `echo $'\n> '`" backup_dir
|
||||
|
||||
if [ ! -d $backup_dir ]; then
|
||||
echo "$backup_dir does not exist, enter a path that exists"
|
||||
else
|
||||
#Check to see if user has enough space to backup
|
||||
backupspace=`df -k --output=avail "$backup_dir" | tail -n1`
|
||||
backupspace=$(echo "scale=8;$backupspace*.000000953674316" | bc)
|
||||
date=$(date +'%Y%m%d-%H:%M:%S')
|
||||
|
||||
echo "Checking to see which version of AWIPS is installed..."
|
||||
rpm=`rpm -qa | grep awips2-[12]`
|
||||
IFS='-' str=(${rpm})
|
||||
IFS=. str2=(${str[2]})
|
||||
vers="${str[1]}-${str2[0]}"
|
||||
ver="${vers//[.]/-}"
|
||||
|
||||
if [ $backup_ans = 1 ]; then
|
||||
calcLogSpace "${logPaths[@]}"
|
||||
#Don't let user backup data if there isn't enough space
|
||||
if (( $(echo "$logDiskspace > $backupspace" | bc ) )); then
|
||||
printf "You do not have enough disk space to backup this data to $backup_dir. You only have %.2f GB free and need %.2f GB.\n" $backupspace $logDiskspace
|
||||
#Backup logs
|
||||
else
|
||||
backupLogs "${logPaths[@]}"
|
||||
printf "%.2f GB of logs were backed up to $backup_dir \n" "$logDiskspace"
|
||||
fi
|
||||
elif [ $backup_ans = 2 ]; then
|
||||
calcConfigSpace "${configPaths[@]}"
|
||||
#Don't let user backup data if there isn't enough space
|
||||
if (( $(echo "$configDiskspace > $backupspace" | bc ) )); then
|
||||
printf "You do not have enough disk space to backup this data to $backup_dir. You only have %.2f GB free and need %.2f GB.\n" $backupspace $configDiskspace
|
||||
#Backup logs
|
||||
else
|
||||
backupConfigs "${configPaths[@]}"
|
||||
printf "%.2f GB of configs were backed up to $backup_dir \n" "$configDiskspace"
|
||||
fi
|
||||
elif [ $backup_ans = 3 ]; then
|
||||
calcLogSpace "${logPaths[@]}"
|
||||
calcConfigSpace "${configPaths[@]}"
|
||||
configLogDiskspace=$( echo "$logDiskspace+$configDiskspace" | bc)
|
||||
#Don't let user backup data if there isn't enough space
|
||||
if (( $(echo "$configLogDiskspace > $backupspace" | bc ) )); then
|
||||
printf "You do not have enough disk space to backup this data to $backup_dir . You only have %.2f GB free and need %.2f GB.\n" $backupspace $configLogDiskspace
|
||||
#Backup logs
|
||||
else
|
||||
backupLogs "${logPaths[@]}"
|
||||
backupConfigs "${configPaths[@]}"
|
||||
printf "%.2f GB of logs and configs were backed up to $backup_dir \n" "$configLogDiskspace"
|
||||
fi
|
||||
fi
|
||||
break
|
||||
fi
|
||||
done
|
||||
break
|
||||
#User chooses not to back up any files
|
||||
elif [ $backup_ans = 4 ]; then
|
||||
while true; do
|
||||
read -p "`echo $'\n'`Are you sure you don't want to back up any AWIPS configuration or log files? Type \"yes\" to confirm, \"no\" to select a different backup option, or \"quit\" to exit` echo $'\n> '`" answer
|
||||
answer=$(echo $answer | tr '[:upper:]' '[:lower:]')
|
||||
if [ $answer = yes ] || [ $answer = y ]; then
|
||||
break 2 ;
|
||||
elif [ $answer = quit ] || [ $answer = q ]; then
|
||||
exit;
|
||||
elif [ $answer = no ] || [ $answer = n ]; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
#User did not make a valid selection
|
||||
else
|
||||
echo "Please make a valid selection (1, 2, 3, or 4)"
|
||||
fi
|
||||
done
|
||||
|
||||
FILE="/opt/bin/logarchival/edex_upgrade.pl"
|
||||
|
||||
if test -f "$FILE"; then
|
||||
echo "Running /opt/bin/logarchival/edex_upgrade.pl and logging to /home/awips/crons/logarchival/general"
|
||||
/opt/bin/logarchival/edex_upgrade.pl >> /home/awips/crons/logarchival/general
|
||||
fi
|
||||
|
||||
if [[ $(rpm -qa | grep awips2-cave) ]]; then
|
||||
echo "CAVE is also installed, now removing EDEX and CAVE"
|
||||
pkill cave.sh
|
||||
pkill -f 'cave/run.sh'
|
||||
rm -rf /home/awips/caveData
|
||||
|
||||
else
|
||||
echo "Now removing EDEX"
|
||||
fi
|
||||
|
||||
yum --disableexcludes=main groupremove awips2-server awips2-database awips2-ingest awips2-cave -y
|
||||
yum --disableexcludes=main remove awips2-* -y
|
||||
|
||||
if [[ $(rpm -qa | grep awips2 | grep -v cave) ]]; then
|
||||
echo "
|
||||
=================== FAILED ===========================
|
||||
Something went wrong with the un-install of EDEX
|
||||
and packages are still installed. Once the EDEX
|
||||
groups have been successfully uninstalled, you can try
|
||||
running this script again.
|
||||
Try running a \"yum grouplist\" to see which AWIPS
|
||||
group is still installed and then do a
|
||||
\"yum groupremove [GROUP NAME]\".
|
||||
ex. yum groupremove 'AWIPS EDEX Server'
|
||||
|
||||
You may also need to run \"yum groups mark
|
||||
remove [GROUP NAME]\"
|
||||
ex. yum groups mark remove 'AWIPS EDEX Server'"
|
||||
exit
|
||||
else
|
||||
awips2_dirs=("cave" "data" "database" "data_store" "edex" "etc" "hdf5" "hdf5_locks" "httpd_pypies" "ignite" "java" "ldm" "netcdf" "postgres" "psql" "pypies" "python" "qpid" "tmp" "tools" "yajsw")
|
||||
for dir in ${awips2_dirs[@]}; do
|
||||
if [ $dir != dev ] ; then
|
||||
echo "Removing /awips2/$dir"
|
||||
rm -rf /awips2/$dir
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
function check_users {
|
||||
|
||||
if ! getent group "fxalpha" >/dev/null 2>&1; then
|
||||
groupadd fxalpha
|
||||
fi
|
||||
if ! id "awips" >/dev/null 2>&1; then
|
||||
useradd -G fxalpha awips
|
||||
fi
|
||||
}
|
||||
|
||||
function server_prep {
|
||||
check_users
|
||||
check_yumfile
|
||||
stop_edex_services
|
||||
check_limits
|
||||
check_epel
|
||||
check_netcdf
|
||||
check_wget
|
||||
check_rsync
|
||||
check_edex
|
||||
check_git
|
||||
check_wgrib2
|
||||
}
|
||||
|
||||
function disable_ndm_update {
|
||||
crontab -u awips -l >cron_backup
|
||||
crontab -u awips -r
|
||||
sed -i -e 's/30 3 \* \* \* \/bin\/perl \/awips2\/dev\/updateNDM.pl/#30 3 \* \* \* \/bin\/perl \/awips2\/dev\/updateNDM.pl/' cron_backup
|
||||
crontab -u awips cron_backup
|
||||
rm cron_backup
|
||||
}
|
||||
|
||||
function cave_prep {
|
||||
check_users
|
||||
check_yumfile
|
||||
check_cave
|
||||
check_netcdf
|
||||
check_wget
|
||||
check_epel
|
||||
rm -rf /home/awips/caveData
|
||||
}
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
key="-h"
|
||||
else
|
||||
key="$1"
|
||||
fi
|
||||
case $key in
|
||||
--cave)
|
||||
cave_prep
|
||||
yum --disableexcludes=main groupinstall awips2-cave -y 2>&1 | tee -a /tmp/awips-install.log
|
||||
sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/awips2.repo
|
||||
echo "CAVE has finished installing, the install log can be found in /tmp/awips-install.log"
|
||||
;;
|
||||
--server|--edex)
|
||||
server_prep
|
||||
yum --disableexcludes=main install awips2-*post* -y
|
||||
yum --disableexcludes=main groupinstall awips2-server -y 2>&1 | tee -a /tmp/awips-install.log
|
||||
sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/awips2.repo
|
||||
sed -i 's/@LDM_PORT@/388/' /awips2/ldm/etc/registry.xml
|
||||
echo "EDEX server has finished installing, the install log can be found in /tmp/awips-install.log"
|
||||
;;
|
||||
--database)
|
||||
server_prep
|
||||
yum --disableexcludes=main groupinstall awips2-database -y 2>&1 | tee -a /tmp/awips-install.log
|
||||
disable_ndm_update
|
||||
sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/awips2.repo
|
||||
sed -i 's/@LDM_PORT@/388/' /awips2/ldm/etc/registry.xml
|
||||
echo "EDEX database has finished installing, the install log can be found in /tmp/awips-install.log"
|
||||
;;
|
||||
--ingest)
|
||||
server_prep
|
||||
yum --disableexcludes=main groupinstall awips2-ingest -y 2>&1 | tee -a /tmp/awips-install.log
|
||||
disable_ndm_update
|
||||
sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/awips2.repo
|
||||
sed -i 's/@LDM_PORT@/388/' /awips2/ldm/etc/registry.xml
|
||||
echo "EDEX ingest has finished installing, the install log can be found in /tmp/awips-install.log"
|
||||
;;
|
||||
-h|--help)
|
||||
echo -e $usage
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
|
||||
PATH=$PATH:/awips2/edex/bin/
|
||||
exit
|
|
@ -1,23 +0,0 @@
|
|||
FROM tiffanym13/awips-devel-20.3.2-1:el7
|
||||
ENV VERSION 20.3.2
|
||||
ENV RELEASE 1
|
||||
MAINTAINER Tiffany Meyer<tiffanym@ucar.edu>
|
||||
|
||||
USER root
|
||||
|
||||
COPY el7-dev.repo /etc/yum.repos.d/awips2.repo
|
||||
|
||||
RUN groupadd fxalpha && useradd -G fxalpha awips
|
||||
|
||||
RUN mkdir -p /home/awips/dev/build/rpmbuild/RPMS/
|
||||
ADD RPMS /home/awips/dev/build/rpmbuild/RPMS
|
||||
|
||||
RUN yum -y clean all
|
||||
|
||||
RUN yum install awips2-ant awips2-eclipse awips2-hdf5-devel awips2-maven awips2-python-cheroot awips2-python-contextlib2 awips2-python-cython awips2-python-jaraco.functools awips2-python-more-itertools awips2-python-pkgconfig awips2-python-portend awips2-python-pycairo awips2-python-pygobject awips2-python-setuptools_scm_git_archive awips2-python-setuptools_scm awips2-python-tempora awips2-python-zc.lockfile awips2-python-numpy awips2-python-dateutil awips2-python-pyparsing awips2-python-pbr awips2-python-mock awips2-python-numexpr awips2-python-thrift awips2-python-setuptools awips2-hdf5 awips2-python-six awips2-python-pytz awips2-netcdf-devel awips2-qpid-proton -y
|
||||
|
||||
RUN mkdir -p /awips2/jenkins/buildspace/workspace/AWIPS2-UPC_build/baseline && mkdir -p /awips2/jenkins/buildspace/workspace/tmp
|
||||
RUN mkdir -p /awips2/jenkins/build/rpms/awips2_latest/{x86_64,noarch}/
|
||||
RUN chown -R awips:fxalpha /awips2/jenkins/
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
|
@ -1,23 +0,0 @@
|
|||
FROM tiffanym13/awips-devel-20.3.2-2:el7
|
||||
ENV VERSION 20.3.2
|
||||
ENV RELEASE 2
|
||||
MAINTAINER Tiffany Meyer<tiffanym@ucar.edu>
|
||||
|
||||
USER root
|
||||
|
||||
COPY el7-dev.repo /etc/yum.repos.d/awips2.repo
|
||||
|
||||
RUN groupadd fxalpha && useradd -G fxalpha awips
|
||||
|
||||
RUN mkdir -p /home/awips/dev/unidata_20.3.2/awips2/dist/el7-dev-20231212/
|
||||
ADD el7-dev-20231212 /home/awips/dev/unidata_20.3.2/awips2/dist/el7-dev-20231212
|
||||
|
||||
RUN yum -y clean all
|
||||
|
||||
RUN yum groupinstall awips2-ade -y
|
||||
|
||||
RUN mkdir -p /awips2/jenkins/buildspace/workspace/AWIPS2-UPC_build/baseline && mkdir -p /awips2/jenkins/buildspace/workspace/tmp
|
||||
RUN mkdir -p /awips2/jenkins/build/rpms/awips2_latest/{x86_64,noarch}/
|
||||
RUN chown -R awips:fxalpha /awips2/jenkins/
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
|
@ -1,22 +0,0 @@
|
|||
FROM centos:7
|
||||
ENV VERSION 20.3.2-1
|
||||
ENV RELEASE 1
|
||||
MAINTAINER Tiffany Meyer<tiffanym@ucar.edu>
|
||||
|
||||
USER root
|
||||
|
||||
RUN yum update yum -y
|
||||
|
||||
RUN yum groupinstall "Development tools" -y
|
||||
RUN yum install epel-release -y
|
||||
RUN yum clean all -y
|
||||
|
||||
ENV systemDeps="wget rsync git net-tools gzip libtool"
|
||||
ENV rpmDeps="gcc-c++ gcc-gfortran rpm-build createrepo expat-devel lua-devel cyrus-sasl-devel cyrus-sasl-plain cyrus-sasl-md5 nss-devel nspr-devel libxml2-devel openldap-devel cmake"
|
||||
ENV pythonDeps="tk-devel tcl-devel readline-devel bzip2-devel openssl-devel compat-libf2c-34"
|
||||
ENV awipsDeps="netcdf netcdf-devel"
|
||||
|
||||
RUN yum install $systemDeps $rpmDeps $pythonDeps $awipsDeps -y
|
||||
RUN yum update -y
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
|
@ -1,22 +0,0 @@
|
|||
FROM centos:7
|
||||
ENV VERSION 20.3.2-2
|
||||
ENV RELEASE 2
|
||||
MAINTAINER Tiffany Meyer<tiffanym@ucar.edu>
|
||||
|
||||
USER root
|
||||
|
||||
RUN yum update yum -y
|
||||
|
||||
RUN yum groupinstall "Development tools" -y
|
||||
RUN yum install epel-release -y
|
||||
RUN yum clean all -y
|
||||
|
||||
ENV systemDeps="wget rsync git net-tools gzip libtool"
|
||||
ENV rpmDeps="gcc-c++ gcc-gfortran rpm-build createrepo expat-devel lua-devel cyrus-sasl-devel cyrus-sasl-plain cyrus-sasl-md5 nss-devel nspr-devel libxml2-devel openldap-devel cmake"
|
||||
ENV pythonDeps="tk-devel tcl-devel readline-devel bzip2-devel openssl-devel compat-libf2c-34"
|
||||
ENV awipsDeps="netcdf netcdf-devel"
|
||||
|
||||
RUN yum install $systemDeps $rpmDeps $pythonDeps $awipsDeps -y
|
||||
RUN yum update -y
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
|
@ -1,26 +0,0 @@
|
|||
#!/bin/bash
|
||||
dir="$( cd "$(dirname "$0")" ; pwd -P )"
|
||||
pushd $dir
|
||||
. ../buildEnvironment.sh
|
||||
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "supply type (el7)"
|
||||
exit
|
||||
fi
|
||||
os_version=$1
|
||||
|
||||
existing=$(docker images |grep awips-ade | grep $1 | awk '{ print $3 }')
|
||||
if [ ! -z "$existing" ]; then
|
||||
docker rmi $existing
|
||||
fi
|
||||
img="20.3.2-2"
|
||||
|
||||
pushd /awips2/repo/awips2-builds/build/awips-ade
|
||||
docker build -t tiffanym13/awips-ade-${img} -f Dockerfile.awips-ade-${img}.${os_version} .
|
||||
dockerID=$(docker images | grep awips-ade | awk '{print $3}' | head -1 )
|
||||
#docker tag $dockerID unidata/awips-ade:${AWIPSII_VERSION}-${os_version}
|
||||
docker tag $dockerID tiffanym13/awips-ade-${img}:${AWIPSII_VERSION}-${os_version}
|
||||
docker rmi tiffanym13/awips-ade-${img}:latest
|
||||
#docker rmi tiffanym13/awips-ade-${img}:${AWIPSII_VERSION}-${os_version}
|
||||
docker push tiffanym13/awips-ade-${img}:${AWIPSII_VERSION}-${os_version}
|
|
@ -1,23 +0,0 @@
|
|||
#!/bin/bash
|
||||
dir="$( cd "$(dirname "$0")" ; pwd -P )"
|
||||
pushd $dir
|
||||
. ../buildEnvironment.sh
|
||||
img="awips-devel-20.3.2-2"
|
||||
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "supply type (el7)"
|
||||
exit
|
||||
fi
|
||||
os_version=$1
|
||||
|
||||
existing=$(sudo docker images |grep ${img} | grep $1 | awk '{ print $3 }')
|
||||
if [ ! -z "$existing" ]; then
|
||||
docker rmi $existing
|
||||
fi
|
||||
pushd /awips2/repo/awips2-builds/build/awips-ade
|
||||
docker build -t tiffanym13/${img} -f Dockerfile.${img}.${os_version} .
|
||||
dockerID=$(docker images | grep ${img} | grep latest | awk '{print $3}' | head -1 )
|
||||
docker tag $dockerID tiffanym13/${img}:${os_version}
|
||||
docker rmi tiffanym13/${img}:latest
|
||||
docker push tiffanym13/${img}:${os_version}
|
|
@ -1,9 +0,0 @@
|
|||
[awips2repo]
|
||||
name=AWIPS II Repository
|
||||
#baseurl=http://www.unidata.ucar.edu/repos/yum/18.2.1-ade
|
||||
#baseurl=file:///home/awips/dev/build/rpmbuild/RPMS
|
||||
baseurl=file:///home/awips/dev/unidata_20.3.2/awips2/dist/el7-dev-20231212
|
||||
enabled=1
|
||||
protect=0
|
||||
gpgcheck=0
|
||||
proxy=_none_
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>build.core</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
</natures>
|
||||
</projectDescription>
|
|
@ -1,108 +0,0 @@
|
|||
/**
|
||||
* This software was developed and / or modified by Raytheon Company,
|
||||
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
||||
*
|
||||
* U.S. EXPORT CONTROLLED TECHNICAL DATA
|
||||
* This software product contains export-restricted data whose
|
||||
* export/transfer/disclosure is restricted by U.S. law. Dissemination
|
||||
* to non-U.S. persons whether in the United States or abroad requires
|
||||
* an export license or other authorization.
|
||||
*
|
||||
* Contractor Name: Raytheon Company
|
||||
* Contractor Address: 6825 Pine Street, Suite 340
|
||||
* Mail Stop B8
|
||||
* Omaha, NE 68106
|
||||
* 402.291.0100
|
||||
*
|
||||
* See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
||||
* further licensing information.
|
||||
**/
|
||||
|
||||
/**
|
||||
* POJO-based representation of the contents of an Eclipse feature file.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Dec 4, 2014 3836 bkowal Initial Commit
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author bkowal
|
||||
* @version 1.0
|
||||
*/
|
||||
class Feature
|
||||
{
|
||||
private String feature
|
||||
private String featureDirectory
|
||||
/*
|
||||
* The first iteration of the build will assume that when includes
|
||||
* are present, there will not be any plugins or dependencies
|
||||
* because we will be working with the product feature
|
||||
*/
|
||||
private List includesList
|
||||
private List dependenciesList
|
||||
private List pluginsList
|
||||
|
||||
public Feature(String feature, String featureDirectory)
|
||||
{
|
||||
this.feature = feature
|
||||
this.featureDirectory = featureDirectory
|
||||
this.includesList = []
|
||||
this.dependenciesList = []
|
||||
this.pluginsList = []
|
||||
}
|
||||
|
||||
public String getFeature()
|
||||
{
|
||||
return this.feature
|
||||
}
|
||||
|
||||
public String getFeatureDirectory()
|
||||
{
|
||||
return this.featureDirectory
|
||||
}
|
||||
|
||||
public void addInclude(String includedFeature)
|
||||
{
|
||||
this.includesList.add(includedFeature)
|
||||
}
|
||||
|
||||
public List getIncludes()
|
||||
{
|
||||
return this.includesList
|
||||
}
|
||||
|
||||
public boolean hasIncludes()
|
||||
{
|
||||
return this.includesList.size() > 0
|
||||
}
|
||||
|
||||
public void addDependency(String dependency)
|
||||
{
|
||||
this.dependenciesList.add(dependency)
|
||||
}
|
||||
|
||||
public List getDependencies()
|
||||
{
|
||||
return this.dependenciesList
|
||||
}
|
||||
|
||||
public boolean hasDependencies()
|
||||
{
|
||||
return this.dependenciesList.size() > 0
|
||||
}
|
||||
|
||||
public void addPlugin(String plugin)
|
||||
{
|
||||
this.pluginsList.add(plugin)
|
||||
}
|
||||
|
||||
public List getPlugins()
|
||||
{
|
||||
return this.pluginsList
|
||||
}
|
||||
}
|
|
@ -1,52 +0,0 @@
|
|||
/**
|
||||
* This software was developed and / or modified by Raytheon Company,
|
||||
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
||||
*
|
||||
* U.S. EXPORT CONTROLLED TECHNICAL DATA
|
||||
* This software product contains export-restricted data whose
|
||||
* export/transfer/disclosure is restricted by U.S. law. Dissemination
|
||||
* to non-U.S. persons whether in the United States or abroad requires
|
||||
* an export license or other authorization.
|
||||
*
|
||||
* Contractor Name: Raytheon Company
|
||||
* Contractor Address: 6825 Pine Street, Suite 340
|
||||
* Mail Stop B8
|
||||
* Omaha, NE 68106
|
||||
* 402.291.0100
|
||||
*
|
||||
* See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
||||
* further licensing information.
|
||||
**/
|
||||
|
||||
/**
|
||||
* Parses an Eclipse feature file (feature.xml) and returns a POJO representation
|
||||
* of the contents of the feature file.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Dec 4, 2014 3836 bkowal Initial Commit
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author bkowal
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
class FeatureParser
|
||||
{
|
||||
public static Feature parseFeature(String featureFile, String featureDirectory)
|
||||
{
|
||||
Feature feature = new Feature(featureFile, featureDirectory)
|
||||
|
||||
def featureXML = new XmlSlurper().parse(new File(featureFile))
|
||||
featureXML.includes.each {feature.addInclude(it.attributes().id)}
|
||||
featureXML.requires.import.each {feature.addDependency(it.attributes().feature)}
|
||||
featureXML.plugin.each {feature.addPlugin(it.attributes().id)}
|
||||
|
||||
return feature
|
||||
}
|
||||
}
|
|
@ -1,93 +0,0 @@
|
|||
#!/bin/bash -v
|
||||
set -xe
|
||||
|
||||
# Determine where we are
|
||||
path_to_script=`readlink -f $0`
|
||||
dir=$(dirname $path_to_script)
|
||||
source ${dir}/buildEnvironment.sh
|
||||
|
||||
export _script_dir=${dir}
|
||||
echo "Running build.sh from ${_script_dir}"
|
||||
echo " JENKINS_WORKSPACE = ${JENKINS_WORKSPACE}"
|
||||
cd ${dir}
|
||||
logdir=${dir}/logs
|
||||
|
||||
if [ ! -d $logdir ]; then
|
||||
mkdir -p $logdir
|
||||
fi
|
||||
|
||||
START_TIME=`date "+%s"`
|
||||
timestamp=`date +%Y_%m_%d_%H:%M:%S`
|
||||
|
||||
# Cleanup before building CAVE rpms
|
||||
if [[ ${2} = "buildCAVE" ]]; then
|
||||
rm -rf ${JENKINS_HOME}/buildspace/workspace/AWIPS2-UPC_build/baseline/
|
||||
rm -rf ${JENKINS_HOME}/buildspace/workspace/tmp/${USER}/
|
||||
fi
|
||||
|
||||
echo "BUILD_DIR = $BUILD_DIR"
|
||||
echo "BUILD_WORKSPACE = $BUILD_WORKSPACE"
|
||||
echo "BASELINE = $BASELINE"
|
||||
echo "WORKSPACE = $WORKSPACE"
|
||||
echo "AWIPSII_VERSION = $AWIPSII_VERSION"
|
||||
echo "AWIPSII_RELEASE = $AWIPSII_RELEASE"
|
||||
echo "AWIPSII_TOP_DIR = $AWIPSII_TOP_DIR"
|
||||
echo "UFRAME_ECLIPSE = $UFRAME_ECLIPSE"
|
||||
echo "AWIPSII_STATIC_FILES = $AWIPSII_STATIC_FILES"
|
||||
echo "AWIPSII_BUILD_ROOT = $AWIPSII_BUILD_ROOT"
|
||||
|
||||
# Prepare the rpm build directory structure
|
||||
mkdir -p ${AWIPSII_TOP_DIR}/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
|
||||
|
||||
pushd . > /dev/null 2>&1
|
||||
cd ${BASELINE}
|
||||
mkdir -p ${WORKSPACE}
|
||||
if [[ ${2} = "buildCAVE" ]]; then
|
||||
RSYNC_DIRS=`cat $dir/rsync.dirs |grep -v nativelib | grep -v awips2-rpm`
|
||||
else
|
||||
RSYNC_DIRS=`cat $dir/rsync.dirs`
|
||||
fi
|
||||
rsync -ruql --delete --exclude-from=${dir}/excludes ${RSYNC_DIRS} ${WORKSPACE}
|
||||
|
||||
popd > /dev/null 2>&1
|
||||
|
||||
# execute the build for the appropriate architecture
|
||||
_rpms_build_directory=${WORKSPACE}/rpms/build
|
||||
_architecture=`uname -i`
|
||||
_build_sh_directory=${_rpms_build_directory}/${_architecture}
|
||||
pushd . > /dev/null 2>&1
|
||||
|
||||
cd ${_build_sh_directory}
|
||||
cp -v ${dir}/buildEnvironment.sh .
|
||||
|
||||
# check rpms/build/x86_64/build.sh for build groups
|
||||
|
||||
build_log=${logdir}/build${1}-${timestamp}.log
|
||||
if [ "${1}" = "-b" -a -n "${2}" ]; then
|
||||
build_log=${logdir}/build-${2}-${timestamp}.log
|
||||
fi
|
||||
|
||||
/bin/bash ${_build_sh_directory}/build.sh ${1} ${2} > ${build_log}
|
||||
|
||||
popd > /dev/null 2>&1
|
||||
|
||||
export rpm_end_dir="${AWIPSII_VERSION}-${AWIPSII_RELEASE}"
|
||||
|
||||
mkdir -p ${AWIPSII_TOP_DIR}/RPMS/x86_64/
|
||||
|
||||
if [ "$(ls -A ${AWIPSII_TOP_DIR}/RPMS/x86_64/)" ]; then
|
||||
mv ${AWIPSII_TOP_DIR}/RPMS/x86_64/* ${JENKINS_HOME}/build/rpms/awips2_latest/x86_64/
|
||||
fi
|
||||
if [ "$(ls -A ${AWIPSII_TOP_DIR}/RPMS/noarch/)" ]; then
|
||||
mv ${AWIPSII_TOP_DIR}/RPMS/noarch/* ${JENKINS_HOME}/build/rpms/awips2_latest/noarch/
|
||||
fi
|
||||
|
||||
END_TIME=`date "+%s"`
|
||||
TIME_SPENT=$((END_TIME - START_TIME))
|
||||
TTI_HOURS=$((TIME_SPENT/3600))
|
||||
TTI_SECS=$((TIME_SPENT %3600)) #Remaining seconds
|
||||
TTI_MINS=$((TTI_SECS/60))
|
||||
TTI_SECS=$((TTI_SECS%60))
|
||||
echo "Total-time-Spent-In-The-Build-For $0 = $TTI_HOURS hours, $TTI_MINS minutes, $TTI_SECS seconds"
|
||||
|
||||
exit
|
|
@ -1,26 +0,0 @@
|
|||
#!/bin/bash
|
||||
# Version
|
||||
export AWIPSII_VERSION="20.3.2"
|
||||
export AWIPSII_RELEASE="2"
|
||||
export AWIPSII_BUILD_DATE=`date`
|
||||
export AWIPSII_BUILD_SYS=`cat /etc/system-release`
|
||||
# Author
|
||||
export AWIPSII_BUILD_VENDOR="UCAR"
|
||||
export AWIPSII_BUILD_SITE="Unidata"
|
||||
export AWIPSII_AUTHOR="Tiffany Meyer <tiffanym@ucar.edu>"
|
||||
# Directories
|
||||
export UFRAME_ECLIPSE=/awips2/eclipse
|
||||
export JAVA_HOME=/awips2/java
|
||||
export ANT_HOME=/awips2/ant
|
||||
export REPO=/awips2/repo
|
||||
export JENKINS_HOME=/awips2/jenkins
|
||||
export JENKINS_WORKSPACE=${REPO}/awips2-builds
|
||||
export BUILD_DIR=${JENKINS_HOME}/buildspace/
|
||||
export AWIPSII_STATIC_FILES=${REPO}/awips2-static
|
||||
# More env vars
|
||||
export BUILD_WORKSPACE=${BUILD_DIR}/workspace
|
||||
export BASELINE=${JENKINS_WORKSPACE}
|
||||
export AWIPSII_TOP_DIR=${BUILD_WORKSPACE}/tmp/rpms_built_dir
|
||||
export WORKSPACE=${BUILD_WORKSPACE}/AWIPS2-UPC_build/baseline
|
||||
export AWIPSII_BUILD_ROOT=${BUILD_WORKSPACE}/tmp/${USER}/awips-component
|
||||
export REPO_DEST=${BUILD_WORKSPACE}/tmp/${USER}/repo
|
|
@ -1,88 +0,0 @@
|
|||
#!/bin/sh -xe
|
||||
#
|
||||
# Build Unidata AWIPS RPMs from source
|
||||
# author: Michael James
|
||||
# maintainer: <tiffanym@ucar.edu>
|
||||
#
|
||||
|
||||
#
|
||||
# Require el6 or el7 be specified
|
||||
# RPM name is optional (see below)
|
||||
#
|
||||
os_version=$1
|
||||
rpmname=$2
|
||||
|
||||
if [ -z "$os_version" ]; then
|
||||
echo "supply os_version (el7)"
|
||||
exit
|
||||
fi
|
||||
|
||||
#
|
||||
# Set up AWIPS environment
|
||||
#
|
||||
. /awips2/repo/awips2-builds/build/buildEnvironment.sh
|
||||
buildsh=$REPO/awips2-builds/build/build.sh
|
||||
pushd $REPO
|
||||
|
||||
#
|
||||
# If local source directories, exist, mount them to the
|
||||
# container, otherwise clone the repo from github
|
||||
#
|
||||
#if [ ! -d awips2-core-foss ]; then git clone https://github.com/Unidata/awips2-core-foss.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
|
||||
#if [ ! -d awips2-core ]; then git clone https://github.com/Unidata/awips2-core.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
|
||||
#if [ ! -d awips2-foss ]; then git clone https://github.com/Unidata/awips2-foss.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
|
||||
#if [ ! -d awips2-goesr ]; then git clone https://github.com/Unidata/awips2-goesr.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
|
||||
#if [ ! -d awips2-ncep ]; then git clone https://github.com/Unidata/awips2-ncep.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
|
||||
#if [ ! -d awips2-nws ]; then git clone https://github.com/Unidata/awips2-nws.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
|
||||
#if [ ! -d awips2-unidata ]; then git clone https://github.com/Unidata/awips2-unidata.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
|
||||
|
||||
#
|
||||
# AWIPS Static files are too large to host on github
|
||||
#
|
||||
if [ ! -d awips2-static && ! $rpmname = "buildCAVE" ]; then
|
||||
mkdir awips2-static
|
||||
cd awips2-static
|
||||
wget https://www.unidata.ucar.edu/downloads/awips2/static.tar
|
||||
tar -xvf static.tar
|
||||
rm -rf static.tar
|
||||
fi
|
||||
#
|
||||
# If RPM name is given
|
||||
#
|
||||
if [ ! -z "$rpmname" ]; then
|
||||
|
||||
frst="$(echo $rpmname | head -c 1)"
|
||||
if [[ "$frst" = "-" ]]; then
|
||||
# If first character is a dash, then a build group alias was given
|
||||
su - awips -c "/bin/bash $buildsh $rpmname"
|
||||
else
|
||||
su - awips -c "/bin/bash $buildsh -b $rpmname"
|
||||
fi
|
||||
|
||||
else
|
||||
|
||||
# If RPM name is not given build all groups in this order
|
||||
# yum localinstall /awips2/repo/awips2-builds/dist/18.2.1-ade/x86_64/awips2-hdf5* -y
|
||||
# yum localinstall /awips2/repo/awips2-builds/dist/18.2.1-ade/x86_64/awips2-netcdf* -y
|
||||
su - awips -c "/bin/bash $buildsh -ade"
|
||||
su - awips -c "/bin/bash $buildsh -python"
|
||||
su - awips -c "/bin/bash $buildsh -qpid"
|
||||
su - awips -c "/bin/bash $buildsh -server"
|
||||
su - awips -c "/bin/bash $buildsh -database"
|
||||
su - awips -c "/bin/bash $buildsh -edex"
|
||||
su - awips -c "/bin/bash $buildsh -cave"
|
||||
#su - awips -c "/bin/bash $buildsh -pypies"
|
||||
#su - awips -c "/bin/bash $buildsh -localization"
|
||||
|
||||
fi
|
||||
|
||||
# Move RPMs to awips2-builds/dist
|
||||
if [ "$(ls -A ${JENKINS_HOME}/build/rpms/awips2_latest/x86_64/)" ]; then
|
||||
mkdir -p /awips2/repo/awips2-builds/dist/${os_version}-dev/x86_64/
|
||||
mv ${JENKINS_HOME}/build/rpms/awips2_latest/x86_64/* /awips2/repo/awips2-builds/dist/${os_version}-dev/x86_64/
|
||||
fi
|
||||
if [ "$(ls -A ${JENKINS_HOME}/build/rpms/awips2_latest/noarch/)" ]; then
|
||||
mkdir -p /awips2/repo/awips2-builds/dist/${os_version}-dev/noarch/
|
||||
mv ${JENKINS_HOME}/build/rpms/awips2_latest/noarch/* /awips2/repo/awips2-builds/dist/${os_version}-dev/noarch/
|
||||
fi
|
||||
|
|
@ -1,75 +0,0 @@
|
|||
#!/bin/bash -v
|
||||
set -xe
|
||||
|
||||
# Determine where we are
|
||||
path_to_script=`readlink -f $0`
|
||||
dir=$(dirname $path_to_script)
|
||||
source ${dir}/buildEnvironment.sh
|
||||
|
||||
export _script_dir=${dir}
|
||||
echo "Running build.sh from ${_script_dir}"
|
||||
echo " JENKINS_WORKSPACE = ${JENKINS_WORKSPACE}"
|
||||
cd ${dir}
|
||||
|
||||
START_TIME=`date "+%s"`
|
||||
timestamp=`date +%Y_%m_%d_%H:%M:%S`
|
||||
|
||||
# Cleanup before building CAVE rpms
|
||||
if [[ ${2} = "buildCAVE" ]]; then
|
||||
rm -rf ${JENKINS_HOME}/buildspace/workspace/AWIPS2-UPC_build/baseline/
|
||||
rm -rf ${JENKINS_HOME}/buildspace/workspace/tmp/${USER}/
|
||||
fi
|
||||
|
||||
echo "BUILD_DIR = $BUILD_DIR"
|
||||
echo "BUILD_WORKSPACE = $BUILD_WORKSPACE"
|
||||
echo "BASELINE = $BASELINE"
|
||||
echo "WORKSPACE = $WORKSPACE"
|
||||
echo "AWIPSII_VERSION = $AWIPSII_VERSION"
|
||||
echo "AWIPSII_RELEASE = $AWIPSII_RELEASE"
|
||||
echo "AWIPSII_TOP_DIR = $AWIPSII_TOP_DIR"
|
||||
echo "UFRAME_ECLIPSE = $UFRAME_ECLIPSE"
|
||||
echo "AWIPSII_STATIC_FILES = $AWIPSII_STATIC_FILES"
|
||||
echo "AWIPSII_BUILD_ROOT = $AWIPSII_BUILD_ROOT"
|
||||
|
||||
# Prepare the rpm build directory structure
|
||||
mkdir -p ${AWIPSII_TOP_DIR}/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
|
||||
|
||||
pushd . > /dev/null 2>&1
|
||||
cd ${BASELINE}
|
||||
mkdir -p ${WORKSPACE}
|
||||
RSYNC_DIRS=`cat $dir/rsync.dirs`
|
||||
rsync -ruql --delete --exclude-from=${dir}/excludes ${RSYNC_DIRS} ${WORKSPACE}
|
||||
|
||||
popd > /dev/null 2>&1
|
||||
|
||||
# execute the build for the appropriate architecture
|
||||
_rpms_build_directory=${WORKSPACE}/rpms/build
|
||||
_architecture=`uname -i`
|
||||
_build_sh_directory=${_rpms_build_directory}/${_architecture}
|
||||
pushd . > /dev/null 2>&1
|
||||
|
||||
cd ${_build_sh_directory}
|
||||
cp -v ${dir}/buildEnvironment.sh .
|
||||
|
||||
/bin/bash ${_build_sh_directory}/build.sh ${1} ${2}
|
||||
|
||||
popd > /dev/null 2>&1
|
||||
|
||||
export rpm_end_dir="${AWIPSII_VERSION}-${AWIPSII_RELEASE}"
|
||||
|
||||
if [ "$(ls -A ${AWIPSII_TOP_DIR}/RPMS/x86_64/)" ]; then
|
||||
mv ${AWIPSII_TOP_DIR}/RPMS/x86_64/* ${JENKINS_HOME}/build/rpms/awips2_latest/x86_64/
|
||||
fi
|
||||
if [ "$(ls -A ${AWIPSII_TOP_DIR}/RPMS/noarch/)" ]; then
|
||||
mv ${AWIPSII_TOP_DIR}/RPMS/noarch/* ${JENKINS_HOME}/build/rpms/awips2_latest/noarch/
|
||||
fi
|
||||
|
||||
END_TIME=`date "+%s"`
|
||||
TIME_SPENT=$((END_TIME - START_TIME))
|
||||
TTI_HOURS=$((TIME_SPENT/3600))
|
||||
TTI_SECS=$((TIME_SPENT %3600)) #Remaining seconds
|
||||
TTI_MINS=$((TTI_SECS/60))
|
||||
TTI_SECS=$((TTI_SECS%60))
|
||||
echo "Total-time-Spent-In-The-Build-For $0 = $TTI_HOURS hours, $TTI_MINS minutes, $TTI_SECS seconds"
|
||||
|
||||
exit
|
|
@ -1,17 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>deploy.edex.awips2</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.python.pydev.PyDevBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.python.pydev.pythonNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?eclipse-pydev version="1.0"?><pydev_project>
|
||||
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
|
||||
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
|
||||
</pydev_project>
|
|
@ -1,12 +0,0 @@
|
|||
<project name="deploy.esb" default="main">
|
||||
<target name="main">
|
||||
<mkdir dir="${edex.root.directory}/bin" />
|
||||
|
||||
<!-- deploy setup.env -->
|
||||
<copy todir="${edex.root.directory}/bin"
|
||||
overwrite="${esb.overwrite}">
|
||||
<fileset file="${esb.directory}/bin/setup.env" />
|
||||
</copy>
|
||||
|
||||
</target>
|
||||
</project>
|
|
@ -1,113 +0,0 @@
|
|||
<project name="deploy.esb" default="main">
|
||||
<!-- <import file="deploy-web.xml" /> -->
|
||||
|
||||
<target name="main">
|
||||
<!-- on a developer machine, the following directories should
|
||||
already exist. -->
|
||||
<mkdir dir="${edex.root.directory}/lib" />
|
||||
<mkdir dir="${edex.root.directory}/bin" />
|
||||
<mkdir dir="${edex.root.directory}/conf" />
|
||||
|
||||
<antcall target="cleanup" />
|
||||
|
||||
<!-- Determine if any Work Assignments have been specified. -->
|
||||
<condition property="wa.enabled">
|
||||
<not><equals arg1="${wa.to.deploy}" arg2="" /></not>
|
||||
</condition>
|
||||
|
||||
<antcall target="deploy.esb" />
|
||||
<if>
|
||||
<equals arg1="${deploy.data}" arg2="true" />
|
||||
<then>
|
||||
<antcall target="deploy.esb-data" />
|
||||
</then>
|
||||
</if>
|
||||
|
||||
<for list="${wa.specific.deploy}" param="wa" delimiter="${path.separator}">
|
||||
<sequential>
|
||||
<basename property="wa.name" file="@{wa}" />
|
||||
<var name="wa.base.directory"
|
||||
value="${git.directory}/@{wa}/edex/deploy.edex-${wa.name}" />
|
||||
<if>
|
||||
<available file="${wa.base.directory}/esb"
|
||||
type="dir" />
|
||||
<then>
|
||||
<copy todir="${edex.root.directory}"
|
||||
overwrite="${esb.overwrite}" failonerror="true">
|
||||
<fileset dir="${wa.base.directory}/esb"/>
|
||||
</copy>
|
||||
</then>
|
||||
</if>
|
||||
</sequential>
|
||||
</for>
|
||||
</target>
|
||||
|
||||
<target name="cleanup">
|
||||
<!-- delete all files under ${esbDir}/lib/ -->
|
||||
<echo message="Cleaning target directory: ${edex.root.directory}/lib/" />
|
||||
<delete includeemptydirs="true">
|
||||
<fileset dir="${edex.root.directory}/lib/">
|
||||
<exclude name="native/**" />
|
||||
</fileset>
|
||||
</delete>
|
||||
|
||||
<!-- delete the shell scripts from ${esbDir}/bin/ -->
|
||||
<echo message="Cleaning target directory: ${edex.root.directory}/bin/" />
|
||||
<delete includeemptydirs="true">
|
||||
<fileset dir="${edex.root.directory}/bin/">
|
||||
<include name="*.sh"/>
|
||||
<include name="yajsw/**" />
|
||||
</fileset>
|
||||
</delete>
|
||||
|
||||
<echo message="Cleaning target directory: ${edex.root.directory}/conf" />
|
||||
<delete>
|
||||
<fileset dir="${edex.root.directory}/conf">
|
||||
<exclude name="**/site/**"/>
|
||||
<exclude name="**/auth/**"/>
|
||||
</fileset>
|
||||
</delete>
|
||||
</target>
|
||||
|
||||
<target name="deploy.esb">
|
||||
<copy todir="${edex.root.directory}"
|
||||
overwrite="${esb.overwrite}">
|
||||
<fileset dir="${esb.directory}">
|
||||
<exclude name="data/**" />
|
||||
<exclude name="svcBackup/**" />
|
||||
<exclude name="**/bin/setup.env" />
|
||||
<exclude name="**/bin/linux-x86-32/**" />
|
||||
<exclude name="**/bin/linux-x86-64/**" />
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<!-- set executable permissions - start.sh. -->
|
||||
<chmod file="${edex.root.directory}/bin/start.sh" perm="ugo+rx" />
|
||||
|
||||
<!-- set executable permissions - private keys -->
|
||||
<chmod file="${edex.root.directory}/conf/db/auth/*.key" perm="go-rwx" />
|
||||
<chmod file="${edex.root.directory}/conf/db/auth/*.pk8" perm="go-rwx" />
|
||||
</target>
|
||||
|
||||
<target name="deploy.esb-data">
|
||||
<copy todir="${edex.root.directory}"
|
||||
overwrite="${esb.overwrite}">
|
||||
<fileset dir="${esb.directory}" includes="data/**" />
|
||||
</copy>
|
||||
|
||||
<!-- update directory permissions. -->
|
||||
<exec executable="chmod">
|
||||
<arg value="-R"/>
|
||||
<arg value="775"/>
|
||||
<arg value="${edex.root.directory}/data"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<path id="ant.contrib.path">
|
||||
<fileset dir="/awips2/ant/lib/">
|
||||
<include name="ant-contrib-*.jar" />
|
||||
</fileset>
|
||||
</path>
|
||||
<taskdef resource="net/sf/antcontrib/antlib.xml"
|
||||
classpathref="ant.contrib.path" />
|
||||
</project>
|
|
@ -1,36 +0,0 @@
|
|||
#!/bin/bash
|
||||
##
|
||||
# This software was developed and / or modified by Raytheon Company,
|
||||
# pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
||||
#
|
||||
# U.S. EXPORT CONTROLLED TECHNICAL DATA
|
||||
# This software product contains export-restricted data whose
|
||||
# export/transfer/disclosure is restricted by U.S. law. Dissemination
|
||||
# to non-U.S. persons whether in the United States or abroad requires
|
||||
# an export license or other authorization.
|
||||
#
|
||||
# Contractor Name: Raytheon Company
|
||||
# Contractor Address: 6825 Pine Street, Suite 340
|
||||
# Mail Stop B8
|
||||
# Omaha, NE 68106
|
||||
# 402.291.0100
|
||||
#
|
||||
# See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
||||
# further licensing information.
|
||||
##
|
||||
# resolve/set local variables
|
||||
path_to_script=`readlink -f $0`
|
||||
dir=$(dirname $path_to_script)
|
||||
dir=$(dirname $dir)
|
||||
awips_home=$(dirname $dir)
|
||||
|
||||
rpm -q awips2-java > /dev/null 2>&1
|
||||
RC=$?
|
||||
if [ ${RC} -ne 0 ]; then
|
||||
echo "ERROR: awips2-java Must Be Installed."
|
||||
echo "Unable To Continue ... Terminating."
|
||||
fi
|
||||
|
||||
JAVA_INSTALL=`rpm -q --queryformat '%{INSTPREFIXES}' awips2-java`
|
||||
|
||||
${JAVA_INSTALL}/bin/java -classpath $awips_home/edex/lib/plugins/plugin-warning.jar:$awips_home/edex/lib/dependencies/org.geotools/jts-1.9.jar com.raytheon.edex.plugin.warning.tools.DamInfoTranslator $@
|
|
@ -1,10 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This starts the desired script passing the script name and arguments as a
|
||||
# single string ("$@"). It then sends stdout/stderr to the bit bucket
|
||||
# (>&/dev/null).
|
||||
# The stdin for the script is also the bit bucket (</dev/null) so if used it
|
||||
# immediately indicates end of file. Finally the script is set to run in the
|
||||
# background (&) so the launcher returns without waiting for the script to
|
||||
# return.
|
||||
exec "$@" >&/dev/null </dev/null &
|
|
@ -1,85 +0,0 @@
|
|||
### EDEX localization related variables ###
|
||||
export AW_SITE_IDENTIFIER=OAX
|
||||
## Cluster id can be set to the cluster's id (example:tbw for dv1-tbwo)
|
||||
## it will be autogenerated if not set
|
||||
export EXT_ADDR=external.fqdn
|
||||
|
||||
export CLUSTER_ID=
|
||||
|
||||
# database names
|
||||
export DC_DB_NAME=dc_ob7oax
|
||||
export FXA_DB_NAME=fxatext
|
||||
export HM_DB_NAME=hmdb
|
||||
export IH_DB_NAME=hd_ob92oax
|
||||
export CLIMATE_DB_NAME=climate
|
||||
|
||||
# Resolve conflict on AFOS PILs by finding site with first letter in the following order.
|
||||
export PREFERRED_AFOS_FIRST_LETTER="KCPTXM"
|
||||
### end of localization variables ###
|
||||
|
||||
# setup environment for HPE
|
||||
export DATA_ARCHIVE_ROOT=/tmp/sbn
|
||||
|
||||
# setup db connections
|
||||
export DB_HOST=localhost
|
||||
export DB_PORT=5432
|
||||
export DB_SSLMODE=verify-ca
|
||||
|
||||
# setup connection to qpid
|
||||
export BROKER_HOST=localhost
|
||||
export BROKER_PORT=5672
|
||||
export BROKER_HTTP=8180
|
||||
|
||||
# setup ignite
|
||||
#export DATASTORE_PROVIDER=${DATASTORE_PROVIDER:-ignite}
|
||||
export DATASTORE_PROVIDER=pypies
|
||||
# Server that redirects PYPIES http requests to ignite
|
||||
export PYPIES_COMPATIBILITY_HOST=localhost
|
||||
export PYPIES_COMPATIBILITY_PORT=9586
|
||||
export PYPIES_COMPATIBILITY_SERVER=http://${PYPIES_COMPATIBILITY_HOST}:${PYPIES_COMPATIBILITY_PORT}
|
||||
# The following two values are comma-delimited lists of the machines that are
|
||||
# hosting each of the ignite cluster's servers (example: cache1,cache2,cache3
|
||||
# and cache4,cache5,cache6). Leaving the second value blank indicates that only
|
||||
# one cluster is being used. These values should be the same on all machines.
|
||||
export IGNITE_CLUSTER_1_SERVERS=localhost
|
||||
export IGNITE_CLUSTER_2_SERVERS=
|
||||
# The address that other ignite nodes should use to communicate with this ignite client
|
||||
export LOCAL_ADDRESS=127.0.0.1
|
||||
export IGNITE_SSL_CERT_DB=/awips2/edex/conf/ignite/auth
|
||||
|
||||
# setup hdf5 connection
|
||||
export PYPIES_HOST=${EXT_ADDR}
|
||||
export PYPIES_PORT=9582
|
||||
export PYPIES_SERVER=http://${PYPIES_HOST}:${PYPIES_PORT}
|
||||
|
||||
# moved here from environment.xml
|
||||
# these values are returned to clients that contact the localization service
|
||||
export HTTP_HOST=${EXT_ADDR}
|
||||
export HTTP_PORT=9581
|
||||
export HTTP_SERVER_PATH=services
|
||||
export HTTP_SERVER=http://${HTTP_HOST}:${HTTP_PORT}/${HTTP_SERVER_PATH}
|
||||
export JMS_SERVER=${BROKER_HOST}:${BROKER_PORT}
|
||||
export JMS_VIRTUALHOST=edex
|
||||
export JMS_SSL_ENABLED=true
|
||||
export QPID_SSL_CERT_DB=/awips2/edex/conf/jms/auth
|
||||
export QPID_SSL_CERT_NAME=guest
|
||||
export RADAR_HOST=localhost
|
||||
export RADAR_PORT=8813
|
||||
export RADAR_SERVER=tcp://${RADAR_HOST}:${RADAR_PORT}
|
||||
|
||||
# set the AWIPS II shared directory
|
||||
export SHARE_DIR=/awips2/edex/data/share
|
||||
|
||||
# set the AWIPS II temporary directory
|
||||
export TEMP_DIR=/awips2/edex/data/tmp
|
||||
|
||||
# set hydroapps directory path
|
||||
export apps_dir=${SHARE_DIR}/hydroapps
|
||||
|
||||
# site identifier for hydroapps
|
||||
export SITE_IDENTIFIER=${AW_SITE_IDENTIFIER}
|
||||
|
||||
# set Fax environment variables pointing to ldad@ls1
|
||||
export LDAD_EXTERNAL_HOME=/ldad
|
||||
export LDAD_EXTERNAL_PUBLIC=/data/ldad/public
|
||||
export AWIPS2_TEMP=/awips2/tmp
|
|
@ -1,203 +0,0 @@
|
|||
#!/bin/bash
|
||||
##
|
||||
# This software was developed and / or modified by Raytheon Company,
|
||||
# pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
||||
#
|
||||
# U.S. EXPORT CONTROLLED TECHNICAL DATA
|
||||
# This software product contains export-restricted data whose
|
||||
# export/transfer/disclosure is restricted by U.S. law. Dissemination
|
||||
# to non-U.S. persons whether in the United States or abroad requires
|
||||
# an export license or other authorization.
|
||||
#
|
||||
# Contractor Name: Raytheon Company
|
||||
# Contractor Address: 6825 Pine Street, Suite 340
|
||||
# Mail Stop B8
|
||||
# Omaha, NE 68106
|
||||
# 402.291.0100
|
||||
#
|
||||
# See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
||||
# further licensing information.
|
||||
##
|
||||
#
|
||||
# SOFTWARE HISTORY
|
||||
#
|
||||
# Date Ticket# Engineer Description
|
||||
# ------------- -------- --------- --------------------------------------------
|
||||
# Jul 03, 2019 7875 randerso Changed to get EDEX version from
|
||||
# awips2-version.rpm
|
||||
##
|
||||
# edex startup script
|
||||
|
||||
if [ -z "${SKIP_RPM_CHECK}" ]; then
|
||||
# Verify that awips2-python and awips2-java are installed.
|
||||
rpm -q awips2-python > /dev/null 2>&1
|
||||
RC=$?
|
||||
if [ ${RC} -ne 0 ]; then
|
||||
echo "ERROR: awips2-python Must Be Installed."
|
||||
echo "Unable To Continue ... Terminating."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rpm -q awips2-java > /dev/null 2>&1
|
||||
RC=$?
|
||||
if [ ${RC} -ne 0 ]; then
|
||||
echo "ERROR: awips2-java Must Be Installed."
|
||||
echo "Unable To Continue ... Terminating."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rpm -q awips2-psql > /dev/null 2>&1
|
||||
RC=$?
|
||||
if [ ${RC} -ne 0 ]; then
|
||||
echo "ERROR: awips2-psql Must Be Installed."
|
||||
echo "Unable To Continue ... Terminating."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rpm -q awips2-yajsw > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "ERROR: awips2-yajsw Must Be Installed."
|
||||
echo "Unable To Continue ... Terminating."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
path_to_script=`readlink -f $0`
|
||||
dir=$(dirname $path_to_script)
|
||||
|
||||
export EDEX_HOME=$(dirname $dir)
|
||||
awips_home=$(dirname $EDEX_HOME)
|
||||
|
||||
# Find the locations of awips2-python and awips2-java.
|
||||
# only set if the location has not already been exported
|
||||
if [ -z "$PYTHON_INSTALL" ]; then PYTHON_INSTALL="$awips_home/python"; fi
|
||||
if [ -z "$JAVA_INSTALL" ]; then JAVA_INSTALL="$awips_home/java"; fi
|
||||
if [ -z "$PSQL_INSTALL" ]; then PSQL_INSTALL="$awips_home/psql"; fi
|
||||
if [ -z "$YAJSW_HOME" ]; then YAJSW_HOME="$awips_home/yajsw"; fi
|
||||
|
||||
# Find the edex version
|
||||
version=`rpm -q awips2-version --qf %{VERSION}`
|
||||
RC=$?
|
||||
if [ ${RC} -ne 0 ]; then
|
||||
version="Undefined"
|
||||
fi
|
||||
export EDEX_VERSION=$version
|
||||
|
||||
# Source The File With The Localization Information
|
||||
source ${dir}/setup.env
|
||||
|
||||
#source /awips2/edex/bin/yajsw/bin/setenv.sh
|
||||
|
||||
### AWIPS 1 support ###
|
||||
if [ -f /etc/rc.config.d/AWIPS ]; then
|
||||
. /etc/rc.config.d/AWIPS
|
||||
fi
|
||||
export SHLIB_PATH=$PROJECT/sharedlib
|
||||
### End AWIPS 1 support ###
|
||||
|
||||
export HOSTNAME=`hostname`
|
||||
export SHORT_HOSTNAME=`hostname -s`
|
||||
|
||||
# set Python & Java into the path
|
||||
export PATH=$awips_home/bin:${JAVA_INSTALL}/bin:${PYTHON_INSTALL}/bin:$PATH
|
||||
|
||||
# set Service Backup scripts into the path
|
||||
export PATH=$PATH:$awips_home/GFESuite/bin:$awips_home/GFESuite/ServiceBackup/scripts
|
||||
|
||||
# set AWIPS 1 stuff into path
|
||||
export PATH=$PATH:$PROJECT/bin
|
||||
|
||||
export JAVA_HOME="${JAVA_INSTALL}"
|
||||
export LD_LIBRARY_PATH=$EDEX_HOME/lib/native/linux32/awips1:${JAVA_INSTALL}/lib:${PYTHON_INSTALL}/lib:${PYTHON_INSTALL}/lib/python3.6/site-packages/jep:${PSQL_INSTALL}/lib:$PROJECT/sharedLib:$LD_LIBRARY_PATH
|
||||
|
||||
export FXA_DATA=$EDEX_HOME/data/fxa
|
||||
export ALLOW_ARCHIVE_DATA="false"
|
||||
|
||||
# setup environment for HPE
|
||||
export AMQP_SPEC=$awips_home/python/share/amqp/amqp.0-10.xml
|
||||
|
||||
|
||||
# get total memory on system in bytes
|
||||
MEM_IN_MEG=( `free -m | grep "Mem:"` )
|
||||
export MEM_IN_MEG=${MEM_IN_MEG[1]}
|
||||
HIGH_MEM=off
|
||||
|
||||
if [ $MEM_IN_MEG -gt 12288 ]; then
|
||||
HIGH_MEM=on
|
||||
fi
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#read and interpret the command line arguments
|
||||
#-------------------------------------------------------------------------
|
||||
CONSOLE_FLAG=on
|
||||
CONSOLE_LOGLEVEL=DEBUG
|
||||
DEBUG_FLAG=off
|
||||
PROFILE_FLAG=off
|
||||
CONF_FILE="wrapper.conf"
|
||||
RUN_MODE=
|
||||
LOG_APPENDERS_CONFIG="logback-edex-appenders-developer.xml"
|
||||
EDEX_WRAPPER_LOGFILE_FORMAT=M
|
||||
|
||||
for arg in $@
|
||||
do
|
||||
case $arg in
|
||||
-b|-d|-debug|-db|-bd) DEBUG_FLAG=on;;
|
||||
-p|-profiler) PROFILE_FLAG=on;;
|
||||
-h|-highmem) HIGH_MEM=on;;
|
||||
-noHighmem) HIGH_MEM=off;;
|
||||
-noConsole) CONSOLE_FLAG=off;;
|
||||
*) RUN_MODE=$arg;;
|
||||
esac
|
||||
done
|
||||
|
||||
export EDEX_RUN_MODE=$RUN_MODE
|
||||
EDEX_WRAPPER_LOGFILE=${EDEX_HOME}/logs/edex-${EDEX_RUN_MODE}-YYYYMMDD.log
|
||||
|
||||
if [ $CONSOLE_FLAG == "off" ]; then
|
||||
CONSOLE_LOGLEVEL=NONE
|
||||
LOG_APPENDERS_CONFIG="logback-edex-appenders.xml"
|
||||
EDEX_WRAPPER_LOGFILE=${EDEX_HOME}/logs/edex-${EDEX_RUN_MODE}-wrapper-YYYYMMDD.log
|
||||
EDEX_WRAPPER_LOGFILE_FORMAT=LTM
|
||||
fi
|
||||
|
||||
export CONSOLE_LOGLEVEL
|
||||
export LOG_APPENDERS_CONFIG
|
||||
export EDEX_WRAPPER_LOGFILE
|
||||
export EDEX_WRAPPER_LOGFILE_FORMAT
|
||||
|
||||
|
||||
# source environment files
|
||||
. $EDEX_HOME/etc/default.sh
|
||||
|
||||
if [ -e $EDEX_HOME/etc/${RUN_MODE}.sh ]; then
|
||||
. $EDEX_HOME/etc/${RUN_MODE}.sh
|
||||
else
|
||||
export DATASTORE_PROVIDER=pypies
|
||||
fi
|
||||
|
||||
if [ $PROFILE_FLAG == "on" ]; then
|
||||
. $EDEX_HOME/etc/profiler.sh
|
||||
fi
|
||||
|
||||
# enable core dumps
|
||||
#ulimit -c unlimited
|
||||
|
||||
if [ $DEBUG_FLAG == "off" ]; then
|
||||
export EDEX_DEBUG_PORT=-1
|
||||
else
|
||||
echo "To Debug ... Connect to Port: ${EDEX_DEBUG_PORT}."
|
||||
fi
|
||||
|
||||
#create tmp dir
|
||||
mkdir -p ${AWIPS2_TEMP}
|
||||
|
||||
RC=$?
|
||||
if [ ${RC} -ne 0 ]; then
|
||||
echo "ERROR: Failed to create temp directory ${AWIPS2_TEMP}."
|
||||
echo "Unable To Continue ... Terminating."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
YAJSW_JVM_ARGS="-Xmx32m -Djava.io.tmpdir=${AWIPS2_TEMP}"
|
||||
|
||||
java ${YAJSW_JVM_ARGS} -jar ${YAJSW_HOME}/wrapper.jar -c ${EDEX_HOME}/conf/${CONF_FILE}
|
|
@ -1,9 +0,0 @@
|
|||
**************************************************
|
||||
* Unidata AWIPS EDEX ESB Platform *
|
||||
* Version: 20.3.2-2 *
|
||||
* UCAR NSF Unidata Program Center *
|
||||
*------------------------------------------------*
|
||||
* NON-OPERATIONAL *
|
||||
* *
|
||||
* *
|
||||
**************************************************
|
|
@ -1,51 +0,0 @@
|
|||
<ehcache>
|
||||
<diskStore path="java.io.tmpdir"/>
|
||||
<defaultCache
|
||||
maxElementsInMemory="1000"
|
||||
maxElementsOnDisk="1"
|
||||
eternal="false"
|
||||
overflowToDisk="false"
|
||||
timeToIdleSeconds="120"
|
||||
timeToLiveSeconds="120"
|
||||
diskPersistent="false"
|
||||
memoryStoreEvictionPolicy="LRU"
|
||||
/>
|
||||
|
||||
<cache
|
||||
name="org.hibernate.cache.UpdateTimestampsCache"
|
||||
maxElementsInMemory="1000"
|
||||
maxElementsOnDisk="1"
|
||||
eternal="false"
|
||||
overflowToDisk="false"
|
||||
timeToIdleSeconds="180"
|
||||
timeToLiveSeconds="180"
|
||||
diskPersistent="false"
|
||||
memoryStoreEvictionPolicy="LRU"
|
||||
/>
|
||||
|
||||
<cache
|
||||
name="org.hibernate.cache.StandardQueryCache"
|
||||
maxElementsInMemory="1000"
|
||||
maxElementsOnDisk="1"
|
||||
eternal="false"
|
||||
overflowToDisk="false"
|
||||
timeToIdleSeconds="120"
|
||||
timeToLiveSeconds="120"
|
||||
diskPersistent="false"
|
||||
memoryStoreEvictionPolicy="LRU"
|
||||
/>
|
||||
|
||||
<cache
|
||||
name="registryObjects"
|
||||
maxElementsInMemory="5000"
|
||||
maxElementsOnDisk="1"
|
||||
eternal="false"
|
||||
overflowToDisk="false"
|
||||
timeToIdleSeconds="120"
|
||||
timeToLiveSeconds="120"
|
||||
diskPersistent="false"
|
||||
memoryStoreEvictionPolicy="LRU"
|
||||
/>
|
||||
|
||||
|
||||
</ehcache>
|
|
@ -1,18 +0,0 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIC4TCCAckCCQDkIgVweT7S2DANBgkqhkiG9w0BAQUFADAzMQ4wDAYDVQQKDAVB
|
||||
V0lQUzEQMA4GA1UECwwHVGVzdGluZzEPMA0GA1UEAwwGY2Fyb290MB4XDTE2MTEy
|
||||
MDAwMjc0NVoXDTQ2MTExMzAwMjc0NVowMjEOMAwGA1UECgwFQVdJUFMxEDAOBgNV
|
||||
BAsMB1Rlc3RpbmcxDjAMBgNVBAMMBWF3aXBzMIIBIjANBgkqhkiG9w0BAQEFAAOC
|
||||
AQ8AMIIBCgKCAQEAl9naOtsCbY+sKcnecmQyOGxrdQEmuHcytRWPYgSs6mA2GL1z
|
||||
fGAeTFIfO/44XlNjbPU44PeXuXf+PjPfUU+y4wHQjIXbGJjfbghT4cGT+NInBtXz
|
||||
c+8wb+QuJftEd7qNPGZ+ljcexXTHvCWtjFQL2as7UpScbUyx25g400VOdyxHn0Ki
|
||||
D2j+JXmAjg7Zwh8AbMx+vcxEL5hfPgut//ginKpLqDGFi35PtXb3SIcuYjyh8bsZ
|
||||
NsyG2dYSehQZn4gFKfmMpGG8Z5Jt/XCPEuzzRG8GTIcurK62CJ8utD4R13PP4gYj
|
||||
mr6pXawxNVR4+KE3rv64nWvGlax99ZpmZQkbPwIDAQABMA0GCSqGSIb3DQEBBQUA
|
||||
A4IBAQ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+xLIcgjsI+OKhfCKHlTXP43h3evWuT9rtd55hdb5cNsFIXgM
|
||||
yz3VoAaOTrExQJeG0WWu8jQ=
|
||||
-----END PRIVATE KEY-----
|
Binary file not shown.
|
@ -1,18 +0,0 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIC5jCCAc4CCQDkIgVweT7S2TANBgkqhkiG9w0BAQUFADAzMQ4wDAYDVQQKDAVB
|
||||
V0lQUzEQMA4GA1UECwwHVGVzdGluZzEPMA0GA1UEAwwGY2Fyb290MB4XDTE2MTEy
|
||||
MDAwMjc0NVoXDTQ2MTExMzAwMjc0NVowNzEOMAwGA1UECgwFQVdJUFMxEDAOBgNV
|
||||
BAsMB1Rlc3RpbmcxEzARBgNVBAMMCmF3aXBzYWRtaW4wggEiMA0GCSqGSIb3DQEB
|
||||
AQUAA4IBDwAwggEKAoIBAQC/B/FeWAXDnqlew3ph8YqHDh6Cfo+xsHQ6noNIoQym
|
||||
7yatxR+98wOVTp/uNoTeMMPxus2SbyRkjgsD5kZh1I0dD11MaTvTYdpY9+wcFMKk
|
||||
OPrS0pwZs6oXec1vbdkO8BDoLsTg/Uy9LSzYo+pcjzcRUWy55LGqj8YAuPshLEOc
|
||||
pdRptTe/7uu/DuWP8PyR6H0LLkGyQTOStkuUjODJdNOihp57U8ZW+mC7DaHY753G
|
||||
l6f5Gn6fxnIJZoW4uhrqxPe/0F2dGZKcS6+zjNP2E9q0elwPvhvUFYpCsJlpMEVj
|
||||
ftH3aBUqUAv4SolxscWXq7flSnMrqFhDiS4xg/kmX+0bAgMBAAEwDQYJKoZIhvcN
|
||||
AQEFBQADggEBAKOVQ/5Av9dcocOIE6EhdELb7r30VYat1J/t52bTEwywegZA+40s
|
||||
E3V/OJmahWor2GEztJxX4kmZtUjuIXpVTe1SvLbJalRa4b3OCQT8nKomu1QfOuZq
|
||||
P5BQZCRUqFHd66BxXrDdvmklYPxyFQPJbm24QZyUG/ZscddB75P8gOxeIvEELbsn
|
||||
AMPe7zG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YEA/jjvyb8iZ3Pq4Syv
|
||||
xDNBRwxWyyJP2aqJCT3MT9QZUz+CY4t63NjVDnqGDxMuYuZxVOUZzeME3kVBg2fL
|
||||
nmagARpXDU/dDC2BSWybzEqZeZJmuVSuX6np9S7C0NhNqQncM+Y4GbLBDrk/DgEx
|
||||
diKDDUSygg4FMLa2ymIrBLDkwe8CgYEAwF3kbfpQtLJfFWEwYKqBUjrzLwiLdIEW
|
||||
WSjwq1LhKsNO5Q5YaJMbTVnSTTFjGLZRz1eZIdCsxEaM8i7BmnDfZJ2NaqPlTbpR
|
||||
UxI2R00O55BqF/kM3ZASwpW2t0dp/tAogjPp+fiDRdFjJJ6HJNVLX7cSiGjcqDOg
|
||||
OzMd88Cew5UCgYEA3B0gQWYku746GE1Awng+hO3CGI/U43osvLutM1FJvDK5Csex
|
||||
0ZZMowSjHlpVR3yPlBnphcKSbIE6gDRWsQfachoEVZpYojqkPpazLudIi2KfXshb
|
||||
Uqkj0Q5zz6/5TesjpiwnVtjXH5B1cALIeKjZH5vjk4fgJpWNHx5wcNdYujECgYBi
|
||||
0Jhjyh6lA6+GKvuP3GY72F5NPcVtHlZdjIM8boGN1u/zB9BwP4jZzhcSYhk2e4lA
|
||||
yg22ahwlYtxKF6yJ6gtHAwu+yNwkdl4KHyPUsofCedOV5vAt7DFG1WMbeMrBAyqb
|
||||
35EEQB0mwy17hReE2zAxxbf2bG9U09guMM7lBIBJlQKBgEUU42lcYjbPHQN6xA74
|
||||
/BFVn5/0ek8ArnW176ZIv28VBF2WynJCdUa7TErNFktnlqDBFPzDOeCwsj++A3mD
|
||||
HJcnmgFbEmtlReZQ3Ewg0Sd7T5zZ99X8kIvYSdxweEcwYJ36O1mpFw70QjBrFi8X
|
||||
iXlnuysfmVzSrdSrbVbwqms8
|
||||
-----END PRIVATE KEY-----
|
Binary file not shown.
|
@ -1,18 +0,0 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIC4jCCAcoCCQDkIgVweT7S2jANBgkq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RUIvAZy5SozE2z4xhz3Ic491f
|
||||
SRgPUjm52r4D+UK6Nzd+6OVzCjbC1TODIldVIKXCF5DaYujT6P6iV97yjU/pbeAb
|
||||
1c75XiWrN9eN2/cwJka1k7Pv4KSQS47v7Bkbq2/gnj0lZ69ql+RATjATBGAvGE47
|
||||
ON2jr8EmWwKBgB4BqMoR3t7jGD3SXS6nFCnw5DEmjIB1+HWpG7VLzjjvs3WerO+I
|
||||
Ov2ClbsY3k4oBixOKeuwglOHKCSqLmmUFR6lSbIzyeNgdSajg10Az5X2WKVcyNQf
|
||||
oGGbWX//EIqMpV/Yzbn2lfYJj1mVCw/aeycPERKc6rqxDWD+BNzSkPixAoGBAI2t
|
||||
pekjO+NBJJNgHdjcEltTG3G9HA0AW33TSPHeO+GdOWRoIHEsb3pgHq6U04BrPbhs
|
||||
4fXr/DfP85i0hbkyyCM2mKw+GoDOvCRBtl4INGDO30yZ+NPuaZXDunI5ySRbMjBx
|
||||
cmkoDlAo92zN79v+AVJvNzOTiHfoReiRgPDkEPwxAoGACJph8BXBhx7h//Bd1i/U
|
||||
hScM/QVd952F06s0oW/Rel4H8wTUD7RkXd/+L65maDIJWmymJImIf6zPNsFogyn2
|
||||
XmjZ9g9maExhdRFCPsqegYzIYwBnnkQ5L+JTEEcMJ5t5H0CPB2PgE46LPY2U0ABT
|
||||
QjMn0X1tXroqCrgWi7E5nuQ=
|
||||
-----END PRIVATE KEY-----
|
Binary file not shown.
|
@ -1,18 +0,0 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIC5DCCAcwCCQDkIgVweT7S2zANBgkqhkiG9w0BAQUFADAzMQ4wDAYDVQQKDAVB
|
||||
V0lQUzEQMA4GA1UECwwHVGVzdGluZzEPMA0GA1UEAwwGY2Fyb290MB4XDTE2MTEy
|
||||
MDAwMjc0NVoXDTQ2MTExMzAwMjc0NVowNTEOMAwGA1UECgwFQVdJUFMxEDAOBgNV
|
||||
BAsMB1Rlc3RpbmcxETAPBgNVBAMM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J6eRGfDiOIS/auQ0zcfrGFv4//I5+Sa+5dQNe0me
|
||||
pyAKaYTzrZWKrSsZbjxs1nHd+0ahIzgwWGb3UDY9MNMtP9/EvhRZkxgjeTnVZD8X
|
||||
aOLiwCIBALoGayId5wbXjyUIRzelPQPCXAADQcewlnlvbLadTXVCA3rP7TvNyx0W
|
||||
blpluNBg0o6sjlo2bzInBswHsFHUOZPcJT6pLhGRC52eNwIDAQABo1AwTjAdBgNV
|
||||
HQ4EFgQUjRTZ3Toe0L+XZodTnOTtpR39eJUwHwYDVR0jBBgwFoAUjRTZ3Toe0L+X
|
||||
ZodTnOTtpR39eJUwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAuvXD
|
||||
Hm5cJxtP3phZYAOdrSxJkJg/gMmRBLsS2GksPks07pelSxPySRjVZCJSDd8zbSc5
|
||||
DGdFBMI0Xdk7+V5KxP6ATfyc37GoxGG7ygbUjLvmlzsg2i+a0wIDjILyzisicA0q
|
||||
DyCLZGxNahFUrhci0mpKAr/RaGr4Hx4R+JMItP3sxysVbIhc4wdm4mRTA3n8Eru3
|
||||
hcPpLQlqLheVuCIECxMG+eVKVevZWN0gqiEA7C+pByMxASqeHc6SRCXHx8/GJPmw
|
||||
ocaHpJ7Iib2kMLeBT24R+RNHEpPknf/PkgwvM0BLPqlk8cNqAR7TZ/OtX1ffmPbv
|
||||
t+nP8jegKGo4lVr3Fg==
|
||||
-----END CERTIFICATE-----
|
|
@ -1,70 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQLDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${climate.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awipsadmin</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awipsadmin.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awipsadmin.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">5</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,70 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQLDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${climate.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awips</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awips.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awips.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">10</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,88 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQL95Dialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${dc.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awipsadmin</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awipsadmin.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awipsadmin.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">5</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,88 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQL95Dialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${dc.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awips</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awips.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awips.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">10</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849)-->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,88 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQL95Dialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${fxa.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awipsadmin</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awipsadmin.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awipsadmin.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">5</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,88 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQL95Dialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${fxa.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awips</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awips.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awips.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">25</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,88 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQL95Dialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${hm.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awipsadmin</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awipsadmin.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awipsadmin.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">5</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,88 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQL95Dialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${hm.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awips</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awips.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awips.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">10</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,88 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQL95Dialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${ih.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awipsadmin</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awipsadmin.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awipsadmin.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">5</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,88 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQL95Dialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${ih.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awips</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awips.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awips.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">10</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,88 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.spatial.dialect.postgis.PostgisPG95Dialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/maps
|
||||
</property>
|
||||
<property name="connection.username">awipsadmin</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awipsadmin.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awipsadmin.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">5</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,88 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.spatial.dialect.postgis.PostgisPG95Dialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/maps
|
||||
</property>
|
||||
<property name="connection.username">awips</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awips.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awips.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">20</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">20</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,87 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.spatial.dialect.postgis.PostgisPG95Dialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/metadata
|
||||
</property>
|
||||
<property name="connection.username">awipsadmin</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awipsadmin.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awipsadmin.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">after_transaction</property>
|
||||
<property name="jdbc.batch_size">100</property>
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">5</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</property>
|
||||
<property name="hibernate.c3p0.timeout">${db.metadata.pool.timeout}</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<property name="hibernate.generate_statistics">false</property>
|
||||
<property name="hibernate.transaction.coordinator_class">jdbc</property>
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.jdbc.use_streams_for_binary">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
<!-- TODO: This is a band-aid that is necessary to start edex in
|
||||
registry mode as of Hibernate 5.2. JPA spec does not allow flushing
|
||||
updates outside of a transaction boundary. Figure out why we need
|
||||
this -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,90 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.spatial.dialect.postgis.PostgisPG95Dialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/metadata
|
||||
</property>
|
||||
<property name="connection.username">awips</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awips.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awips.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">100</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.min_size">1</property>
|
||||
<property name="hibernate.c3p0.max_size">${db.metadata.pool.max}</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</property>
|
||||
<property name="hibernate.c3p0.timeout">${db.metadata.pool.timeout}</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
<property name="hibernate.generate_statistics">false</property>
|
||||
<property name="hibernate.transaction.coordinator_class">jdbc</property>
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.jdbc.use_streams_for_binary">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">16</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">32</property>
|
||||
|
||||
<!-- TODO: This is a band-aid that is necessary to start edex in
|
||||
registry mode as of Hibernate 5.2. JPA spec does not allow flushing
|
||||
updates outside of a transaction boundary. Figure out why we need
|
||||
this -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,88 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQL95Dialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/ncep
|
||||
</property>
|
||||
<property name="connection.username">awipsadmin</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awipsadmin.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awipsadmin.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">5</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,88 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQL95Dialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/ncep
|
||||
</property>
|
||||
<property name="connection.username">awips</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awips.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awips.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">10</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,10 +0,0 @@
|
|||
root.crt is the root CA certificate used to sign client and server certificates
|
||||
used with Ignite.
|
||||
|
||||
guest.crt and guest.key are the client certificate and private key.
|
||||
|
||||
passwords.properties contains the passwords for the keystore and truststore,
|
||||
this file is read by EDEX on startup.
|
||||
|
||||
The baseline versions of these files are for testing purposes only and NOT to
|
||||
be used in an operational environment!
|
|
@ -1,28 +0,0 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIE2zCCAsMCAhI0MA0GCSqGSIb3DQEBCwUAMDMxDjAMBgNVBAoMBUFXSVBTMRAw
|
||||
DgYDVQQLDAdUZXN0aW5nMQ8wDQYDVQQDDAZjYXJvb3QwHhcNMjAxMTEzMTU0ODUz
|
||||
WhcNMzAxMTExMTU0ODUzWjAzMQ4wDAYDVQQKDAVBV0lQUzEQMA4GA1UECwwHVGVz
|
||||
dGluZzEPMA0GA1UEAwwGY2xpZW50MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC
|
||||
CgKCAgEAuoEEn9bpvCC5Tf6QtTDSiSvdtQyQNv8LGpg8cdqpIITEclaC45KB2vtZ
|
||||
MaYECIs+uS57jzinaGB/5wW047Uf0KXXZApVArvs5WwXV8zNGCnF9KXZHnacz5XO
|
||||
UU4uzA40i5SI7YS74amH1dcXpAnJd+EKTH+zZ9sXvQOBP0ZqgRje3xaOHNjzDD0S
|
||||
V52mj4gLCmQSS16wnfR/uT1Tj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KEJnhBio3roi9YX5ntZ/2MuZvUCv95Ft5z
|
||||
CRb9d0bjLLfGtd+K7zl8ux7r0Mql9prnsx07O1WDTn/TDqyHAJztljnXPHc4kzJn
|
||||
o5dIzczhTCZyfSRqg79157vqhqykx7yWfZ2m9sncp8ArCC4HW2pUbEs6ExxS/cdh
|
||||
M/ECggEBANEDWMkUaPrwgUiThAl3zj97k4gobIRZf6fp35LdZjhA3VAADGv/L4Yt
|
||||
zHNxtKOO9h6sMX61jD/7BJ1RPqahgMsxUcG/DabfIeu7NusunTIyuquN8AgwgUKS
|
||||
HZA98Lj8Ea/Xeac46OPWSbXLNaS6Vc47DbxqnTWjySSc16mLOxmls3NFB++sf0o8
|
||||
8jk2zMqTnaz2tlRe6PO4fwWIFhjtBPdkUCAZ/jUQ7Ym72JSAkaWrLIqJFhIjuhCb
|
||||
6na5HN0CGbwUEB12do6aQIQ7paV5gKn044lhI98T9M5+Rz7zXPLfAoLxCqVeCAyM
|
||||
FVtawPpck3F1bQwimvE+pfP0+XJhLqA=
|
||||
-----END PRIVATE KEY-----
|
|
@ -1,2 +0,0 @@
|
|||
a2.ignite.keystore.password=TFBlX9gsPm0=
|
||||
a2.ignite.truststore.password=TFBlX9gsPm0=
|
|
@ -1,30 +0,0 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIFOTCCAyGgAwIBAgIJAOz0RCYTMDmCMA0GCSqGSIb3DQEBCwUAMDMxDjAMBgNV
|
||||
BAoMBUFXSVBTMRAwDgYDVQQLDAdUZXN0aW5nMQ8wDQYDVQQDDAZjYXJvb3QwHhcN
|
||||
MjAxMTEzMTU0NzEwWhcNMzAxMTExMTU0NzEwWjAzMQ4wDAYDVQQKDAVBV0lQUzEQ
|
||||
MA4GA1UECwwHVGVzdGluZzEPMA0GA1UEAwwGY2Fyb290MIICIjANBgkqhkiG9w0B
|
||||
AQEFAAOCAg8AMIICCgKCAgEAnsWmnwIUEXg4BTBqr1datXTKDhgbSZVecE8M75U+
|
||||
8U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UBI8tvA95Hdz750OZFtKPZqRA
|
||||
KykuFOxg8J0EXnQgbGjQiMTePwZjvHcB15bPEyHF7LVUNKKg44TnI7Wf2lFcHB0N
|
||||
+Eccu+ABXPW3jObq2hMpZHxB62I22VgjzQ6lTqM+4mJ0xpKSX79WzNYvBf/wZMuN
|
||||
EEkZcuiNNMPJ3pVwQraLHWoYZ3LTTzbleUgcrfFOyl1+HIZ/o2Uzll9kS06D4/KN
|
||||
l235PW+irCex35u1s+4X7G7hWSKFy2ZVPEpppBhtaF3bvAx4Oo2njse8MtlN6XNz
|
||||
F70YerEvH+w9rXyhbVA87hOOz4Jm8eblIxPDn+59FEZ/m/3gR22dTfe4L7o9NfvX
|
||||
SvoHVbrz0Bf+S0NZOblqQ4gwM3KjceSkWz19ZmAdjtUy6M3VIPQZYMvlkuUmeHI3
|
||||
Rvni9txlRYV4G6tzH93DhWsSz6fY5VaFBPd6wxGxZq9QJ7UHrslx8Mweu/1x
|
||||
-----END CERTIFICATE-----
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue