diff --git a/.github/workflows/nightly-e2e-tests.yml b/.github/workflows/nightly-e2e-tests.yml
index 0eb17a5d4d..847ffaf3ad 100644
--- a/.github/workflows/nightly-e2e-tests.yml
+++ b/.github/workflows/nightly-e2e-tests.yml
@@ -1,7 +1,7 @@
name: Nightly E2E Tests
on:
schedule:
- - cron: "0 0 * * *"
+ - cron: "0 2 * * *"
workflow_dispatch:
jobs:
chrome-public-user:
@@ -38,23 +38,6 @@ jobs:
env:
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
- ie11-public-user:
- runs-on: ubuntu-18.04
- steps:
- - uses: actions/checkout@v1
- with:
- ref: development
- - name: Setup Python 3.8.0
- uses: actions/setup-python@v2
- with:
- python-version: '3.8.0'
- - name: Install robotframework dependencies
- run: ./src/test/robotframework/setup.sh
- - name: Nightly Internet Explorer Tests (Public User)
- run: robot -P ./src/test/robotframework/libs -d target/test/robotframework/logs/ie11 -v USE_SAUCELABS:TRUE -v BROWSER:ie --include publicuserNOTfirefoxonlyNOTchromeonlyNOTnoslowpokeNOTlocalonly ./src/test/robotframework
- env:
- SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
- SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
edge-public-user:
runs-on: ubuntu-18.04
steps:
@@ -94,7 +77,6 @@ jobs:
needs:
- chrome-public-user
- firefox-public-user
- - ie11-public-user
- edge-public-user
- safari-public-user
steps:
@@ -117,7 +99,6 @@ jobs:
needs:
- chrome-public-user
- firefox-public-user
- - ie11-public-user
- edge-public-user
- safari-public-user
steps:
@@ -135,35 +116,11 @@ jobs:
env:
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
- ie11-dataprovider:
- runs-on: ubuntu-18.04
- needs:
- - chrome-public-user
- - firefox-public-user
- - ie11-public-user
- - edge-public-user
- - safari-public-user
- steps:
- - uses: actions/checkout@v1
- with:
- ref: development
- - name: Setup Python 3.8.0
- uses: actions/setup-python@v2
- with:
- python-version: '3.8.0'
- - name: Install robotframework dependencies
- run: ./src/test/robotframework/setup.sh
- - name: Nightly Internet Explorer Tests (Dataprovider)
- run: robot -P ./src/test/robotframework/libs -d target/test/robotframework/logs/ie11 -v USE_SAUCELABS:TRUE -v BROWSER:ie --include dataproviderNOTfirefoxonlyNOTchromeonlyNOTnoslowpokeNOTlocalonly ./src/test/robotframework
- env:
- SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
- SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
edge-dataprovider:
runs-on: ubuntu-18.04
needs:
- chrome-public-user
- firefox-public-user
- - ie11-public-user
- edge-public-user
- safari-public-user
steps:
@@ -186,7 +143,6 @@ jobs:
needs:
- chrome-public-user
- firefox-public-user
- - ie11-public-user
- edge-public-user
- safari-public-user
steps:
@@ -209,7 +165,6 @@ jobs:
needs:
- chrome-dataprovider
- firefox-dataprovider
- - ie11-dataprovider
- edge-dataprovider
- safari-dataprovider
steps:
@@ -232,7 +187,6 @@ jobs:
needs:
- chrome-dataprovider
- firefox-dataprovider
- - ie11-dataprovider
- edge-dataprovider
- safari-dataprovider
steps:
@@ -250,35 +204,11 @@ jobs:
env:
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
- ie11-publisher:
- runs-on: ubuntu-18.04
- needs:
- - chrome-dataprovider
- - firefox-dataprovider
- - ie11-dataprovider
- - edge-dataprovider
- - safari-dataprovider
- steps:
- - uses: actions/checkout@v1
- with:
- ref: development
- - name: Setup Python 3.8.0
- uses: actions/setup-python@v2
- with:
- python-version: '3.8.0'
- - name: Install robotframework dependencies
- run: ./src/test/robotframework/setup.sh
- - name: Nightly Internet Explorer Tests (Publisher)
- run: robot -P ./src/test/robotframework/libs -d target/test/robotframework/logs/ie11 -v USE_SAUCELABS:TRUE -v BROWSER:ie --include publisherNOTfirefoxonlyNOTchromeonlyNOTnoslowpokeNOTlocalonly ./src/test/robotframework
- env:
- SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
- SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
edge-publisher:
runs-on: ubuntu-18.04
needs:
- chrome-dataprovider
- firefox-dataprovider
- - ie11-dataprovider
- edge-dataprovider
- safari-dataprovider
steps:
@@ -301,7 +231,6 @@ jobs:
# needs:
# - chrome-publisher
# - firefox-publisher
- # - ie11-publisher
# - edge-publisher
# steps:
# - uses: actions/checkout@v1
@@ -323,17 +252,14 @@ jobs:
needs:
- chrome-public-user
- firefox-public-user
- - ie11-public-user
- edge-public-user
- safari-public-user
- chrome-dataprovider
- firefox-dataprovider
- - ie11-dataprovider
- edge-dataprovider
- safari-dataprovider
- chrome-publisher
- firefox-publisher
- - ie11-publisher
- edge-publisher
# - safari-publisher
if: always()
diff --git a/package-lock.json b/package-lock.json
index b83c16dc04..41abed2664 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "Metadatamanagement",
- "version": "1.0.116-SNAPSHOT",
+ "version": "1.0.117",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -840,6 +840,11 @@
"@uirouter/core": "6.0.7"
}
},
+ "angular-uuid": {
+ "version": "0.0.4",
+ "resolved": "https://registry.npmjs.org/angular-uuid/-/angular-uuid-0.0.4.tgz",
+ "integrity": "sha1-h6hgyh02rjiffsYP0ENm7cDjWE0="
+ },
"angulartics": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/angulartics/-/angulartics-1.6.0.tgz",
@@ -1833,14 +1838,21 @@
}
},
"clientjs": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/clientjs/-/clientjs-0.2.0.tgz",
- "integrity": "sha512-kuPP8d/kAeEDYu2vr7zek2y3zCrwmhjGy1K66oLgnnhxSPpsASD9HsIau8RdC3ANQNjDQjbnl9cYPi6NX6SBvw==",
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/clientjs/-/clientjs-0.2.1.tgz",
+ "integrity": "sha512-HN7yzgq8xMDjkNpSnpH3foMxaX5q9CUMcLAIsNwNnbJnuEhR8CDRxm22mEo+uQdiOUkCl5ZjdoN9lGBbL4jutQ==",
"requires": {
"globalthis": "^1.0.2",
"inherits": "^2.0.4",
"murmurhash-js": "^1.0.0",
- "ua-parser-js": "^0.7.28"
+ "ua-parser-js": "^0.7.30"
+ },
+ "dependencies": {
+ "ua-parser-js": {
+ "version": "0.7.31",
+ "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.31.tgz",
+ "integrity": "sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ=="
+ }
}
},
"clipboard": {
@@ -12132,7 +12144,8 @@
"ua-parser-js": {
"version": "0.7.28",
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.28.tgz",
- "integrity": "sha512-6Gurc1n//gjp9eQNXjD9O3M/sMwVtN5S8Lv9bvOYBfKfDNiIIhqiyi01vMBO45u4zkDE420w/e0se7Vs+sIg+g=="
+ "integrity": "sha512-6Gurc1n//gjp9eQNXjD9O3M/sMwVtN5S8Lv9bvOYBfKfDNiIIhqiyi01vMBO45u4zkDE420w/e0se7Vs+sIg+g==",
+ "dev": true
},
"uglify-es": {
"version": "3.3.9",
diff --git a/package.json b/package.json
index 9a861797fd..fc32cd652b 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "Metadatamanagement",
- "version": "1.0.116-SNAPSHOT",
+ "version": "1.0.117",
"description": "Data Search for Higher Education Research and Science Studies",
"private": true,
"dependencies": {
@@ -29,13 +29,14 @@
"angular-translate-storage-cookie": "2.19.0",
"angular-ui-bootstrap": "https://github.com/angular-ui/bootstrap-bower/archive/2.5.0.tar.gz",
"angular-ui-router": "1.0.29",
+ "angular-uuid": "^0.0.4",
"angulartics-piwik": "^1.0.6",
"blob-polyfill": "https://github.com/bjornstar/blob-polyfill/archive/1.0.20150320.tar.gz",
"bootstrap-sass": "3.4.1",
"bowser": "https://github.com/lancedikson/bowser/archive/1.9.4.tar.gz",
"cheet.js": "0.3.3",
"citation-js": "0.5.1",
- "clientjs": "0.2.0",
+ "clientjs": "0.2.1",
"elasticsearch-browser": "https://github.com/elastic/bower-elasticsearch-js/archive/v16.7.1.tar.gz",
"es5-shim": "4.6.2",
"es6-shim": "0.35.6",
diff --git a/pom.xml b/pom.xml
index 4675d8d804..a35543f66a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,13 +5,13 @@
org.springframework.boot
spring-boot-starter-parent
- 2.5.6
+ 2.5.7
eu.dzhw.fdz
metadatamanagement
- 1.0.116-SNAPSHOT
+ 1.0.117
war
metadatamanagement
@@ -24,9 +24,10 @@
- 7.14.0
+ 7.15.2
0.8.6
15
+ 2.16.0
2.12.0
yyyyMMddHHmmss
${java.version}
@@ -175,7 +176,7 @@
org.javers
javers-spring-boot-starter-mongo
- 6.5.0
+ 6.5.1
org.jsoup
@@ -190,17 +191,12 @@
org.springdoc
springdoc-openapi-ui
- 1.5.12
+ 1.6.0
org.springframework.boot
spring-boot-configuration-processor
-
- org.springframework.boot
- spring-boot-devtools
- true
-
org.springframework.boot
spring-boot-loader-tools
@@ -297,7 +293,7 @@
org.springframework.security.oauth.boot
spring-security-oauth2-autoconfigure
- 2.5.5
+ 2.5.6
org.zalando
diff --git a/src/main/java/eu/dzhw/fdz/metadatamanagement/analysispackagemanagement/domain/AbstractAnalysisDataPackage.java b/src/main/java/eu/dzhw/fdz/metadatamanagement/analysispackagemanagement/domain/AbstractAnalysisDataPackage.java
index 89fdaffb83..67886bf618 100644
--- a/src/main/java/eu/dzhw/fdz/metadatamanagement/analysispackagemanagement/domain/AbstractAnalysisDataPackage.java
+++ b/src/main/java/eu/dzhw/fdz/metadatamanagement/analysispackagemanagement/domain/AbstractAnalysisDataPackage.java
@@ -18,7 +18,8 @@
@NoArgsConstructor
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonSubTypes({@Type(value = DataPackage.class, name = "dataPackage"),
- @Type(value = ExternalDataPackage.class, name = "externalData")})
+ @Type(value = ExternalDataPackage.class, name = "externalDataPackage"),
+ @Type(value = CustomDataPackage.class, name = "customDataPackage")})
public abstract class AbstractAnalysisDataPackage implements Serializable {
private static final long serialVersionUID = -2179924716031946800L;
diff --git a/src/main/java/eu/dzhw/fdz/metadatamanagement/analysispackagemanagement/domain/AnalysisPackage.java b/src/main/java/eu/dzhw/fdz/metadatamanagement/analysispackagemanagement/domain/AnalysisPackage.java
index 99abbc3825..d93b8cc55f 100644
--- a/src/main/java/eu/dzhw/fdz/metadatamanagement/analysispackagemanagement/domain/AnalysisPackage.java
+++ b/src/main/java/eu/dzhw/fdz/metadatamanagement/analysispackagemanagement/domain/AnalysisPackage.java
@@ -154,10 +154,10 @@ public class AnalysisPackage extends AbstractShadowableRdcDomainObject
*/
@Valid
private List<@I18nStringSize(max = StringLengths.MEDIUM,
- message = "analysis-package-management.error.analysis-package.institution.i18n-string-size")
+ message = "analysis-package-management.error.analysis-package.institution.i18n-string-size")
@I18nStringEntireNotEmpty(
- message = "analysis-package-management.error.analysis-package.institution"
- + ".i18n-string-entire-not-empty") I18nString> institutions;
+ message = "analysis-package-management.error.analysis-package.institution"
+ + ".i18n-string-entire-not-empty") I18nString> institutions;
/**
* The names of the sponsors which have sponsored the study or project from which this analysis
@@ -170,8 +170,8 @@ public class AnalysisPackage extends AbstractShadowableRdcDomainObject
private List<@I18nStringSize(max = StringLengths.MEDIUM,
message = "analysis-package-management.error.analysis-package.sponsor.i18n-string-size")
@I18nStringEntireNotEmpty(
- message = "analysis-package-management.error.sponsor.institution"
- + ".i18n-string-entire-not-empty") I18nString> sponsors;
+ message = "analysis-package-management.error.sponsor.institution"
+ + ".i18n-string-entire-not-empty") I18nString> sponsors;
/**
* The license of this analysis package. Markdown is supported.
@@ -204,8 +204,7 @@ public class AnalysisPackage extends AbstractShadowableRdcDomainObject
* At least one {@link Script} must be specified.
*/
@Valid
- @Size(min = 1,
- message = "analysis-package-management.error.analysis-package." + "scripts.at-leat-one")
+ @NotEmpty(message = "analysis-package-management.error.analysis-package.scripts.at-leat-one")
private List
+
@@ -337,8 +338,7 @@
-
+
@@ -371,6 +371,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -575,6 +585,7 @@
+
@@ -624,6 +635,7 @@
+
@@ -631,16 +643,21 @@
+
+
-
+
+
+
+
@@ -655,6 +672,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+