Skip to content

Commit 64e3731

Browse files
Merge branch '148-cleanup' into 'master'
Resolve "receiver cleanup bug" Closes #148 See merge request ghsc/hazdev/pdl!155
2 parents c9a520b + 783a14e commit 64e3731

24 files changed

+852
-203
lines changed

.gitlab-ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
image: ${DEVOPS_REGISTRY}usgs/centos:8
21

32
stages:
43
- build
5-
- javadoc
64

75
.check_code:
86
after_script:
@@ -45,13 +43,13 @@ Java 11:
4543
- .check_code
4644
image: ${DEVOPS_REGISTRY}usgs/java:11-jdk
4745

48-
Java Latest:
49-
extends:
50-
- .check_code
51-
image: ${DEVOPS_REGISTRY}usgs/java:latest-jdk
46+
# Java Latest:
47+
# extends:
48+
# - .check_code
49+
# image: ${DEVOPS_REGISTRY}usgs/java:latest-jdk
5250

5351
Javadoc:
54-
image: ${DEVOPS_REGISTRY}usgs/java:latest-jdk
52+
image: ${DEVOPS_REGISTRY}usgs/java:11-jdk
5553
script:
5654
- ./gradlew javadoc
57-
stage: javadoc
55+
stage: build

CONTRIBUTING.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Contributing
2+
3+
Contributions are welcome from the community.
4+
5+
## Bug Reports and Suggested Enhancements
6+
7+
Bug Reports and Suggested Enhancements can be [submitted on the issues page][1].
8+
9+
Before creating a new issue, please take a moment to search and make sure a
10+
similar issue does not already exist. If one does exist, you can comment
11+
(most simply even with a :+1: (`:+1:`) to show your support for that issue.
12+
13+
## Development
14+
15+
This project uses [Gradle][4] to manage dependencies and build the project.
16+
17+
- Clone project
18+
19+
> Note: This project uses a [forking workflow][2].
20+
> Creating a fork is not required to get started, but is recommended.
21+
22+
- Install dependencies
23+
24+
- Java 8, 11, or 17
25+
26+
- Build project and run tests
27+
28+
```
29+
./gradlew build
30+
```
31+
32+
### Merge Requests
33+
34+
If you have direct contributions you would like considered for incorporation
35+
into the project you can [fork this repository][2] and
36+
[create a merge request][3] for review.
37+
38+
39+
[1]: https://code.usgs.gov/ghsc/hazdev/pdl/issues
40+
[2]: https://docs.gitlab.com/ee/user/project/repository/forking_workflow.html
41+
[3]: https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html
42+
[4]: https://gradle.org/

DISCLAIMER.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Disclaimer
2+
3+
This software is preliminary or provisional and is subject to revision. It is
4+
being provided to meet the need for timely best science. The software has not
5+
received final approval by the U.S. Geological Survey (USGS). No warranty,
6+
expressed or implied, is made by the USGS or the U.S. Government as to the
7+
functionality of the software and related material nor shall the fact of release
8+
constitute any such warranty. The software is provided on the condition that
9+
neither the USGS nor the U.S. Government shall be held liable for any damages
10+
resulting from the authorized or unauthorized use of the software.

LICENSE.md

Lines changed: 47 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,56 @@
1-
Unless otherwise noted, This software is in the public domain because it
2-
contains materials that originally came from the United States Geological
3-
Survey, an agency of the United States Department of Interior. For more
4-
information, see the official USGS copyright policy at
5-
http://www.usgs.gov/visual-id/credit_usgs.html#copyright
1+
License
2+
=======
63

4+
Unless otherwise noted, This project is in the public domain in the United
5+
States because it contains materials that originally came from the United
6+
States Geological Survey, an agency of the United States Department of
7+
Interior. For more information, see the official USGS copyright policy at
8+
https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits
79

8-
Dependent libraries found in the "lib" directory are distributed under the
10+
Additionally, we waive copyright and related rights in the work
11+
worldwide through the CC0 1.0 Universal public domain dedication.
12+
13+
14+
CC0 1.0 Universal Summary
15+
-------------------------
16+
17+
This is a human-readable summary of the
18+
[Legal Code (read the full text)][1].
19+
20+
21+
### No Copyright
22+
23+
The person who associated a work with this deed has dedicated the work to
24+
the public domain by waiving all of his or her rights to the work worldwide
25+
under copyright law, including all related and neighboring rights, to the
26+
extent allowed by law.
27+
28+
You can copy, modify, distribute and perform the work, even for commercial
29+
purposes, all without asking permission.
30+
31+
32+
### Other Information
33+
34+
In no way are the patent or trademark rights of any person affected by CC0,
35+
nor are the rights that other persons may have in the work or in how the
36+
work is used, such as publicity or privacy rights.
37+
38+
Unless expressly stated otherwise, the person who associated a work with
39+
this deed makes no warranties about the work, and disclaims liability for
40+
all uses of the work, to the fullest extent permitted by applicable law.
41+
When using or citing the work, you should not imply endorsement by the
42+
author or the affirmer.
43+
44+
45+
### Liraries
46+
47+
Libraries found in the "lib" directory are distributed under the
948
open source (or open source-like) licenses/agreements. Appropriate license
1049
agreements for each library can be found in the "lib" directory. Other
1150
dependencies can be found in `build.gradle`.
1251

13-
- eqmessageutils.jar (https://github.com/usgs/eqmessageutils)
52+
- MessageUtils.jar (https://github.com/usgs/eqmessageutils)
1453
- QWFileOutClient.jar (http://www.isti2.com/QWIDS/current_dist/QWIDS_EIDS_Summary.html#Open)
15-
- sqlitejdbc-v056.jar (https://github.com/xerial/sqlite-jdbc)
1654
- cap-library-r11.jar (https://github.com/google/cap-library)
1755

18-
19-
20-
Disclaimers
21-
-----------
22-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
28-
THE SOFTWARE.
29-
30-
Information provided by this software may be preliminary or provisional and is
31-
subject to revision. It is being provided to meet the need for timely best
32-
science. The information has not received final approval by the U.S. Geological
33-
Survey (USGS) and is provided on the condition that neither the USGS nor the
34-
U.S. Government shall be held liable for any damages resulting from the
35-
authorized or unauthorized use of the information.
56+
[1]: https://creativecommons.org/publicdomain/zero/1.0/legalcode

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies {
4040
implementation "org.glassfish.tyrus.bundles:tyrus-standalone-client:1.17"
4141
// database drivers
4242
runtimeOnly "mysql:mysql-connector-java:5.1.47"
43-
runtimeOnly "org.xerial:sqlite-jdbc:3.23.1"
43+
runtimeOnly "org.xerial:sqlite-jdbc:3.39.2.1"
4444
// ssh keys
4545
implementation "ch.ethz.ganymed:ganymed-ssh2:262"
4646
// nats
@@ -72,7 +72,7 @@ tasks.withType(JavaCompile) {
7272

7373
// coverage reports
7474
jacoco {
75-
toolVersion "0.8.7"
75+
toolVersion "0.8.8"
7676
}
7777
jacocoTestReport {
7878
reports {

code.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,31 @@
33
"name": "Product Distribution Layer",
44
"organization": "U.S. Geological Survey",
55
"description": "Distribution system used for derived earthquake information",
6-
"version": "v2.7.12",
6+
"version": "v2.8.0",
77
"status": "Production",
88
"permissions": {
99
"usageType": "openSource",
1010
"licenses": [
1111
{
1212
"name": "Public Domain, CC0-1.0",
13-
"URL": "https://github.com/usgs/pdl/blob/master/LICENSE.md"
13+
"URL": "https://code.usgs.gov/ghsc/hazdev/pdl/-/raw/master/LICENSE.md"
1414
}
1515
]
1616
},
1717
"homepageURL": "https://usgs.github.io/pdl/",
18-
"downloadURL": "https://github.com/usgs/pdl/archive/master.zip",
19-
"disclaimerURL": "https://github.com/usgs/pdl/blob/master/LICENSE.md",
20-
"repositoryURL": "https://github.com/usgs/pdl.git",
18+
"downloadURL": "https://code.usgs.gov/ghsc/hazdev/pdl/-/archive/master/pdl-master.zip",
19+
"disclaimerURL": "https://code.usgs.gov/ghsc/hazdev/pdl/-/raw/master/DISCLAIMER.md",
20+
"repositoryURL": "https://code.usgs.gov/ghsc/hazdev/pdl.git",
2121
"vcs": "git",
2222
"laborHours": 0,
2323
"tags": ["earthquake", "distribution", "quakeml"],
2424
"languages": ["java"],
2525
"contact": {
26-
"name": "Jeremy Fee",
27-
"email": "jmfee@usgs.gov"
26+
"name": "Hazards Development Team",
27+
"email": "gs-haz_dev_team_group@usgs.gov"
2828
},
2929
"date": {
30-
"metadataLastUpdated": "2022-09-16"
30+
"metadataLastUpdated": "2022-10-11"
3131
}
3232
}
3333
]

0 commit comments

Comments
 (0)