diff --git a/.github/workflows/build-test-deploy.yaml b/.github/workflows/build-test-deploy.yaml index 99ff59a..edaf389 100644 --- a/.github/workflows/build-test-deploy.yaml +++ b/.github/workflows/build-test-deploy.yaml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - - name: Set up JDK 8 + - name: Set up JDK 17 uses: actions/setup-java@v2 with: - java-version: '8' + java-version: '17' distribution: 'temurin' cache: 'maven' - name: Setting up Github Package Repository as Maven Repository diff --git a/.github/workflows/publish-and-release.yaml b/.github/workflows/publish-and-release.yaml index a0b9c60..c954c5f 100644 --- a/.github/workflows/publish-and-release.yaml +++ b/.github/workflows/publish-and-release.yaml @@ -72,7 +72,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-java@v2 with: - java-version: '8' + java-version: '17' distribution: 'temurin' cache: 'maven' - name: Setting up Github Package Repository as Maven Repository diff --git a/castor-common/3RD-PARTY-LICENSES/sbom.xml b/castor-common/3RD-PARTY-LICENSES/sbom.xml index e736370..56559b0 100644 --- a/castor-common/3RD-PARTY-LICENSES/sbom.xml +++ b/castor-common/3RD-PARTY-LICENSES/sbom.xml @@ -133,7 +133,7 @@ Project Lombok org.projectlombok lombok - 1.18.18 + 1.18.20 https://projectlombok.org diff --git a/castor-common/pom.xml b/castor-common/pom.xml index ab52fcc..d69b4be 100644 --- a/castor-common/pom.xml +++ b/castor-common/pom.xml @@ -30,6 +30,11 @@ + + com.fasterxml.jackson.core + jackson-annotations + ${jackson.version} + com.fasterxml.jackson.core jackson-databind @@ -61,18 +66,28 @@ - org.mockito - mockito-inline + org.assertj + assertj-core test - org.hamcrest - hamcrest-junit + org.junit.jupiter + junit-jupiter-api test - junit - junit + org.junit.jupiter + junit-jupiter-engine + test + + + org.mockito + mockito-inline + test + + + org.mockito + mockito-junit-jupiter test diff --git a/castor-common/src/main/java/io/carbynestack/castor/common/BearerTokenProvider.java b/castor-common/src/main/java/io/carbynestack/castor/common/BearerTokenProvider.java index 9be3312..a25e8c8 100644 --- a/castor-common/src/main/java/io/carbynestack/castor/common/BearerTokenProvider.java +++ b/castor-common/src/main/java/io/carbynestack/castor/common/BearerTokenProvider.java @@ -6,17 +6,19 @@ */ package io.carbynestack.castor.common; +import java.util.HashMap; import java.util.Map; import java.util.function.Function; -import lombok.Builder; -import lombok.Singular; import lombok.Value; /** Functional interface for providing a bearer token based on an {@link CastorServiceUri} value. */ @Value -@Builder public class BearerTokenProvider implements Function { - @Singular Map bearerTokens; + Map bearerTokens; + + private BearerTokenProvider(Map bearerTokens) { + this.bearerTokens = bearerTokens; + } /** * Returns the bearer token for the given {@link CastorServiceUri} or null of not token is @@ -29,4 +31,28 @@ public class BearerTokenProvider implements Function { public String apply(CastorServiceUri serviceUri) { return bearerTokens.get(serviceUri); } + + public static BearerTokenProviderBuilder builder() { + return new BearerTokenProviderBuilder(); + } + + public static class BearerTokenProviderBuilder { + private final Map bearerTokens = new HashMap<>(); + + private BearerTokenProviderBuilder() {} + + public BearerTokenProviderBuilder bearerToken(CastorServiceUri castorServiceUri, String token) { + this.bearerTokens.put(castorServiceUri, token); + return this; + } + + @Override + public String toString() { + return "BearerTokenProviderBuilder{" + "bearerTokens=" + bearerTokens + '}'; + } + + public BearerTokenProvider build() { + return new BearerTokenProvider(bearerTokens); + } + } } diff --git a/castor-common/src/test/java/io/carbynestack/castor/common/CastorServiceUriTest.java b/castor-common/src/test/java/io/carbynestack/castor/common/CastorServiceUriTest.java index 6613274..743d04d 100644 --- a/castor-common/src/test/java/io/carbynestack/castor/common/CastorServiceUriTest.java +++ b/castor-common/src/test/java/io/carbynestack/castor/common/CastorServiceUriTest.java @@ -10,46 +10,41 @@ import static io.carbynestack.castor.common.CastorServiceUri.INVALID_SERVICE_ADDRESS_EXCEPTION_MSG; import static io.carbynestack.castor.common.CastorServiceUri.MUST_NOT_BE_EMPTY_EXCEPTION_MSG; import static io.carbynestack.castor.common.rest.CastorRestApiEndpoints.*; -import static org.hamcrest.CoreMatchers.allOf; -import static org.hamcrest.CoreMatchers.containsString; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertThrows; +import static org.assertj.core.api.Assertions.assertThat; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; import io.carbynestack.castor.common.entities.TupleType; import java.net.URI; +import java.net.URISyntaxException; import java.util.UUID; -import lombok.SneakyThrows; -import org.hamcrest.junit.MatcherAssert; -import org.junit.Test; +import org.junit.jupiter.api.Test; -public class CastorServiceUriTest { +class CastorServiceUriTest { @Test - public void - givenNullAsServiceAddress_whenCreatingCastorServiceUri_thenThrowIllegalArgumentException() { + void givenNullAsServiceAddress_whenCreatingCastorServiceUri_thenThrowIllegalArgumentException() { IllegalArgumentException expectedIae = assertThrows(IllegalArgumentException.class, () -> new CastorServiceUri(null)); assertEquals(MUST_NOT_BE_EMPTY_EXCEPTION_MSG, expectedIae.getMessage()); } @Test - public void - givenNoSchemeDefined_whenCreatingCastorServiceUri_thenThrowIllegalArgumentException() { + void givenNoSchemeDefined_whenCreatingCastorServiceUri_thenThrowIllegalArgumentException() { IllegalArgumentException iae = assertThrows(IllegalArgumentException.class, () -> new CastorServiceUri("localhost:8080")); assertEquals(INVALID_SERVICE_ADDRESS_EXCEPTION_MSG, iae.getMessage()); } @Test - public void - givenInvalidUriString_whenCreatingCastorServiceUri_thenThrowIllegalArgumentException() { + void givenInvalidUriString_whenCreatingCastorServiceUri_thenThrowIllegalArgumentException() { IllegalArgumentException iae = assertThrows(IllegalArgumentException.class, () -> new CastorServiceUri("invalidUri")); assertEquals(INVALID_SERVICE_ADDRESS_EXCEPTION_MSG, iae.getMessage()); } @Test - public void + void givenHttpsUriStringWithDomain_whenCreatingCastorServiceUri_thenCreateExpectedCastorServiceUri() { CastorServiceUri serviceUri = new CastorServiceUri("https://castor.carbynestack.io:8080"); assertEquals("https://castor.carbynestack.io:8080", serviceUri.getRestServiceUri().toString()); @@ -64,7 +59,7 @@ public class CastorServiceUriTest { } @Test - public void + void givenWsUriStringWithDomain_whenCreatingCastorServiceUri_thenCreateExpectedCastorServiceUri() { CastorServiceUri serviceUri = new CastorServiceUri("ws://castor.carbynestack.io:8080"); assertEquals("http://castor.carbynestack.io:8080", serviceUri.getRestServiceUri().toString()); @@ -79,7 +74,7 @@ public class CastorServiceUriTest { } @Test - public void + void givenUriStringWithTrailingSlash_whenCreateCastorServiceUri_thenReturnExpectedCastorServiceUri() { CastorServiceUri aUri = new CastorServiceUri("https://castor.carbynestack.io:8081/"); URI inputMaskUri = aUri.getIntraVcpTelemetryUri(); @@ -94,7 +89,7 @@ public class CastorServiceUriTest { } @Test - public void givenCastorServiceUri_whenGetActivateTupleChunkUri_thenReturnExpectedUri() { + void givenCastorServiceUri_whenGetActivateTupleChunkUri_thenReturnExpectedUri() { CastorServiceUri serviceUri = new CastorServiceUri("https://castor.carbynestack.io:8081"); UUID chunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); String expectedPath = @@ -107,7 +102,7 @@ public void givenCastorServiceUri_whenGetActivateTupleChunkUri_thenReturnExpecte } @Test - public void givenCastorServiceUri_whenGetRequestTupleUri_thenReturnExpectedUri() { + void givenCastorServiceUri_whenGetRequestTupleUri_thenReturnExpectedUri() { CastorServiceUri serviceUri = new CastorServiceUri("https://castor.carbynestack.io:8081"); UUID requestId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); TupleType tupleType = TupleType.INPUT_MASK_GFP; @@ -115,29 +110,26 @@ public void givenCastorServiceUri_whenGetRequestTupleUri_thenReturnExpectedUri() URI actualRequestTuplesUri = serviceUri.getIntraVcpRequestTuplesUri(requestId, tupleType, count); assertEquals(INTRA_VCP_OPERATIONS_SEGMENT + TUPLES_ENDPOINT, actualRequestTuplesUri.getPath()); - MatcherAssert.assertThat( - actualRequestTuplesUri.getQuery(), - allOf( - containsString(DOWNLOAD_COUNT_PARAMETER + "=" + count), - containsString(DOWNLOAD_REQUEST_ID_PARAMETER + "=" + requestId), - containsString(DOWNLOAD_TUPLE_TYPE_PARAMETER + "=" + tupleType.name()))); + assertThat(actualRequestTuplesUri.getQuery()) + .contains( + DOWNLOAD_COUNT_PARAMETER + "=" + count, + DOWNLOAD_REQUEST_ID_PARAMETER + "=" + requestId, + DOWNLOAD_TUPLE_TYPE_PARAMETER + "=" + tupleType.name()); } @Test - public void givenCastorServiceUri_whenGetRequestTelemetryUri_thenReturnExpectedUri() { + void givenCastorServiceUri_whenGetRequestTelemetryUri_thenReturnExpectedUri() { CastorServiceUri serviceUri = new CastorServiceUri("https://castor.carbynestack.io:8081"); long interval = 5000L; URI actualRequestTelemetryUri = serviceUri.getRequestTelemetryUri(interval); assertEquals( INTRA_VCP_OPERATIONS_SEGMENT + TELEMETRY_ENDPOINT, actualRequestTelemetryUri.getPath()); - MatcherAssert.assertThat( - actualRequestTelemetryUri.getQuery(), - allOf(containsString(TELEMETRY_INTERVAL + "=" + interval))); + assertThat(actualRequestTelemetryUri.getQuery()).contains(TELEMETRY_INTERVAL + "=" + interval); } - @SneakyThrows @Test - public void givenValidPathSegments_whenBuildingResourceUri_thenReturnExpectedUri() { + void givenValidPathSegments_whenBuildingResourceUri_thenReturnExpectedUri() + throws URISyntaxException { String baseUri = "https://castor.carbynestack.io/Castor"; String pathVariable = "1234"; CastorServiceUri CastorServiceUri = new CastorServiceUri(baseUri); diff --git a/castor-common/src/test/java/io/carbynestack/castor/common/entities/ArrayBackedTupleTest.java b/castor-common/src/test/java/io/carbynestack/castor/common/entities/ArrayBackedTupleTest.java index ac2a8d9..555a78a 100644 --- a/castor-common/src/test/java/io/carbynestack/castor/common/entities/ArrayBackedTupleTest.java +++ b/castor-common/src/test/java/io/carbynestack/castor/common/entities/ArrayBackedTupleTest.java @@ -9,21 +9,19 @@ import static io.carbynestack.castor.common.entities.ArrayBackedTuple.*; import static io.carbynestack.castor.common.entities.Field.GFP; -import static org.junit.Assert.*; +import static org.junit.jupiter.api.Assertions.*; import io.carbynestack.castor.common.exceptions.CastorClientException; import java.io.ByteArrayInputStream; import java.io.IOException; -import lombok.SneakyThrows; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.RandomUtils; -import org.junit.Test; +import org.junit.jupiter.api.Test; -public class ArrayBackedTupleTest { +class ArrayBackedTupleTest { - @SneakyThrows @Test - public void givenValidStream_whenCreateFromStream_thenReturnExpectedTuple() { + void givenValidStream_whenCreateFromStream_thenReturnExpectedTuple() throws IOException { byte[] expectedTupleValueData = RandomUtils.nextBytes(GFP.getElementSize()); byte[] expectedTupleMacData = RandomUtils.nextBytes(GFP.getElementSize()); Share expectedShare = Share.of(expectedTupleValueData, expectedTupleMacData); @@ -36,9 +34,8 @@ public void givenValidStream_whenCreateFromStream_thenReturnExpectedTuple() { assertEquals(expectedShare, actualBitTuple.getShare(0)); } - @SneakyThrows @Test - public void givenStreamOfInvalidLength_whenCreateFromStream_thenReturnExpectedTuple() { + void givenStreamOfInvalidLength_whenCreateFromStream_thenReturnExpectedTuple() { byte[] tupleValueData = RandomUtils.nextBytes(GFP.getElementSize()); byte[] invalidTupleMacData = RandomUtils.nextBytes(GFP.getElementSize() - 1); IOException actualIoe = @@ -52,9 +49,8 @@ public void givenStreamOfInvalidLength_whenCreateFromStream_thenReturnExpectedTu assertEquals(NO_MORE_TUPLE_DATA_AVAILABLE_EXCEPTION_MSG, actualIoe.getMessage()); } - @SneakyThrows @Test - public void givenValidNumberOfShares_whenCreateNewTuple_thenReturnExpectedTuple() { + void givenValidNumberOfShares_whenCreateNewTuple_thenReturnExpectedTuple() { byte[] expectedTupleValueData = RandomUtils.nextBytes(GFP.getElementSize()); byte[] expectedTupleMacData = RandomUtils.nextBytes(GFP.getElementSize()); Share expectedShare = Share.of(expectedTupleValueData, expectedTupleMacData); @@ -62,9 +58,8 @@ public void givenValidNumberOfShares_whenCreateNewTuple_thenReturnExpectedTuple( assertArrayEquals(new Share[] {expectedShare}, actualBitTuple.getShares()); } - @SneakyThrows @Test - public void givenInvalidNumberOfShares_whenCreateNewTuple_thenThrowIllegalArgumentException() { + void givenInvalidNumberOfShares_whenCreateNewTuple_thenThrowIllegalArgumentException() { IllegalArgumentException actualIae = assertThrows(IllegalArgumentException.class, () -> new Bit<>(GFP, new Share[0])); assertEquals( @@ -75,10 +70,10 @@ public void givenInvalidNumberOfShares_whenCreateNewTuple_thenThrowIllegalArgume actualIae.getMessage()); } - @SneakyThrows @Test - public void - givenRequestedShareIndexIsOutOfBounds_whenRetrievingIndividualShare_thenThrowCastorClientException() { + void + givenRequestedShareIndexIsOutOfBounds_whenRetrievingIndividualShare_thenThrowCastorClientException() + throws IOException { int invalidIndex = TupleType.BIT_GFP.getArity() + 1; byte[] expectedTupleValueData = RandomUtils.nextBytes(GFP.getElementSize()); byte[] expectedTupleMacData = RandomUtils.nextBytes(GFP.getElementSize()); diff --git a/castor-common/src/test/java/io/carbynestack/castor/common/entities/FieldTest.java b/castor-common/src/test/java/io/carbynestack/castor/common/entities/FieldTest.java index 000fa78..8e1e93a 100644 --- a/castor-common/src/test/java/io/carbynestack/castor/common/entities/FieldTest.java +++ b/castor-common/src/test/java/io/carbynestack/castor/common/entities/FieldTest.java @@ -7,20 +7,19 @@ package io.carbynestack.castor.common.entities; -import static org.hamcrest.CoreMatchers.startsWith; -import static org.hamcrest.MatcherAssert.assertThat; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertThrows; +import static org.assertj.core.api.Assertions.assertThat; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; +import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.exc.MismatchedInputException; -import lombok.SneakyThrows; -import org.junit.Test; +import org.junit.jupiter.api.Test; -public class FieldTest { - @SneakyThrows +class FieldTest { @Test - public void givenFieldJsonStringForTypeGfp_whenDeserializingData_thenRecreateOrigin() { + void givenFieldJsonStringForTypeGfp_whenDeserializingData_thenRecreateOrigin() + throws JsonProcessingException { Field expectedField = Field.GFP; String fieldJsonString = String.format( @@ -31,9 +30,9 @@ public void givenFieldJsonStringForTypeGfp_whenDeserializingData_thenRecreateOri assertEquals(expectedField, actualField); } - @SneakyThrows @Test - public void givenFieldJsonStringForTypeGf2n_whenDeserializingData_thenRecreateOrigin() { + void givenFieldJsonStringForTypeGf2n_whenDeserializingData_thenRecreateOrigin() + throws JsonProcessingException { Field expectedField = Field.GF2N; String invalidGfpFieldJsonString = String.format( @@ -44,28 +43,25 @@ public void givenFieldJsonStringForTypeGf2n_whenDeserializingData_thenRecreateOr assertEquals(expectedField, actualField); } - @SneakyThrows @Test - public void givenGf2nFieldJsonStringWithMissingName_whenDeserializingData_thenThrowException() { + void givenGf2nFieldJsonStringWithMissingName_whenDeserializingData_thenThrowException() { String invalidGfpFieldJsonString = "{\"@type\":\"Gf2n\",\"elementSize\":16}"; ObjectMapper om = new ObjectMapper(); MismatchedInputException mie = assertThrows( MismatchedInputException.class, () -> om.readerFor(Field.class).readValue(invalidGfpFieldJsonString)); - assertThat(mie.getMessage(), startsWith("Missing required creator property 'name'")); + assertThat(mie.getMessage()).startsWith("Missing required creator property 'name'"); } - @SneakyThrows @Test - public void - givenGfpFieldJsonStringWithMissingElementSize_whenDeserializingData_thenThrowException() { + void givenGfpFieldJsonStringWithMissingElementSize_whenDeserializingData_thenThrowException() { String invalidGfpFieldJsonString = "{\"@type\":\"Gfp\",\"name\":\"gf2n\"}"; ObjectMapper om = new ObjectMapper(); MismatchedInputException mie = assertThrows( MismatchedInputException.class, () -> om.readerFor(Field.class).readValue(invalidGfpFieldJsonString)); - assertThat(mie.getMessage(), startsWith("Missing required creator property 'elementSize'")); + assertThat(mie.getMessage()).startsWith("Missing required creator property 'elementSize'"); } } diff --git a/castor-common/src/test/java/io/carbynestack/castor/common/entities/ReservationElementTest.java b/castor-common/src/test/java/io/carbynestack/castor/common/entities/ReservationElementTest.java index b199e1f..fb944dd 100644 --- a/castor-common/src/test/java/io/carbynestack/castor/common/entities/ReservationElementTest.java +++ b/castor-common/src/test/java/io/carbynestack/castor/common/entities/ReservationElementTest.java @@ -7,22 +7,20 @@ package io.carbynestack.castor.common.entities; -import static org.hamcrest.CoreMatchers.startsWith; -import static org.hamcrest.MatcherAssert.assertThat; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertThrows; +import static org.assertj.core.api.Assertions.assertThat; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; +import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.exc.MismatchedInputException; import java.util.Objects; import java.util.UUID; import java.util.stream.Stream; -import lombok.SneakyThrows; import org.apache.commons.lang3.StringUtils; -import org.junit.Assert; -import org.junit.Test; +import org.junit.jupiter.api.Test; -public class ReservationElementTest { +class ReservationElementTest { private final UUID testChunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229"); private final long testNumberOfTuples = 1200; private final long testStartIndex = 42; @@ -30,7 +28,7 @@ public class ReservationElementTest { private final ObjectMapper objectMapper = new ObjectMapper(); @Test - public void givenChunkIdIsNull_whenCreate_thenThrowNullPointerException() { + void givenChunkIdIsNull_whenCreate_thenThrowNullPointerException() { NullPointerException actualNpe = assertThrows( NullPointerException.class, @@ -39,26 +37,26 @@ public void givenChunkIdIsNull_whenCreate_thenThrowNullPointerException() { } @Test - public void givenNumberOfTuplesIsZero_whenCreate_thenThrowIllegalArgumentException() { + void givenNumberOfTuplesIsZero_whenCreate_thenThrowIllegalArgumentException() { IllegalArgumentException iae = assertThrows( IllegalArgumentException.class, () -> new ReservationElement(testChunkId, 0, testStartIndex)); - Assert.assertEquals(ReservationElement.MUST_RESERVE_TUPLES_EXCEPTION_MSG, iae.getMessage()); + assertEquals(ReservationElement.MUST_RESERVE_TUPLES_EXCEPTION_MSG, iae.getMessage()); } @Test - public void givenStartIndexIsNegative_whenCreate_thenThrowIllegalArgumentException() { + void givenStartIndexIsNegative_whenCreate_thenThrowIllegalArgumentException() { IllegalArgumentException iae = assertThrows( IllegalArgumentException.class, () -> new ReservationElement(testChunkId, testNumberOfTuples, -1)); - Assert.assertEquals( + assertEquals( ReservationElement.START_INDEX_MUST_NOT_BE_NEGATIVE_EXCEPTION_MSG, iae.getMessage()); } @Test - public void givenJsonStringWithoutTupleChunkId_whenDeserialize_thenThrowJsonParseException() { + void givenJsonStringWithoutTupleChunkId_whenDeserialize_thenThrowJsonParseException() { String incompleteData = new ReservationElementJsonStringBuilder() .withReservedTuples(testNumberOfTuples) @@ -69,13 +67,12 @@ public void givenJsonStringWithoutTupleChunkId_whenDeserialize_thenThrowJsonPars assertThrows( MismatchedInputException.class, () -> objectMapper.readValue(incompleteData, ReservationElement.class)); - assertThat( - actualJpeMie.getMessage(), startsWith("Missing required creator property 'tupleChunkId'")); + assertThat(actualJpeMie.getMessage()) + .startsWith("Missing required creator property 'tupleChunkId'"); } @Test - public void - givenJsonStringWithoutNumberOfTripleShares_whenDeserialize_thenThrowJsonParseException() { + void givenJsonStringWithoutNumberOfTripleShares_whenDeserialize_thenThrowJsonParseException() { String incompleteData = new ReservationElementJsonStringBuilder() .withTupleChunkId(testChunkId) @@ -86,13 +83,12 @@ public void givenJsonStringWithoutTupleChunkId_whenDeserialize_thenThrowJsonPars assertThrows( MismatchedInputException.class, () -> objectMapper.readValue(incompleteData, ReservationElement.class)); - assertThat( - actualJpeMie.getMessage(), - startsWith("Missing required creator property 'reservedTuples'")); + assertThat(actualJpeMie.getMessage()) + .startsWith("Missing required creator property 'reservedTuples'"); } @Test - public void givenJsonStringWithoutStartIndex_whenDeserialize_thenThrowJsonParseException() { + void givenJsonStringWithoutStartIndex_whenDeserialize_thenThrowJsonParseException() { String incompleteData = new ReservationElementJsonStringBuilder() .withTupleChunkId(testChunkId) @@ -103,13 +99,13 @@ public void givenJsonStringWithoutStartIndex_whenDeserialize_thenThrowJsonParseE assertThrows( MismatchedInputException.class, () -> objectMapper.readValue(incompleteData, ReservationElement.class)); - assertThat( - actualJpeMie.getMessage(), startsWith("Missing required creator property 'startIndex'")); + assertThat(actualJpeMie.getMessage()) + .startsWith("Missing required creator property 'startIndex'"); } - @SneakyThrows @Test - public void givenValidJsonString_whenDeserialize_thenReturnExpectedObject() { + void givenValidJsonString_whenDeserialize_thenReturnExpectedObject() + throws JsonProcessingException { String data = new ReservationElementJsonStringBuilder() .withTupleChunkId(testChunkId) diff --git a/castor-common/src/test/java/io/carbynestack/castor/common/entities/ReservationTest.java b/castor-common/src/test/java/io/carbynestack/castor/common/entities/ReservationTest.java index 50fd04f..39bd610 100644 --- a/castor-common/src/test/java/io/carbynestack/castor/common/entities/ReservationTest.java +++ b/castor-common/src/test/java/io/carbynestack/castor/common/entities/ReservationTest.java @@ -10,23 +10,22 @@ import static io.carbynestack.castor.common.entities.Reservation.ID_MUST_NOT_BE_NULL_OR_EMPTY_EXCEPTION_MSG; import static io.carbynestack.castor.common.entities.Reservation.ONE_RESERVATION_ELEMENT_REQUIRED_EXCEPTION_MSG; import static java.util.Collections.emptyList; -import static org.hamcrest.CoreMatchers.startsWith; -import static org.hamcrest.MatcherAssert.assertThat; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertThrows; +import static org.assertj.core.api.Assertions.assertThat; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; +import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.exc.MismatchedInputException; import java.util.*; import java.util.stream.Stream; -import lombok.SneakyThrows; import org.apache.commons.lang3.StringUtils; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.mockito.junit.MockitoJUnitRunner; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.junit.jupiter.MockitoExtension; -@RunWith(MockitoJUnitRunner.class) -public class ReservationTest { +@ExtendWith(MockitoExtension.class) +class ReservationTest { private final String testReservationId = "80fbba1b-3da8-4b1e-8a2c-cebd65229fad_MULTIPLICATION_TRIPLE_GFP"; private final TupleType testTupleType = TupleType.MULTIPLICATION_TRIPLE_GFP; @@ -38,7 +37,7 @@ public class ReservationTest { private final ObjectMapper objectMapper = new ObjectMapper(); @Test - public void givenIdIsNull_whenCreate_thenThrowNullPointerException() { + void givenIdIsNull_whenCreate_thenThrowNullPointerException() { NullPointerException actualNpe = assertThrows( NullPointerException.class, @@ -47,7 +46,7 @@ public void givenIdIsNull_whenCreate_thenThrowNullPointerException() { } @Test - public void givenIdIsEmpty_whenCreate_thenThrowIllegalArgumentException() { + void givenIdIsEmpty_whenCreate_thenThrowIllegalArgumentException() { IllegalArgumentException iae = assertThrows( IllegalArgumentException.class, @@ -56,7 +55,7 @@ public void givenIdIsEmpty_whenCreate_thenThrowIllegalArgumentException() { } @Test - public void givenReservationElementsIsEmpty_whenCreate_thenThrowIllegalArgumentException() { + void givenReservationElementsIsEmpty_whenCreate_thenThrowIllegalArgumentException() { List emptyReservations = emptyList(); IllegalArgumentException iae = assertThrows( @@ -65,9 +64,9 @@ public void givenReservationElementsIsEmpty_whenCreate_thenThrowIllegalArgumentE assertEquals(ONE_RESERVATION_ELEMENT_REQUIRED_EXCEPTION_MSG, iae.getMessage()); } - @SneakyThrows @Test - public void givenValidJsonString_whenDeserialize_thenReturnExpectedObject() { + void givenValidJsonString_whenDeserialize_thenReturnExpectedObject() + throws JsonProcessingException { ActivationStatus expectedStatus = ActivationStatus.UNLOCKED; String jsonString = new ReservationJsonStringBuilder() @@ -84,7 +83,8 @@ public void givenValidJsonString_whenDeserialize_thenReturnExpectedObject() { } @Test - public void givenJsonStringWithoutReservationId_whenDeserialize_thenThrowJsonParseException() { + void givenJsonStringWithoutReservationId_whenDeserialize_thenThrowJsonParseException() + throws JsonProcessingException { String incompleteData = new ReservationJsonStringBuilder() .withTupleType(TupleType.MULTIPLICATION_TRIPLE_GFP) @@ -96,12 +96,12 @@ public void givenJsonStringWithoutReservationId_whenDeserialize_thenThrowJsonPar assertThrows( MismatchedInputException.class, () -> objectMapper.readValue(incompleteData, Reservation.class)); - assertThat( - actualJpeMie.getMessage(), startsWith("Missing required creator property 'reservationId'")); + assertThat(actualJpeMie.getMessage()) + .startsWith("Missing required creator property 'reservationId'"); } @Test - public void givenJsonStringWithoutReservations_whenDeserialize_thenThrowJsonParseException() { + void givenJsonStringWithoutReservations_whenDeserialize_thenThrowJsonParseException() { String incompleteData = new ReservationJsonStringBuilder() .withReservationId(UUID.randomUUID().toString()) @@ -113,12 +113,13 @@ public void givenJsonStringWithoutReservations_whenDeserialize_thenThrowJsonPars assertThrows( MismatchedInputException.class, () -> objectMapper.readValue(incompleteData, Reservation.class)); - assertThat( - actualJpeMie.getMessage(), startsWith("Missing required creator property 'reservations'")); + assertThat(actualJpeMie.getMessage()) + .startsWith("Missing required creator property 'reservations'"); } @Test - public void givenJsonStringWithoutTupleType_whenDeserialize_thenThrowJsonParseException() { + void givenJsonStringWithoutTupleType_whenDeserialize_thenThrowJsonParseException() + throws JsonProcessingException { String incompleteData = new ReservationJsonStringBuilder() .withReservationId(UUID.randomUUID().toString()) @@ -130,12 +131,13 @@ public void givenJsonStringWithoutTupleType_whenDeserialize_thenThrowJsonParseEx assertThrows( MismatchedInputException.class, () -> objectMapper.readValue(incompleteData, Reservation.class)); - assertThat( - actualJpeMie.getMessage(), startsWith("Missing required creator property 'tupleType'")); + assertThat(actualJpeMie.getMessage()) + .startsWith("Missing required creator property 'tupleType'"); } @Test - public void givenJsonStringWithoutStatus_whenDeserialize_thenThrowJsonParseException() { + void givenJsonStringWithoutStatus_whenDeserialize_thenThrowJsonParseException() + throws JsonProcessingException { String incompleteData = new ReservationJsonStringBuilder() .withReservationId(UUID.randomUUID().toString()) @@ -147,7 +149,7 @@ public void givenJsonStringWithoutStatus_whenDeserialize_thenThrowJsonParseExcep assertThrows( MismatchedInputException.class, () -> objectMapper.readValue(incompleteData, Reservation.class)); - assertThat(actualJpeMie.getMessage(), startsWith("Missing required creator property 'status'")); + assertThat(actualJpeMie.getMessage()).startsWith("Missing required creator property 'status'"); } private static class ReservationJsonStringBuilder { @@ -173,8 +175,8 @@ public ReservationJsonStringBuilder withStatus(ActivationStatus status) { return this; } - @SneakyThrows - public ReservationJsonStringBuilder withReservations(List reservations) { + public ReservationJsonStringBuilder withReservations(List reservations) + throws JsonProcessingException { this.reservations = String.format("\"reservations\":%s", objectMapper.writeValueAsString(reservations)); return this; diff --git a/castor-common/src/test/java/io/carbynestack/castor/common/entities/ShareTest.java b/castor-common/src/test/java/io/carbynestack/castor/common/entities/ShareTest.java index 0134fd0..e1774c3 100644 --- a/castor-common/src/test/java/io/carbynestack/castor/common/entities/ShareTest.java +++ b/castor-common/src/test/java/io/carbynestack/castor/common/entities/ShareTest.java @@ -7,31 +7,30 @@ package io.carbynestack.castor.common.entities; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertThrows; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; import org.apache.commons.lang3.RandomUtils; -import org.junit.Assert; -import org.junit.Test; +import org.junit.jupiter.api.Test; -public class ShareTest { +class ShareTest { @Test - public void givenInvalidMacData_whenCreateNew_thenThrowIllegalArgumentException() { + void givenInvalidMacData_whenCreateNew_thenThrowIllegalArgumentException() { IllegalArgumentException actualIae = assertThrows(IllegalArgumentException.class, () -> new Share(new byte[16], new byte[1])); - Assert.assertEquals(Share.DATA_MUST_BE_SAME_LENGTH_EXCEPTION_MESSAGE, actualIae.getMessage()); + assertEquals(Share.DATA_MUST_BE_SAME_LENGTH_EXCEPTION_MESSAGE, actualIae.getMessage()); } @Test - public void givenInvalidValueData_whenCreateNew_thenThrowIllegalArgumentException() { + void givenInvalidValueData_whenCreateNew_thenThrowIllegalArgumentException() { IllegalArgumentException actualIae = assertThrows(IllegalArgumentException.class, () -> new Share(new byte[1], new byte[16])); - Assert.assertEquals(Share.DATA_MUST_BE_SAME_LENGTH_EXCEPTION_MESSAGE, actualIae.getMessage()); + assertEquals(Share.DATA_MUST_BE_SAME_LENGTH_EXCEPTION_MESSAGE, actualIae.getMessage()); } @Test - public void givenValidShareData_whenCreate_thenReturnExpectedShare() { + void givenValidShareData_whenCreate_thenReturnExpectedShare() { byte[] expectedTupleValueData = RandomUtils.nextBytes(Field.GFP.getElementSize()); byte[] expectedTupleMacData = RandomUtils.nextBytes(Field.GFP.getElementSize()); Share actualShare = new Share(expectedTupleValueData, expectedTupleMacData); diff --git a/castor-common/src/test/java/io/carbynestack/castor/common/entities/TupleChunkTest.java b/castor-common/src/test/java/io/carbynestack/castor/common/entities/TupleChunkTest.java index ca5bda6..991d73d 100644 --- a/castor-common/src/test/java/io/carbynestack/castor/common/entities/TupleChunkTest.java +++ b/castor-common/src/test/java/io/carbynestack/castor/common/entities/TupleChunkTest.java @@ -9,18 +9,18 @@ import static io.carbynestack.castor.common.entities.Field.GFP; import static io.carbynestack.castor.common.entities.TupleChunk.INVALID_DATA_LENGTH_EXCEPTION_MSG; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertThrows; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; import io.carbynestack.castor.common.exceptions.CastorClientException; import java.util.UUID; import org.apache.commons.lang3.RandomUtils; -import org.junit.Test; +import org.junit.jupiter.api.Test; -public class TupleChunkTest { +class TupleChunkTest { @Test - public void givenValidAttributes_whenCreate_thenReturnExpectedChunk() { + void givenValidAttributes_whenCreate_thenReturnExpectedChunk() { TupleType expectedTupleType = TupleType.BIT_GFP; UUID expectedUUID = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); byte[] expectedTupleData = @@ -38,7 +38,7 @@ public void givenValidAttributes_whenCreate_thenReturnExpectedChunk() { } @Test - public void givenDataOfInvalidLength_whenCreate_thenThrowCastorClientException() { + void givenDataOfInvalidLength_whenCreate_thenThrowCastorClientException() { TupleType tupleType = TupleType.BIT_GFP; UUID chunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); byte[] invalidTupleData = diff --git a/castor-common/src/test/java/io/carbynestack/castor/common/entities/TupleListTest.java b/castor-common/src/test/java/io/carbynestack/castor/common/entities/TupleListTest.java index 24c3ed8..692de09 100644 --- a/castor-common/src/test/java/io/carbynestack/castor/common/entities/TupleListTest.java +++ b/castor-common/src/test/java/io/carbynestack/castor/common/entities/TupleListTest.java @@ -7,8 +7,8 @@ package io.carbynestack.castor.common.entities; -import static org.hamcrest.CoreMatchers.startsWith; -import static org.junit.Assert.*; +import static org.assertj.core.api.Assertions.assertThat; +import static org.junit.jupiter.api.Assertions.*; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.mockConstruction; @@ -22,20 +22,17 @@ import java.util.Collections; import java.util.UUID; import java.util.stream.IntStream; -import lombok.SneakyThrows; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.RandomUtils; -import org.hamcrest.MatcherAssert; -import org.hamcrest.Matchers; -import org.junit.Test; +import org.assertj.core.util.Lists; +import org.junit.jupiter.api.Test; import org.mockito.MockedConstruction; -public class TupleListTest { +class TupleListTest { private final ObjectMapper objectMapper = new ObjectMapper(); - @SneakyThrows @Test - public void givenValidInputStream_whenCreateFromStream_thenReturnExpectedTupleList() { + void givenValidInputStream_whenCreateFromStream_thenReturnExpectedTupleList() throws IOException { byte[][] tupleValueData = new byte[][] { RandomUtils.nextBytes(Field.GFP.getElementSize()), @@ -55,13 +52,12 @@ public void givenValidInputStream_whenCreateFromStream_thenReturnExpectedTupleLi TupleType.BIT_GFP.getField(), new ByteArrayInputStream(tupleData), tupleData.length); - MatcherAssert.assertThat( - (TupleList, Field.Gfp>) actualTupleList, - Matchers.containsInRelativeOrder(expectedTuple1, expectedTuple2)); + assertThat((TupleList, Field.Gfp>) actualTupleList) + .containsExactlyElementsOf(Lists.list(expectedTuple1, expectedTuple2)); } @Test - public void givenJsonDoesNotContainRequiredMacValue_whenDeserializeFromJson_thenThrowException() { + void givenJsonDoesNotContainRequiredMacValue_whenDeserializeFromJson_thenThrowException() { String missingMacData = "{\"tupleCls\":\"InputMask\",\"field\":{\"@type\":\"Gfp\",\"name\":\"gfp\",\"elementSize\":128},\"tuples\":" + "[{\"@type\":\"InputMask\",\"field\":{\"@type\":\"Gfp\",\"name\":\"gfp\",\"elementSize\":128},\"shares\":[{\"value\":\"DuLIdi2fllkbdinOZKz0z7ZUbqJ5cWM18lp/csHjggMCXleMA5W5GRnEJ8QFTrDO++nm0XPWWQIiZwtT6/keSqqYwPA1EysyZbv8dPNhLWO6VxItSfzJO0hmaIdRnQkcXHKr0Fey0fS/p+n7KCwSwmo7mqEGjwmvFosaRffS+ro=\",\"mac\":\"z7X3Po2vlaju3y9QUzmfdSXfGkuJFA0ghD9tItY/1IOfgONREWsx5Dmifd9XQSQyKKpmugfTMe5OSYEjW7Nx2Mw7RbuxNiOK7gBqccrZPg5XIZfKhwfuiHH+SvjlgRBOOyTc0050msre3tEgd/hMALZ3DTplbOFMsoly80qvV24=\"}]}," @@ -72,13 +68,12 @@ public void givenJsonDoesNotContainRequiredMacValue_whenDeserializeFromJson_then assertThrows( JsonMappingException.class, () -> objectMapper.readValue(missingMacData, TupleList.class)); - MatcherAssert.assertThat( - jme.getMessage(), startsWith("Missing required creator property 'mac'")); + assertThat(jme.getMessage()).startsWith("Missing required creator property 'mac'"); } - @SneakyThrows @Test - public void givenValidTupleList_whenJsonSerializationRoundTrip_thenRecoverInitialObject() { + void givenValidTupleList_whenJsonSerializationRoundTrip_thenRecoverInitialObject() + throws IOException { for (TupleType type : TupleType.values()) { byte[] tupleData = IntStream.range(0, type.getArity() * 2) @@ -97,9 +92,8 @@ public void givenValidTupleList_whenJsonSerializationRoundTrip_thenRecoverInitia } } - @SneakyThrows @Test - public void givenEmptyTupleList_whenSerializationRoundTrip_thenRecoverExpectedList() { + void givenEmptyTupleList_whenSerializationRoundTrip_thenRecoverExpectedList() throws IOException { for (TupleType type : TupleType.values()) { TupleList expectedTupleList = TupleList.fromStream( @@ -110,9 +104,8 @@ public void givenEmptyTupleList_whenSerializationRoundTrip_thenRecoverExpectedLi } } - @SneakyThrows @Test - public void givenValidTupleList_whenExportAsChunk_thenReturnExpectedTupleChunk() { + void givenValidTupleList_whenExportAsChunk_thenReturnExpectedTupleChunk() throws IOException { UUID expectedUUID = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); byte[] tupleValueData = RandomUtils.nextBytes(Field.GFP.getElementSize()); byte[] tupleMacData = RandomUtils.nextBytes(Field.GFP.getElementSize()); @@ -128,7 +121,7 @@ public void givenValidTupleList_whenExportAsChunk_thenReturnExpectedTupleChunk() } @Test - public void givenWritingToStreamThrowsException_whenExportAsChunk_thenRethrowIOException() { + void givenWritingToStreamThrowsException_whenExportAsChunk_thenRethrowIOException() { UUID chunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); byte[] tupleValueData = RandomUtils.nextBytes(Field.GFP.getElementSize()); byte[] tupleMacData = RandomUtils.nextBytes(Field.GFP.getElementSize()); diff --git a/castor-common/src/test/java/io/carbynestack/castor/common/websocket/UploadTupleChunkResponseTest.java b/castor-common/src/test/java/io/carbynestack/castor/common/websocket/UploadTupleChunkResponseTest.java index d32a204..ee7807a 100644 --- a/castor-common/src/test/java/io/carbynestack/castor/common/websocket/UploadTupleChunkResponseTest.java +++ b/castor-common/src/test/java/io/carbynestack/castor/common/websocket/UploadTupleChunkResponseTest.java @@ -6,18 +6,18 @@ */ package io.carbynestack.castor.common.websocket; -import static org.junit.Assert.*; +import static org.junit.jupiter.api.Assertions.*; import io.carbynestack.castor.common.exceptions.CastorClientException; import java.util.UUID; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.SerializationUtils; -import org.junit.Test; +import org.junit.jupiter.api.Test; -public class UploadTupleChunkResponseTest { +class UploadTupleChunkResponseTest { @Test - public void givenResponseWithSuccess_whenSerializationRoundTrip_thenRecoverActualResponse() { + void givenResponseWithSuccess_whenSerializationRoundTrip_thenRecoverActualResponse() { UUID expectedChunkId = UUID.randomUUID(); byte[] request = SerializationUtils.serialize(UploadTupleChunkResponse.success(expectedChunkId)); @@ -29,7 +29,7 @@ public void givenResponseWithSuccess_whenSerializationRoundTrip_thenRecoverActua } @Test - public void givenInvalidPayload_whenDeserialize_thenThrowCastorClientException() { + void givenInvalidPayload_whenDeserialize_thenThrowCastorClientException() { UUID chunkId = UUID.randomUUID(); byte[] payload = SerializationUtils.serialize(UploadTupleChunkResponse.success(chunkId)); byte[] invalidPayload = ArrayUtils.subarray(payload, 0, payload.length - 1); @@ -41,7 +41,7 @@ public void givenInvalidPayload_whenDeserialize_thenThrowCastorClientException() } @Test - public void givenResponseWithFailure_whenSerializationRoundTrip_thenRecoverActualResponse() { + void givenResponseWithFailure_whenSerializationRoundTrip_thenRecoverActualResponse() { UUID expectedChunkId = UUID.randomUUID(); String expectedErrorMsg = "Expected message"; byte[] request = diff --git a/castor-java-client/3RD-PARTY-LICENSES/sbom.xml b/castor-java-client/3RD-PARTY-LICENSES/sbom.xml index 50605f1..f7c8a6f 100644 --- a/castor-java-client/3RD-PARTY-LICENSES/sbom.xml +++ b/castor-java-client/3RD-PARTY-LICENSES/sbom.xml @@ -157,7 +157,7 @@ Project Lombok org.projectlombok lombok - 1.18.18 + 1.18.20 https://projectlombok.org diff --git a/castor-java-client/pom.xml b/castor-java-client/pom.xml index c8d6f91..0a29548 100644 --- a/castor-java-client/pom.xml +++ b/castor-java-client/pom.xml @@ -55,23 +55,23 @@ test - org.mockito - mockito-core + org.junit.jupiter + junit-jupiter-api test - org.mockito - mockito-inline + org.junit.jupiter + junit-jupiter-engine test - org.hamcrest - hamcrest-junit + org.mockito + mockito-inline test - junit - junit + org.mockito + mockito-junit-jupiter test diff --git a/castor-java-client/src/test/java/io/carbynestack/castor/client/download/DefaultCastorInterVcpClientTest.java b/castor-java-client/src/test/java/io/carbynestack/castor/client/download/DefaultCastorInterVcpClientTest.java index eb40c62..b310a46 100644 --- a/castor-java-client/src/test/java/io/carbynestack/castor/client/download/DefaultCastorInterVcpClientTest.java +++ b/castor-java-client/src/test/java/io/carbynestack/castor/client/download/DefaultCastorInterVcpClientTest.java @@ -8,7 +8,7 @@ import static io.carbynestack.castor.common.CastorServiceUri.MUST_NOT_BE_EMPTY_EXCEPTION_MSG; import static java.util.Collections.singletonList; -import static org.junit.Assert.*; +import static org.junit.jupiter.api.Assertions.*; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.*; @@ -26,15 +26,14 @@ import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; -import lombok.SneakyThrows; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.MockedConstruction; import org.mockito.Mockito; -import org.mockito.junit.MockitoJUnitRunner; +import org.mockito.junit.jupiter.MockitoExtension; -@RunWith(MockitoJUnitRunner.class) -public class DefaultCastorInterVcpClientTest { +@ExtendWith(MockitoExtension.class) +class DefaultCastorInterVcpClientTest { private final CsHttpClient csHttpClientMock; private final List serviceAddresses = @@ -50,15 +49,14 @@ public DefaultCastorInterVcpClientTest() { } @Test - public void givenServiceAddressIsNull_whenGetBuilderInstance_thenThrowIllegalArgumentException() { + void givenServiceAddressIsNull_whenGetBuilderInstance_thenThrowIllegalArgumentException() { NullPointerException actualNpe = assertThrows(NullPointerException.class, () -> DefaultCastorInterVcpClient.builder(null)); assertEquals("serviceAddresses is marked non-null but is null", actualNpe.getMessage()); } @Test - public void - givenSingleServiceAddressIsNull_whenGetBuilderInstance_thenThrowIllegalArgumentException() { + void givenSingleServiceAddressIsNull_whenGetBuilderInstance_thenThrowIllegalArgumentException() { List listWithNullAddress = singletonList(null); IllegalArgumentException actualIae = assertThrows( @@ -68,8 +66,7 @@ public void givenServiceAddressIsNull_whenGetBuilderInstance_thenThrowIllegalArg } @Test - public void - givenSingleServiceAddressIsEmpty_whenGetBuilderInstance_thenThrowIllegalArgumentException() { + void givenSingleServiceAddressIsEmpty_whenGetBuilderInstance_thenThrowIllegalArgumentException() { List listWithEmptyAddress = singletonList(""); IllegalArgumentException actualIae = assertThrows( @@ -78,9 +75,8 @@ public void givenServiceAddressIsNull_whenGetBuilderInstance_thenThrowIllegalArg assertEquals(MUST_NOT_BE_EMPTY_EXCEPTION_MSG, actualIae.getMessage()); } - @SneakyThrows @Test - public void givenSslConfiguration_whenBuildClient_thenInitializeCsHttpClientAccordingly() { + void givenSslConfiguration_whenBuildClient_thenInitializeCsHttpClientAccordingly() { String expectedBearerToken = "testBearerToken"; BearerTokenProvider expectedBearerTokenProvider = mock(BearerTokenProvider.class); File expectedTrustedCertificateFile = mock(File.class); @@ -106,9 +102,9 @@ public void givenSslConfiguration_whenBuildClient_thenInitializeCsHttpClientAcco } } - @SneakyThrows @Test - public void givenSingleEndpointReturnsFailure_whenShareReservation_thenReturnFalse() { + void givenSingleEndpointReturnsFailure_whenShareReservation_thenReturnFalse() + throws CsHttpClientException { URI successEndpoint = new CastorServiceUri(serviceAddresses.get(0)).getInterVcpReservationUri(); URI failureEndpoint = new CastorServiceUri(serviceAddresses.get(1)).getInterVcpReservationUri(); Reservation sharedReservation = mock(Reservation.class); @@ -125,9 +121,9 @@ public void givenSingleEndpointReturnsFailure_whenShareReservation_thenReturnFal assertFalse(castorInterVcpClient.shareReservation(sharedReservation)); } - @SneakyThrows @Test - public void givenCommunicationFails_whenShareReservation_thenThrowCastorClientException() { + void givenCommunicationFails_whenShareReservation_thenThrowCastorClientException() + throws CsHttpClientException { CsHttpClientException expectedException = new CsHttpClientException("expected"); Reservation sharedReservation = mock(Reservation.class); @@ -143,9 +139,8 @@ public void givenCommunicationFails_whenShareReservation_thenThrowCastorClientEx assertEquals(expectedException, actualCce.getCause()); } - @SneakyThrows @Test - public void givenSuccessfulRequest_whenShareReservation_thenReturnTrue() { + void givenSuccessfulRequest_whenShareReservation_thenReturnTrue() throws CsHttpClientException { Reservation sharedReservation = mock(Reservation.class); CsResponseEntity successResponse = CsResponseEntity.success(200, "success"); @@ -160,9 +155,9 @@ public void givenSuccessfulRequest_whenShareReservation_thenReturnTrue() { assertTrue(castorInterVcpClient.shareReservation(sharedReservation)); } - @SneakyThrows @Test - public void givenCommunicationFails_whenUpdateReservation_thenThrowCastorClientException() { + void givenCommunicationFails_whenUpdateReservation_thenThrowCastorClientException() + throws CsHttpClientException { CsHttpClientException expectedException = new CsHttpClientException("expected"); String reservationId = "reservationId"; ActivationStatus status = ActivationStatus.UNLOCKED; @@ -179,9 +174,8 @@ public void givenCommunicationFails_whenUpdateReservation_thenThrowCastorClientE assertEquals(expectedException, actualCce.getCause()); } - @SneakyThrows @Test - public void givenSuccessfulRequests_whenUpdateReservation_thenDoNothing() { + void givenSuccessfulRequests_whenUpdateReservation_thenDoNothing() throws CsHttpClientException { String reservationId = "reservationId"; ActivationStatus status = ActivationStatus.UNLOCKED; diff --git a/castor-java-client/src/test/java/io/carbynestack/castor/client/download/DefaultCastorIntraVcpClientTest.java b/castor-java-client/src/test/java/io/carbynestack/castor/client/download/DefaultCastorIntraVcpClientTest.java index ad918d1..76253d9 100644 --- a/castor-java-client/src/test/java/io/carbynestack/castor/client/download/DefaultCastorIntraVcpClientTest.java +++ b/castor-java-client/src/test/java/io/carbynestack/castor/client/download/DefaultCastorIntraVcpClientTest.java @@ -11,8 +11,8 @@ import static io.carbynestack.castor.common.CastorServiceUri.MUST_NOT_BE_EMPTY_EXCEPTION_MSG; import static io.carbynestack.castor.common.entities.Field.GFP; import static java.util.Collections.singletonList; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertThrows; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.mock; @@ -26,21 +26,21 @@ import io.carbynestack.httpclient.CsHttpClientException; import io.carbynestack.httpclient.CsResponseEntity; import java.io.File; +import java.io.IOException; import java.net.URI; import java.nio.file.Files; import java.util.ArrayList; import java.util.Collections; import java.util.UUID; -import lombok.SneakyThrows; import org.apache.http.HttpStatus; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.MockedConstruction; import org.mockito.Mockito; -import org.mockito.junit.MockitoJUnitRunner; +import org.mockito.junit.jupiter.MockitoExtension; -@RunWith(MockitoJUnitRunner.class) -public class DefaultCastorIntraVcpClientTest { +@ExtendWith(MockitoExtension.class) +class DefaultCastorIntraVcpClientTest { private final Share testShare = new Share( new byte[] {1, 4, 72, -56, -22, -12, 72, 88, 109, 42, -27, 56, 109, 42, -27, 56}, @@ -59,7 +59,7 @@ public DefaultCastorIntraVcpClientTest() { } @Test - public void givenServiceAddressIsNull_whenGetBuilderInstance_thenThrowIllegalArgumentException() { + void givenServiceAddressIsNull_whenGetBuilderInstance_thenThrowIllegalArgumentException() { IllegalArgumentException actualIae = assertThrows( IllegalArgumentException.class, @@ -67,9 +67,9 @@ public void givenServiceAddressIsNull_whenGetBuilderInstance_thenThrowIllegalArg assertEquals(MUST_NOT_BE_EMPTY_EXCEPTION_MSG, actualIae.getMessage()); } - @SneakyThrows @Test - public void givenSslConfiguration_whenBuildClient_thenInitializeCsHttpClientAccordingly() { + void givenSslConfiguration_whenBuildClient_thenInitializeCsHttpClientAccordingly() + throws IOException { CastorServiceUri serviceUri = new CastorServiceUri(serviceAddress); String expectedBearerToken = "testBearerToken"; BearerTokenProvider expectedBearerTokenProvider = @@ -97,9 +97,9 @@ public void givenSslConfiguration_whenBuildClient_thenInitializeCsHttpClientAcco } } - @SneakyThrows @Test - public void givenSuccessfulRequest_whenDownloadTripleShares_thenReturnExpectedContent() { + void givenSuccessfulRequest_whenDownloadTripleShares_thenReturnExpectedContent() + throws CsHttpClientException { UUID requestId = UUID.fromString("3dc08ff2-5eed-49a9-979e-3a3ac0e4a2cf"); int expectedCount = 2; TupleList, Field.Gfp> expectedTripleList = @@ -123,9 +123,9 @@ public void givenSuccessfulRequest_whenDownloadTripleShares_thenReturnExpectedCo assertEquals(expectedTripleList, actualTripleList); } - @SneakyThrows @Test - public void givenRequestEmitsError_whenDownloadTripleShares_thenThrowCastorClientException() { + void givenRequestEmitsError_whenDownloadTripleShares_thenThrowCastorClientException() + throws CsHttpClientException { UUID requestId = UUID.fromString("3dc08ff2-5eed-49a9-979e-3a3ac0e4a2cf"); CsHttpClientException expectedCause = new CsHttpClientException("totally expected"); URI expectedUri = new CastorServiceUri(serviceAddress).getRestServiceUri(); @@ -147,9 +147,9 @@ public void givenRequestEmitsError_whenDownloadTripleShares_thenThrowCastorClien assertEquals(expectedCause, actualCce.getCause()); } - @SneakyThrows @Test - public void givenSuccessfulRequest_whenGetTelemetryData_thenReturnExpectedContent() { + void givenSuccessfulRequest_whenGetTelemetryData_thenReturnExpectedContent() + throws CsHttpClientException { TelemetryData expectedTelemetryData = new TelemetryData(new ArrayList<>(), 100); CsResponseEntity responseEntity = CsResponseEntity.success(HttpStatus.SC_OK, expectedTelemetryData); @@ -162,9 +162,9 @@ public void givenSuccessfulRequest_whenGetTelemetryData_thenReturnExpectedConten assertEquals(expectedTelemetryData, actualTelemetryData); } - @SneakyThrows @Test - public void givenRequestEmitsError_whenGetTelemetryData_thenThrowCastorClientException() { + void givenRequestEmitsError_whenGetTelemetryData_thenThrowCastorClientException() + throws CsHttpClientException { CsHttpClientException expectedCause = new CsHttpClientException("totally expected"); CastorServiceUri serviceUri = new CastorServiceUri(serviceAddress); when(csHttpClientMock.getForEntity( @@ -183,9 +183,9 @@ public void givenRequestEmitsError_whenGetTelemetryData_thenThrowCastorClientExc assertEquals(expectedCause, actualCce.getCause()); } - @SneakyThrows @Test - public void givenSuccessfulRequest_whenGetTelemetryDataWithInterval_thenReturnExpectedContent() { + void givenSuccessfulRequest_whenGetTelemetryDataWithInterval_thenReturnExpectedContent() + throws CsHttpClientException { long requestInterval = 50; TelemetryData expectedTelemetryData = new TelemetryData(new ArrayList<>(), 100); CsResponseEntity responseEntity = @@ -199,10 +199,9 @@ public void givenSuccessfulRequest_whenGetTelemetryDataWithInterval_thenReturnEx assertEquals(expectedTelemetryData, actualTelemetryData); } - @SneakyThrows @Test - public void - givenRequestEmitsError_whenGetTelemetryDataWithInterval_thenThrowCastorClientException() { + void givenRequestEmitsError_whenGetTelemetryDataWithInterval_thenThrowCastorClientException() + throws CsHttpClientException { long requestInterval = 50; CsHttpClientException expectedCause = new CsHttpClientException("totally expected"); diff --git a/castor-service/3RD-PARTY-LICENSES/com.fasterxml.jackson.datatype_jackson-datatype-jsr310/LICENSE b/castor-service/3RD-PARTY-LICENSES/com.fasterxml.jackson.datatype_jackson-datatype-jsr310/LICENSE index f5f45d2..8dada3e 100644 --- a/castor-service/3RD-PARTY-LICENSES/com.fasterxml.jackson.datatype_jackson-datatype-jsr310/LICENSE +++ b/castor-service/3RD-PARTY-LICENSES/com.fasterxml.jackson.datatype_jackson-datatype-jsr310/LICENSE @@ -1,8 +1,201 @@ -This copy of Jackson JSON processor streaming parser/generator is licensed under the -Apache (Software) License, version 2.0 ("the License"). -See the License for details about distribution rights, and the -specific rights regarding derivate works. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -You may obtain a copy of the License at: + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -http://www.apache.org/licenses/LICENSE-2.0 + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + 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. diff --git a/castor-service/3RD-PARTY-LICENSES/org.jvnet.staxex_stax-ex/LICENSE.md b/castor-service/3RD-PARTY-LICENSES/com.sun.activation_jakarta.activation/LICENSE.md similarity index 96% rename from castor-service/3RD-PARTY-LICENSES/org.jvnet.staxex_stax-ex/LICENSE.md rename to castor-service/3RD-PARTY-LICENSES/com.sun.activation_jakarta.activation/LICENSE.md index c739f78..e0358f9 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.jvnet.staxex_stax-ex/LICENSE.md +++ b/castor-service/3RD-PARTY-LICENSES/com.sun.activation_jakarta.activation/LICENSE.md @@ -1,5 +1,5 @@ - Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/castor-service/3RD-PARTY-LICENSES/com.sun.activation_jakarta.activation/NOTICE.md b/castor-service/3RD-PARTY-LICENSES/com.sun.activation_jakarta.activation/NOTICE.md new file mode 100644 index 0000000..010e450 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/com.sun.activation_jakarta.activation/NOTICE.md @@ -0,0 +1,33 @@ +# Notices for Jakarta Activation + +This content is produced and maintained by Jakarta Activation project. + +* Project home: https://projects.eclipse.org/projects/ee4j.jaf + +## Copyright + +All content is the property of the respective authors or their employers. For +more information regarding authorship of content, please consult the listed +source code repository logs. + +## Declared Project Licenses + +This program and the accompanying materials are made available under the terms +of the Eclipse Distribution License v. 1.0, +which is available at http://www.eclipse.org/org/documents/edl-v10.php. + +SPDX-License-Identifier: BSD-3-Clause + +## Source Code + +The project maintains the following source code repositories: + +* https://github.com/eclipse-ee4j/jaf + +## Third-party Content + +This project leverages the following third party content. + +JUnit (4.12) + +* License: Eclipse Public License diff --git a/castor-service/3RD-PARTY-LICENSES/com.sun.istack_istack-commons-runtime/NOTICE.md b/castor-service/3RD-PARTY-LICENSES/com.sun.istack_istack-commons-runtime/NOTICE.md index 85121e7..95ad0b0 100644 --- a/castor-service/3RD-PARTY-LICENSES/com.sun.istack_istack-commons-runtime/NOTICE.md +++ b/castor-service/3RD-PARTY-LICENSES/com.sun.istack_istack-commons-runtime/NOTICE.md @@ -1,3 +1,11 @@ +[//]: # " Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved. " +[//]: # " " +[//]: # " This program and the accompanying materials are made available under the " +[//]: # " terms of the Eclipse Distribution License v. 1.0, which is available at " +[//]: # " http://www.eclipse.org/org/documents/edl-v10.php. " +[//]: # " " +[//]: # " SPDX-License-Identifier: BSD-3-Clause " + # Notices for Eclipse Implementation of JAXB This content is produced and maintained by the Eclipse Implementation of JAXB diff --git a/castor-service/3RD-PARTY-LICENSES/com.sun.xml.fastinfoset_fastinfoset/LICENSE b/castor-service/3RD-PARTY-LICENSES/com.sun.xml.fastinfoset_fastinfoset/LICENSE deleted file mode 100644 index b5c3842..0000000 --- a/castor-service/3RD-PARTY-LICENSES/com.sun.xml.fastinfoset_fastinfoset/LICENSE +++ /dev/null @@ -1,193 +0,0 @@ -Apache License -Version 2.0, January 2004 -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, and - distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by the - copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all other - entities that control, are controlled by, or are under common control - with that entity. For the purposes of this definition, "control" means - (i) the power, direct or indirect, to cause the direction or management - of such entity, whether by contract or otherwise, or (ii) ownership of - fifty percent (50%) or more of the outstanding shares, or (iii) - beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity exercising - permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation source, - and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but not - limited to compiled object code, generated documentation, and - conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or Object - form, made available under the License, as indicated by a copyright - notice that is included in or attached to the work (an example is - provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including the original - version of the Work and any modifications or additions to that Work or - Derivative Works thereof, that is intentionally submitted to Licensor - for inclusion in the Work by the copyright owner or by an individual or - Legal Entity authorized to submit on behalf of the copyright owner. For - the purposes of this definition, "submitted" means any form of - electronic, verbal, or written communication sent to the Licensor or its - representatives, including but not limited to communication on - electronic mailing lists, source code control systems, and issue - tracking systems that are managed by, or on behalf of, the Licensor for - the purpose of discussing and improving the Work, but excluding - communication that is conspicuously marked or otherwise designated in - writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity on - behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this -License, each Contributor hereby grants to You a perpetual, worldwide, -non-exclusive, no-charge, royalty-free, irrevocable copyright license to -reproduce, prepare Derivative Works of, publicly display, publicly perform, -sublicense, and distribute the Work and such Derivative Works in Source or -Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this -License, each Contributor hereby grants to You a perpetual, worldwide, -non-exclusive, no-charge, royalty-free, irrevocable (except as stated in -this section) patent license to make, have made, use, offer to sell, sell, -import, and otherwise transfer the Work, where such license applies only to -those patent claims licensable by such Contributor that are necessarily -infringed by their Contribution(s) alone or by combination of their -Contribution(s) with the Work to which such Contribution(s) was submitted. -If You institute patent litigation against any entity (including a -cross-claim or counterclaim in a lawsuit) alleging that the Work or a -Contribution incorporated within the Work constitutes direct or contributory -patent infringement, then any patent licenses granted to You under this -License for that Work shall terminate as of the date such litigation is -filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or -Derivative Works thereof in any medium, with or without modifications, and -in Source or Object form, provided that You meet the following conditions: - - (a) You must give any other recipients of the Work or Derivative Works - a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works that - You distribute, all copyright, patent, trademark, and attribution - notices from the Source form of the Work, excluding those notices that - do not pertain to any part of the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained within - such NOTICE file, excluding those notices that do not pertain to any - part of the Derivative Works, in at least one of the following places: - within a NOTICE text file distributed as part of the Derivative Works; - within the Source form or documentation, if provided along with the - Derivative Works; or, within a display generated by the Derivative - Works, if and wherever such third-party notices normally appear. The - contents of the NOTICE file are for informational purposes only and do - not modify the License. You may add Your own attribution notices - within Derivative Works that You distribute, alongside or as an - addendum to the NOTICE text from the Work, provided that such - additional attribution notices cannot be construed as modifying the - License. - - You may add Your own copyright statement to Your modifications and may - provide additional or different license terms and conditions for use, - reproduction, or distribution of Your modifications, or for any such - Derivative Works as a whole, provided Your use, reproduction, and - distribution of the Work otherwise complies with the conditions stated - in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, any -Contribution intentionally submitted for inclusion in the Work by You to the -Licensor shall be under the terms and conditions of this License, without -any additional terms or conditions. Notwithstanding the above, nothing -herein shall supersede or modify the terms of any separate license agreement -you may have executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade -names, trademarks, service marks, or product names of the Licensor, except -as required for reasonable and customary use in describing the origin of the -Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in -writing, Licensor provides the Work (and each Contributor provides its -Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied, including, without limitation, any -warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or -FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining -the appropriateness of using or redistributing the Work and assume any -risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, whether -in tort (including negligence), contract, or otherwise, unless required by -applicable law (such as deliberate and grossly negligent acts) or agreed to -in writing, shall any Contributor be liable to You for damages, including -any direct, indirect, special, incidental, or consequential damages of any -character arising as a result of this License or out of the use or inability -to use the Work (including but not limited to damages for loss of goodwill, -work stoppage, computer failure or malfunction, or any and all other -commercial damages or losses), even if such Contributor has been advised of -the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing the Work -or Derivative Works thereof, You may choose to offer, and charge a fee for, -acceptance of support, warranty, indemnity, or other liability obligations -and/or rights consistent with this License. However, in accepting such -obligations, You may act only on Your own behalf and on Your sole -responsibility, not on behalf of any other Contributor, and only if You -agree to indemnify, defend, and hold each Contributor harmless for any -liability incurred by, or claims asserted against, such Contributor by -reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -APPENDIX: How to apply the Apache License to your work. - -To apply the Apache License to your work, attach the following boilerplate -notice, with the fields enclosed by brackets "[]" replaced with your own -identifying information. (Don't include the brackets!) The text should be -enclosed in the appropriate comment syntax for the file format. We also -recommend that a file or class name and description of purpose be included -on the same "printed page" as the copyright notice for easier identification -within third-party archives. - - Copyright [yyyy] [name of copyright owner] - -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. - diff --git a/castor-service/3RD-PARTY-LICENSES/com.sun.xml.fastinfoset_fastinfoset/NOTICE.md b/castor-service/3RD-PARTY-LICENSES/com.sun.xml.fastinfoset_fastinfoset/NOTICE.md deleted file mode 100644 index 85121e7..0000000 --- a/castor-service/3RD-PARTY-LICENSES/com.sun.xml.fastinfoset_fastinfoset/NOTICE.md +++ /dev/null @@ -1,190 +0,0 @@ -# Notices for Eclipse Implementation of JAXB - -This content is produced and maintained by the Eclipse Implementation of JAXB -project. - -* Project home: https://projects.eclipse.org/projects/ee4j.jaxb-impl - -## Trademarks - -Eclipse Implementation of JAXB is a trademark of the Eclipse Foundation. - -## Copyright - -All content is the property of the respective authors or their employers. For -more information regarding authorship of content, please consult the listed -source code repository logs. - -## Declared Project Licenses - -This program and the accompanying materials are made available under the terms -of the Eclipse Distribution License v. 1.0 which is available at -http://www.eclipse.org/org/documents/edl-v10.php. - -SPDX-License-Identifier: BSD-3-Clause - -## Source Code - -The project maintains the following source code repositories: - -* https://github.com/eclipse-ee4j/jaxb-ri -* https://github.com/eclipse-ee4j/jaxb-istack-commons -* https://github.com/eclipse-ee4j/jaxb-dtd-parser -* https://github.com/eclipse-ee4j/jaxb-fi -* https://github.com/eclipse-ee4j/jaxb-stax-ex -* https://github.com/eclipse-ee4j/jax-rpc-ri - -## Third-party Content - -This project leverages the following third party content. - -Apache Ant (1.10.2) - -* License: Apache-2.0 AND W3C AND LicenseRef-Public-Domain - -Apache Ant (1.10.2) - -* License: Apache-2.0 AND W3C AND LicenseRef-Public-Domain - -Apache Felix (1.2.0) - -* License: Apache License, 2.0 - -args4j (2.33) - -* License: MIT License - -dom4j (1.6.1) - -* License: Custom license based on Apache 1.1 - -file-management (3.0.0) - -* License: Apache-2.0 -* Project: https://maven.apache.org/shared/file-management/ -* Source: - https://svn.apache.org/viewvc/maven/shared/tags/file-management-3.0.0/ - -JUnit (4.12) - -* License: Eclipse Public License - -JUnit (4.12) - -* License: Eclipse Public License - -maven-compat (3.5.2) - -* License: Apache-2.0 -* Project: https://maven.apache.org/ref/3.5.2/maven-compat/ -* Source: - https://mvnrepository.com/artifact/org.apache.maven/maven-compat/3.5.2 - -maven-core (3.5.2) - -* License: Apache-2.0 -* Project: https://maven.apache.org/ref/3.5.2/maven-core/index.html -* Source: https://mvnrepository.com/artifact/org.apache.maven/maven-core/3.5.2 - -maven-plugin-annotations (3.5) - -* License: Apache-2.0 -* Project: https://maven.apache.org/plugin-tools/maven-plugin-annotations/ -* Source: - https://github.com/apache/maven-plugin-tools/tree/master/maven-plugin-annotations - -maven-plugin-api (3.5.2) - -* License: Apache-2.0 - -maven-resolver-api (1.1.1) - -* License: Apache-2.0 - -maven-resolver-api (1.1.1) - -* License: Apache-2.0 - -maven-resolver-connector-basic (1.1.1) - -* License: Apache-2.0 - -maven-resolver-impl (1.1.1) - -* License: Apache-2.0 - -maven-resolver-spi (1.1.1) - -* License: Apache-2.0 - -maven-resolver-transport-file (1.1.1) - -* License: Apache-2.0 -* Project: https://maven.apache.org/resolver/maven-resolver-transport-file/ -* Source: - https://github.com/apache/maven-resolver/tree/master/maven-resolver-transport-file - -maven-resolver-util (1.1.1) - -* License: Apache-2.0 - -maven-settings (3.5.2) - -* License: Apache-2.0 -* Source: - https://mvnrepository.com/artifact/org.apache.maven/maven-settings/3.5.2 - -OSGi Service Platform Core Companion Code (6.0) - -* License: Apache License, 2.0 - -plexus-archiver (3.5) - -* License: Apache-2.0 -* Project: https://codehaus-plexus.github.io/plexus-archiver/ -* Source: https://github.com/codehaus-plexus/plexus-archiver - -plexus-io (3.0.0) - -* License: Apache-2.0 - -plexus-utils (3.1.0) - -* License: Apache- 2.0 or Apache- 1.1 or BSD or Public Domain or Indiana - University Extreme! Lab Software License V1.1.1 (Apache 1.1 style) - -relaxng-datatype (1.0) - -* License: New BSD license - -Sax (0.2) - -* License: SAX-PD -* Project: http://www.megginson.com/downloads/SAX/ -* Source: http://sourceforge.net/project/showfiles.php?group_id=29449 - -testng (6.14.2) - -* License: Apache-2.0 AND (MIT OR GPL-1.0+) -* Project: https://testng.org/doc/index.html -* Source: https://github.com/cbeust/testng - -wagon-http-lightweight (3.0.0) - -* License: Pending -* Project: https://maven.apache.org/wagon/ -* Source: - https://mvnrepository.com/artifact/org.apache.maven.wagon/wagon-http-lightweight/3.0.0 - -xz for java (1.8) - -* License: LicenseRef-Public-Domain - -## Cryptography - -Content may contain encryption software. The country in which you are currently -may have restrictions on the import, possession, and use, and/or re-export to -another country, of encryption software. BEFORE using any encryption software, -please check the country's laws, regulations and policies concerning the import, -possession, or use, and re-export of encryption software, to see if this is -permitted. diff --git a/castor-service/3RD-PARTY-LICENSES/commons-codec_commons-codec/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/commons-codec_commons-codec/NOTICE.txt index 7144883..9899d21 100644 --- a/castor-service/3RD-PARTY-LICENSES/commons-codec_commons-codec/NOTICE.txt +++ b/castor-service/3RD-PARTY-LICENSES/commons-codec_commons-codec/NOTICE.txt @@ -1,5 +1,5 @@ Apache Commons Codec -Copyright 2002-2019 The Apache Software Foundation +Copyright 2002-2020 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (https://www.apache.org/). diff --git a/castor-service/3RD-PARTY-LICENSES/io.micrometer_micrometer-core/LICENSE b/castor-service/3RD-PARTY-LICENSES/io.micrometer_micrometer-core/LICENSE index 7858890..9b259bd 100644 --- a/castor-service/3RD-PARTY-LICENSES/io.micrometer_micrometer-core/LICENSE +++ b/castor-service/3RD-PARTY-LICENSES/io.micrometer_micrometer-core/LICENSE @@ -199,32 +199,3 @@ 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. - - -OTHER LICENSED CODE: - -The micrometer-core and micrometer-registry-statsd modules package a -modified copy of the pcollections library, licensed under the MIT license. ---------------------------------------------------------------------------- -MIT License - -Copyright 2008 Harold Cooper - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ---------------------------------------------------------------------------- diff --git a/castor-service/3RD-PARTY-LICENSES/io.micrometer_micrometer-core/NOTICE b/castor-service/3RD-PARTY-LICENSES/io.micrometer_micrometer-core/NOTICE index 3a58048..076c364 100644 --- a/castor-service/3RD-PARTY-LICENSES/io.micrometer_micrometer-core/NOTICE +++ b/castor-service/3RD-PARTY-LICENSES/io.micrometer_micrometer-core/NOTICE @@ -37,13 +37,6 @@ in the Moshi library distributed by Square, Inc: * License: Apache License v2.0 * Homepage: https://github.com/square/moshi -The micrometer-core and micrometer-registry-statsd modules package a -modified copy of the PCollections library by Harold Cooper. - - * Copyright 2008 Harold Cooper - * License: MIT License - * Homepage: https://github.com/hrldcpr/pcollections - This product contains a modified portion of the 'org.springframework.lang' package in the Spring Framework library, distributed by VMware, Inc: diff --git a/castor-service/3RD-PARTY-LICENSES/jakarta.activation_jakarta.activation-api/NOTICE.md b/castor-service/3RD-PARTY-LICENSES/jakarta.activation_jakarta.activation-api/NOTICE.md index d6492f8..010e450 100644 --- a/castor-service/3RD-PARTY-LICENSES/jakarta.activation_jakarta.activation-api/NOTICE.md +++ b/castor-service/3RD-PARTY-LICENSES/jakarta.activation_jakarta.activation-api/NOTICE.md @@ -1,6 +1,6 @@ -# Notices for Eclipse Project for JAF +# Notices for Jakarta Activation -This content is produced and maintained by the Eclipse Project for JAF project. +This content is produced and maintained by Jakarta Activation project. * Project home: https://projects.eclipse.org/projects/ee4j.jaf diff --git a/castor-service/3RD-PARTY-LICENSES/jakarta.validation_jakarta.validation-api/NOTICE.md b/castor-service/3RD-PARTY-LICENSES/jakarta.validation_jakarta.validation-api/NOTICE.md deleted file mode 100644 index fede039..0000000 --- a/castor-service/3RD-PARTY-LICENSES/jakarta.validation_jakarta.validation-api/NOTICE.md +++ /dev/null @@ -1,43 +0,0 @@ -# Notices for Eclipse Jakarta Bean Validation - -This content is produced and maintained by the Eclipse Jakarta Bean Validation -project. - -* Project home: https://projects.eclipse.org/projects/ee4j.bean-validation - -## Trademarks - - Jakarta Bean Validation is a trademark of the Eclipse Foundation. - -## Copyright - -All content is the property of the respective authors or their employers. For -more information regarding authorship of content, please consult the listed -source code repository logs. - -## Declared Project Licenses - -This program and the accompanying materials are made available under the terms -of the Apache License, Version 2.0 which is available at -https://www.apache.org/licenses/LICENSE-2.0. - -SPDX-License-Identifier: Apache-2.0 - -## Source Code - -The project maintains the following source code repositories: - - * [The specification repository](https://github.com/eclipse-ee4j/beanvalidation-spec) - * [The API repository](https://github.com/eclipse-ee4j/beanvalidation-api) - * [The TCK repository](https://github.com/eclipse-ee4j/beanvalidation-tck) - -## Third-party Content - -This project leverages the following third party content. - -Test dependencies: - - * [TestNG](https://github.com/cbeust/testng) - Apache License 2.0 - * [JCommander](https://github.com/cbeust/jcommander) - Apache License 2.0 - * [SnakeYAML](https://bitbucket.org/asomov/snakeyaml/src) - Apache License 2.0 - diff --git a/castor-service/3RD-PARTY-LICENSES/jakarta.validation_jakarta.validation-api/license.txt b/castor-service/3RD-PARTY-LICENSES/jakarta.validation_jakarta.validation-api/license.txt deleted file mode 100644 index d645695..0000000 --- a/castor-service/3RD-PARTY-LICENSES/jakarta.validation_jakarta.validation-api/license.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/castor-service/3RD-PARTY-LICENSES/jakarta.xml.bind_jakarta.xml.bind-api/NOTICE.md b/castor-service/3RD-PARTY-LICENSES/jakarta.xml.bind_jakarta.xml.bind-api/NOTICE.md index 84596db..101193f 100644 --- a/castor-service/3RD-PARTY-LICENSES/jakarta.xml.bind_jakarta.xml.bind-api/NOTICE.md +++ b/castor-service/3RD-PARTY-LICENSES/jakarta.xml.bind_jakarta.xml.bind-api/NOTICE.md @@ -1,4 +1,4 @@ -[//]: # " Copyright (c) 2018, 2021 Oracle and/or its affiliates. All rights reserved. " +[//]: # " Copyright (c) 2018, 2019 Oracle and/or its affiliates. All rights reserved. " [//]: # " " [//]: # " This program and the accompanying materials are made available under the " [//]: # " terms of the Eclipse Distribution License v. 1.0, which is available at " diff --git a/castor-service/3RD-PARTY-LICENSES/jakarta.xml.bind_jakarta.xml.bind-api/origin.src b/castor-service/3RD-PARTY-LICENSES/jakarta.xml.bind_jakarta.xml.bind-api/origin.src index 70a3954..884f8e0 100644 --- a/castor-service/3RD-PARTY-LICENSES/jakarta.xml.bind_jakarta.xml.bind-api/origin.src +++ b/castor-service/3RD-PARTY-LICENSES/jakarta.xml.bind_jakarta.xml.bind-api/origin.src @@ -1 +1 @@ -https://github.com/eclipse-ee4j/jaxb-api/archive/refs/tags/2.3.2.zip +https://github.com/eclipse-ee4j/jaxb-api/archive/refs/tags/2.3.3.zip diff --git a/castor-service/3RD-PARTY-LICENSES/org.apache.commons_commons-lang3/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.apache.commons_commons-lang3/NOTICE.txt index 0f4ac59..3d4c690 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.apache.commons_commons-lang3/NOTICE.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.apache.commons_commons-lang3/NOTICE.txt @@ -1,5 +1,5 @@ Apache Commons Lang -Copyright 2001-2018 The Apache Software Foundation +Copyright 2001-2021 The Apache Software Foundation This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). +The Apache Software Foundation (https://www.apache.org/). diff --git a/castor-service/3RD-PARTY-LICENSES/org.apache.commons_commons-pool2/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.apache.commons_commons-pool2/NOTICE.txt index dca4979..e209dad 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.apache.commons_commons-pool2/NOTICE.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.apache.commons_commons-pool2/NOTICE.txt @@ -1,5 +1,5 @@ Apache Commons Pool -Copyright 2001-2019 The Apache Software Foundation +Copyright 2001-2020 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (https://www.apache.org/). diff --git a/castor-service/3RD-PARTY-LICENSES/org.apache.httpcomponents_httpclient/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.apache.httpcomponents_httpclient/NOTICE.txt index c88ee8d..ac26553 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.apache.httpcomponents_httpclient/NOTICE.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.apache.httpcomponents_httpclient/NOTICE.txt @@ -1,5 +1,5 @@ Apache HttpComponents Client -Copyright 1999-2019 The Apache Software Foundation +Copyright 1999-2020 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/). diff --git a/castor-service/3RD-PARTY-LICENSES/org.apache.logging.log4j_log4j-jul/LICENSE b/castor-service/3RD-PARTY-LICENSES/org.apache.logging.log4j_log4j-jul/LICENSE deleted file mode 100644 index d645695..0000000 --- a/castor-service/3RD-PARTY-LICENSES/org.apache.logging.log4j_log4j-jul/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/castor-service/3RD-PARTY-LICENSES/org.hibernate.validator_hibernate-validator/license.txt b/castor-service/3RD-PARTY-LICENSES/org.apache.logging.log4j_log4j-jul/LICENSE.txt similarity index 99% rename from castor-service/3RD-PARTY-LICENSES/org.hibernate.validator_hibernate-validator/license.txt rename to castor-service/3RD-PARTY-LICENSES/org.apache.logging.log4j_log4j-jul/LICENSE.txt index d645695..6279e52 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.hibernate.validator_hibernate-validator/license.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.apache.logging.log4j_log4j-jul/LICENSE.txt @@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright 1999-2005 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/castor-service/3RD-PARTY-LICENSES/org.apache.logging.log4j_log4j-jul/NOTICE b/castor-service/3RD-PARTY-LICENSES/org.apache.logging.log4j_log4j-jul/NOTICE deleted file mode 100644 index e506461..0000000 --- a/castor-service/3RD-PARTY-LICENSES/org.apache.logging.log4j_log4j-jul/NOTICE +++ /dev/null @@ -1,8 +0,0 @@ - -Apache Log4j JUL Adapter -Copyright 1999-2019 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - - diff --git a/castor-service/3RD-PARTY-LICENSES/org.apache.logging.log4j_log4j-jul/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.apache.logging.log4j_log4j-jul/NOTICE.txt new file mode 100644 index 0000000..a18190b --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.apache.logging.log4j_log4j-jul/NOTICE.txt @@ -0,0 +1,17 @@ +Apache Log4j +Copyright 1999-2021 Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +ResolverUtil.java +Copyright 2005-2006 Tim Fennell + +Dumbster SMTP test server +Copyright 2004 Jason Paul Kitchen + +TypeUtil.java +Copyright 2002-2012 Ramnivas Laddad, Juergen Hoeller, Chris Beams + +picocli (http://picocli.info) +Copyright 2017 Remko Popma diff --git a/castor-service/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-core/LICENSE b/castor-service/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-core/LICENSE index a3cd18e..e6a6baf 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-core/LICENSE +++ b/castor-service/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-core/LICENSE @@ -210,294 +210,218 @@ and license terms. Your use of these subcomponents is subject to the terms and conditions of the following licenses. -For the Eclipse JDT Core Batch Compiler (ecj-x.x.x.jar) component and the -following Jakarta EE Schemas: -- jakartaee_9.xsd -- jakarta_web-services_2_0.xsd -- jakarta_web-services_client_2_0.xsd -- jsp_3_0.xsd -- web-app_5_0.xsd -- web-commonn_5_0.xsd -- web-fragment_5_0.xsd -- web-jsptaglibrary_3_0.xsd - -Eclipse Public License - v 2.0 - - THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE - PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION - OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. +For the Eclipse JDT Core Batch Compiler (ecj-x.x.x.jar) component: + +Eclipse Public License - v 1.0 + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC +LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM +CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. 1. DEFINITIONS "Contribution" means: - a) in the case of the initial Contributor, the initial content - Distributed under this Agreement, and - - b) in the case of each subsequent Contributor: - i) changes to the Program, and - ii) additions to the Program; - where such changes and/or additions to the Program originate from - and are Distributed by that particular Contributor. A Contribution - "originates" from a Contributor if it was added to the Program by - such Contributor itself or anyone acting on such Contributor's behalf. - Contributions do not include changes or additions to the Program that - are not Modified Works. - -"Contributor" means any person or entity that Distributes the Program. - -"Licensed Patents" mean patent claims licensable by a Contributor which -are necessarily infringed by the use or sale of its Contribution alone -or when combined with the Program. - -"Program" means the Contributions Distributed in accordance with this -Agreement. - -"Recipient" means anyone who receives the Program under this Agreement -or any Secondary License (as applicable), including Contributors. - -"Derivative Works" shall mean any work, whether in Source Code or other -form, that is based on (or derived from) the Program and for which the -editorial revisions, annotations, elaborations, or other modifications -represent, as a whole, an original work of authorship. - -"Modified Works" shall mean any work in Source Code or other form that -results from an addition to, deletion from, or modification of the -contents of the Program, including, for purposes of clarity any new file -in Source Code form that contains any contents of the Program. Modified -Works shall not include works that contain only declarations, -interfaces, types, classes, structures, or files of the Program solely -in each case in order to link to, bind by name, or subclass the Program -or Modified Works thereof. - -"Distribute" means the acts of a) distributing or b) making available -in any manner that enables the transfer of a copy. - -"Source Code" means the form of a Program preferred for making -modifications, including but not limited to software source code, -documentation source, and configuration files. - -"Secondary License" means either the GNU General Public License, -Version 2.0, or any later versions of that license, including any -exceptions or additional permissions as identified by the initial -Contributor. +a) in the case of the initial Contributor, the initial code and documentation +distributed under this Agreement, and + +b) in the case of each subsequent Contributor: + +i) changes to the Program, and + +ii) additions to the Program; + +where such changes and/or additions to the Program originate from and are +distributed by that particular Contributor. A Contribution 'originates' from a +Contributor if it was added to the Program by such Contributor itself or anyone +acting on such Contributor's behalf. Contributions do not include additions to +the Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) are not +derivative works of the Program. + +"Contributor" means any person or entity that distributes the Program. + +"Licensed Patents" mean patent claims licensable by a Contributor which are +necessarily infringed by the use or sale of its Contribution alone or when +combined with the Program. + +"Program" means the Contributions distributed in accordance with this Agreement. + +"Recipient" means anyone who receives the Program under this Agreement, +including all Contributors. 2. GRANT OF RIGHTS - a) Subject to the terms of this Agreement, each Contributor hereby - grants Recipient a non-exclusive, worldwide, royalty-free copyright - license to reproduce, prepare Derivative Works of, publicly display, - publicly perform, Distribute and sublicense the Contribution of such - Contributor, if any, and such Derivative Works. - - b) Subject to the terms of this Agreement, each Contributor hereby - grants Recipient a non-exclusive, worldwide, royalty-free patent - license under Licensed Patents to make, use, sell, offer to sell, - import and otherwise transfer the Contribution of such Contributor, - if any, in Source Code or other form. This patent license shall - apply to the combination of the Contribution and the Program if, at - the time the Contribution is added by the Contributor, such addition - of the Contribution causes such combination to be covered by the - Licensed Patents. The patent license shall not apply to any other - combinations which include the Contribution. No hardware per se is - licensed hereunder. - - c) Recipient understands that although each Contributor grants the - licenses to its Contributions set forth herein, no assurances are - provided by any Contributor that the Program does not infringe the - patent or other intellectual property rights of any other entity. - Each Contributor disclaims any liability to Recipient for claims - brought by any other entity based on infringement of intellectual - property rights or otherwise. As a condition to exercising the - rights and licenses granted hereunder, each Recipient hereby - assumes sole responsibility to secure any other intellectual - property rights needed, if any. For example, if a third party - patent license is required to allow Recipient to Distribute the - Program, it is Recipient's responsibility to acquire that license - before distributing the Program. - - d) Each Contributor represents that to its knowledge it has - sufficient copyright rights in its Contribution, if any, to grant - the copyright license set forth in this Agreement. - - e) Notwithstanding the terms of any Secondary License, no - Contributor makes additional grants to any Recipient (other than - those set forth in this Agreement) as a result of such Recipient's - receipt of the Program under the terms of a Secondary License - (if permitted under the terms of Section 3). +a) Subject to the terms of this Agreement, each Contributor hereby grants +Recipient a non-exclusive, worldwide, royalty-free copyright license to +reproduce, prepare derivative works of, publicly display, publicly perform, +distribute and sublicense the Contribution of such Contributor, if any, and such +derivative works, in source code and object code form. + +b) Subject to the terms of this Agreement, each Contributor hereby grants +Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed +Patents to make, use, sell, offer to sell, import and otherwise transfer the +Contribution of such Contributor, if any, in source code and object code form. +This patent license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, such +addition of the Contribution causes such combination to be covered by the +Licensed Patents. The patent license shall not apply to any other combinations +which include the Contribution. No hardware per se is licensed hereunder. + +c) Recipient understands that although each Contributor grants the licenses to +its Contributions set forth herein, no assurances are provided by any +Contributor that the Program does not infringe the patent or other intellectual +property rights of any other entity. Each Contributor disclaims any liability to +Recipient for claims brought by any other entity based on infringement of +intellectual property rights or otherwise. As a condition to exercising the +rights and licenses granted hereunder, each Recipient hereby assumes sole +responsibility to secure any other intellectual property rights needed, if any. +For example, if a third party patent license is required to allow Recipient to +distribute the Program, it is Recipient's responsibility to acquire that license +before distributing the Program. + +d) Each Contributor represents that to its knowledge it has sufficient copyright +rights in its Contribution, if any, to grant the copyright license set forth in +this Agreement. 3. REQUIREMENTS -3.1 If a Contributor Distributes the Program in any form, then: +A Contributor may choose to distribute the Program in object code form under its +own license agreement, provided that: - a) the Program must also be made available as Source Code, in - accordance with section 3.2, and the Contributor must accompany - the Program with a statement that the Source Code for the Program - is available under this Agreement, and informs Recipients how to - obtain it in a reasonable manner on or through a medium customarily - used for software exchange; and +a) it complies with the terms and conditions of this Agreement; and - b) the Contributor may Distribute the Program under a license - different than this Agreement, provided that such license: - i) effectively disclaims on behalf of all other Contributors all - warranties and conditions, express and implied, including - warranties or conditions of title and non-infringement, and - implied warranties or conditions of merchantability and fitness - for a particular purpose; +b) its license agreement: - ii) effectively excludes on behalf of all other Contributors all - liability for damages, including direct, indirect, special, - incidental and consequential damages, such as lost profits; +i) effectively disclaims on behalf of all Contributors all warranties and +conditions, express and implied, including warranties or conditions of title and +non-infringement, and implied warranties or conditions of merchantability and +fitness for a particular purpose; - iii) does not attempt to limit or alter the recipients' rights - in the Source Code under section 3.2; and +ii) effectively excludes on behalf of all Contributors all liability for +damages, including direct, indirect, special, incidental and consequential +damages, such as lost profits; + +iii) states that any provisions which differ from this Agreement are offered by +that Contributor alone and not by any other party; and + +iv) states that source code for the Program is available from such Contributor, +and informs licensees how to obtain it in a reasonable manner on or through a +medium customarily used for software exchange. - iv) requires any subsequent distribution of the Program by any - party to be under a license that satisfies the requirements - of this section 3. +When the Program is made available in source code form: -3.2 When the Program is Distributed as Source Code: +a) it must be made available under this Agreement; and - a) it must be made available under this Agreement, or if the - Program (i) is combined with other material in a separate file or - files made available under a Secondary License, and (ii) the initial - Contributor attached to the Source Code the notice described in - Exhibit A of this Agreement, then the Program may be made available - under the terms of such Secondary Licenses, and +b) a copy of this Agreement must be included with each copy of the Program. - b) a copy of this Agreement must be included with each copy of - the Program. +Contributors may not remove or alter any copyright notices contained within the +Program. -3.3 Contributors may not remove or alter any copyright, patent, -trademark, attribution notices, disclaimers of warranty, or limitations -of liability ("notices") contained within the Program from any copy of -the Program which they Distribute, provided that Contributors may add -their own appropriate notices. +Each Contributor must identify itself as the originator of its Contribution, if +any, in a manner that reasonably allows subsequent Recipients to identify the +originator of the Contribution. 4. COMMERCIAL DISTRIBUTION -Commercial distributors of software may accept certain responsibilities -with respect to end users, business partners and the like. While this -license is intended to facilitate the commercial use of the Program, -the Contributor who includes the Program in a commercial product -offering should do so in a manner which does not create potential -liability for other Contributors. Therefore, if a Contributor includes -the Program in a commercial product offering, such Contributor -("Commercial Contributor") hereby agrees to defend and indemnify every -other Contributor ("Indemnified Contributor") against any losses, -damages and costs (collectively "Losses") arising from claims, lawsuits -and other legal actions brought by a third party against the Indemnified -Contributor to the extent caused by the acts or omissions of such -Commercial Contributor in connection with its distribution of the Program -in a commercial product offering. The obligations in this section do not -apply to any claims or Losses relating to any actual or alleged -intellectual property infringement. In order to qualify, an Indemnified -Contributor must: a) promptly notify the Commercial Contributor in -writing of such claim, and b) allow the Commercial Contributor to control, -and cooperate with the Commercial Contributor in, the defense and any -related settlement negotiations. The Indemnified Contributor may +Commercial distributors of software may accept certain responsibilities with +respect to end users, business partners and the like. While this license is +intended to facilitate the commercial use of the Program, the Contributor who +includes the Program in a commercial product offering should do so in a manner +which does not create potential liability for other Contributors. Therefore, if +a Contributor includes the Program in a commercial product offering, such +Contributor ("Commercial Contributor") hereby agrees to defend and indemnify +every other Contributor ("Indemnified Contributor") against any losses, damages +and costs (collectively "Losses") arising from claims, lawsuits and other legal +actions brought by a third party against the Indemnified Contributor to the +extent caused by the acts or omissions of such Commercial Contributor in +connection with its distribution of the Program in a commercial product +offering. The obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In order +to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor +to control, and cooperate with the Commercial Contributor in, the defense and +any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. -For example, a Contributor might include the Program in a commercial -product offering, Product X. That Contributor is then a Commercial -Contributor. If that Commercial Contributor then makes performance -claims, or offers warranties related to Product X, those performance -claims and warranties are such Commercial Contributor's responsibility -alone. Under this section, the Commercial Contributor would have to -defend claims against the other Contributors related to those performance -claims and warranties, and if a court requires any other Contributor to -pay any damages as a result, the Commercial Contributor must pay -those damages. +For example, a Contributor might include the Program in a commercial product +offering, Product X. That Contributor is then a Commercial Contributor. If that +Commercial Contributor then makes performance claims, or offers warranties +related to Product X, those performance claims and warranties are such +Commercial Contributor's responsibility alone. Under this section, the +Commercial Contributor would have to defend claims against the other +Contributors related to those performance claims and warranties, and if a court +requires any other Contributor to pay any damages as a result, the Commercial +Contributor must pay those damages. 5. NO WARRANTY -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT -PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS" -BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR -IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF -TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR -PURPOSE. Each Recipient is solely responsible for determining the -appropriateness of using and distributing the Program and assumes all -risks associated with its exercise of rights under this Agreement, -including but not limited to the risks and costs of program errors, -compliance with applicable laws, damage to or loss of data, programs -or equipment, and unavailability or interruption of operations. +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR +IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, +NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each +Recipient is solely responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its exercise of +rights under this Agreement , including but not limited to the risks and costs +of program errors, compliance with applicable laws, damage to or loss of data, +programs or equipment, and unavailability or interruption of operations. 6. DISCLAIMER OF LIABILITY -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT -PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS -SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST -PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE -EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY +CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST +PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS +GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 7. GENERAL -If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of -the remainder of the terms of this Agreement, and without further -action by the parties hereto, such provision shall be reformed to the -minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that the -Program itself (excluding combinations of the Program with other software -or hardware) infringes such Recipient's patent(s), then such Recipient's -rights granted under Section 2(b) shall terminate as of the date such -litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it -fails to comply with any of the material terms or conditions of this -Agreement and does not cure such failure in a reasonable period of -time after becoming aware of such noncompliance. If all Recipient's -rights under this Agreement terminate, Recipient agrees to cease use -and distribution of the Program as soon as reasonably practicable. -However, Recipient's obligations under this Agreement and any licenses -granted by Recipient relating to the Program shall continue and survive. - -Everyone is permitted to copy and distribute copies of this Agreement, -but in order to avoid inconsistency the Agreement is copyrighted and -may only be modified in the following manner. The Agreement Steward -reserves the right to publish new versions (including revisions) of -this Agreement from time to time. No one other than the Agreement -Steward has the right to modify this Agreement. The Eclipse Foundation -is the initial Agreement Steward. The Eclipse Foundation may assign the -responsibility to serve as the Agreement Steward to a suitable separate -entity. Each new version of the Agreement will be given a distinguishing -version number. The Program (including Contributions) may always be -Distributed subject to the version of the Agreement under which it was -received. In addition, after a new version of the Agreement is published, -Contributor may elect to Distribute the Program (including its -Contributions) under the new version. - -Except as expressly stated in Sections 2(a) and 2(b) above, Recipient -receives no rights or licenses to the intellectual property of any -Contributor under this Agreement, whether expressly, by implication, -estoppel or otherwise. All rights in the Program not expressly granted -under this Agreement are reserved. Nothing in this Agreement is intended -to be enforceable by any entity that is not a Contributor or Recipient. -No third-party beneficiary rights are created under this Agreement. - -Exhibit A - Form of Secondary Licenses Notice +If any provision of this Agreement is invalid or unenforceable under applicable +law, it shall not affect the validity or enforceability of the remainder of the +terms of this Agreement, and without further action by the parties hereto, such +provision shall be reformed to the minimum extent necessary to make such +provision valid and enforceable. -"This Source Code may also be made available under the following -Secondary Licenses when the conditions for such availability set forth -in the Eclipse Public License, v. 2.0 are satisfied: {name license(s), -version(s), and exceptions or additional permissions here}." +If Recipient institutes patent litigation against any entity (including a +cross-claim or counterclaim in a lawsuit) alleging that the Program itself +(excluding combinations of the Program with other software or hardware) +infringes such Recipient's patent(s), then such Recipient's rights granted under +Section 2(b) shall terminate as of the date such litigation is filed. - Simply including a copy of this Agreement, including this Exhibit A - is not sufficient to license the Source Code under Secondary Licenses. +All Recipient's rights under this Agreement shall terminate if it fails to +comply with any of the material terms or conditions of this Agreement and does +not cure such failure in a reasonable period of time after becoming aware of +such noncompliance. If all Recipient's rights under this Agreement terminate, +Recipient agrees to cease use and distribution of the Program as soon as +reasonably practicable. However, Recipient's obligations under this Agreement +and any licenses granted by Recipient relating to the Program shall continue and +survive. - If it is not possible or desirable to put the notice in a particular - file, then You may include the notice in a location (such as a LICENSE - file in a relevant directory) where a recipient would be likely to - look for such a notice. +Everyone is permitted to copy and distribute copies of this Agreement, but in +order to avoid inconsistency the Agreement is copyrighted and may only be +modified in the following manner. The Agreement Steward reserves the right to +publish new versions (including revisions) of this Agreement from time to time. +No one other than the Agreement Steward has the right to modify this Agreement. +The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation +may assign the responsibility to serve as the Agreement Steward to a suitable +separate entity. Each new version of the Agreement will be given a +distinguishing version number. The Program (including Contributions) may always +be distributed subject to the version of the Agreement under which it was +received. In addition, after a new version of the Agreement is published, +Contributor may elect to distribute the Program (including its Contributions) +under the new version. Except as expressly stated in Sections 2(a) and 2(b) +above, Recipient receives no rights or licenses to the intellectual property of +any Contributor under this Agreement, whether expressly, by implication, +estoppel or otherwise. All rights in the Program not expressly granted under +this Agreement are reserved. - You may add additional accurate notices of copyright ownership. +This Agreement is governed by the laws of the State of New York and the +intellectual property laws of the United States of America. No party to this +Agreement will bring a legal action under this Agreement more than one year +after the cause of action arose. Each party waives its rights to a jury trial in +any resulting litigation. For the Windows Installer component: diff --git a/castor-service/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-el/NOTICE b/castor-service/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-el/NOTICE index ca684b1..24d0ee9 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-el/NOTICE +++ b/castor-service/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-el/NOTICE @@ -1,5 +1,5 @@ Apache Tomcat -Copyright 1999-2019 The Apache Software Foundation +Copyright 1999-2021 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/). diff --git a/castor-service/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-websocket/LICENSE b/castor-service/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-websocket/LICENSE index a3cd18e..d645695 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-websocket/LICENSE +++ b/castor-service/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-websocket/LICENSE @@ -200,938 +200,3 @@ 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. - - - -APACHE TOMCAT SUBCOMPONENTS: - -Apache Tomcat includes a number of subcomponents with separate copyright notices -and license terms. Your use of these subcomponents is subject to the terms and -conditions of the following licenses. - - -For the Eclipse JDT Core Batch Compiler (ecj-x.x.x.jar) component and the -following Jakarta EE Schemas: -- jakartaee_9.xsd -- jakarta_web-services_2_0.xsd -- jakarta_web-services_client_2_0.xsd -- jsp_3_0.xsd -- web-app_5_0.xsd -- web-commonn_5_0.xsd -- web-fragment_5_0.xsd -- web-jsptaglibrary_3_0.xsd - -Eclipse Public License - v 2.0 - - THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE - PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION - OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - - a) in the case of the initial Contributor, the initial content - Distributed under this Agreement, and - - b) in the case of each subsequent Contributor: - i) changes to the Program, and - ii) additions to the Program; - where such changes and/or additions to the Program originate from - and are Distributed by that particular Contributor. A Contribution - "originates" from a Contributor if it was added to the Program by - such Contributor itself or anyone acting on such Contributor's behalf. - Contributions do not include changes or additions to the Program that - are not Modified Works. - -"Contributor" means any person or entity that Distributes the Program. - -"Licensed Patents" mean patent claims licensable by a Contributor which -are necessarily infringed by the use or sale of its Contribution alone -or when combined with the Program. - -"Program" means the Contributions Distributed in accordance with this -Agreement. - -"Recipient" means anyone who receives the Program under this Agreement -or any Secondary License (as applicable), including Contributors. - -"Derivative Works" shall mean any work, whether in Source Code or other -form, that is based on (or derived from) the Program and for which the -editorial revisions, annotations, elaborations, or other modifications -represent, as a whole, an original work of authorship. - -"Modified Works" shall mean any work in Source Code or other form that -results from an addition to, deletion from, or modification of the -contents of the Program, including, for purposes of clarity any new file -in Source Code form that contains any contents of the Program. Modified -Works shall not include works that contain only declarations, -interfaces, types, classes, structures, or files of the Program solely -in each case in order to link to, bind by name, or subclass the Program -or Modified Works thereof. - -"Distribute" means the acts of a) distributing or b) making available -in any manner that enables the transfer of a copy. - -"Source Code" means the form of a Program preferred for making -modifications, including but not limited to software source code, -documentation source, and configuration files. - -"Secondary License" means either the GNU General Public License, -Version 2.0, or any later versions of that license, including any -exceptions or additional permissions as identified by the initial -Contributor. - -2. GRANT OF RIGHTS - - a) Subject to the terms of this Agreement, each Contributor hereby - grants Recipient a non-exclusive, worldwide, royalty-free copyright - license to reproduce, prepare Derivative Works of, publicly display, - publicly perform, Distribute and sublicense the Contribution of such - Contributor, if any, and such Derivative Works. - - b) Subject to the terms of this Agreement, each Contributor hereby - grants Recipient a non-exclusive, worldwide, royalty-free patent - license under Licensed Patents to make, use, sell, offer to sell, - import and otherwise transfer the Contribution of such Contributor, - if any, in Source Code or other form. This patent license shall - apply to the combination of the Contribution and the Program if, at - the time the Contribution is added by the Contributor, such addition - of the Contribution causes such combination to be covered by the - Licensed Patents. The patent license shall not apply to any other - combinations which include the Contribution. No hardware per se is - licensed hereunder. - - c) Recipient understands that although each Contributor grants the - licenses to its Contributions set forth herein, no assurances are - provided by any Contributor that the Program does not infringe the - patent or other intellectual property rights of any other entity. - Each Contributor disclaims any liability to Recipient for claims - brought by any other entity based on infringement of intellectual - property rights or otherwise. As a condition to exercising the - rights and licenses granted hereunder, each Recipient hereby - assumes sole responsibility to secure any other intellectual - property rights needed, if any. For example, if a third party - patent license is required to allow Recipient to Distribute the - Program, it is Recipient's responsibility to acquire that license - before distributing the Program. - - d) Each Contributor represents that to its knowledge it has - sufficient copyright rights in its Contribution, if any, to grant - the copyright license set forth in this Agreement. - - e) Notwithstanding the terms of any Secondary License, no - Contributor makes additional grants to any Recipient (other than - those set forth in this Agreement) as a result of such Recipient's - receipt of the Program under the terms of a Secondary License - (if permitted under the terms of Section 3). - -3. REQUIREMENTS - -3.1 If a Contributor Distributes the Program in any form, then: - - a) the Program must also be made available as Source Code, in - accordance with section 3.2, and the Contributor must accompany - the Program with a statement that the Source Code for the Program - is available under this Agreement, and informs Recipients how to - obtain it in a reasonable manner on or through a medium customarily - used for software exchange; and - - b) the Contributor may Distribute the Program under a license - different than this Agreement, provided that such license: - i) effectively disclaims on behalf of all other Contributors all - warranties and conditions, express and implied, including - warranties or conditions of title and non-infringement, and - implied warranties or conditions of merchantability and fitness - for a particular purpose; - - ii) effectively excludes on behalf of all other Contributors all - liability for damages, including direct, indirect, special, - incidental and consequential damages, such as lost profits; - - iii) does not attempt to limit or alter the recipients' rights - in the Source Code under section 3.2; and - - iv) requires any subsequent distribution of the Program by any - party to be under a license that satisfies the requirements - of this section 3. - -3.2 When the Program is Distributed as Source Code: - - a) it must be made available under this Agreement, or if the - Program (i) is combined with other material in a separate file or - files made available under a Secondary License, and (ii) the initial - Contributor attached to the Source Code the notice described in - Exhibit A of this Agreement, then the Program may be made available - under the terms of such Secondary Licenses, and - - b) a copy of this Agreement must be included with each copy of - the Program. - -3.3 Contributors may not remove or alter any copyright, patent, -trademark, attribution notices, disclaimers of warranty, or limitations -of liability ("notices") contained within the Program from any copy of -the Program which they Distribute, provided that Contributors may add -their own appropriate notices. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain responsibilities -with respect to end users, business partners and the like. While this -license is intended to facilitate the commercial use of the Program, -the Contributor who includes the Program in a commercial product -offering should do so in a manner which does not create potential -liability for other Contributors. Therefore, if a Contributor includes -the Program in a commercial product offering, such Contributor -("Commercial Contributor") hereby agrees to defend and indemnify every -other Contributor ("Indemnified Contributor") against any losses, -damages and costs (collectively "Losses") arising from claims, lawsuits -and other legal actions brought by a third party against the Indemnified -Contributor to the extent caused by the acts or omissions of such -Commercial Contributor in connection with its distribution of the Program -in a commercial product offering. The obligations in this section do not -apply to any claims or Losses relating to any actual or alleged -intellectual property infringement. In order to qualify, an Indemnified -Contributor must: a) promptly notify the Commercial Contributor in -writing of such claim, and b) allow the Commercial Contributor to control, -and cooperate with the Commercial Contributor in, the defense and any -related settlement negotiations. The Indemnified Contributor may -participate in any such claim at its own expense. - -For example, a Contributor might include the Program in a commercial -product offering, Product X. That Contributor is then a Commercial -Contributor. If that Commercial Contributor then makes performance -claims, or offers warranties related to Product X, those performance -claims and warranties are such Commercial Contributor's responsibility -alone. Under this section, the Commercial Contributor would have to -defend claims against the other Contributors related to those performance -claims and warranties, and if a court requires any other Contributor to -pay any damages as a result, the Commercial Contributor must pay -those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT -PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS" -BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR -IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF -TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR -PURPOSE. Each Recipient is solely responsible for determining the -appropriateness of using and distributing the Program and assumes all -risks associated with its exercise of rights under this Agreement, -including but not limited to the risks and costs of program errors, -compliance with applicable laws, damage to or loss of data, programs -or equipment, and unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT -PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS -SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST -PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE -EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of -the remainder of the terms of this Agreement, and without further -action by the parties hereto, such provision shall be reformed to the -minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that the -Program itself (excluding combinations of the Program with other software -or hardware) infringes such Recipient's patent(s), then such Recipient's -rights granted under Section 2(b) shall terminate as of the date such -litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it -fails to comply with any of the material terms or conditions of this -Agreement and does not cure such failure in a reasonable period of -time after becoming aware of such noncompliance. If all Recipient's -rights under this Agreement terminate, Recipient agrees to cease use -and distribution of the Program as soon as reasonably practicable. -However, Recipient's obligations under this Agreement and any licenses -granted by Recipient relating to the Program shall continue and survive. - -Everyone is permitted to copy and distribute copies of this Agreement, -but in order to avoid inconsistency the Agreement is copyrighted and -may only be modified in the following manner. The Agreement Steward -reserves the right to publish new versions (including revisions) of -this Agreement from time to time. No one other than the Agreement -Steward has the right to modify this Agreement. The Eclipse Foundation -is the initial Agreement Steward. The Eclipse Foundation may assign the -responsibility to serve as the Agreement Steward to a suitable separate -entity. Each new version of the Agreement will be given a distinguishing -version number. The Program (including Contributions) may always be -Distributed subject to the version of the Agreement under which it was -received. In addition, after a new version of the Agreement is published, -Contributor may elect to Distribute the Program (including its -Contributions) under the new version. - -Except as expressly stated in Sections 2(a) and 2(b) above, Recipient -receives no rights or licenses to the intellectual property of any -Contributor under this Agreement, whether expressly, by implication, -estoppel or otherwise. All rights in the Program not expressly granted -under this Agreement are reserved. Nothing in this Agreement is intended -to be enforceable by any entity that is not a Contributor or Recipient. -No third-party beneficiary rights are created under this Agreement. - -Exhibit A - Form of Secondary Licenses Notice - -"This Source Code may also be made available under the following -Secondary Licenses when the conditions for such availability set forth -in the Eclipse Public License, v. 2.0 are satisfied: {name license(s), -version(s), and exceptions or additional permissions here}." - - Simply including a copy of this Agreement, including this Exhibit A - is not sufficient to license the Source Code under Secondary Licenses. - - If it is not possible or desirable to put the notice in a particular - file, then You may include the notice in a location (such as a LICENSE - file in a relevant directory) where a recipient would be likely to - look for such a notice. - - You may add additional accurate notices of copyright ownership. - - -For the Windows Installer component: - - * All NSIS source code, plug-ins, documentation, examples, header files and - graphics, with the exception of the compression modules and where - otherwise noted, are licensed under the zlib/libpng license. - * The zlib compression module for NSIS is licensed under the zlib/libpng - license. - * The bzip2 compression module for NSIS is licensed under the bzip2 license. - * The lzma compression module for NSIS is licensed under the Common Public - License version 1.0. - -zlib/libpng license - -This software is provided 'as-is', without any express or implied warranty. In -no event will the authors be held liable for any damages arising from the use of -this software. - -Permission is granted to anyone to use this software for any purpose, including -commercial applications, and to alter it and redistribute it freely, subject to -the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not claim - that you wrote the original software. If you use this software in a - product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - -bzip2 license - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - 2. The origin of this software must not be misrepresented; you must not claim - that you wrote the original software. If you use this software in a - product, an acknowledgment in the product documentation would be - appreciated but is not required. - 3. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 4. The name of the author may not be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT -SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT -OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING -IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY -OF SUCH DAMAGE. - -Julian Seward, Cambridge, UK. - -jseward@acm.org -Common Public License version 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC -LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM -CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - -a) in the case of the initial Contributor, the initial code and documentation -distributed under this Agreement, and b) in the case of each subsequent -Contributor: - -i) changes to the Program, and - -ii) additions to the Program; - -where such changes and/or additions to the Program originate from and are -distributed by that particular Contributor. A Contribution 'originates' from a -Contributor if it was added to the Program by such Contributor itself or anyone -acting on such Contributor's behalf. Contributions do not include additions to -the Program which: (i) are separate modules of software distributed in -conjunction with the Program under their own license agreement, and (ii) are not -derivative works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor which are -necessarily infringed by the use or sale of its Contribution alone or when -combined with the Program. - -"Program" means the Contributions distributed in accordance with this Agreement. - -"Recipient" means anyone who receives the Program under this Agreement, -including all Contributors. - -2. GRANT OF RIGHTS - -a) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free copyright license to -reproduce, prepare derivative works of, publicly display, publicly perform, -distribute and sublicense the Contribution of such Contributor, if any, and such -derivative works, in source code and object code form. - -b) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed -Patents to make, use, sell, offer to sell, import and otherwise transfer the -Contribution of such Contributor, if any, in source code and object code form. -This patent license shall apply to the combination of the Contribution and the -Program if, at the time the Contribution is added by the Contributor, such -addition of the Contribution causes such combination to be covered by the -Licensed Patents. The patent license shall not apply to any other combinations -which include the Contribution. No hardware per se is licensed hereunder. - -c) Recipient understands that although each Contributor grants the licenses to -its Contributions set forth herein, no assurances are provided by any -Contributor that the Program does not infringe the patent or other intellectual -property rights of any other entity. Each Contributor disclaims any liability to -Recipient for claims brought by any other entity based on infringement of -intellectual property rights or otherwise. As a condition to exercising the -rights and licenses granted hereunder, each Recipient hereby assumes sole -responsibility to secure any other intellectual property rights needed, if any. -For example, if a third party patent license is required to allow Recipient to -distribute the Program, it is Recipient's responsibility to acquire that license -before distributing the Program. - -d) Each Contributor represents that to its knowledge it has sufficient copyright -rights in its Contribution, if any, to grant the copyright license set forth in -this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form under its -own license agreement, provided that: - -a) it complies with the terms and conditions of this Agreement; and - -b) its license agreement: - -i) effectively disclaims on behalf of all Contributors all warranties and -conditions, express and implied, including warranties or conditions of title and -non-infringement, and implied warranties or conditions of merchantability and -fitness for a particular purpose; - -ii) effectively excludes on behalf of all Contributors all liability for -damages, including direct, indirect, special, incidental and consequential -damages, such as lost profits; - -iii) states that any provisions which differ from this Agreement are offered by -that Contributor alone and not by any other party; and - -iv) states that source code for the Program is available from such Contributor, -and informs licensees how to obtain it in a reasonable manner on or through a -medium customarily used for software exchange. - -When the Program is made available in source code form: - -a) it must be made available under this Agreement; and - -b) a copy of this Agreement must be included with each copy of the Program. - -Contributors may not remove or alter any copyright notices contained within the -Program. - -Each Contributor must identify itself as the originator of its Contribution, if -any, in a manner that reasonably allows subsequent Recipients to identify the -originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain responsibilities with -respect to end users, business partners and the like. While this license is -intended to facilitate the commercial use of the Program, the Contributor who -includes the Program in a commercial product offering should do so in a manner -which does not create potential liability for other Contributors. Therefore, if -a Contributor includes the Program in a commercial product offering, such -Contributor ("Commercial Contributor") hereby agrees to defend and indemnify -every other Contributor ("Indemnified Contributor") against any losses, damages -and costs (collectively "Losses") arising from claims, lawsuits and other legal -actions brought by a third party against the Indemnified Contributor to the -extent caused by the acts or omissions of such Commercial Contributor in -connection with its distribution of the Program in a commercial product -offering. The obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. In order -to qualify, an Indemnified Contributor must: a) promptly notify the Commercial -Contributor in writing of such claim, and b) allow the Commercial Contributor to -control, and cooperate with the Commercial Contributor in, the defense and any -related settlement negotiations. The Indemnified Contributor may participate in -any such claim at its own expense. - -For example, a Contributor might include the Program in a commercial product -offering, Product X. That Contributor is then a Commercial Contributor. If that -Commercial Contributor then makes performance claims, or offers warranties -related to Product X, those performance claims and warranties are such -Commercial Contributor's responsibility alone. Under this section, the -Commercial Contributor would have to defend claims against the other -Contributors related to those performance claims and warranties, and if a court -requires any other Contributor to pay any damages as a result, the Commercial -Contributor must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR -IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, -NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each -Recipient is solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its exercise of -rights under this Agreement, including but not limited to the risks and costs of -program errors, compliance with applicable laws, damage to or loss of data, -programs or equipment, and unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY -CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST -PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS -GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under applicable -law, it shall not affect the validity or enforceability of the remainder of the -terms of this Agreement, and without further action by the parties hereto, such -provision shall be reformed to the minimum extent necessary to make such -provision valid and enforceable. - -If Recipient institutes patent litigation against a Contributor with respect to -a patent applicable to software (including a cross-claim or counterclaim in a -lawsuit), then any patent licenses granted by that Contributor to such Recipient -under this Agreement shall terminate as of the date such litigation is filed. In -addition, if Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that the Program -itself (excluding combinations of the Program with other software or hardware) -infringes such Recipient's patent(s), then such Recipient's rights granted under -Section 2(b) shall terminate as of the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it fails to -comply with any of the material terms or conditions of this Agreement and does -not cure such failure in a reasonable period of time after becoming aware of -such noncompliance. If all Recipient's rights under this Agreement terminate, -Recipient agrees to cease use and distribution of the Program as soon as -reasonably practicable. However, Recipient's obligations under this Agreement -and any licenses granted by Recipient relating to the Program shall continue and -survive. - -Everyone is permitted to copy and distribute copies of this Agreement, but in -order to avoid inconsistency the Agreement is copyrighted and may only be -modified in the following manner. The Agreement Steward reserves the right to -publish new versions (including revisions) of this Agreement from time to time. -No one other than the Agreement Steward has the right to modify this Agreement. -IBM is the initial Agreement Steward. IBM may assign the responsibility to serve -as the Agreement Steward to a suitable separate entity. Each new version of the -Agreement will be given a distinguishing version number. The Program (including -Contributions) may always be distributed subject to the version of the Agreement -under which it was received. In addition, after a new version of the Agreement -is published, Contributor may elect to distribute the Program (including its -Contributions) under the new version. Except as expressly stated in Sections -2(a) and 2(b) above, Recipient receives no rights or licenses to the -intellectual property of any Contributor under this Agreement, whether -expressly, by implication, estoppel or otherwise. All rights in the Program not -expressly granted under this Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and the -intellectual property laws of the United States of America. No party to this -Agreement will bring a legal action under this Agreement more than one year -after the cause of action arose. Each party waives its rights to a jury trial in -any resulting litigation. - -Special exception for LZMA compression module - -Igor Pavlov and Amir Szekely, the authors of the LZMA compression module for -NSIS, expressly permit you to statically or dynamically link your code (or bind -by name) to the files from the LZMA compression module for NSIS without -subjecting your linked code to the terms of the Common Public license version -1.0. Any modifications or additions to files from the LZMA compression module -for NSIS, however, are subject to the terms of the Common Public License version -1.0. - - -For the following XML Schemas for Java EE Deployment Descriptors: - - javaee_5.xsd - - javaee_web_services_1_2.xsd - - javaee_web_services_client_1_2.xsd - - javaee_6.xsd - - javaee_web_services_1_3.xsd - - javaee_web_services_client_1_3.xsd - - jsp_2_2.xsd - - web-app_3_0.xsd - - web-common_3_0.xsd - - web-fragment_3_0.xsd - - javaee_7.xsd - - javaee_web_services_1_4.xsd - - javaee_web_services_client_1_4.xsd - - jsp_2_3.xsd - - web-app_3_1.xsd - - web-common_3_1.xsd - - web-fragment_3_1.xsd - - javaee_8.xsd - - web-app_4_0.xsd - - web-common_4_0.xsd - - web-fragment_4_0.xsd - -COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - -1. Definitions. - - 1.1. Contributor. means each individual or entity that creates or contributes - to the creation of Modifications. - - 1.2. Contributor Version. means the combination of the Original Software, - prior Modifications used by a Contributor (if any), and the - Modifications made by that particular Contributor. - - 1.3. Covered Software. means (a) the Original Software, or (b) Modifications, - or (c) the combination of files containing Original Software with files - containing Modifications, in each case including portions thereof. - - 1.4. Executable. means the Covered Software in any form other than Source - Code. - - 1.5. Initial Developer. means the individual or entity that first makes - Original Software available under this License. - - 1.6. Larger Work. means a work which combines Covered Software or portions - thereof with code not governed by the terms of this License. - - 1.7. License. means this document. - - 1.8. Licensable. means having the right to grant, to the maximum extent - possible, whether at the time of the initial grant or subsequently - acquired, any and all of the rights conveyed herein. - - 1.9. Modifications. means the Source Code and Executable form of any of the - following: - - A. Any file that results from an addition to, deletion from or - modification of the contents of a file containing Original Software - or previous Modifications; - - B. Any new file that contains any part of the Original Software or - previous Modification; or - - C. Any new file that is contributed or otherwise made available under - the terms of this License. - - 1.10. Original Software. means the Source Code and Executable form of - computer software code that is originally released under this License. - - 1.11. Patent Claims. means any patent claim(s), now owned or hereafter - acquired, including without limitation, method, process, and apparatus - claims, in any patent Licensable by grantor. - - 1.12. Source Code. means (a) the common form of computer software code in - which modifications are made and (b) associated documentation included - in or with such code. - - 1.13. You. (or .Your.) means an individual or a legal entity exercising - rights under, and complying with all of the terms of, this License. For - legal entities, .You. includes any entity which controls, is controlled - by, or is under common control with You. For purposes of this - definition, .control. means (a) the power, direct or indirect, to cause - the direction or management of such entity, whether by contract or - otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - -2. License Grants. - - 2.1. The Initial Developer Grant. - - Conditioned upon Your compliance with Section 3.1 below and subject to - third party intellectual property claims, the Initial Developer hereby - grants You a world-wide, royalty-free, non-exclusive license: - - (a) under intellectual property rights (other than patent or trademark) - Licensable by Initial Developer, to use, reproduce, modify, display, - perform, sublicense and distribute the Original Software (or - portions thereof), with or without Modifications, and/or as part of - a Larger Work; and - - (b) under Patent Claims infringed by the making, using or selling of - Original Software, to make, have made, use, practice, sell, and - offer for sale, and/or otherwise dispose of the Original Software - (or portions thereof). - - (c) The licenses granted in Sections 2.1(a) and (b) are effective on the - date Initial Developer first distributes or otherwise makes the - Original Software available to a third party under the terms of this - License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is granted: - (1) for code that You delete from the Original Software, or (2) for - infringements caused by: (i) the modification of the Original - Software, or (ii) the combination of the Original Software with - other software or devices. - - 2.2. Contributor Grant. - - Conditioned upon Your compliance with Section 3.1 below and subject to third - party intellectual property claims, each Contributor hereby grants You a - world-wide, royalty-free, non-exclusive license: - - (a) under intellectual property rights (other than patent or trademark) - Licensable by Contributor to use, reproduce, modify, display, - perform, sublicense and distribute the Modifications created by such - Contributor (or portions thereof), either on an unmodified basis, - with other Modifications, as Covered Software and/or as part of a - Larger Work; and - - (b) under Patent Claims infringed by the making, using, or selling of - Modifications made by that Contributor either alone and/or in - combination with its Contributor Version (or portions of such - combination), to make, use, sell, offer for sale, have made, and/or - otherwise dispose of: (1) Modifications made by that Contributor (or - portions thereof); and (2) the combination of Modifications made by - that Contributor with its Contributor Version (or portions of such - combination). - - (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on - the date Contributor first distributes or otherwise makes the - Modifications available to a third party. - - (d) Notwithstanding Section 2.2(b) above, no patent license is granted: - (1) for any code that Contributor has deleted from the Contributor - Version; (2) for infringements caused by: (i) third party - modifications of Contributor Version, or (ii) the combination of - Modifications made by that Contributor with other software (except - as part of the Contributor Version) or other devices; or (3) under - Patent Claims infringed by Covered Software in the absence of - Modifications made by that Contributor. - -3. Distribution Obligations. - - 3.1. Availability of Source Code. - Any Covered Software that You distribute or otherwise make available in - Executable form must also be made available in Source Code form and that - Source Code form must be distributed only under the terms of this License. - You must include a copy of this License with every copy of the Source Code - form of the Covered Software You distribute or otherwise make available. - You must inform recipients of any such Covered Software in Executable form - as to how they can obtain such Covered Software in Source Code form in a - reasonable manner on or through a medium customarily used for software - exchange. - - 3.2. Modifications. - The Modifications that You create or to which You contribute are governed - by the terms of this License. You represent that You believe Your - Modifications are Your original creation(s) and/or You have sufficient - rights to grant the rights conveyed by this License. - - 3.3. Required Notices. - You must include a notice in each of Your Modifications that identifies - You as the Contributor of the Modification. You may not remove or alter - any copyright, patent or trademark notices contained within the Covered - Software, or any notices of licensing or any descriptive text giving - attribution to any Contributor or the Initial Developer. - - 3.4. Application of Additional Terms. - You may not offer or impose any terms on any Covered Software in Source - Code form that alters or restricts the applicable version of this License - or the recipients. rights hereunder. You may choose to offer, and to - charge a fee for, warranty, support, indemnity or liability obligations to - one or more recipients of Covered Software. However, you may do so only on - Your own behalf, and not on behalf of the Initial Developer or any - Contributor. You must make it absolutely clear that any such warranty, - support, indemnity or liability obligation is offered by You alone, and - You hereby agree to indemnify the Initial Developer and every Contributor - for any liability incurred by the Initial Developer or such Contributor as - a result of warranty, support, indemnity or liability terms You offer. - - 3.5. Distribution of Executable Versions. - You may distribute the Executable form of the Covered Software under the - terms of this License or under the terms of a license of Your choice, - which may contain terms different from this License, provided that You are - in compliance with the terms of this License and that the license for the - Executable form does not attempt to limit or alter the recipient.s rights - in the Source Code form from the rights set forth in this License. If You - distribute the Covered Software in Executable form under a different - license, You must make it absolutely clear that any terms which differ - from this License are offered by You alone, not by the Initial Developer - or Contributor. You hereby agree to indemnify the Initial Developer and - every Contributor for any liability incurred by the Initial Developer or - such Contributor as a result of any such terms You offer. - - 3.6. Larger Works. - You may create a Larger Work by combining Covered Software with other code - not governed by the terms of this License and distribute the Larger Work - as a single product. In such a case, You must make sure the requirements - of this License are fulfilled for the Covered Software. - -4. Versions of the License. - - 4.1. New Versions. - Sun Microsystems, Inc. is the initial license steward and may publish - revised and/or new versions of this License from time to time. Each - version will be given a distinguishing version number. Except as provided - in Section 4.3, no one other than the license steward has the right to - modify this License. - - 4.2. Effect of New Versions. - You may always continue to use, distribute or otherwise make the Covered - Software available under the terms of the version of the License under - which You originally received the Covered Software. If the Initial - Developer includes a notice in the Original Software prohibiting it from - being distributed or otherwise made available under any subsequent version - of the License, You must distribute and make the Covered Software - available under the terms of the version of the License under which You - originally received the Covered Software. Otherwise, You may also choose - to use, distribute or otherwise make the Covered Software available under - the terms of any subsequent version of the License published by the - license steward. - - 4.3. Modified Versions. - When You are an Initial Developer and You want to create a new license for - Your Original Software, You may create and use a modified version of this - License if You: (a) rename the license and remove any references to the - name of the license steward (except to note that the license differs from - this License); and (b) otherwise make it clear that the license contains - terms which differ from this License. - -5. DISCLAIMER OF WARRANTY. - - COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN .AS IS. BASIS, WITHOUT - WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT - LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, - MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK - AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD - ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL - DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY - SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN - ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED - HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -6. TERMINATION. - - 6.1. This License and the rights granted hereunder will terminate - automatically if You fail to comply with terms herein and fail to - cure such breach within 30 days of becoming aware of the breach. - Provisions which, by their nature, must remain in effect beyond the - termination of this License shall survive. - - 6.2. If You assert a patent infringement claim (excluding declaratory - judgment actions) against Initial Developer or a Contributor (the - Initial Developer or Contributor against whom You assert such claim - is referred to as .Participant.) alleging that the Participant - Software (meaning the Contributor Version where the Participant is a - Contributor or the Original Software where the Participant is the - Initial Developer) directly or indirectly infringes any patent, then - any and all rights granted directly or indirectly to You by such - Participant, the Initial Developer (if the Initial Developer is not - the Participant) and all Contributors under Sections 2.1 and/or 2.2 - of this License shall, upon 60 days notice from Participant terminate - prospectively and automatically at the expiration of such 60 day - notice period, unless if within such 60 day period You withdraw Your - claim with respect to the Participant Software against such - Participant either unilaterally or pursuant to a written agreement - with Participant. - - 6.3. In the event of termination under Sections 6.1 or 6.2 above, all end - user licenses that have been validly granted by You or any - distributor hereunder prior to termination (excluding licenses - granted to You by any distributor) shall survive termination. - -7. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING - NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY - OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF - ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, - INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT - LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, - COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR - LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF - SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR - DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY.S NEGLIGENCE TO THE EXTENT - APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE - EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS - EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -8. U.S. GOVERNMENT END USERS. - - The Covered Software is a .commercial item,. as that term is defined in 48 - C.F.R. 2.101 (Oct. 1995), consisting of .commercial computer software. (as - that term is defined at 48 C.F.R. ? 252.227-7014(a)(1)) and commercial - computer software documentation. as such terms are used in 48 C.F.R. 12.212 - (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 - through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered - Software with only those rights set forth herein. This U.S. Government Rights - clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or - provision that addresses Government rights in computer software under this - License. - -9. MISCELLANEOUS. - - This License represents the complete agreement concerning subject matter - hereof. If any provision of this License is held to be unenforceable, such - provision shall be reformed only to the extent necessary to make it - enforceable. This License shall be governed by the law of the jurisdiction - specified in a notice contained within the Original Software (except to the - extent applicable law, if any, provides otherwise), excluding such - jurisdiction's conflict-of-law provisions. Any litigation relating to this - License shall be subject to the jurisdiction of the courts located in the - jurisdiction and venue specified in a notice contained within the Original - Software, with the losing party responsible for costs, including, without - limitation, court costs and reasonable attorneys. fees and expenses. The - application of the United Nations Convention on Contracts for the - International Sale of Goods is expressly excluded. Any law or regulation - which provides that the language of a contract shall be construed against - the drafter shall not apply to this License. You agree that You alone are - responsible for compliance with the United States export administration - regulations (and the export control laws and regulation of any other - countries) when You use, distribute or otherwise make available any Covered - Software. - -10. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is responsible - for claims and damages arising, directly or indirectly, out of its - utilization of rights under this License and You agree to work with Initial - Developer and Contributors to distribute such responsibility on an equitable - basis. Nothing herein is intended or shall be deemed to constitute any - admission of liability. - - NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION - LICENSE (CDDL) - - The code released under the CDDL shall be governed by the laws of the State - of California (excluding conflict-of-law provisions). Any litigation relating - to this License shall be subject to the jurisdiction of the Federal Courts of - the Northern District of California and the state courts of the State of - California, with venue lying in Santa Clara County, California. - diff --git a/castor-service/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-websocket/NOTICE b/castor-service/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-websocket/NOTICE index 43bc6be..24d0ee9 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-websocket/NOTICE +++ b/castor-service/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-websocket/NOTICE @@ -2,67 +2,4 @@ Apache Tomcat Copyright 1999-2021 The Apache Software Foundation This product includes software developed at -The Apache Software Foundation (https://www.apache.org/). - -This software contains code derived from netty-native -developed by the Netty project -(https://netty.io, https://github.com/netty/netty-tcnative/) -and from finagle-native developed at Twitter -(https://github.com/twitter/finagle). - -This software contains code derived from jgroups-kubernetes -developed by the JGroups project (http://www.jgroups.org/). - -The Windows Installer is built with the Nullsoft -Scriptable Install System (NSIS), which is -open source software. The original software and -related information is available at -http://nsis.sourceforge.net. - -Java compilation software for JSP pages is provided by the Eclipse -JDT Core Batch Compiler component, which is open source software. -The original software and related information is available at -https://www.eclipse.org/jdt/core/. - -org.apache.tomcat.util.json.JSONParser.jj is a public domain javacc grammar -for JSON written by Robert Fischer. -https://github.com/RobertFischer/json-parser - -For portions of the Tomcat JNI OpenSSL API and the OpenSSL JSSE integration -The org.apache.tomcat.jni and the org.apache.tomcat.net.openssl packages -are derivative work originating from the Netty project and the finagle-native -project developed at Twitter -* Copyright 2014 The Netty Project -* Copyright 2014 Twitter - -For portions of the Tomcat cloud support -The org.apache.catalina.tribes.membership.cloud package contains derivative -work originating from the jgroups project. -https://github.com/jgroups-extras/jgroups-kubernetes -Copyright 2002-2018 Red Hat Inc. - -The original XML Schemas for Java EE Deployment Descriptors: - - javaee_5.xsd - - javaee_web_services_1_2.xsd - - javaee_web_services_client_1_2.xsd - - javaee_6.xsd - - javaee_web_services_1_3.xsd - - javaee_web_services_client_1_3.xsd - - jsp_2_2.xsd - - web-app_3_0.xsd - - web-common_3_0.xsd - - web-fragment_3_0.xsd - - javaee_7.xsd - - javaee_web_services_1_4.xsd - - javaee_web_services_client_1_4.xsd - - jsp_2_3.xsd - - web-app_3_1.xsd - - web-common_3_1.xsd - - web-fragment_3_1.xsd - - javaee_8.xsd - - web-app_4_0.xsd - - web-common_4_0.xsd - - web-fragment_4_0.xsd - -may be obtained from: -http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/index.html +The Apache Software Foundation (http://www.apache.org/). diff --git a/castor-service/3RD-PARTY-LICENSES/org.glassfish.jaxb_jaxb-runtime/LICENSE.md b/castor-service/3RD-PARTY-LICENSES/org.glassfish.jaxb_jaxb-runtime/LICENSE.md index da1c1ce..cfa8a7c 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.glassfish.jaxb_jaxb-runtime/LICENSE.md +++ b/castor-service/3RD-PARTY-LICENSES/org.glassfish.jaxb_jaxb-runtime/LICENSE.md @@ -1,4 +1,4 @@ -Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2018, 2021 Oracle and/or its affiliates. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/castor-service/3RD-PARTY-LICENSES/org.hibernate.common_hibernate-commons-annotations/origin.src b/castor-service/3RD-PARTY-LICENSES/org.hibernate.common_hibernate-commons-annotations/origin.src index 27b83ad..91a5879 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.hibernate.common_hibernate-commons-annotations/origin.src +++ b/castor-service/3RD-PARTY-LICENSES/org.hibernate.common_hibernate-commons-annotations/origin.src @@ -1 +1 @@ -https://github.com/hibernate/hibernate-commons-annotations/archive/refs/tags/5.1.0.Final.zip +https://github.com/hibernate/hibernate-commons-annotations/archive/refs/tags/5.1.2.Final.zip diff --git a/castor-service/3RD-PARTY-LICENSES/org.hibernate_hibernate-core/lgpl.txt b/castor-service/3RD-PARTY-LICENSES/org.hibernate_hibernate-core/lgpl.txt index 1684310..4362b49 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.hibernate_hibernate-core/lgpl.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.hibernate_hibernate-core/lgpl.txt @@ -1,3357 +1,502 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - hibernate-orm/lgpl.txt at 5.4.10 · hibernate/hibernate-orm · GitHub - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - -
- - - -
- - - - - - - - - -
-
-
- - - - - - - - - - - - - - - - -
-
- - - - - - - - -
- - - - Permalink - - - -
- -
-
- - - 5.4.10 - - - - -
-
-
- Switch branches/tags - -
- - - -
- -
- -
- - -
- -
- - - - - - - - - - - - - - - - -
- - -
-
-
-
- -
- -
- - - - Go to file - - -
- - - - - - - - - -
-
-
- - - - -
- -
-
-
 
-
- -
-
 
- Cannot retrieve contributors at this time -
-
- - - - - - - - - -
- -
- - -
- - 502 lines (418 sloc) - - 25.9 KB -
- -
- - - -
- - - - - - - - -
-
- -
- -
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
-
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
-
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
-
Preamble
-
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
-
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
-
When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that
you have the freedom to distribute copies of free software (and charge
for this service if you wish); that you receive source code or can get
it if you want it; that you can change the software and use pieces of
it in new free programs; and that you are informed that you can do
these things.
-
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
-
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
-
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
-
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
-
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
-
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
-
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
-
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it becomes
a de-facto standard. To achieve this, non-free programs must be
allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
-
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
-
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
-
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
-
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
-
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
-
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
-
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
-
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
-
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
-
a) The modified work must itself be a software library.
-
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
-
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
-
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
-
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
-
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
-
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
-
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
-
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
-
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
-
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
-
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
-
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
-
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
-
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
-
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
-
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
-
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
-
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
-
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
-
c) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
-
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
-
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
-
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be distributed need not include anything that is
normally distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
-
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
-
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
-
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
-
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
-
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
-
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties with
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
-
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
-
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
-
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
-
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
-
13. The Free Software Foundation may publish revised and/or new
versions of the Lesser General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
-
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
-
NO WARRANTY
-
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
-
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
-
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
-
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
-
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
-
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
-
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
-
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-
Also add information on how to contact you by electronic and paper mail.
-
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
-
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
-
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
-
That's all there is to it!
- - - -
- -
- - - - -
- - -
- - -
-
- - -
- - - -
-
- -
-
- -
- - - - - - - - - - - - - - - - - - - - - + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! diff --git a/castor-service/3RD-PARTY-LICENSES/org.hibernate_hibernate-core/origin.src b/castor-service/3RD-PARTY-LICENSES/org.hibernate_hibernate-core/origin.src index c50ef59..e8e4102 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.hibernate_hibernate-core/origin.src +++ b/castor-service/3RD-PARTY-LICENSES/org.hibernate_hibernate-core/origin.src @@ -1 +1 @@ -https://github.com/hibernate/hibernate-orm/archive/refs/tags/5.4.10.zip +https://github.com/hibernate/hibernate-orm/archive/refs/tags/5.4.32.zip diff --git a/castor-service/3RD-PARTY-LICENSES/org.javassist_javassist/LICENSE-2.0.txt b/castor-service/3RD-PARTY-LICENSES/org.javassist_javassist/LICENSE-2.0.txt deleted file mode 100644 index d645695..0000000 --- a/castor-service/3RD-PARTY-LICENSES/org.javassist_javassist/LICENSE-2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/castor-service/3RD-PARTY-LICENSES/org.javassist_javassist/License.html b/castor-service/3RD-PARTY-LICENSES/org.javassist_javassist/License.html new file mode 100644 index 0000000..7d842b4 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.javassist_javassist/License.html @@ -0,0 +1,373 @@ + + +Javassist License + + + + +
MOZILLA PUBLIC LICENSE
Version +1.1 +

+


+
+

1. Definitions. +

    1.0.1. "Commercial Use" means distribution or otherwise making the + Covered Code available to a third party. +

    1.1. ''Contributor'' means each entity that creates or contributes + to the creation of Modifications. +

    1.2. ''Contributor Version'' means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications made by + that particular Contributor. +

    1.3. ''Covered Code'' means the Original Code or Modifications or + the combination of the Original Code and Modifications, in each case including + portions thereof. +

    1.4. ''Electronic Distribution Mechanism'' means a mechanism + generally accepted in the software development community for the electronic + transfer of data. +

    1.5. ''Executable'' means Covered Code in any form other than Source + Code. +

    1.6. ''Initial Developer'' means the individual or entity identified + as the Initial Developer in the Source Code notice required by Exhibit + A. +

    1.7. ''Larger Work'' means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. +

    1.8. ''License'' means this document. +

    1.8.1. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or subsequently + acquired, any and all of the rights conveyed herein. +

    1.9. ''Modifications'' means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: +

      A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. +

      B. Any new file that contains any part of the Original Code or + previous Modifications.
       

    1.10. ''Original Code'' + means Source Code of computer software code which is described in the Source + Code notice required by Exhibit A as Original Code, and which, at the + time of its release under this License is not already Covered Code governed by + this License. +

    1.10.1. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation,  method, process, and + apparatus claims, in any patent Licensable by grantor. +

    1.11. ''Source Code'' means the preferred form of the Covered Code + for making modifications to it, including all modules it contains, plus any + associated interface definition files, scripts used to control compilation and + installation of an Executable, or source code differential comparisons against + either the Original Code or another well known, available Covered Code of the + Contributor's choice. The Source Code can be in a compressed or archival form, + provided the appropriate decompression or de-archiving software is widely + available for no charge. +

    1.12. "You'' (or "Your")  means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this License + or a future version of this License issued under Section 6.1. For legal + entities, "You'' includes any entity which controls, is controlled by, or is + under common control with You. For purposes of this definition, "control'' + means (a) the power, direct or indirect, to cause the direction or management + of such entity, whether by contract or otherwise, or (b) ownership of more + than fifty percent (50%) of the outstanding shares or beneficial ownership of + such entity.

2. Source Code License. +
    2.1. The Initial Developer Grant.
    The Initial Developer hereby + grants You a world-wide, royalty-free, non-exclusive license, subject to third + party intellectual property claims: +
      (a)  under intellectual property rights (other than + patent or trademark) Licensable by Initial Developer to use, reproduce, + modify, display, perform, sublicense and distribute the Original Code (or + portions thereof) with or without Modifications, and/or as part of a Larger + Work; and +

      (b) under Patents Claims infringed by the making, using or selling + of Original Code, to make, have made, use, practice, sell, and offer for + sale, and/or otherwise dispose of the Original Code (or portions thereof). +

        +
        (c) the licenses granted in this Section 2.1(a) and (b) + are effective on the date Initial Developer first distributes Original Code + under the terms of this License. +

        (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: 1) for code that You delete from the Original Code; 2) separate + from the Original Code;  or 3) for infringements caused by: i) the + modification of the Original Code or ii) the combination of the Original + Code with other software or devices.
         

      2.2. Contributor + Grant.
      Subject to third party intellectual property claims, each + Contributor hereby grants You a world-wide, royalty-free, non-exclusive + license +

        (a)  under intellectual property rights (other + than patent or trademark) Licensable by Contributor, to use, reproduce, + modify, display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof) either on an unmodified + basis, with other Modifications, as Covered Code and/or as part of a Larger + Work; and +

        (b) under Patent Claims infringed by the making, using, or selling + of  Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such + combination), to make, use, sell, offer for sale, have made, and/or + otherwise dispose of: 1) Modifications made by that Contributor (or portions + thereof); and 2) the combination of  Modifications made by that + Contributor with its Contributor Version (or portions of such + combination). +

        (c) the licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first makes Commercial Use of the Covered + Code. +

        (d)    Notwithstanding Section 2.2(b) above, no + patent license is granted: 1) for any code that Contributor has deleted from + the Contributor Version; 2)  separate from the Contributor + Version;  3)  for infringements caused by: i) third party + modifications of Contributor Version or ii)  the combination of + Modifications made by that Contributor with other software  (except as + part of the Contributor Version) or other devices; or 4) under Patent Claims + infringed by Covered Code in the absence of Modifications made by that + Contributor.

    +


    3. Distribution Obligations. +

      3.1. Application of License.
      The Modifications which You create + or to which You contribute are governed by the terms of this License, + including without limitation Section 2.2. The Source Code version of + Covered Code may be distributed only under the terms of this License or a + future version of this License released under Section 6.1, and You must + include a copy of this License with every copy of the Source Code You + distribute. You may not offer or impose any terms on any Source Code version + that alters or restricts the applicable version of this License or the + recipients' rights hereunder. However, You may include an additional document + offering the additional rights described in Section 3.5. +

      3.2. Availability of Source Code.
      Any Modification which You + create or to which You contribute must be made available in Source Code form + under the terms of this License either on the same media as an Executable + version or via an accepted Electronic Distribution Mechanism to anyone to whom + you made an Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) months + after the date it initially became available, or at least six (6) months after + a subsequent version of that particular Modification has been made available + to such recipients. You are responsible for ensuring that the Source Code + version remains available even if the Electronic Distribution Mechanism is + maintained by a third party. +

      3.3. Description of Modifications.
      You must cause all Covered + Code to which You contribute to contain a file documenting the changes You + made to create that Covered Code and the date of any change. You must include + a prominent statement that the Modification is derived, directly or + indirectly, from Original Code provided by the Initial Developer and including + the name of the Initial Developer in (a) the Source Code, and (b) in any + notice in an Executable version or related documentation in which You describe + the origin or ownership of the Covered Code. +

      3.4. Intellectual Property Matters +

        (a) Third Party Claims.
        If Contributor has knowledge that a + license under a third party's intellectual property rights is required to + exercise the rights granted by such Contributor under Sections 2.1 or 2.2, + Contributor must include a text file with the Source Code distribution + titled "LEGAL'' which describes the claim and the party making the claim in + sufficient detail that a recipient will know whom to contact. If Contributor + obtains such knowledge after the Modification is made available as described + in Section 3.2, Contributor shall promptly modify the LEGAL file in all + copies Contributor makes available thereafter and shall take other steps + (such as notifying appropriate mailing lists or newsgroups) reasonably + calculated to inform those who received the Covered Code that new knowledge + has been obtained. +

        (b) Contributor APIs.
        If Contributor's Modifications include + an application programming interface and Contributor has knowledge of patent + licenses which are reasonably necessary to implement that API, Contributor + must also include this information in the LEGAL file. +
         

                + (c)    Representations. +
        Contributor represents that, except as disclosed pursuant to Section + 3.4(a) above, Contributor believes that Contributor's Modifications are + Contributor's original creation(s) and/or Contributor has sufficient rights + to grant the rights conveyed by this License.
      +


      3.5. Required Notices.
      You must duplicate the notice in + Exhibit A in each file of the Source Code.  If it is not possible + to put such notice in a particular Source Code file due to its structure, then + You must include such notice in a location (such as a relevant directory) + where a user would be likely to look for such a notice.  If You created + one or more Modification(s) You may add your name as a Contributor to the + notice described in Exhibit A.  You must also duplicate this + License in any documentation for the Source Code where You describe + recipients' rights or ownership rights relating to Covered Code.  You may + choose to offer, and to charge a fee for, warranty, support, indemnity or + liability obligations to one or more recipients of Covered Code. However, You + may do so only on Your own behalf, and not on behalf of the Initial Developer + or any Contributor. You must make it absolutely clear than any such warranty, + support, indemnity or liability obligation is offered by You alone, and You + hereby agree to indemnify the Initial Developer and every Contributor for any + liability incurred by the Initial Developer or such Contributor as a result of + warranty, support, indemnity or liability terms You offer. +

      3.6. Distribution of Executable Versions.
      You may distribute + Covered Code in Executable form only if the requirements of Section + 3.1-3.5 have been met for that Covered Code, and if You include a + notice stating that the Source Code version of the Covered Code is available + under the terms of this License, including a description of how and where You + have fulfilled the obligations of Section 3.2. The notice must be + conspicuously included in any notice in an Executable version, related + documentation or collateral in which You describe recipients' rights relating + to the Covered Code. You may distribute the Executable version of Covered Code + or ownership rights under a license of Your choice, which may contain terms + different from this License, provided that You are in compliance with the + terms of this License and that the license for the Executable version does not + attempt to limit or alter the recipient's rights in the Source Code version + from the rights set forth in this License. If You distribute the Executable + version under a different license You must make it absolutely clear that any + terms which differ from this License are offered by You alone, not by the + Initial Developer or any Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred by the + Initial Developer or such Contributor as a result of any such terms You offer. + +

      3.7. Larger Works.
      You may create a Larger Work by combining + Covered Code with other code not governed by the terms of this License and + distribute the Larger Work as a single product. In such a case, You must make + sure the requirements of this License are fulfilled for the Covered +Code.

    4. Inability to Comply Due to Statute or Regulation. +
      If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Code due to statute, + judicial order, or regulation then You must: (a) comply with the terms of this + License to the maximum extent possible; and (b) describe the limitations and + the code they affect. Such description must be included in the LEGAL file + described in Section 3.4 and must be included with all distributions of + the Source Code. Except to the extent prohibited by statute or regulation, + such description must be sufficiently detailed for a recipient of ordinary + skill to be able to understand it.
    5. Application of this License. +
      This License applies to code to which the Initial Developer has attached + the notice in Exhibit A and to related Covered Code.
    6. Versions +of the License. +
      6.1. New Versions.
      Netscape Communications Corporation + (''Netscape'') may publish revised and/or new versions of the License from + time to time. Each version will be given a distinguishing version number. +

      6.2. Effect of New Versions.
      Once Covered Code has been + published under a particular version of the License, You may always continue + to use it under the terms of that version. You may also choose to use such + Covered Code under the terms of any subsequent version of the License + published by Netscape. No one other than Netscape has the right to modify the + terms applicable to Covered Code created under this License. +

      6.3. Derivative Works.
      If You create or use a modified version + of this License (which you may only do in order to apply it to code which is + not already Covered Code governed by this License), You must (a) rename Your + license so that the phrases ''Mozilla'', ''MOZILLAPL'', ''MOZPL'', + ''Netscape'', "MPL", ''NPL'' or any confusingly similar phrase do not appear + in your license (except to note that your license differs from this License) + and (b) otherwise make it clear that Your version of the license contains + terms which differ from the Mozilla Public License and Netscape Public + License. (Filling in the name of the Initial Developer, Original Code or + Contributor in the notice described in Exhibit A shall not of + themselves be deemed to be modifications of this License.)

    7. +DISCLAIMER OF WARRANTY. +
      COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS'' BASIS, WITHOUT + WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT + LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, + FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE + QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED + CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY + OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR + CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS + LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS + DISCLAIMER.
    8. TERMINATION. +
      8.1.  This License and the rights granted hereunder will + terminate automatically if You fail to comply with terms herein and fail to + cure such breach within 30 days of becoming aware of the breach. All + sublicenses to the Covered Code which are properly granted shall survive any + termination of this License. Provisions which, by their nature, must remain in + effect beyond the termination of this License shall survive. +

      8.2.  If You initiate litigation by asserting a patent + infringement claim (excluding declatory judgment actions) against Initial + Developer or a Contributor (the Initial Developer or Contributor against whom + You file such action is referred to as "Participant")  alleging that: +

      (a)  such Participant's Contributor Version directly or + indirectly infringes any patent, then any and all rights granted by such + Participant to You under Sections 2.1 and/or 2.2 of this License shall, upon + 60 days notice from Participant terminate prospectively, unless if within 60 + days after receipt of notice You either: (i)  agree in writing to pay + Participant a mutually agreeable reasonable royalty for Your past and future + use of Modifications made by such Participant, or (ii) withdraw Your + litigation claim with respect to the Contributor Version against such + Participant.  If within 60 days of notice, a reasonable royalty and + payment arrangement are not mutually agreed upon in writing by the parties or + the litigation claim is not withdrawn, the rights granted by Participant to + You under Sections 2.1 and/or 2.2 automatically terminate at the expiration of + the 60 day notice period specified above. +

      (b)  any software, hardware, or device, other than such + Participant's Contributor Version, directly or indirectly infringes any + patent, then any rights granted to You by such Participant under Sections + 2.1(b) and 2.2(b) are revoked effective as of the date You first made, used, + sold, distributed, or had made, Modifications made by that Participant. +

      8.3.  If You assert a patent infringement claim against + Participant alleging that such Participant's Contributor Version directly or + indirectly infringes any patent where such claim is resolved (such as by + license or settlement) prior to the initiation of patent infringement + litigation, then the reasonable value of the licenses granted by such + Participant under Sections 2.1 or 2.2 shall be taken into account in + determining the amount or value of any payment or license. +

      8.4.  In the event of termination under Sections 8.1 or 8.2 + above,  all end user license agreements (excluding distributors and + resellers) which have been validly granted by You or any distributor hereunder + prior to termination shall survive termination.

    9. LIMITATION OF +LIABILITY. +
      UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING + NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY + OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY + OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, + INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT + LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR + MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH + PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS + LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL + INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR + LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND + LIMITATION MAY NOT APPLY TO YOU.
    10. U.S. GOVERNMENT END USERS. +
      The Covered Code is a ''commercial item,'' as that term is defined in 48 + C.F.R. 2.101 (Oct. 1995), consisting of ''commercial computer software'' and + ''commercial computer software documentation,'' as such terms are used in 48 + C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. + 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users + acquire Covered Code with only those rights set forth herein.
    11. +MISCELLANEOUS. +
      This License represents the complete agreement concerning subject matter + hereof. If any provision of this License is held to be unenforceable, such + provision shall be reformed only to the extent necessary to make it + enforceable. This License shall be governed by California law provisions + (except to the extent applicable law, if any, provides otherwise), excluding + its conflict-of-law provisions. With respect to disputes in which at least one + party is a citizen of, or an entity chartered or registered to do business in + the United States of America, any litigation relating to this License shall be + subject to the jurisdiction of the Federal Courts of the Northern District of + California, with venue lying in Santa Clara County, California, with the + losing party responsible for costs, including without limitation, court costs + and reasonable attorneys' fees and expenses. The application of the United + Nations Convention on Contracts for the International Sale of Goods is + expressly excluded. Any law or regulation which provides that the language of + a contract shall be construed against the drafter shall not apply to this + License.
    12. RESPONSIBILITY FOR CLAIMS. +
      As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, out of its + utilization of rights under this License and You agree to work with Initial + Developer and Contributors to distribute such responsibility on an equitable + basis. Nothing herein is intended or shall be deemed to constitute any + admission of liability.
    13. MULTIPLE-LICENSED CODE. +
      Initial Developer may designate portions of the Covered Code as + "Multiple-Licensed".  "Multiple-Licensed" means that the Initial + Developer permits you to utilize portions of the Covered Code under Your + choice of the MPL or the alternative licenses, if any, specified by the + Initial Developer in the file described in Exhibit A.
    +


    EXHIBIT A -Mozilla Public License. +

      The contents of this file are subject to the Mozilla Public License + Version 1.1 (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.mozilla.org/MPL/ +

      Software distributed under the License is distributed on an "AS IS" basis, + WITHOUT WARRANTY OF
      ANY KIND, either express or implied. See the License + for the specific language governing rights and
      limitations under the + License. +

      The Original Code is Javassist. +

      The Initial Developer of the Original Code is Shigeru Chiba. + Portions created by the Initial Developer are
        + Copyright (C) 1999- Shigeru Chiba. All Rights Reserved. +

      Contributor(s): __Bill Burke, Jason T. Greene______________. + +

      Alternatively, the contents of this software may be used under the +terms of the GNU Lesser General Public License Version 2.1 or later +(the "LGPL"), or the Apache License Version 2.0 (the "AL"), +in which case the provisions of the LGPL or the AL are applicable +instead of those above. If you wish to allow use of your version of +this software only under the terms of either the LGPL or the AL, and not to allow others to +use your version of this software under the terms of the MPL, indicate +your decision by deleting the provisions above and replace them with +the notice and other provisions required by the LGPL or the AL. If you do not +delete the provisions above, a recipient may use your version of this +software under the terms of any one of the MPL, the LGPL or the AL. + +

    + + diff --git a/castor-service/3RD-PARTY-LICENSES/org.jvnet.staxex_stax-ex/NOTICE.md b/castor-service/3RD-PARTY-LICENSES/org.jvnet.staxex_stax-ex/NOTICE.md deleted file mode 100644 index cd46a17..0000000 --- a/castor-service/3RD-PARTY-LICENSES/org.jvnet.staxex_stax-ex/NOTICE.md +++ /dev/null @@ -1,191 +0,0 @@ -# Notices for Eclipse Implementation of JAXB - -This content is produced and maintained by the Eclipse Implementation of JAXB -project. - -* Project home: https://projects.eclipse.org/projects/ee4j.jaxb-impl - -## Trademarks - -Eclipse Implementation of JAXB is a trademark of the Eclipse Foundation. - -## Copyright - -All content is the property of the respective authors or their employers. For -more information regarding authorship of content, please consult the listed -source code repository logs. - -## Declared Project Licenses - -This program and the accompanying materials are made available under the terms -of the Eclipse Distribution License v. 1.0 which is available at -http://www.eclipse.org/org/documents/edl-v10.php. - -SPDX-License-Identifier: BSD-3-Clause - -## Source Code - -The project maintains the following source code repositories: - -* https://github.com/eclipse-ee4j/jaxb-ri -* https://github.com/eclipse-ee4j/jaxb-istack-commons -* https://github.com/eclipse-ee4j/jaxb-dtd-parser -* https://github.com/eclipse-ee4j/jaxb-fi -* https://github.com/eclipse-ee4j/jaxb-stax-ex -* https://github.com/eclipse-ee4j/jax-rpc-ri - -## Third-party Content - -This project leverages the following third party content. - -Apache Ant (1.10.2) - -* License: Apache-2.0 AND W3C AND LicenseRef-Public-Domain - -Apache Ant (1.10.2) - -* License: Apache-2.0 AND W3C AND LicenseRef-Public-Domain - -Apache Felix (1.2.0) - -* License: Apache License, 2.0 - -args4j (2.33) - -* License: MIT License - -dom4j (1.6.1) - -* License: Custom license based on Apache 1.1 - -file-management (3.0.0) - -* License: Apache-2.0 -* Project: https://maven.apache.org/shared/file-management/ -* Source: - https://svn.apache.org/viewvc/maven/shared/tags/file-management-3.0.0/ - -JUnit (4.12) - -* License: Eclipse Public License - -JUnit (4.12) - -* License: Eclipse Public License - -maven-compat (3.5.2) - -* License: Apache-2.0 -* Project: https://maven.apache.org/ref/3.5.2/maven-compat/ -* Source: - https://mvnrepository.com/artifact/org.apache.maven/maven-compat/3.5.2 - -maven-core (3.5.2) - -* License: Apache-2.0 -* Project: https://maven.apache.org/ref/3.5.2/maven-core/index.html -* Source: https://mvnrepository.com/artifact/org.apache.maven/maven-core/3.5.2 - -maven-plugin-annotations (3.5) - -* License: Apache-2.0 -* Project: https://maven.apache.org/plugin-tools/maven-plugin-annotations/ -* Source: - https://github.com/apache/maven-plugin-tools/tree/master/maven-plugin-annotations - -maven-plugin-api (3.5.2) - -* License: Apache-2.0 - -maven-resolver-api (1.1.1) - -* License: Apache-2.0 - -maven-resolver-api (1.1.1) - -* License: Apache-2.0 - -maven-resolver-connector-basic (1.1.1) - -* License: Apache-2.0 - -maven-resolver-impl (1.1.1) - -* License: Apache-2.0 - -maven-resolver-spi (1.1.1) - -* License: Apache-2.0 - -maven-resolver-transport-file (1.1.1) - -* License: Apache-2.0 -* Project: https://maven.apache.org/resolver/maven-resolver-transport-file/ -* Source: - https://github.com/apache/maven-resolver/tree/master/maven-resolver-transport-file - -maven-resolver-util (1.1.1) - -* License: Apache-2.0 - -maven-settings (3.5.2) - -* License: Apache-2.0 -* Source: - https://mvnrepository.com/artifact/org.apache.maven/maven-settings/3.5.2 - -OSGi Service Platform Core Companion Code (6.0) - -* License: Apache License, 2.0 - -plexus-archiver (3.5) - -* License: Apache-2.0 -* Project: https://codehaus-plexus.github.io/plexus-archiver/ -* Source: https://github.com/codehaus-plexus/plexus-archiver - -plexus-io (3.0.0) - -* License: Apache-2.0 - -plexus-utils (3.1.0) - -* License: Apache- 2.0 or Apache- 1.1 or BSD or Public Domain or Indiana - University Extreme! Lab Software License V1.1.1 (Apache 1.1 style) - -relaxng-datatype (1.0) - -* License: New BSD license - -Sax (0.2) - -* License: SAX-PD -* Project: http://www.megginson.com/downloads/SAX/ -* Source: http://sourceforge.net/project/showfiles.php?group_id=29449 - -testng (6.14.2) - -* License: Apache-2.0 AND (MIT OR GPL-1.0+) -* Project: https://testng.org/doc/index.html -* Source: https://github.com/cbeust/testng - -wagon-http-lightweight (3.0.0) - -* License: Pending -* Project: https://maven.apache.org/wagon/ -* Source: - https://mvnrepository.com/artifact/org.apache.maven.wagon/wagon-http-lightweight/3.0.0 - -xz for java (1.8) - -* License: LicenseRef-Public-Domain - -## Cryptography - -Content may contain encryption software. The country in which you are currently -may have restrictions on the import, possession, and use, and/or re-export to -another country, of encryption software. BEFORE using any encryption software, -please check the country's laws, regulations and policies concerning the import, -possession, or use, and re-export of encryption software, to see if this is -permitted. - diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-actuator-autoconfigure/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-actuator-autoconfigure/NOTICE.txt new file mode 100644 index 0000000..bea2057 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-actuator-autoconfigure/NOTICE.txt @@ -0,0 +1,6 @@ +Spring Boot 2.5.6 +Copyright (c) 2012-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. \ No newline at end of file diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-actuator/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-actuator/NOTICE.txt new file mode 100644 index 0000000..bea2057 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-actuator/NOTICE.txt @@ -0,0 +1,6 @@ +Spring Boot 2.5.6 +Copyright (c) 2012-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. \ No newline at end of file diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-autoconfigure/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-autoconfigure/NOTICE.txt new file mode 100644 index 0000000..bea2057 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-autoconfigure/NOTICE.txt @@ -0,0 +1,6 @@ +Spring Boot 2.5.6 +Copyright (c) 2012-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. \ No newline at end of file diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-configuration-processor/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-configuration-processor/NOTICE.txt new file mode 100644 index 0000000..bea2057 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-configuration-processor/NOTICE.txt @@ -0,0 +1,6 @@ +Spring Boot 2.5.6 +Copyright (c) 2012-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. \ No newline at end of file diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-actuator/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-actuator/NOTICE.txt new file mode 100644 index 0000000..bea2057 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-actuator/NOTICE.txt @@ -0,0 +1,6 @@ +Spring Boot 2.5.6 +Copyright (c) 2012-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. \ No newline at end of file diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-aop/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-aop/NOTICE.txt new file mode 100644 index 0000000..bea2057 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-aop/NOTICE.txt @@ -0,0 +1,6 @@ +Spring Boot 2.5.6 +Copyright (c) 2012-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. \ No newline at end of file diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-data-jpa/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-data-jpa/NOTICE.txt new file mode 100644 index 0000000..bea2057 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-data-jpa/NOTICE.txt @@ -0,0 +1,6 @@ +Spring Boot 2.5.6 +Copyright (c) 2012-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. \ No newline at end of file diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-jdbc/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-jdbc/NOTICE.txt new file mode 100644 index 0000000..bea2057 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-jdbc/NOTICE.txt @@ -0,0 +1,6 @@ +Spring Boot 2.5.6 +Copyright (c) 2012-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. \ No newline at end of file diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-json/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-json/NOTICE.txt new file mode 100644 index 0000000..bea2057 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-json/NOTICE.txt @@ -0,0 +1,6 @@ +Spring Boot 2.5.6 +Copyright (c) 2012-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. \ No newline at end of file diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-log4j2/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-log4j2/NOTICE.txt new file mode 100644 index 0000000..bea2057 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-log4j2/NOTICE.txt @@ -0,0 +1,6 @@ +Spring Boot 2.5.6 +Copyright (c) 2012-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. \ No newline at end of file diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-tomcat/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-tomcat/NOTICE.txt new file mode 100644 index 0000000..bea2057 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-tomcat/NOTICE.txt @@ -0,0 +1,6 @@ +Spring Boot 2.5.6 +Copyright (c) 2012-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. \ No newline at end of file diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-web/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-web/NOTICE.txt new file mode 100644 index 0000000..bea2057 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-web/NOTICE.txt @@ -0,0 +1,6 @@ +Spring Boot 2.5.6 +Copyright (c) 2012-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. \ No newline at end of file diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-websocket/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-websocket/NOTICE.txt new file mode 100644 index 0000000..bea2057 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-websocket/NOTICE.txt @@ -0,0 +1,6 @@ +Spring Boot 2.5.6 +Copyright (c) 2012-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. \ No newline at end of file diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter/NOTICE.txt new file mode 100644 index 0000000..bea2057 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter/NOTICE.txt @@ -0,0 +1,6 @@ +Spring Boot 2.5.6 +Copyright (c) 2012-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. \ No newline at end of file diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot/NOTICE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot/NOTICE.txt new file mode 100644 index 0000000..bea2057 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot/NOTICE.txt @@ -0,0 +1,6 @@ +Spring Boot 2.5.6 +Copyright (c) 2012-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. \ No newline at end of file diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.data_spring-data-commons/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.data_spring-data-commons/notice.txt index ba0824b..1dc2115 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework.data_spring-data-commons/notice.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.data_spring-data-commons/notice.txt @@ -1,5 +1,5 @@ -Spring Data Commons 2.2.4 -Copyright (c) [2010-2019] Pivotal Software, Inc. +Spring Data Commons 2.5.6 (2021.0.6) +Copyright (c) [2010-2021] Pivotal Software, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). You may not use this product except in compliance with the License. @@ -10,3 +10,26 @@ code for the these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.data_spring-data-jpa/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.data_spring-data-jpa/notice.txt index 6448ba7..e1bc05c 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework.data_spring-data-jpa/notice.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.data_spring-data-jpa/notice.txt @@ -1,4 +1,4 @@ -Spring Data JPA 2.2.4 +Spring Data JPA 2.5.6 (2021.0.6) Copyright (c) [2011-2019] Pivotal Software, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). @@ -10,3 +10,26 @@ code for the these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.data_spring-data-keyvalue/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.data_spring-data-keyvalue/notice.txt index 1ad6972..8975b6c 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework.data_spring-data-keyvalue/notice.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.data_spring-data-keyvalue/notice.txt @@ -1,4 +1,4 @@ -Spring Data KeyValue 2.2.4 +Spring Data KeyValue 2.5.6 (2021.0.6) Copyright (c) 2015-2019 Pivotal Software, Inc. This product is licensed to you under the Apache License, Version 2.0 @@ -11,3 +11,26 @@ these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the license.txt file. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.data_spring-data-redis/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.data_spring-data-redis/notice.txt index 5e16fb9..79df950 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework.data_spring-data-redis/notice.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.data_spring-data-redis/notice.txt @@ -1,4 +1,4 @@ -Spring Data Redis 2.2.4 +Spring Data Redis 2.5.6 (2021.0.6) Copyright (c) [2010-2019] Pivotal Software, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). @@ -10,3 +10,26 @@ code for the these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.security_spring-security-core/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.security_spring-security-core/notice.txt new file mode 100644 index 0000000..2336a37 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.security_spring-security-core/notice.txt @@ -0,0 +1,20 @@ + ====================================================================== + == NOTICE file corresponding to section 4(d) of the Apache License, == + == Version 2.0, in this case for the Spring Security distribution. == + ====================================================================== + + The end-user documentation included with a redistribution, if any, + must include the following acknowledgement: + + "This product includes software developed by Spring Security + Project (https://www.springframework.org/security)." + + Alternately, this acknowledgement may appear in the software itself, + if and wherever such third-party acknowledgements normally appear. + + The names "Spring", "Spring Security", "Spring Security System", + "SpringSource", "Acegi", "Acegi Security", "Acegi Security System", + "Acegi" or any derivatives thereof may not be used to endorse or + promote products derived from this software without prior written + permission. For written permission, please contact + ben.alex@springsource.com. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-validation/LICENSE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.security_spring-security-crypto/LICENSE.txt similarity index 100% rename from castor-service/3RD-PARTY-LICENSES/org.springframework.boot_spring-boot-starter-validation/LICENSE.txt rename to castor-service/3RD-PARTY-LICENSES/org.springframework.security_spring-security-crypto/LICENSE.txt diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.security_spring-security-crypto/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.security_spring-security-crypto/notice.txt new file mode 100644 index 0000000..2336a37 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.security_spring-security-crypto/notice.txt @@ -0,0 +1,20 @@ + ====================================================================== + == NOTICE file corresponding to section 4(d) of the Apache License, == + == Version 2.0, in this case for the Spring Security distribution. == + ====================================================================== + + The end-user documentation included with a redistribution, if any, + must include the following acknowledgement: + + "This product includes software developed by Spring Security + Project (https://www.springframework.org/security)." + + Alternately, this acknowledgement may appear in the software itself, + if and wherever such third-party acknowledgements normally appear. + + The names "Spring", "Spring Security", "Spring Security System", + "SpringSource", "Acegi", "Acegi Security", "Acegi Security System", + "Acegi" or any derivatives thereof may not be used to endorse or + promote products derived from this software without prior written + permission. For written permission, please contact + ben.alex@springsource.com. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.security_spring-security-web/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.security_spring-security-web/notice.txt new file mode 100644 index 0000000..2336a37 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.security_spring-security-web/notice.txt @@ -0,0 +1,20 @@ + ====================================================================== + == NOTICE file corresponding to section 4(d) of the Apache License, == + == Version 2.0, in this case for the Spring Security distribution. == + ====================================================================== + + The end-user documentation included with a redistribution, if any, + must include the following acknowledgement: + + "This product includes software developed by Spring Security + Project (https://www.springframework.org/security)." + + Alternately, this acknowledgement may appear in the software itself, + if and wherever such third-party acknowledgements normally appear. + + The names "Spring", "Spring Security", "Spring Security System", + "SpringSource", "Acegi", "Acegi Security", "Acegi Security System", + "Acegi" or any derivatives thereof may not be used to endorse or + promote products derived from this software without prior written + permission. For written permission, please contact + ben.alex@springsource.com. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework.session_spring-session/LICENSE-2.0.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.session_spring-session/LICENSE-2.0.txt deleted file mode 100644 index d645695..0000000 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework.session_spring-session/LICENSE-2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-beans/LICENSE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework.session_spring-session/LICENSE.txt similarity index 99% rename from castor-service/3RD-PARTY-LICENSES/org.springframework_spring-beans/LICENSE.txt rename to castor-service/3RD-PARTY-LICENSES/org.springframework.session_spring-session/LICENSE.txt index ff77379..62589ed 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-beans/LICENSE.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework.session_spring-session/LICENSE.txt @@ -179,7 +179,7 @@ APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" + boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a @@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright {yyyy} {name of copyright owner} + Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context/LICENSE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aop/license.txt similarity index 73% rename from castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context/LICENSE.txt rename to castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aop/license.txt index ff77379..00ef819 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context/LICENSE.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aop/license.txt @@ -1,4 +1,3 @@ - Apache License Version 2.0, January 2004 https://www.apache.org/licenses/ @@ -179,7 +178,7 @@ APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" + boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a @@ -187,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright {yyyy} {name of copyright owner} + Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -200,3 +199,91 @@ 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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aop/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aop/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aop/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aspects/license.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aspects/license.txt index e10746c..00ef819 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aspects/license.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aspects/license.txt @@ -202,9 +202,9 @@ ======================================================================= -SPRING FRAMEWORK 5.2.3.RELEASE SUBCOMPONENTS: +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: -Spring Framework 5.2.3.RELEASE includes a number of subcomponents +Spring Framework 5.3.12 includes a number of subcomponents with separate copyright notices and license terms. The product that includes this file does not necessarily use all the open source subcomponents referred to below. Your use of the source @@ -212,7 +212,7 @@ code for these subcomponents is subject to the terms and conditions of the following licenses. ->>> ASM 7.1 (org.ow2.asm:asm:7.1, org.ow2.asm:asm-commons:7.1): +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): Copyright (c) 2000-2011 INRIA, France Telecom All rights reserved. @@ -261,6 +261,13 @@ Per the LICENSE file in the Objenesis ZIP distribution downloaded from http://objenesis.org/download.html, Objenesis 3.1 is licensed under the Apache License, version 2.0, the text of which is included above. +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + =============================================================================== diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aspects/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aspects/notice.txt index ed561e4..76f224b 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aspects/notice.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aspects/notice.txt @@ -1,5 +1,5 @@ -Spring Framework 5.2.3.RELEASE -Copyright (c) 2002-2020 Pivotal, Inc. +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). You may not use this product except in compliance with diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-core/LICENSE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-beans/license.txt similarity index 73% rename from castor-service/3RD-PARTY-LICENSES/org.springframework_spring-core/LICENSE.txt rename to castor-service/3RD-PARTY-LICENSES/org.springframework_spring-beans/license.txt index ff77379..00ef819 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-core/LICENSE.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-beans/license.txt @@ -1,4 +1,3 @@ - Apache License Version 2.0, January 2004 https://www.apache.org/licenses/ @@ -179,7 +178,7 @@ APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" + boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a @@ -187,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright {yyyy} {name of copyright owner} + Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -200,3 +199,91 @@ 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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-beans/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-beans/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-beans/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context-support/license.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context-support/license.txt index e10746c..00ef819 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context-support/license.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context-support/license.txt @@ -202,9 +202,9 @@ ======================================================================= -SPRING FRAMEWORK 5.2.3.RELEASE SUBCOMPONENTS: +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: -Spring Framework 5.2.3.RELEASE includes a number of subcomponents +Spring Framework 5.3.12 includes a number of subcomponents with separate copyright notices and license terms. The product that includes this file does not necessarily use all the open source subcomponents referred to below. Your use of the source @@ -212,7 +212,7 @@ code for these subcomponents is subject to the terms and conditions of the following licenses. ->>> ASM 7.1 (org.ow2.asm:asm:7.1, org.ow2.asm:asm-commons:7.1): +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): Copyright (c) 2000-2011 INRIA, France Telecom All rights reserved. @@ -261,6 +261,13 @@ Per the LICENSE file in the Objenesis ZIP distribution downloaded from http://objenesis.org/download.html, Objenesis 3.1 is licensed under the Apache License, version 2.0, the text of which is included above. +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + =============================================================================== diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context-support/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context-support/notice.txt index ed561e4..76f224b 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context-support/notice.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context-support/notice.txt @@ -1,5 +1,5 @@ -Spring Framework 5.2.3.RELEASE -Copyright (c) 2002-2020 Pivotal, Inc. +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). You may not use this product except in compliance with diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context/license.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context/license.txt new file mode 100644 index 0000000..00ef819 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context/license.txt @@ -0,0 +1,289 @@ + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + https://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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-context/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-core/license.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-core/license.txt new file mode 100644 index 0000000..00ef819 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-core/license.txt @@ -0,0 +1,289 @@ + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + https://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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-core/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-core/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-core/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-expression/LICENSE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-expression/LICENSE.txt deleted file mode 100644 index ff77379..0000000 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-expression/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - - https://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. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-expression/license.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-expression/license.txt new file mode 100644 index 0000000..00ef819 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-expression/license.txt @@ -0,0 +1,289 @@ + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + https://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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-expression/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-expression/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-expression/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jcl/LICENSE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jcl/LICENSE.txt deleted file mode 100644 index ff77379..0000000 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jcl/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - - https://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. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jcl/license.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jcl/license.txt new file mode 100644 index 0000000..00ef819 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jcl/license.txt @@ -0,0 +1,289 @@ + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + https://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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jcl/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jcl/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jcl/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jdbc/license.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jdbc/license.txt index e10746c..00ef819 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jdbc/license.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jdbc/license.txt @@ -202,9 +202,9 @@ ======================================================================= -SPRING FRAMEWORK 5.2.3.RELEASE SUBCOMPONENTS: +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: -Spring Framework 5.2.3.RELEASE includes a number of subcomponents +Spring Framework 5.3.12 includes a number of subcomponents with separate copyright notices and license terms. The product that includes this file does not necessarily use all the open source subcomponents referred to below. Your use of the source @@ -212,7 +212,7 @@ code for these subcomponents is subject to the terms and conditions of the following licenses. ->>> ASM 7.1 (org.ow2.asm:asm:7.1, org.ow2.asm:asm-commons:7.1): +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): Copyright (c) 2000-2011 INRIA, France Telecom All rights reserved. @@ -261,6 +261,13 @@ Per the LICENSE file in the Objenesis ZIP distribution downloaded from http://objenesis.org/download.html, Objenesis 3.1 is licensed under the Apache License, version 2.0, the text of which is included above. +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + =============================================================================== diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jdbc/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jdbc/notice.txt index ed561e4..76f224b 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jdbc/notice.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-jdbc/notice.txt @@ -1,5 +1,5 @@ -Spring Framework 5.2.3.RELEASE -Copyright (c) 2002-2020 Pivotal, Inc. +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). You may not use this product except in compliance with diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-messaging/LICENSE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-messaging/LICENSE.txt deleted file mode 100644 index ff77379..0000000 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-messaging/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - - https://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. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-messaging/license.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-messaging/license.txt new file mode 100644 index 0000000..00ef819 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-messaging/license.txt @@ -0,0 +1,289 @@ + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + https://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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-messaging/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-messaging/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-messaging/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-orm/license.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-orm/license.txt index e10746c..00ef819 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-orm/license.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-orm/license.txt @@ -202,9 +202,9 @@ ======================================================================= -SPRING FRAMEWORK 5.2.3.RELEASE SUBCOMPONENTS: +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: -Spring Framework 5.2.3.RELEASE includes a number of subcomponents +Spring Framework 5.3.12 includes a number of subcomponents with separate copyright notices and license terms. The product that includes this file does not necessarily use all the open source subcomponents referred to below. Your use of the source @@ -212,7 +212,7 @@ code for these subcomponents is subject to the terms and conditions of the following licenses. ->>> ASM 7.1 (org.ow2.asm:asm:7.1, org.ow2.asm:asm-commons:7.1): +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): Copyright (c) 2000-2011 INRIA, France Telecom All rights reserved. @@ -261,6 +261,13 @@ Per the LICENSE file in the Objenesis ZIP distribution downloaded from http://objenesis.org/download.html, Objenesis 3.1 is licensed under the Apache License, version 2.0, the text of which is included above. +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + =============================================================================== diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-orm/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-orm/notice.txt index ed561e4..76f224b 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-orm/notice.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-orm/notice.txt @@ -1,5 +1,5 @@ -Spring Framework 5.2.3.RELEASE -Copyright (c) 2002-2020 Pivotal, Inc. +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). You may not use this product except in compliance with diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-oxm/license.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-oxm/license.txt index e10746c..00ef819 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-oxm/license.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-oxm/license.txt @@ -202,9 +202,9 @@ ======================================================================= -SPRING FRAMEWORK 5.2.3.RELEASE SUBCOMPONENTS: +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: -Spring Framework 5.2.3.RELEASE includes a number of subcomponents +Spring Framework 5.3.12 includes a number of subcomponents with separate copyright notices and license terms. The product that includes this file does not necessarily use all the open source subcomponents referred to below. Your use of the source @@ -212,7 +212,7 @@ code for these subcomponents is subject to the terms and conditions of the following licenses. ->>> ASM 7.1 (org.ow2.asm:asm:7.1, org.ow2.asm:asm-commons:7.1): +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): Copyright (c) 2000-2011 INRIA, France Telecom All rights reserved. @@ -261,6 +261,13 @@ Per the LICENSE file in the Objenesis ZIP distribution downloaded from http://objenesis.org/download.html, Objenesis 3.1 is licensed under the Apache License, version 2.0, the text of which is included above. +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + =============================================================================== diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-oxm/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-oxm/notice.txt index ed561e4..76f224b 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-oxm/notice.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-oxm/notice.txt @@ -1,5 +1,5 @@ -Spring Framework 5.2.3.RELEASE -Copyright (c) 2002-2020 Pivotal, Inc. +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). You may not use this product except in compliance with diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-tx/license.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-tx/license.txt index e10746c..00ef819 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-tx/license.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-tx/license.txt @@ -202,9 +202,9 @@ ======================================================================= -SPRING FRAMEWORK 5.2.3.RELEASE SUBCOMPONENTS: +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: -Spring Framework 5.2.3.RELEASE includes a number of subcomponents +Spring Framework 5.3.12 includes a number of subcomponents with separate copyright notices and license terms. The product that includes this file does not necessarily use all the open source subcomponents referred to below. Your use of the source @@ -212,7 +212,7 @@ code for these subcomponents is subject to the terms and conditions of the following licenses. ->>> ASM 7.1 (org.ow2.asm:asm:7.1, org.ow2.asm:asm-commons:7.1): +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): Copyright (c) 2000-2011 INRIA, France Telecom All rights reserved. @@ -261,6 +261,13 @@ Per the LICENSE file in the Objenesis ZIP distribution downloaded from http://objenesis.org/download.html, Objenesis 3.1 is licensed under the Apache License, version 2.0, the text of which is included above. +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + =============================================================================== diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-tx/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-tx/notice.txt index ed561e4..76f224b 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-tx/notice.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-tx/notice.txt @@ -1,5 +1,5 @@ -Spring Framework 5.2.3.RELEASE -Copyright (c) 2002-2020 Pivotal, Inc. +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). You may not use this product except in compliance with diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-web/LICENSE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-web/LICENSE.txt deleted file mode 100644 index ff77379..0000000 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-web/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - - https://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. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-web/license.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-web/license.txt new file mode 100644 index 0000000..00ef819 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-web/license.txt @@ -0,0 +1,289 @@ + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + https://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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-web/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-web/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-web/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-webmvc/license.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-webmvc/license.txt index e10746c..00ef819 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-webmvc/license.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-webmvc/license.txt @@ -202,9 +202,9 @@ ======================================================================= -SPRING FRAMEWORK 5.2.3.RELEASE SUBCOMPONENTS: +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: -Spring Framework 5.2.3.RELEASE includes a number of subcomponents +Spring Framework 5.3.12 includes a number of subcomponents with separate copyright notices and license terms. The product that includes this file does not necessarily use all the open source subcomponents referred to below. Your use of the source @@ -212,7 +212,7 @@ code for these subcomponents is subject to the terms and conditions of the following licenses. ->>> ASM 7.1 (org.ow2.asm:asm:7.1, org.ow2.asm:asm-commons:7.1): +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): Copyright (c) 2000-2011 INRIA, France Telecom All rights reserved. @@ -261,6 +261,13 @@ Per the LICENSE file in the Objenesis ZIP distribution downloaded from http://objenesis.org/download.html, Objenesis 3.1 is licensed under the Apache License, version 2.0, the text of which is included above. +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + =============================================================================== diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-webmvc/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-webmvc/notice.txt index ed561e4..76f224b 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-webmvc/notice.txt +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-webmvc/notice.txt @@ -1,5 +1,5 @@ -Spring Framework 5.2.3.RELEASE -Copyright (c) 2002-2020 Pivotal, Inc. +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). You may not use this product except in compliance with diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-websocket/LICENSE.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-websocket/LICENSE.txt deleted file mode 100644 index ff77379..0000000 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-websocket/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - - https://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. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-websocket/license.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-websocket/license.txt new file mode 100644 index 0000000..00ef819 --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-websocket/license.txt @@ -0,0 +1,289 @@ + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + https://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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-websocket/notice.txt b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-websocket/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-websocket/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-service/3RD-PARTY-LICENSES/sbom.xml b/castor-service/3RD-PARTY-LICENSES/sbom.xml index dd626a4..09c9ee5 100644 --- a/castor-service/3RD-PARTY-LICENSES/sbom.xml +++ b/castor-service/3RD-PARTY-LICENSES/sbom.xml @@ -17,7 +17,7 @@ Apache Commons Codec commons-codec commons-codec - 1.13 + 1.15 https://commons.apache.org/proper/commons-codec/ @@ -43,8 +43,8 @@ Apache Commons Lang org.apache.commons commons-lang3 - 3.9 - http://commons.apache.org/proper/commons-lang/ + 3.12.0 + https://commons.apache.org/proper/commons-lang/ Apache License, Version 2.0 @@ -69,7 +69,7 @@ Apache Commons Pool org.apache.commons commons-pool2 - 2.7.0 + 2.9.0 https://commons.apache.org/proper/commons-pool/ @@ -82,7 +82,7 @@ Apache HttpClient org.apache.httpcomponents httpclient - 4.5.10 + 4.5.13 http://hc.apache.org/httpcomponents-client @@ -95,7 +95,7 @@ Apache HttpCore org.apache.httpcomponents httpcore - 4.4.13 + 4.4.14 http://hc.apache.org/httpcomponents-core-ga @@ -134,7 +134,7 @@ Apache Log4j JUL Adapter org.apache.logging.log4j log4j-jul - 2.12.1 + 2.14.1 https://logging.apache.org/log4j/2.x/log4j-jul/ @@ -173,7 +173,7 @@ Byte Buddy (without dependencies) net.bytebuddy byte-buddy - 1.10.6 + 1.10.22 https://bytebuddy.net/byte-buddy @@ -234,7 +234,7 @@ Checker Qual org.checkerframework checker-qual - 2.11.1 + 3.5.0 https://checkerframework.org @@ -260,7 +260,7 @@ dom4j org.dom4j dom4j - 2.1.1 + 2.1.3 http://dom4j.github.io/ @@ -282,36 +282,6 @@ - - Extended StAX API - org.jvnet.staxex - stax-ex - 1.8.1 - https://projects.eclipse.org/projects/ee4j/stax-ex - - - Eclipse Distribution License - v 1.0 - http://www.eclipse.org/org/documents/edl-v10.php - - - - - fastinfoset - com.sun.xml.fastinfoset - FastInfoset - 1.2.16 - https://projects.eclipse.org/projects/ee4j.jaxb-impl/FastInfoset - - - Apache License, Version 2.0 - http://www.opensource.org/licenses/apache2.0.php - - - Eclipse Distribution License - v 1.0 - http://www.eclipse.org/org/documents/edl-v10.php - - - FindBugs-jsr305 com.google.code.findbugs @@ -355,7 +325,7 @@ Guava: Google Core Libraries for Java com.google.guava guava - 29.0-jre + 30.0-jre https://github.com/google/guava/guava @@ -368,7 +338,7 @@ HdrHistogram org.hdrhistogram HdrHistogram - 2.1.11 + 2.1.12 http://hdrhistogram.github.io/HdrHistogram/ @@ -385,7 +355,7 @@ Hibernate Commons Annotations org.hibernate.common hibernate-commons-annotations - 5.1.0.Final + 5.1.2.Final http://hibernate.org @@ -398,7 +368,7 @@ Hibernate ORM - hibernate-core org.hibernate hibernate-core - 5.4.10.Final + 5.4.32.Final http://hibernate.org/orm @@ -407,24 +377,11 @@ - - Hibernate Validator Engine - org.hibernate.validator - hibernate-validator - 6.0.18.Final - http://hibernate.org/validator/hibernate-validator - - - Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - - - HikariCP com.zaxxer HikariCP - 3.4.2 + 4.0.3 https://github.com/brettwooldridge/HikariCP @@ -437,7 +394,7 @@ istack common utility code runtime com.sun.istack istack-commons-runtime - 3.0.8 + 3.0.12 https://projects.eclipse.org/projects/ee4j/istack-commons/istack-commons-runtime @@ -463,7 +420,7 @@ Jackson datatype: jdk8 com.fasterxml.jackson.datatype jackson-datatype-jdk8 - 2.10.2 + 2.12.5 https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jdk8 @@ -476,7 +433,7 @@ Jackson datatype: JSR310 com.fasterxml.jackson.datatype jackson-datatype-jsr310 - 2.10.2 + 2.12.5 https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310 @@ -489,7 +446,7 @@ Jackson-annotations com.fasterxml.jackson.core jackson-annotations - 2.10.2 + 2.12.5 http://github.com/FasterXML/jackson @@ -502,7 +459,7 @@ Jackson-core com.fasterxml.jackson.core jackson-core - 2.10.2 + 2.12.5 https://github.com/FasterXML/jackson-core @@ -515,7 +472,7 @@ jackson-databind com.fasterxml.jackson.core jackson-databind - 2.10.2 + 2.12.5 http://github.com/FasterXML/jackson @@ -528,7 +485,7 @@ Jackson-module-parameter-names com.fasterxml.jackson.module jackson-module-parameter-names - 2.10.2 + 2.12.5 https://github.com/FasterXML/jackson-modules-java8/jackson-module-parameter-names @@ -537,6 +494,32 @@ + + Jakarta Activation + com.sun.activation + jakarta.activation + 1.2.2 + https://github.com/eclipse-ee4j/jaf/jakarta.activation + + + EDL 1.0 + http://www.eclipse.org/org/documents/edl-v10.php + + + + + Jakarta Activation API jar + jakarta.activation + jakarta.activation-api + 1.2.2 + https://github.com/eclipse-ee4j/jaf/jakarta.activation-api + + + EDL 1.0 + http://www.eclipse.org/org/documents/edl-v10.php + + + Jakarta Annotations API jakarta.annotation @@ -554,19 +537,6 @@ - - Jakarta Bean Validation API - jakarta.validation - jakarta.validation-api - 2.0.2 - https://beanvalidation.org - - - Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - - - Jakarta Persistence API jakarta.persistence @@ -585,10 +555,10 @@ - jakarta.xml.bind-api + Jakarta XML Binding API jakarta.xml.bind jakarta.xml.bind-api - 2.3.2 + 2.3.3 https://github.com/eclipse-ee4j/jaxb-api/jakarta.xml.bind-api @@ -601,7 +571,7 @@ Java Annotation Indexer org.jboss jandex - 2.1.1.Final + 2.2.3.Final http://www.jboss.org/jandex @@ -610,24 +580,11 @@ - - JavaBeans Activation Framework API jar - jakarta.activation - jakarta.activation-api - 1.2.1 - https://github.com/eclipse-ee4j/jaf/jakarta.activation-api - - - EDL 1.0 - http://www.eclipse.org/org/documents/edl-v10.php - - - Javassist org.javassist javassist - 3.24.0-GA + 3.27.0-GA http://www.javassist.org/ @@ -665,8 +622,8 @@ JAXB Runtime org.glassfish.jaxb jaxb-runtime - 2.3.2 - https://javaee.github.io/jaxb-v2/jaxb-runtime-parent/jaxb-runtime/ + 2.3.5 + https://eclipse-ee4j.github.io/jaxb-ri/ Eclipse Distribution License - v 1.0 @@ -678,7 +635,7 @@ JBoss Logging 3 org.jboss.logging jboss-logging - 3.4.1.Final + 3.4.2.Final http://www.jboss.org @@ -691,12 +648,12 @@ Jedis redis.clients jedis - 3.2.0 - https://github.com/xetorthio/jedis + 3.6.3 + https://github.com/redis/jedis MIT - http://github.com/xetorthio/jedis/raw/master/LICENSE.txt + http://github.com/redis/jedis/raw/master/LICENSE.txt @@ -704,7 +661,7 @@ JUL to SLF4J bridge org.slf4j jul-to-slf4j - 1.7.30 + 1.7.32 http://www.slf4j.org @@ -730,7 +687,7 @@ micrometer-core io.micrometer micrometer-core - 1.3.2 + 1.7.5 https://github.com/micrometer-metrics/micrometer @@ -756,7 +713,7 @@ OkHttp com.squareup.okhttp3 okhttp - 3.14.6 + 3.14.9 https://github.com/square/okhttp/okhttp @@ -795,7 +752,7 @@ Project Lombok org.projectlombok lombok - 1.18.18 + 1.18.20 https://projectlombok.org @@ -834,7 +791,7 @@ SnakeYAML org.yaml snakeyaml - 1.25 + 1.28 http://www.snakeyaml.org @@ -847,7 +804,7 @@ Spring AOP org.springframework spring-aop - 5.2.3.RELEASE + 5.3.12 https://github.com/spring-projects/spring-framework @@ -860,7 +817,7 @@ Spring Aspects org.springframework spring-aspects - 5.2.3.RELEASE + 5.3.12 https://github.com/spring-projects/spring-framework @@ -873,7 +830,7 @@ Spring Beans org.springframework spring-beans - 5.2.3.RELEASE + 5.3.12 https://github.com/spring-projects/spring-framework @@ -883,11 +840,11 @@ - Spring Boot - org.springframework.boot - spring-boot - 2.2.4.RELEASE - https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot + Spring Commons Logging Bridge + org.springframework + spring-jcl + 5.3.12 + https://github.com/spring-projects/spring-framework Apache License, Version 2.0 @@ -896,11 +853,11 @@ - Spring Boot Actuator - org.springframework.boot - spring-boot-actuator - 2.2.4.RELEASE - https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-actuator + Spring Context + org.springframework + spring-context + 5.3.12 + https://github.com/spring-projects/spring-framework Apache License, Version 2.0 @@ -909,11 +866,11 @@ - Spring Boot Actuator AutoConfigure - org.springframework.boot - spring-boot-actuator-autoconfigure - 2.2.4.RELEASE - https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-actuator-autoconfigure + Spring Context Support + org.springframework + spring-context-support + 5.3.12 + https://github.com/spring-projects/spring-framework Apache License, Version 2.0 @@ -922,11 +879,11 @@ - Spring Boot Actuator Starter - org.springframework.boot - spring-boot-starter-actuator - 2.2.4.RELEASE - https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-starters/spring-boot-starter-actuator + Spring Core + org.springframework + spring-core + 5.3.12 + https://github.com/spring-projects/spring-framework Apache License, Version 2.0 @@ -935,11 +892,11 @@ - Spring Boot AOP Starter - org.springframework.boot - spring-boot-starter-aop - 2.2.4.RELEASE - https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-starters/spring-boot-starter-aop + Spring Data Core + org.springframework.data + spring-data-commons + 2.5.6 + https://www.spring.io/spring-data/spring-data-commons Apache License, Version 2.0 @@ -948,11 +905,11 @@ - Spring Boot AutoConfigure - org.springframework.boot - spring-boot-autoconfigure - 2.2.4.RELEASE - https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-autoconfigure + Spring Data JPA + org.springframework.data + spring-data-jpa + 2.5.6 + https://projects.spring.io/spring-data-jpa Apache License, Version 2.0 @@ -961,11 +918,11 @@ - Spring Boot Configuration Processor - org.springframework.boot - spring-boot-configuration-processor - 2.2.4.RELEASE - https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-tools/spring-boot-configuration-processor + Spring Data KeyValue + org.springframework.data + spring-data-keyvalue + 2.5.6 + https://www.spring.io/spring-data/spring-data-keyvalue Apache License, Version 2.0 @@ -974,11 +931,11 @@ - Spring Boot Data JPA Starter - org.springframework.boot - spring-boot-starter-data-jpa - 2.2.4.RELEASE - https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-starters/spring-boot-starter-data-jpa + Spring Data Redis + org.springframework.data + spring-data-redis + 2.5.6 + https://www.spring.io/spring-data/spring-data-redis Apache License, Version 2.0 @@ -987,11 +944,11 @@ - Spring Boot JDBC Starter - org.springframework.boot - spring-boot-starter-jdbc - 2.2.4.RELEASE - https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-starters/spring-boot-starter-jdbc + Spring Expression Language (SpEL) + org.springframework + spring-expression + 5.3.12 + https://github.com/spring-projects/spring-framework Apache License, Version 2.0 @@ -1000,11 +957,11 @@ - Spring Boot Json Starter - org.springframework.boot - spring-boot-starter-json - 2.2.4.RELEASE - https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-starters/spring-boot-starter-json + Spring JDBC + org.springframework + spring-jdbc + 5.3.12 + https://github.com/spring-projects/spring-framework Apache License, Version 2.0 @@ -1013,11 +970,11 @@ - Spring Boot Log4j 2 Starter - org.springframework.boot - spring-boot-starter-log4j2 - 2.2.4.RELEASE - https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-starters/spring-boot-starter-log4j2 + Spring Messaging + org.springframework + spring-messaging + 5.3.12 + https://github.com/spring-projects/spring-framework Apache License, Version 2.0 @@ -1026,11 +983,11 @@ - Spring Boot Starter - org.springframework.boot - spring-boot-starter - 2.2.4.RELEASE - https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-starters/spring-boot-starter + Spring Object/Relational Mapping + org.springframework + spring-orm + 5.3.12 + https://github.com/spring-projects/spring-framework Apache License, Version 2.0 @@ -1039,11 +996,11 @@ - Spring Boot Tomcat Starter - org.springframework.boot - spring-boot-starter-tomcat - 2.2.4.RELEASE - https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-starters/spring-boot-starter-tomcat + Spring Object/XML Marshalling + org.springframework + spring-oxm + 5.3.12 + https://github.com/spring-projects/spring-framework Apache License, Version 2.0 @@ -1052,24 +1009,24 @@ - Spring Boot Validation Starter - org.springframework.boot - spring-boot-starter-validation - 2.2.4.RELEASE - https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-starters/spring-boot-starter-validation + Spring Session + org.springframework.session + spring-session + 1.3.5.RELEASE + https://github.com/spring-projects/spring-session - Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0 + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt - Spring Boot Web Starter - org.springframework.boot - spring-boot-starter-web - 2.2.4.RELEASE - https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-starters/spring-boot-starter-web + Spring Transaction + org.springframework + spring-tx + 5.3.12 + https://github.com/spring-projects/spring-framework Apache License, Version 2.0 @@ -1078,11 +1035,11 @@ - Spring Boot WebSocket Starter - org.springframework.boot - spring-boot-starter-websocket - 2.2.4.RELEASE - https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-starters/spring-boot-starter-websocket + Spring Web + org.springframework + spring-web + 5.3.12 + https://github.com/spring-projects/spring-framework Apache License, Version 2.0 @@ -1091,10 +1048,10 @@ - Spring Commons Logging Bridge + Spring Web MVC org.springframework - spring-jcl - 5.2.3.RELEASE + spring-webmvc + 5.3.12 https://github.com/spring-projects/spring-framework @@ -1104,10 +1061,10 @@ - Spring Context + Spring WebSocket org.springframework - spring-context - 5.2.3.RELEASE + spring-websocket + 5.3.12 https://github.com/spring-projects/spring-framework @@ -1117,11 +1074,11 @@ - Spring Context Support - org.springframework - spring-context-support - 5.2.3.RELEASE - https://github.com/spring-projects/spring-framework + spring-boot + org.springframework.boot + spring-boot + 2.5.6 + https://spring.io/projects/spring-boot Apache License, Version 2.0 @@ -1130,11 +1087,11 @@ - Spring Core - org.springframework - spring-core - 5.2.3.RELEASE - https://github.com/spring-projects/spring-framework + spring-boot-actuator + org.springframework.boot + spring-boot-actuator + 2.5.6 + https://spring.io/projects/spring-boot Apache License, Version 2.0 @@ -1143,11 +1100,11 @@ - Spring Data Core - org.springframework.data - spring-data-commons - 2.2.4.RELEASE - https://www.spring.io/spring-data/spring-data-commons + spring-boot-actuator-autoconfigure + org.springframework.boot + spring-boot-actuator-autoconfigure + 2.5.6 + https://spring.io/projects/spring-boot Apache License, Version 2.0 @@ -1156,11 +1113,11 @@ - Spring Data JPA - org.springframework.data - spring-data-jpa - 2.2.4.RELEASE - https://projects.spring.io/spring-data-jpa + spring-boot-autoconfigure + org.springframework.boot + spring-boot-autoconfigure + 2.5.6 + https://spring.io/projects/spring-boot Apache License, Version 2.0 @@ -1169,11 +1126,11 @@ - Spring Data KeyValue - org.springframework.data - spring-data-keyvalue - 2.2.4.RELEASE - https://www.spring.io/spring-data/spring-data-keyvalue + spring-boot-configuration-processor + org.springframework.boot + spring-boot-configuration-processor + 2.5.6 + https://spring.io/projects/spring-boot Apache License, Version 2.0 @@ -1182,11 +1139,11 @@ - Spring Data Redis - org.springframework.data - spring-data-redis - 2.2.4.RELEASE - https://www.spring.io/spring-data/spring-data-redis + spring-boot-starter + org.springframework.boot + spring-boot-starter + 2.5.6 + https://spring.io/projects/spring-boot Apache License, Version 2.0 @@ -1195,11 +1152,11 @@ - Spring Expression Language (SpEL) - org.springframework - spring-expression - 5.2.3.RELEASE - https://github.com/spring-projects/spring-framework + spring-boot-starter-actuator + org.springframework.boot + spring-boot-starter-actuator + 2.5.6 + https://spring.io/projects/spring-boot Apache License, Version 2.0 @@ -1208,11 +1165,11 @@ - Spring JDBC - org.springframework - spring-jdbc - 5.2.3.RELEASE - https://github.com/spring-projects/spring-framework + spring-boot-starter-aop + org.springframework.boot + spring-boot-starter-aop + 2.5.6 + https://spring.io/projects/spring-boot Apache License, Version 2.0 @@ -1221,11 +1178,11 @@ - Spring Messaging - org.springframework - spring-messaging - 5.2.3.RELEASE - https://github.com/spring-projects/spring-framework + spring-boot-starter-data-jpa + org.springframework.boot + spring-boot-starter-data-jpa + 2.5.6 + https://spring.io/projects/spring-boot Apache License, Version 2.0 @@ -1234,11 +1191,11 @@ - Spring Object/Relational Mapping - org.springframework - spring-orm - 5.2.3.RELEASE - https://github.com/spring-projects/spring-framework + spring-boot-starter-jdbc + org.springframework.boot + spring-boot-starter-jdbc + 2.5.6 + https://spring.io/projects/spring-boot Apache License, Version 2.0 @@ -1247,11 +1204,11 @@ - Spring Object/XML Marshalling - org.springframework - spring-oxm - 5.2.3.RELEASE - https://github.com/spring-projects/spring-framework + spring-boot-starter-json + org.springframework.boot + spring-boot-starter-json + 2.5.6 + https://spring.io/projects/spring-boot Apache License, Version 2.0 @@ -1260,24 +1217,24 @@ - Spring Session - org.springframework.session - spring-session - 1.3.5.RELEASE - https://github.com/spring-projects/spring-session + spring-boot-starter-log4j2 + org.springframework.boot + spring-boot-starter-log4j2 + 2.5.6 + https://spring.io/projects/spring-boot - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0 - Spring Transaction - org.springframework - spring-tx - 5.2.3.RELEASE - https://github.com/spring-projects/spring-framework + spring-boot-starter-tomcat + org.springframework.boot + spring-boot-starter-tomcat + 2.5.6 + https://spring.io/projects/spring-boot Apache License, Version 2.0 @@ -1286,11 +1243,11 @@ - Spring Web - org.springframework - spring-web - 5.2.3.RELEASE - https://github.com/spring-projects/spring-framework + spring-boot-starter-web + org.springframework.boot + spring-boot-starter-web + 2.5.6 + https://spring.io/projects/spring-boot Apache License, Version 2.0 @@ -1299,11 +1256,11 @@ - Spring Web MVC - org.springframework - spring-webmvc - 5.2.3.RELEASE - https://github.com/spring-projects/spring-framework + spring-boot-starter-websocket + org.springframework.boot + spring-boot-starter-websocket + 2.5.6 + https://spring.io/projects/spring-boot Apache License, Version 2.0 @@ -1312,11 +1269,11 @@ - Spring WebSocket - org.springframework - spring-websocket - 5.2.3.RELEASE - https://github.com/spring-projects/spring-framework + spring-security-core + org.springframework.security + spring-security-core + 5.5.3 + https://spring.io/projects/spring-security Apache License, Version 2.0 @@ -1325,15 +1282,15 @@ - spring-security-core + spring-security-crypto org.springframework.security - spring-security-core - 5.2.1.RELEASE - http://spring.io/spring-security + spring-security-crypto + 5.5.3 + https://spring.io/projects/spring-security - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0 @@ -1341,12 +1298,12 @@ spring-security-web org.springframework.security spring-security-web - 5.2.1.RELEASE - http://spring.io/spring-security + 5.5.3 + https://spring.io/projects/spring-security - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0 @@ -1354,7 +1311,7 @@ tomcat-embed-core org.apache.tomcat.embed tomcat-embed-core - 9.0.30 + 9.0.54 https://tomcat.apache.org/ @@ -1367,7 +1324,7 @@ tomcat-embed-el org.apache.tomcat.embed tomcat-embed-el - 9.0.30 + 9.0.54 https://tomcat.apache.org/ @@ -1380,7 +1337,7 @@ tomcat-embed-websocket org.apache.tomcat.embed tomcat-embed-websocket - 9.0.30 + 9.0.54 https://tomcat.apache.org/ @@ -1393,8 +1350,8 @@ TXW2 Runtime org.glassfish.jaxb txw2 - 2.3.2 - https://javaee.github.io/jaxb-v2/jaxb-txw-parent/txw2/ + 2.3.5 + https://eclipse-ee4j.github.io/jaxb-ri/ Eclipse Distribution License - v 1.0 diff --git a/castor-service/pom.xml b/castor-service/pom.xml index 59df064..bf48641 100644 --- a/castor-service/pom.xml +++ b/castor-service/pom.xml @@ -26,15 +26,14 @@ 1.9.7 - 3.2.0 + 3.6.3 8.2.1 42.2.1 - Hoxton.RELEASE - 2.2.4.RELEASE + Hoxton.SR12 1.3.5.RELEASE - 1.15.3 + 1.16.2 @@ -120,7 +119,6 @@ org.springframework.data spring-data-redis - ${spring-data-redis.version} org.springframework.boot @@ -165,8 +163,18 @@ - junit - junit + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-params test @@ -175,14 +183,20 @@ test - org.hamcrest - hamcrest-junit + org.mockito + mockito-junit-jupiter test org.springframework.boot spring-boot-starter-test test + + + junit + junit + + org.testcontainers @@ -190,6 +204,12 @@ ${testcontainer.postgresql.version} test + + org.testcontainers + junit-jupiter + ${testcontainer.postgresql.version} + test + diff --git a/castor-service/src/main/resources/application-cache-redis.yml b/castor-service/src/main/resources/application-cache-redis.yml index 1067066..2be3195 100644 --- a/castor-service/src/main/resources/application-cache-redis.yml +++ b/castor-service/src/main/resources/application-cache-redis.yml @@ -1,5 +1,7 @@ spring: - profiles: cache-redis + config: + activate: + on-profile: k8s carbynestack: castor: diff --git a/castor-service/src/main/resources/application-k8s.yml b/castor-service/src/main/resources/application-k8s.yml index 48d0a30..99f10f2 100644 --- a/castor-service/src/main/resources/application-k8s.yml +++ b/castor-service/src/main/resources/application-k8s.yml @@ -1,10 +1,8 @@ # Configuration for profile docker. spring: - profiles: k8s - profiles.include: - - tuplestore-minio - - cache-redis - - markerstorage-postgres-k8s + config: + activate: + on-profile: k8s logging: level: diff --git a/castor-service/src/main/resources/application-markerstorage-postgres-k8s.yml b/castor-service/src/main/resources/application-markerstorage-postgres-k8s.yml index d5c0030..c9f2325 100644 --- a/castor-service/src/main/resources/application-markerstorage-postgres-k8s.yml +++ b/castor-service/src/main/resources/application-markerstorage-postgres-k8s.yml @@ -1,6 +1,7 @@ spring: - profiles: markerstorage-postgres-k8s - + config: + activate: + on-profile: k8s datasource: driver-class-name: org.postgresql.Driver url: jdbc:postgresql://${DB_HOST:localhost}:${DB_PORT:5432}/castor diff --git a/castor-service/src/main/resources/application-tuplestore-minio.yml b/castor-service/src/main/resources/application-tuplestore-minio.yml index 01bccef..0ee6a4d 100644 --- a/castor-service/src/main/resources/application-tuplestore-minio.yml +++ b/castor-service/src/main/resources/application-tuplestore-minio.yml @@ -1,6 +1,7 @@ spring: - profiles: tuplestore-minio - + config: + activate: + on-profile: k8s carbynestack: castor: minio: diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/download/CreateReservationSupplierTest.java b/castor-service/src/test/java/io/carbynestack/castor/service/download/CreateReservationSupplierTest.java index e4629bd..8875d2e 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/download/CreateReservationSupplierTest.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/download/CreateReservationSupplierTest.java @@ -10,8 +10,8 @@ import static io.carbynestack.castor.common.entities.TupleType.INPUT_MASK_GFP; import static io.carbynestack.castor.service.download.CreateReservationSupplier.*; import static java.util.Collections.singletonList; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertThrows; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.Mockito.*; import io.carbynestack.castor.client.download.CastorInterVcpClient; @@ -23,14 +23,14 @@ import io.carbynestack.castor.service.persistence.markerstore.TupleChunkMetaDataEntity; import io.carbynestack.castor.service.persistence.markerstore.TupleChunkMetaDataStorageService; import java.util.UUID; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; -import org.mockito.junit.MockitoJUnitRunner; +import org.mockito.junit.jupiter.MockitoExtension; -@RunWith(MockitoJUnitRunner.class) -public class CreateReservationSupplierTest { +@ExtendWith(MockitoExtension.class) +class CreateReservationSupplierTest { @Mock private CastorInterVcpClient castorInterVcpClientMock; @Mock private ReservationCachingService reservationCachingServiceMock; @Mock private TupleChunkMetaDataStorageService tupleChunkMetaDataStorageServiceMock; @@ -41,7 +41,7 @@ public class CreateReservationSupplierTest { private CreateReservationSupplier createReservationSupplier; - @Before + @BeforeEach public void setUp() { createReservationSupplier = new CreateReservationSupplier( @@ -54,7 +54,7 @@ public void setUp() { } @Test - public void givenInsufficientTuples_whenGet_thenThrowCastorServiceException() { + void givenInsufficientTuples_whenGet_thenThrowCastorServiceException() { when(tupleChunkMetaDataStorageServiceMock.getAvailableTuples(tupleType)).thenReturn(count - 1); CastorServiceException actualCse = @@ -66,8 +66,7 @@ public void givenInsufficientTuples_whenGet_thenThrowCastorServiceException() { } @Test - public void - givenProvidedChunksDoNotHaveEnoughTuplesAvailable_whenGet_thenThrowCastorServiceException() { + void givenProvidedChunksDoNotHaveEnoughTuplesAvailable_whenGet_thenThrowCastorServiceException() { TupleChunkMetaDataEntity metaDataEntityMock = mock(TupleChunkMetaDataEntity.class); when(tupleChunkMetaDataStorageServiceMock.getAvailableTuples(tupleType)).thenReturn(count); when(tupleChunkMetaDataStorageServiceMock.getTupleChunkData(tupleType)) @@ -86,7 +85,7 @@ public void givenInsufficientTuples_whenGet_thenThrowCastorServiceException() { } @Test - public void givenSharingReservationFails_whenGet_thenThrowCastorServiceException() { + void givenSharingReservationFails_whenGet_thenThrowCastorServiceException() { TupleChunkMetaDataEntity metaDataEntityMock = mock(TupleChunkMetaDataEntity.class); UUID chunkId = UUID.fromString("c8a0a467-16b0-4f03-b7d7-07cbe1b0e7e8"); long reservedMarker = 0; @@ -111,7 +110,7 @@ public void givenSharingReservationFails_whenGet_thenThrowCastorServiceException } @Test - public void givenSuccessfulRequest_whenGet_thenReturnExpectedReservation() { + void givenSuccessfulRequest_whenGet_thenReturnExpectedReservation() { TupleChunkMetaDataEntity metaDataEntityMock = mock(TupleChunkMetaDataEntity.class); UUID chunkId = UUID.fromString("c8a0a467-16b0-4f03-b7d7-07cbe1b0e7e8"); long reservedMarker = 0; diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/download/DedicatedTransactionServiceTest.java b/castor-service/src/test/java/io/carbynestack/castor/service/download/DedicatedTransactionServiceTest.java index fb1f13f..b819f25 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/download/DedicatedTransactionServiceTest.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/download/DedicatedTransactionServiceTest.java @@ -11,11 +11,11 @@ import static org.mockito.Mockito.verify; import java.util.function.Supplier; -import org.junit.Test; +import org.junit.jupiter.api.Test; -public class DedicatedTransactionServiceTest { +class DedicatedTransactionServiceTest { @Test - public void givenSupplier_whenRunAsNewTransaction_thenCallSupplier() { + void givenSupplier_whenRunAsNewTransaction_thenCallSupplier() { Supplier supplierMock = mock(Supplier.class); new DedicatedTransactionService().runAsNewTransaction(supplierMock); diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/download/DefaultTuplesDownloadServiceAsMasterIT.java b/castor-service/src/test/java/io/carbynestack/castor/service/download/DefaultTuplesDownloadServiceAsMasterIT.java index 2357138..29e4291 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/download/DefaultTuplesDownloadServiceAsMasterIT.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/download/DefaultTuplesDownloadServiceAsMasterIT.java @@ -11,7 +11,7 @@ import static io.carbynestack.castor.service.download.CreateReservationSupplier.FAILED_RESERVE_AMOUNT_TUPLES_EXCEPTION_MSG; import static io.carbynestack.castor.service.download.CreateReservationSupplier.SHARING_RESERVATION_FAILED_EXCEPTION_MSG; import static java.util.Collections.singletonList; -import static org.junit.Assert.*; +import static org.junit.jupiter.api.Assertions.*; import static org.mockito.Mockito.*; import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT; @@ -20,7 +20,6 @@ import io.carbynestack.castor.common.exceptions.CastorServiceException; import io.carbynestack.castor.service.CastorServiceApplication; import io.carbynestack.castor.service.config.CastorCacheProperties; -import io.carbynestack.castor.service.config.CastorSlaveServiceProperties; import io.carbynestack.castor.service.config.MinioProperties; import io.carbynestack.castor.service.persistence.cache.ConsumptionCachingService; import io.carbynestack.castor.service.persistence.cache.ReservationCachingService; @@ -29,55 +28,51 @@ import io.carbynestack.castor.service.persistence.markerstore.TupleChunkMetadataRepository; import io.carbynestack.castor.service.persistence.tuplestore.MinioTupleStore; import io.carbynestack.castor.service.testconfig.PersistenceTestEnvironment; -import io.carbynestack.castor.service.testconfig.ReusableMinioContainer; -import io.carbynestack.castor.service.testconfig.ReusablePostgreSQLContainer; -import io.carbynestack.castor.service.testconfig.ReusableRedisContainer; +import io.carbynestack.castor.service.testconfig.ReusableMinioContainerExtension; +import io.carbynestack.castor.service.testconfig.ReusablePostgreSQLContainerExtension; +import io.carbynestack.castor.service.testconfig.ReusableRedisContainerExtension; import io.minio.GetObjectArgs; import io.minio.MinioClient; import io.minio.PutObjectArgs; -import io.minio.errors.ErrorResponseException; +import io.minio.errors.*; import java.io.ByteArrayInputStream; +import java.io.IOException; import java.io.InputStream; +import java.security.InvalidKeyException; +import java.security.NoSuchAlgorithmException; import java.util.Objects; import java.util.Optional; import java.util.UUID; -import lombok.SneakyThrows; -import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.RandomUtils; import org.assertj.core.util.IterableUtil; -import org.junit.Before; -import org.junit.ClassRule; -import org.junit.Ignore; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.RegisterExtension; import org.mockito.ArgumentCaptor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.mock.mockito.SpyBean; import org.springframework.cache.Cache; import org.springframework.cache.CacheManager; -import org.springframework.context.ApplicationContext; import org.springframework.test.context.ActiveProfiles; -import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; -@Slf4j -@RunWith(SpringJUnit4ClassRunner.class) @SpringBootTest( webEnvironment = RANDOM_PORT, classes = {CastorServiceApplication.class}) @ActiveProfiles("test") -public class DefaultTuplesDownloadServiceAsMasterIT { - @ClassRule - public static ReusableRedisContainer reusableRedisContainer = - ReusableRedisContainer.getInstance(); +class DefaultTuplesDownloadServiceAsMasterIT { + @RegisterExtension + public static ReusableRedisContainerExtension reusableRedisContainer = + ReusableRedisContainerExtension.getInstance(); - @ClassRule - public static ReusableMinioContainer reusableMinioContainer = - ReusableMinioContainer.getInstance(); + @RegisterExtension + public static ReusableMinioContainerExtension reusableMinioContainer = + ReusableMinioContainerExtension.getInstance(); - @ClassRule - public static ReusablePostgreSQLContainer reusablePostgreSQLContainer = - ReusablePostgreSQLContainer.getInstance(); + @RegisterExtension + public static ReusablePostgreSQLContainerExtension reusablePostgreSQLContainer = + ReusablePostgreSQLContainerExtension.getInstance(); @Autowired private PersistenceTestEnvironment testEnvironment; @@ -85,8 +80,6 @@ public class DefaultTuplesDownloadServiceAsMasterIT { @Autowired private CacheManager cacheManager; - @Autowired private ApplicationContext applicationContext; - @Autowired private ConsumptionCachingService consumptionCachingService; @Autowired private TupleChunkMetadataRepository tupleChunkMetadataRepository; @@ -95,22 +88,17 @@ public class DefaultTuplesDownloadServiceAsMasterIT { @Autowired private MinioProperties minioProperties; - @Autowired private CastorSlaveServiceProperties slaveServiceProperties; - - @Autowired private DedicatedTransactionService dedicatedTransactionService; - - private MinioTupleStore tupleStoreSpy; - private TupleChunkMetaDataStorageService tupleChunkMetaDataStorageServiceSpy; - private ReservationCachingService reservationCachingServiceSpy; - private DefaultTuplesDownloadService tuplesDownloadService; - private CastorInterVcpClient interVcpClientSpy; + @SpyBean private MinioTupleStore tupleStoreSpy; + @SpyBean private TupleChunkMetaDataStorageService tupleChunkMetaDataStorageServiceSpy; + @SpyBean private ReservationCachingService reservationCachingServiceSpy; + @SpyBean private DefaultTuplesDownloadService tuplesDownloadService; + @SpyBean private CastorInterVcpClient interVcpClientSpy; private Cache reservationCache; private Cache multiplicationTripleTelemetryCache; - @Before + @BeforeEach public void setUp() { - initialize(); if (reservationCache == null) { reservationCache = Objects.requireNonNull(cacheManager.getCache(cacheProperties.getReservationStore())); @@ -124,33 +112,8 @@ public void setUp() { testEnvironment.clearAllData(); } - /** - * We were facing multiple issues where {@link SpyBean}s were not successfully registered as spies - * and caused issues when verifying access ({@link - * org.mockito.exceptions.misusing.NotAMockException}). To workaround these issues we're now - * explicitly spying the manually accessed beans and inject these in a dedicated test {@link - * DefaultTuplesDownloadService}. - */ - private void initialize() { - System.out.println("Initialize"); - tupleStoreSpy = spy(new MinioTupleStore(minioClient, minioProperties)); - tupleChunkMetaDataStorageServiceSpy = - spy(new TupleChunkMetaDataStorageService(tupleChunkMetadataRepository)); - reservationCachingServiceSpy = spy(applicationContext.getBean(ReservationCachingService.class)); - interVcpClientSpy = spy(applicationContext.getBean(CastorInterVcpClient.class)); - - tuplesDownloadService = - new DefaultTuplesDownloadService( - tupleStoreSpy, - tupleChunkMetaDataStorageServiceSpy, - reservationCachingServiceSpy, - slaveServiceProperties, - Optional.of(interVcpClientSpy), - Optional.of(dedicatedTransactionService)); - } - @Test - public void givenPersistingReservationFails_whenGetTuples_thenRollbackReservedMarkers() { + void givenPersistingReservationFails_whenGetTuples_thenRollbackReservedMarkers() { RuntimeException expectedException = new RuntimeException("expected"); UUID requestId = UUID.fromString("a345f933-bf70-4c7a-b6cd-312b55a6ff9c"); UUID chunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); @@ -178,7 +141,7 @@ public void givenPersistingReservationFails_whenGetTuples_thenRollbackReservedMa } @Test - public void givenMultipleChunksButNotEnoughTuples_whenGetTuples_thenRollbackAllMarkers() { + void givenMultipleChunksButNotEnoughTuples_whenGetTuples_thenRollbackAllMarkers() { UUID requestId = UUID.fromString("a345f933-bf70-4c7a-b6cd-312b55a6ff9c"); UUID chunkId1 = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); UUID chunkId2 = UUID.fromString("0cb02fab-b951-4947-bed5-89fbe2f9581e"); @@ -213,9 +176,9 @@ public void givenMultipleChunksButNotEnoughTuples_whenGetTuples_thenRollbackAllM assertEquals(chunk2MetaData, tupleChunkMetadataRepository.findById(chunkId2).get()); } - @Ignore("Transactions are currently disabled for cache operations") + @Disabled("Transactions are currently disabled for cache operations") @Test - public void + void givenSharingReservationFails_whenGetTuples_thenRollbackReservationAndReservedMarkerUpdates() { UUID requestId = UUID.fromString("a345f933-bf70-4c7a-b6cd-312b55a6ff9c"); UUID chunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); @@ -244,7 +207,7 @@ public void givenMultipleChunksButNotEnoughTuples_whenGetTuples_thenRollbackAllM } @Test - public void + void givenRetrievingTuplesFails_whenGetTuples_thenKeepReservationAndReservationMarkerButRemainConsumptionMarkerUntouched() { RuntimeException expectedException = new RuntimeException("expected"); UUID requestId = UUID.fromString("a345f933-bf70-4c7a-b6cd-312b55a6ff9c"); @@ -296,10 +259,12 @@ public void givenMultipleChunksButNotEnoughTuples_whenGetTuples_thenRollbackAllM assertEquals(initialMetaData.getConsumedMarker(), actualMetadata.getConsumedMarker()); } - @SneakyThrows @Test - public void - givenSuccessfulRequestAndLastTuplesConsumed_whenGetTuples_thenReturnTuplesAndCleanupAccordingly() { + void + givenSuccessfulRequestAndLastTuplesConsumed_whenGetTuples_thenReturnTuplesAndCleanupAccordingly() + throws ServerException, InsufficientDataException, ErrorResponseException, IOException, + NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, + XmlParserException, InternalException { UUID requestId = UUID.fromString("a345f933-bf70-4c7a-b6cd-312b55a6ff9c"); UUID chunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); TupleType tupleType = MULTIPLICATION_TRIPLE_GFP; diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/download/DefaultTuplesDownloadServiceTest.java b/castor-service/src/test/java/io/carbynestack/castor/service/download/DefaultTuplesDownloadServiceTest.java index e3c45c5..85880f1 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/download/DefaultTuplesDownloadServiceTest.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/download/DefaultTuplesDownloadServiceTest.java @@ -11,8 +11,8 @@ import static io.carbynestack.castor.common.entities.TupleType.MULTIPLICATION_TRIPLE_GFP; import static io.carbynestack.castor.service.download.DefaultTuplesDownloadService.*; import static java.util.Collections.singletonList; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertThrows; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.*; @@ -26,20 +26,20 @@ import io.carbynestack.castor.service.persistence.markerstore.TupleChunkMetaDataStorageService; import io.carbynestack.castor.service.persistence.tuplestore.TupleStore; import java.io.ByteArrayInputStream; +import java.io.IOException; import java.util.Optional; import java.util.UUID; -import lombok.SneakyThrows; import org.apache.commons.lang3.RandomUtils; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.MockedConstruction; -import org.mockito.junit.MockitoJUnitRunner; +import org.mockito.junit.jupiter.MockitoExtension; import org.mockito.stubbing.Answer; -@RunWith(MockitoJUnitRunner.class) -public class DefaultTuplesDownloadServiceTest { +@ExtendWith(MockitoExtension.class) +class DefaultTuplesDownloadServiceTest { @Mock private TupleStore tupleStoreMock; @Mock private TupleChunkMetaDataStorageService tupleChunkMetaDataStorageServiceMock; @@ -51,7 +51,7 @@ public class DefaultTuplesDownloadServiceTest { private DefaultTuplesDownloadService tuplesDownloadService; - @Before + @BeforeEach public void setUp() { tuplesDownloadService = new DefaultTuplesDownloadService( @@ -64,8 +64,7 @@ public void setUp() { } @Test - public void - givenNoReservationReceivedInTime_whenObtainReservation_thenThrowCastorServiceException() { + void givenNoReservationReceivedInTime_whenObtainReservation_thenThrowCastorServiceException() { String reservationId = "testReservationId"; long retryDelay = 5; long reservationTimeout = 10; @@ -102,7 +101,7 @@ public void setUp() { } @Test - public void givenSuccessfulRequest_whenObtainReservation_thenReturnExpectedReservation() { + void givenSuccessfulRequest_whenObtainReservation_thenReturnExpectedReservation() { String reservationId = "testReservationId"; long retryDelay = 5; long reservationTimeout = 10; @@ -124,7 +123,7 @@ public void givenSuccessfulRequest_whenObtainReservation_thenReturnExpectedReser } @Test - public void + void givenDedicatedTransactionServiceNotDefined_whenGetOrCreateReservation_thenThrowCastorServiceException() { when(dedicatedTransactionServiceOptionalMock.isPresent()).thenReturn(false); @@ -139,7 +138,7 @@ public void givenSuccessfulRequest_whenObtainReservation_thenReturnExpectedReser } @Test - public void + void givenCastorInterVcpClientIsNotDefined_whenGetOrCreateReservation_thenThrowCastorServiceException() { when(dedicatedTransactionServiceOptionalMock.isPresent()).thenReturn(true); when(castorInterVcpClientOptional.isPresent()).thenReturn(false); @@ -155,7 +154,7 @@ public void givenSuccessfulRequest_whenObtainReservation_thenReturnExpectedReser } @Test - public void + void givenUnlockedReservationWithMatchingConfigurationInCache_whenGetOrCreateReservation_thenReturnCachedReservation() { String reservationId = "testReservationId"; TupleType tupleType = INPUT_MASK_GFP; @@ -179,7 +178,7 @@ public void givenSuccessfulRequest_whenObtainReservation_thenReturnExpectedReser } @Test - public void + void givenLockedReservationForIdInCache_whenGetOrCreateReservation_thenThrowCastorServiceException() { String reservationId = "testReservationId"; long count = 42; @@ -203,7 +202,7 @@ public void givenSuccessfulRequest_whenObtainReservation_thenReturnExpectedReser } @Test - public void + void givenCachedReservationForIdMismatchType_whenGetOrCreateReservation_thenThrowCastorServiceException() { String reservationId = "testReservationId"; TupleType tupleType = INPUT_MASK_GFP; @@ -234,7 +233,7 @@ public void givenSuccessfulRequest_whenObtainReservation_thenReturnExpectedReser } @Test - public void + void givenCachedReservationForIdMismatchReservedCount_whenGetOrCreateReservation_thenThrowCastorServiceException() { String reservationId = "testReservationId"; TupleType tupleType = INPUT_MASK_GFP; @@ -268,7 +267,7 @@ public void givenSuccessfulRequest_whenObtainReservation_thenReturnExpectedReser } @Test - public void + void givenNoCachedReservationButCreationThrows_whenGetOrCreateReservation_thenThrowCastorServiceException() { String reservationId = "testReservationId"; CastorClientException expectedException = new CastorClientException("expected"); @@ -290,7 +289,7 @@ public void givenSuccessfulRequest_whenObtainReservation_thenReturnExpectedReser } @Test - public void + void givenNoCachedReservationActivationThrows_whenGetOrCreateReservation_thenThrowCastorServiceException() { String reservationId = "testReservationId"; CastorClientException expectedException = new CastorClientException("expected"); @@ -315,7 +314,7 @@ public void givenSuccessfulRequest_whenObtainReservation_thenReturnExpectedReser } @Test - public void + void givenNoCachedReservationAndSuccessfulRequest_whenGetOrCreateReservation_thenReturnNewReservation() { String reservationId = "testReservationId"; Reservation expectedReservationMock = mock(Reservation.class); @@ -370,9 +369,8 @@ public void givenSuccessfulRequest_whenObtainReservation_thenReturnExpectedReser // } // } - @SneakyThrows @Test - public void givenSuccessfulRequest_whenGetTuplesAsMaster_thenReturnExpectedTuples() { + void givenSuccessfulRequest_whenGetTuplesAsMaster_thenReturnExpectedTuples() throws IOException { TupleType tupleType = INPUT_MASK_GFP; UUID chunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); long count = 2; diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/download/TelemetryServiceTest.java b/castor-service/src/test/java/io/carbynestack/castor/service/download/TelemetryServiceTest.java index 366113f..a777ef5 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/download/TelemetryServiceTest.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/download/TelemetryServiceTest.java @@ -8,7 +8,7 @@ package io.carbynestack.castor.service.download; import static io.carbynestack.castor.common.entities.TupleType.*; -import static org.junit.Assert.assertEquals; +import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.ArgumentMatchers.anyLong; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.when; @@ -20,22 +20,21 @@ import java.time.Duration; import java.util.Arrays; import java.util.List; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; import org.mockito.Mock; -import org.mockito.junit.MockitoJUnitRunner; +import org.mockito.junit.jupiter.MockitoExtension; -@RunWith(MockitoJUnitRunner.class) -public class TelemetryServiceTest { +@ExtendWith(MockitoExtension.class) +class TelemetryServiceTest { @Mock private TupleChunkMetaDataStorageService tupleChunkMetaDataStorageServiceMock; @Mock private ConsumptionCachingService consumptionCachingServiceMock; @InjectMocks private TelemetryService telemetryService; @Test - public void - givenSuccessfulRequest_whenGetTelemetryDataForInterval_thenReturnExpectedTelemetryData() { + void givenSuccessfulRequest_whenGetTelemetryDataForInterval_thenReturnExpectedTelemetryData() { Duration interval = Duration.ofSeconds(42); List expectedMetrics = Arrays.asList( diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/download/UpdateReservationSupplierTest.java b/castor-service/src/test/java/io/carbynestack/castor/service/download/UpdateReservationSupplierTest.java index d055e2c..6552066 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/download/UpdateReservationSupplierTest.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/download/UpdateReservationSupplierTest.java @@ -8,7 +8,7 @@ package io.carbynestack.castor.service.download; import static io.carbynestack.castor.common.entities.TupleType.INPUT_MASK_GFP; -import static org.junit.Assert.assertEquals; +import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; @@ -18,14 +18,14 @@ import io.carbynestack.castor.common.entities.TupleType; import io.carbynestack.castor.service.persistence.cache.ReservationCachingService; import java.util.UUID; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; import org.mockito.Mock; -import org.mockito.junit.MockitoJUnitRunner; +import org.mockito.junit.jupiter.MockitoExtension; -@RunWith(MockitoJUnitRunner.class) -public class UpdateReservationSupplierTest { +@ExtendWith(MockitoExtension.class) +class UpdateReservationSupplierTest { @Mock private CastorInterVcpClient castorInterVcpClientMock; @Mock private ReservationCachingService reservationCachingServiceMock; @Mock private Reservation reservationMock; @@ -33,7 +33,7 @@ public class UpdateReservationSupplierTest { @InjectMocks UpdateReservationSupplier updateReservationSupplier; @Test - public void givenSuccessfulRequest_whenGet_thenSetStatusToUnlockedAndPropagate() { + void givenSuccessfulRequest_whenGet_thenSetStatusToUnlockedAndPropagate() { UUID requestId = UUID.fromString("c8a0a467-16b0-4f03-b7d7-07cbe1b0e7e8"); TupleType tupleType = INPUT_MASK_GFP; String reservationId = requestId + "_" + tupleType; diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/download/WaitForReservationCallableTest.java b/castor-service/src/test/java/io/carbynestack/castor/service/download/WaitForReservationCallableTest.java index 2eabe60..79a4ba8 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/download/WaitForReservationCallableTest.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/download/WaitForReservationCallableTest.java @@ -7,8 +7,8 @@ package io.carbynestack.castor.service.download; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNull; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.Mockito.*; import io.carbynestack.castor.common.entities.ActivationStatus; @@ -16,22 +16,22 @@ import io.carbynestack.castor.service.persistence.cache.ReservationCachingService; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.invocation.InvocationOnMock; -import org.mockito.junit.MockitoJUnitRunner; +import org.mockito.junit.jupiter.MockitoExtension; import org.mockito.stubbing.Answer; @Slf4j -@RunWith(MockitoJUnitRunner.class) -public class WaitForReservationCallableTest { +@ExtendWith(MockitoExtension.class) +class WaitForReservationCallableTest { @Mock private ReservationCachingService reservationCachingServiceMock; private final String reservationId = "reservationId"; @Test - public void givenNoReservationRetrievedAndCancelled_whenCall_thenReturnNull() { + void givenNoReservationRetrievedAndCancelled_whenCall_thenReturnNull() { int retries = 1; WaitForReservationCallable wfrc = new WaitForReservationCallable(reservationId, reservationCachingServiceMock, 0); @@ -42,7 +42,7 @@ public void givenNoReservationRetrievedAndCancelled_whenCall_thenReturnNull() { } @Test - public void givenReservationLockedInitially_whenCall_thenWaitUntilUnlockedAndReturnReservation() { + void givenReservationLockedInitially_whenCall_thenWaitUntilUnlockedAndReturnReservation() { int retries = 2; Reservation expectedReservation = mock(Reservation.class); WaitForReservationCallable wfrc = diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/persistence/cache/ConsumptionCachingServiceIT.java b/castor-service/src/test/java/io/carbynestack/castor/service/persistence/cache/ConsumptionCachingServiceIT.java index 11413ea..65708ba 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/persistence/cache/ConsumptionCachingServiceIT.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/persistence/cache/ConsumptionCachingServiceIT.java @@ -9,8 +9,8 @@ import static io.carbynestack.castor.common.entities.TupleType.INPUT_MASK_GFP; import static io.carbynestack.castor.common.entities.TupleType.MULTIPLICATION_TRIPLE_GFP; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNull; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.Mockito.when; import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT; @@ -18,43 +18,39 @@ import io.carbynestack.castor.service.CastorServiceApplication; import io.carbynestack.castor.service.config.CastorCacheProperties; import io.carbynestack.castor.service.testconfig.PersistenceTestEnvironment; -import io.carbynestack.castor.service.testconfig.ReusableMinioContainer; -import io.carbynestack.castor.service.testconfig.ReusablePostgreSQLContainer; -import io.carbynestack.castor.service.testconfig.ReusableRedisContainer; +import io.carbynestack.castor.service.testconfig.ReusableMinioContainerExtension; +import io.carbynestack.castor.service.testconfig.ReusablePostgreSQLContainerExtension; +import io.carbynestack.castor.service.testconfig.ReusableRedisContainerExtension; import java.util.Arrays; import java.util.Objects; import java.util.concurrent.TimeUnit; -import lombok.SneakyThrows; -import org.junit.Before; -import org.junit.ClassRule; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.RegisterExtension; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.mock.mockito.SpyBean; import org.springframework.cache.Cache; import org.springframework.cache.CacheManager; import org.springframework.test.context.ActiveProfiles; -import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; -@RunWith(SpringJUnit4ClassRunner.class) @SpringBootTest( webEnvironment = RANDOM_PORT, classes = {CastorServiceApplication.class}) @ActiveProfiles("test") -public class ConsumptionCachingServiceIT { +class ConsumptionCachingServiceIT { - @ClassRule - public static ReusableRedisContainer reusableRedisContainer = - ReusableRedisContainer.getInstance(); + @RegisterExtension + public static ReusableRedisContainerExtension reusableRedisContainer = + ReusableRedisContainerExtension.getInstance(); - @ClassRule - public static ReusableMinioContainer reusableMinioContainer = - ReusableMinioContainer.getInstance(); + @RegisterExtension + public static ReusableMinioContainerExtension reusableMinioContainer = + ReusableMinioContainerExtension.getInstance(); - @ClassRule - public static ReusablePostgreSQLContainer reusablePostgreSQLContainer = - ReusablePostgreSQLContainer.getInstance(); + @RegisterExtension + public static ReusablePostgreSQLContainerExtension reusablePostgreSQLContainer = + ReusablePostgreSQLContainerExtension.getInstance(); @Autowired private PersistenceTestEnvironment testEnvironment; @@ -64,20 +60,20 @@ public class ConsumptionCachingServiceIT { @Autowired private ConsumptionCachingService consumptionCachingService; - @Before + @BeforeEach public void setUp() { testEnvironment.clearAllData(); } @Test - public void givenCacheIsEmpty_whenGetConsumption_thenReturnZero() { + void givenCacheIsEmpty_whenGetConsumption_thenReturnZero() { long actualConsumption = consumptionCachingService.getConsumptionForTupleType(0L, INPUT_MASK_GFP); assertEquals(0L, actualConsumption); } @Test - public void + void givenMultipleConsumptionValues_whenGetConsumption_thenReturnExpectedOverallConsumptionForTimeFrame() { long timestamp1 = 100; long timestamp2 = 200; @@ -103,9 +99,9 @@ public void givenCacheIsEmpty_whenGetConsumption_thenReturnZero() { assertEquals(0L, actualConsumption201ff); } - @SneakyThrows @Test - public void givenTimeToLife_whenKeepConsumption_thenRemoveValueAutomaticallyFromCache() { + void givenTimeToLife_whenKeepConsumption_thenRemoveValueAutomaticallyFromCache() + throws InterruptedException { long time = 100; long ttl = 1; long consumed = 42; @@ -116,7 +112,7 @@ public void givenTimeToLife_whenKeepConsumption_thenRemoveValueAutomaticallyFrom } @Test - public void givenMultipleConsumptionValuesForSameTimestamp_whenKeepConsumption_thenSumUpValues() { + void givenMultipleConsumptionValuesForSameTimestamp_whenKeepConsumption_thenSumUpValues() { long timestamp = 100L; long[] consumptionValues = {1, 12, 23, 34, 42}; long expectedTotal = Arrays.stream(consumptionValues).sum(); diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/persistence/cache/ConsumptionCachingServiceTest.java b/castor-service/src/test/java/io/carbynestack/castor/service/persistence/cache/ConsumptionCachingServiceTest.java index 7060c10..c6cc3d2 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/persistence/cache/ConsumptionCachingServiceTest.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/persistence/cache/ConsumptionCachingServiceTest.java @@ -7,7 +7,7 @@ package io.carbynestack.castor.service.persistence.cache; -import static org.junit.Assert.assertEquals; +import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; @@ -21,31 +21,31 @@ import java.util.List; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; import org.mockito.Mock; -import org.mockito.junit.MockitoJUnitRunner; +import org.mockito.junit.jupiter.MockitoExtension; import org.springframework.data.redis.cache.CacheKeyPrefix; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.core.ValueOperations; -@RunWith(MockitoJUnitRunner.class) -public class ConsumptionCachingServiceTest { +@ExtendWith(MockitoExtension.class) +class ConsumptionCachingServiceTest { @Mock private RedisTemplate redisTemplateMock; @Mock private CastorCacheProperties castorCachePropertiesMock; @Mock private ValueOperations valueOperationsMock; @InjectMocks private ConsumptionCachingService consumptionCachingService; - @Before + @BeforeEach public void setUp() { when(redisTemplateMock.opsForValue()).thenReturn(valueOperationsMock); } @Test - public void givenNoValueForTimeStampInCache_whenKeepConsumption_thenPersistGivenValue() { + void givenNoValueForTimeStampInCache_whenKeepConsumption_thenPersistGivenValue() { long time = 100L; TupleType tupleType = TupleType.INPUT_MASK_GFP; long consumed = 42; @@ -63,7 +63,7 @@ public void givenNoValueForTimeStampInCache_whenKeepConsumption_thenPersistGiven } @Test - public void givenValueForSameTimeInCache_whenKeepConsumption_thenPersistGivenValue() { + void givenValueForSameTimeInCache_whenKeepConsumption_thenPersistGivenValue() { long time = 100L; TupleType tupleType = TupleType.INPUT_MASK_GFP; long consumedNew = 42; @@ -83,7 +83,7 @@ public void givenValueForSameTimeInCache_whenKeepConsumption_thenPersistGivenVal } @Test - public void + void givenTimeStamp_whenGetConsumptionForTupleType_thenFilterAccordinglyAndReturnAggregatedValue() { String cachePrefix = "testCache_"; TupleType tupleType = TupleType.INPUT_MASK_GFP; diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/persistence/cache/ReservationCachingServiceIT.java b/castor-service/src/test/java/io/carbynestack/castor/service/persistence/cache/ReservationCachingServiceIT.java index 8deed39..ad635c0 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/persistence/cache/ReservationCachingServiceIT.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/persistence/cache/ReservationCachingServiceIT.java @@ -7,8 +7,8 @@ package io.carbynestack.castor.service.persistence.cache; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNull; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.Mockito.*; import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT; @@ -21,16 +21,15 @@ import io.carbynestack.castor.service.persistence.markerstore.TupleChunkMetaDataEntity; import io.carbynestack.castor.service.persistence.markerstore.TupleChunkMetaDataStorageService; import io.carbynestack.castor.service.testconfig.PersistenceTestEnvironment; -import io.carbynestack.castor.service.testconfig.ReusableMinioContainer; -import io.carbynestack.castor.service.testconfig.ReusablePostgreSQLContainer; -import io.carbynestack.castor.service.testconfig.ReusableRedisContainer; +import io.carbynestack.castor.service.testconfig.ReusableMinioContainerExtension; +import io.carbynestack.castor.service.testconfig.ReusablePostgreSQLContainerExtension; +import io.carbynestack.castor.service.testconfig.ReusableRedisContainerExtension; import java.util.Collections; import java.util.Set; import java.util.UUID; -import org.junit.Before; -import org.junit.ClassRule; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.RegisterExtension; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.cache.Cache; @@ -38,26 +37,24 @@ import org.springframework.data.redis.cache.CacheKeyPrefix; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.test.context.ActiveProfiles; -import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; -@RunWith(SpringJUnit4ClassRunner.class) @SpringBootTest( webEnvironment = RANDOM_PORT, classes = {CastorServiceApplication.class}) @ActiveProfiles("test") -public class ReservationCachingServiceIT { +class ReservationCachingServiceIT { - @ClassRule - public static ReusableRedisContainer reusableRedisContainer = - ReusableRedisContainer.getInstance(); + @RegisterExtension + public static ReusableRedisContainerExtension reusableRedisContainer = + ReusableRedisContainerExtension.getInstance(); - @ClassRule - public static ReusableMinioContainer reusableMinioContainer = - ReusableMinioContainer.getInstance(); + @RegisterExtension + public static ReusableMinioContainerExtension reusableMinioContainer = + ReusableMinioContainerExtension.getInstance(); - @ClassRule - public static ReusablePostgreSQLContainer reusablePostgreSQLContainer = - ReusablePostgreSQLContainer.getInstance(); + @RegisterExtension + public static ReusablePostgreSQLContainerExtension reusablePostgreSQLContainer = + ReusablePostgreSQLContainerExtension.getInstance(); @Autowired private ConsumptionCachingService consumptionCachingService; @@ -87,7 +84,7 @@ public class ReservationCachingServiceIT { Collections.singletonList( new ReservationElement(testChunkId, testNumberReservedTuples, 0))); - @Before + @BeforeEach public void setUp() { if (reservationCache == null) { reservationCache = cacheManager.getCache(cacheProperties.getReservationStore()); @@ -103,12 +100,12 @@ public void setUp() { } @Test - public void givenCacheIsEmpty_whenGetReservation_thenReturnNull() { + void givenCacheIsEmpty_whenGetReservation_thenReturnNull() { assertNull(reservationCachingService.getReservation(testReservation.getReservationId())); } @Test - public void givenSuccessfulRequest_whenKeepReservation_thenStoreInCacheAndUpdateConsumption() { + void givenSuccessfulRequest_whenKeepReservation_thenStoreInCacheAndUpdateConsumption() { TupleChunkMetaDataEntity metaDataEntityMock = mock(TupleChunkMetaDataEntity.class); when(tupleChunkMetaDataStorageServiceMock.getTupleChunkData(testChunkId)) .thenReturn(metaDataEntityMock); @@ -139,7 +136,7 @@ public void givenSuccessfulRequest_whenKeepReservation_thenStoreInCacheAndUpdate } @Test - public void givenReservationInCache_whenGetReservation_thenKeepReservationUntouchedInCache() { + void givenReservationInCache_whenGetReservation_thenKeepReservationUntouchedInCache() { reservationCache.put(testReservation.getReservationId(), testReservation); assertEquals( testReservation, @@ -150,7 +147,7 @@ public void givenReservationInCache_whenGetReservation_thenKeepReservationUntouc } @Test - public void givenSuccessfulRequest_whenForgetReservation_thenRemoveFromCache() { + void givenSuccessfulRequest_whenForgetReservation_thenRemoveFromCache() { reservationCache.put(testReservation.getReservationId(), testReservation); assertEquals( testReservation, diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/persistence/cache/ReservationCachingServiceTest.java b/castor-service/src/test/java/io/carbynestack/castor/service/persistence/cache/ReservationCachingServiceTest.java index 2366aca..4c7d1b3 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/persistence/cache/ReservationCachingServiceTest.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/persistence/cache/ReservationCachingServiceTest.java @@ -9,8 +9,8 @@ import static io.carbynestack.castor.service.persistence.cache.ReservationCachingService.*; import static java.util.Collections.singletonList; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertThrows; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.Mockito.*; import io.carbynestack.castor.common.entities.ActivationStatus; @@ -23,17 +23,17 @@ import io.carbynestack.castor.service.persistence.markerstore.TupleChunkMetaDataEntity; import io.carbynestack.castor.service.persistence.markerstore.TupleChunkMetaDataStorageService; import java.util.UUID; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; -import org.mockito.junit.MockitoJUnitRunner; +import org.mockito.junit.jupiter.MockitoExtension; import org.springframework.data.redis.cache.CacheKeyPrefix; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.core.ValueOperations; -@RunWith(MockitoJUnitRunner.class) -public class ReservationCachingServiceTest { +@ExtendWith(MockitoExtension.class) +class ReservationCachingServiceTest { @Mock private ConsumptionCachingService consumptionCachingServiceMock; @Mock private RedisTemplate redisTemplateMock; @@ -49,10 +49,9 @@ public class ReservationCachingServiceTest { private ReservationCachingService reservationCachingService; - @Before + @BeforeEach public void setUp() { when(castorCachePropertiesMock.getReservationStore()).thenReturn(testCacheName); - when(redisTemplateMock.opsForValue()).thenReturn(valueOperationsMock); this.reservationCachingService = new ReservationCachingService( castorCachePropertiesMock, @@ -62,7 +61,7 @@ public void setUp() { } @Test - public void givenReferencedChunkIsNotKnown_whenKeepReservation_throwCastorServiceException() { + void givenReferencedChunkIsNotKnown_whenKeepReservation_throwCastorServiceException() { UUID chunkId = UUID.fromString("b7b010e0-362b-401c-9560-4cf4b2a68139"); ReservationElement reservationElementMock = mock(ReservationElement.class); Reservation reservationMock = mock(Reservation.class); @@ -82,7 +81,7 @@ public void givenReferencedChunkIsNotKnown_whenKeepReservation_throwCastorServic } @Test - public void givenReferencedChunkIsNotUnlocked_whenKeepReservation_throwCastorServiceException() { + void givenReferencedChunkIsNotUnlocked_whenKeepReservation_throwCastorServiceException() { UUID chunkId = UUID.fromString("b7b010e0-362b-401c-9560-4cf4b2a68139"); ReservationElement reservationElementMock = mock(ReservationElement.class); Reservation reservationMock = mock(Reservation.class); @@ -104,8 +103,7 @@ public void givenReferencedChunkIsNotUnlocked_whenKeepReservation_throwCastorSer } @Test - public void - givenReferencedChunkTupleTypeMismatch_whenKeepReservation_throwCastorServiceException() { + void givenReferencedChunkTupleTypeMismatch_whenKeepReservation_throwCastorServiceException() { UUID chunkId = UUID.fromString("b7b010e0-362b-401c-9560-4cf4b2a68139"); TupleType requestedTupleType = TupleType.INPUT_MASK_GFP; TupleType actualTupleType = TupleType.SQUARE_TUPLE_GF2N; @@ -131,8 +129,7 @@ public void givenReferencedChunkIsNotUnlocked_whenKeepReservation_throwCastorSer } @Test - public void - givenTuplesOfReferencedChunkNotAvailable_whenKeepReservation_throwCastorServiceException() { + void givenTuplesOfReferencedChunkNotAvailable_whenKeepReservation_throwCastorServiceException() { UUID chunkId = UUID.fromString("b7b010e0-362b-401c-9560-4cf4b2a68139"); TupleType tupleType = TupleType.INPUT_MASK_GFP; long reservedMarker = 5; @@ -159,7 +156,7 @@ public void givenReferencedChunkIsNotUnlocked_whenKeepReservation_throwCastorSer } @Test - public void givenChunkHasNotEnoughTuples_whenKeepReservation_throwCastorServiceException() { + void givenChunkHasNotEnoughTuples_whenKeepReservation_throwCastorServiceException() { UUID chunkId = UUID.fromString("b7b010e0-362b-401c-9560-4cf4b2a68139"); TupleType tupleType = TupleType.INPUT_MASK_GFP; long tupleStartIndex = 5; @@ -194,7 +191,7 @@ public void givenChunkHasNotEnoughTuples_whenKeepReservation_throwCastorServiceE } @Test - public void + void givenUpdateReservedTuplesForChunkFails_whenKeepReservation_thenThrowCastorServiceException() { CastorClientException expectedException = new CastorClientException("expected"); long consumption = 42; @@ -205,6 +202,7 @@ public void givenChunkHasNotEnoughTuples_whenKeepReservation_throwCastorServiceE Reservation reservationMock = mock(Reservation.class); TupleChunkMetaDataEntity metaDataMock = mock(TupleChunkMetaDataEntity.class); + when(redisTemplateMock.opsForValue()).thenReturn(valueOperationsMock); when(reservationElementMock.getTupleChunkId()).thenReturn(chunkId); when(reservationElementMock.getReservedTuples()).thenReturn(consumption); when(tupleChunkMetaDataStorageServiceMock.getTupleChunkData(chunkId)).thenReturn(metaDataMock); @@ -234,7 +232,7 @@ public void givenChunkHasNotEnoughTuples_whenKeepReservation_throwCastorServiceE } @Test - public void + void givenNoReservationWithGivenIdInCache_whenKeepReservation_thenStoreInCacheAndEmitConsumption() { long consumption = 42; UUID chunkId = UUID.fromString("b7b010e0-362b-401c-9560-4cf4b2a68139"); @@ -244,6 +242,7 @@ public void givenChunkHasNotEnoughTuples_whenKeepReservation_throwCastorServiceE Reservation reservationMock = mock(Reservation.class); TupleChunkMetaDataEntity metaDataMock = mock(TupleChunkMetaDataEntity.class); + when(redisTemplateMock.opsForValue()).thenReturn(valueOperationsMock); when(reservationElementMock.getTupleChunkId()).thenReturn(chunkId); when(reservationElementMock.getReservedTuples()).thenReturn(consumption); when(tupleChunkMetaDataStorageServiceMock.getTupleChunkData(chunkId)).thenReturn(metaDataMock); @@ -266,11 +265,11 @@ public void givenChunkHasNotEnoughTuples_whenKeepReservation_throwCastorServiceE } @Test - public void - givenReservationWithSameIdInCache_whenKeepReservation_thenThrowCastorServiceException() { + void givenReservationWithSameIdInCache_whenKeepReservation_thenThrowCastorServiceException() { String reservationId = "reservationId"; Reservation reservationMock = mock(Reservation.class); + when(redisTemplateMock.opsForValue()).thenReturn(valueOperationsMock); when(reservationMock.getReservationId()).thenReturn(reservationId); when(valueOperationsMock.get(testCachePrefix + reservationId)).thenReturn(reservationMock); @@ -287,11 +286,11 @@ public void givenChunkHasNotEnoughTuples_whenKeepReservation_throwCastorServiceE } @Test - public void - givenNoReservationWithIdInCache_whenUpdateReservation_thenThrowCastorServiceException() { + void givenNoReservationWithIdInCache_whenUpdateReservation_thenThrowCastorServiceException() { String reservationId = "reservationId"; ActivationStatus newStatus = ActivationStatus.UNLOCKED; + when(redisTemplateMock.opsForValue()).thenReturn(valueOperationsMock); when(valueOperationsMock.get(testCachePrefix + reservationId)).thenReturn(null); CastorServiceException actualCse = @@ -304,11 +303,12 @@ public void givenChunkHasNotEnoughTuples_whenKeepReservation_throwCastorServiceE } @Test - public void givenSuccessfulRequest_whenUpdateReservation_thenUpdateEntityInCache() { + void givenSuccessfulRequest_whenUpdateReservation_thenUpdateEntityInCache() { String reservationId = "reservationId"; Reservation reservationMock = mock(Reservation.class); ActivationStatus newStatus = ActivationStatus.UNLOCKED; + when(redisTemplateMock.opsForValue()).thenReturn(valueOperationsMock); when(reservationMock.getReservationId()).thenReturn(reservationId); when(valueOperationsMock.get(testCachePrefix + reservationId)).thenReturn(reservationMock); @@ -319,17 +319,18 @@ public void givenSuccessfulRequest_whenUpdateReservation_thenUpdateEntityInCache } @Test - public void givenReservationWithIdInCache_whenGetReservation_thenReturnExpectedReservation() { + void givenReservationWithIdInCache_whenGetReservation_thenReturnExpectedReservation() { String reservationId = "reservationId"; Reservation reservationMock = mock(Reservation.class); + when(redisTemplateMock.opsForValue()).thenReturn(valueOperationsMock); when(valueOperationsMock.get(testCachePrefix + reservationId)).thenReturn(reservationMock); assertEquals(reservationMock, reservationCachingService.getReservation(reservationId)); } @Test - public void givenSuccessfulRequest_whenForgetReservation_thenCallDeleteOnCache() { + void givenSuccessfulRequest_whenForgetReservation_thenCallDeleteOnCache() { String reservationId = "reservationId"; reservationCachingService.forgetReservation(reservationId); diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/persistence/markerstore/TupleChunkMetaDataEntityTest.java b/castor-service/src/test/java/io/carbynestack/castor/service/persistence/markerstore/TupleChunkMetaDataEntityTest.java index 11d2678..4086366 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/persistence/markerstore/TupleChunkMetaDataEntityTest.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/persistence/markerstore/TupleChunkMetaDataEntityTest.java @@ -7,17 +7,17 @@ package io.carbynestack.castor.service.persistence.markerstore; -import static org.junit.Assert.assertThrows; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; import io.carbynestack.castor.common.entities.TupleType; import java.util.UUID; -import org.junit.Assert; -import org.junit.Test; +import org.junit.jupiter.api.Test; -public class TupleChunkMetaDataEntityTest { +class TupleChunkMetaDataEntityTest { @Test - public void givenIdIsNull_whenSetTupleChunkId_thenThrowIllegalArgumentException() { + void givenIdIsNull_whenSetTupleChunkId_thenThrowIllegalArgumentException() { UUID nullId = null; TupleType tupleType = TupleType.MULTIPLICATION_TRIPLE_GFP; long numberOfTuples = 42; @@ -27,13 +27,12 @@ public void givenIdIsNull_whenSetTupleChunkId_thenThrowIllegalArgumentException( IllegalArgumentException.class, () -> TupleChunkMetaDataEntity.of(nullId, tupleType, numberOfTuples)); - Assert.assertEquals( + assertEquals( TupleChunkMetaDataEntity.ID_MUST_NOT_BE_NULL_EXCEPTION_MSG, actualIae.getMessage()); } @Test - public void - givenNumberOfTuplesIsNegative_whenSetNumberOfTuples_thenThrowIllegalArgumentException() { + void givenNumberOfTuplesIsNegative_whenSetNumberOfTuples_thenThrowIllegalArgumentException() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); TupleType tupleType = TupleType.MULTIPLICATION_TRIPLE_GFP; long invalidNumberOfTuples = -2; @@ -43,12 +42,12 @@ public void givenIdIsNull_whenSetTupleChunkId_thenThrowIllegalArgumentException( IllegalArgumentException.class, () -> TupleChunkMetaDataEntity.of(chunkId, tupleType, invalidNumberOfTuples)); - Assert.assertEquals( + assertEquals( TupleChunkMetaDataEntity.INVALID_NUMBER_OF_TUPLES_EXCEPTION_MSG, actualIae.getMessage()); } @Test - public void givenTupleTypeIsNull_whenSetTupleChunkId_thenThrowIllegalArgumentException() { + void givenTupleTypeIsNull_whenSetTupleChunkId_thenThrowIllegalArgumentException() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); TupleType nullTupleType = null; long numberOfTuples = 42; @@ -58,13 +57,12 @@ public void givenTupleTypeIsNull_whenSetTupleChunkId_thenThrowIllegalArgumentExc IllegalArgumentException.class, () -> TupleChunkMetaDataEntity.of(chunkId, nullTupleType, numberOfTuples)); - Assert.assertEquals( + assertEquals( TupleChunkMetaDataEntity.TUPLE_TYPE_MUST_NOT_BE_NULL_EXCEPTION_MSG, actualIae.getMessage()); } @Test - public void - givenReservedMarkerIsNegative_whenSetReservedMarker_thenThrowIllegalArgumentException() { + void givenReservedMarkerIsNegative_whenSetReservedMarker_thenThrowIllegalArgumentException() { TupleChunkMetaDataEntity metaDataEntity = TupleChunkMetaDataEntity.of( UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"), @@ -77,12 +75,12 @@ public void givenTupleTypeIsNull_whenSetTupleChunkId_thenThrowIllegalArgumentExc IllegalArgumentException.class, () -> metaDataEntity.setReservedMarker(invalidReservedMarker)); - Assert.assertEquals( + assertEquals( TupleChunkMetaDataEntity.MARKER_OUT_OF_RANGE_EXCEPTION_MSG, actualIae.getMessage()); } @Test - public void + void givenReservedMarkerIsLargerThanNumberOfTuples_whenSetReservedMarker_thenThrowIllegalArgumentException() { long numberOfTuples = 42; long invalidReservedMarker = numberOfTuples + 1; @@ -97,13 +95,12 @@ public void givenTupleTypeIsNull_whenSetTupleChunkId_thenThrowIllegalArgumentExc IllegalArgumentException.class, () -> metaDataEntity.setReservedMarker(invalidReservedMarker)); - Assert.assertEquals( + assertEquals( TupleChunkMetaDataEntity.MARKER_OUT_OF_RANGE_EXCEPTION_MSG, actualIae.getMessage()); } @Test - public void - givenConsumedMarkerIsNegative_whenSetReservedMarker_thenThrowIllegalArgumentException() { + void givenConsumedMarkerIsNegative_whenSetReservedMarker_thenThrowIllegalArgumentException() { TupleChunkMetaDataEntity metaDataEntity = TupleChunkMetaDataEntity.of( UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"), @@ -116,12 +113,12 @@ public void givenTupleTypeIsNull_whenSetTupleChunkId_thenThrowIllegalArgumentExc IllegalArgumentException.class, () -> metaDataEntity.setConsumedMarker(invalidReservedMarker)); - Assert.assertEquals( + assertEquals( TupleChunkMetaDataEntity.MARKER_OUT_OF_RANGE_EXCEPTION_MSG, actualIae.getMessage()); } @Test - public void + void givenConsumedMarkerIsLargerThanNumberOfTuples_whenSetReservedMarker_thenThrowIllegalArgumentException() { long numberOfTuples = 42; long invalidReservedMarker = numberOfTuples + 1; @@ -136,7 +133,7 @@ public void givenTupleTypeIsNull_whenSetTupleChunkId_thenThrowIllegalArgumentExc IllegalArgumentException.class, () -> metaDataEntity.setConsumedMarker(invalidReservedMarker)); - Assert.assertEquals( + assertEquals( TupleChunkMetaDataEntity.MARKER_OUT_OF_RANGE_EXCEPTION_MSG, actualIae.getMessage()); } } diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/persistence/markerstore/TupleChunkMetaDataStorageServiceIT.java b/castor-service/src/test/java/io/carbynestack/castor/service/persistence/markerstore/TupleChunkMetaDataStorageServiceIT.java index 95a2f28..4b93b72 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/persistence/markerstore/TupleChunkMetaDataStorageServiceIT.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/persistence/markerstore/TupleChunkMetaDataStorageServiceIT.java @@ -9,44 +9,41 @@ import static io.carbynestack.castor.common.entities.ActivationStatus.UNLOCKED; import static java.util.Collections.singletonList; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNull; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNull; import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT; import io.carbynestack.castor.common.entities.TupleType; import io.carbynestack.castor.service.CastorServiceApplication; import io.carbynestack.castor.service.testconfig.PersistenceTestEnvironment; -import io.carbynestack.castor.service.testconfig.ReusableMinioContainer; -import io.carbynestack.castor.service.testconfig.ReusablePostgreSQLContainer; -import io.carbynestack.castor.service.testconfig.ReusableRedisContainer; +import io.carbynestack.castor.service.testconfig.ReusableMinioContainerExtension; +import io.carbynestack.castor.service.testconfig.ReusablePostgreSQLContainerExtension; +import io.carbynestack.castor.service.testconfig.ReusableRedisContainerExtension; import java.util.UUID; -import org.junit.Before; -import org.junit.ClassRule; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.RegisterExtension; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.ActiveProfiles; -import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; -@RunWith(SpringJUnit4ClassRunner.class) @SpringBootTest( webEnvironment = RANDOM_PORT, classes = {CastorServiceApplication.class}) @ActiveProfiles("test") -public class TupleChunkMetaDataStorageServiceIT { +class TupleChunkMetaDataStorageServiceIT { - @ClassRule - public static ReusableRedisContainer reusableRedisContainer = - ReusableRedisContainer.getInstance(); + @RegisterExtension + public static ReusableRedisContainerExtension reusableRedisContainer = + ReusableRedisContainerExtension.getInstance(); - @ClassRule - public static ReusableMinioContainer reusableMinioContainer = - ReusableMinioContainer.getInstance(); + @RegisterExtension + public static ReusableMinioContainerExtension reusableMinioContainer = + ReusableMinioContainerExtension.getInstance(); - @ClassRule - public static ReusablePostgreSQLContainer reusablePostgreSQLContainer = - ReusablePostgreSQLContainer.getInstance(); + @RegisterExtension + public static ReusablePostgreSQLContainerExtension reusablePostgreSQLContainer = + ReusablePostgreSQLContainerExtension.getInstance(); @Autowired private PersistenceTestEnvironment testEnvironment; @@ -65,20 +62,20 @@ public class TupleChunkMetaDataStorageServiceIT { UUID.fromString("95e9f39a-a863-4ad2-9b41-07a8b1bf4763"), testTupleType, 42) .setStatus(UNLOCKED); - @Before + @BeforeEach public void setUp() { testEnvironment.clearAllData(); } @Test - public void givenNoEntityWithIdInDatabase_whenGetTupleChunkData_thenReturnNull() { + void givenNoEntityWithIdInDatabase_whenGetTupleChunkData_thenReturnNull() { UUID chunkId = UUID.fromString("9463b2ac-e865-4934-8f0b-6cdf19dd86fd"); assertNull(markerStore.getTupleChunkData(chunkId)); } @Test - public void + void givenLockedAndUnlockedEntitiesInDatabase_whenGetTupleChunkData_thenReturnUnlockedContentOnly() { tupleChunkMetadataRepository.save(testLockedTupleChunkMetaDataEntity); tupleChunkMetadataRepository.save(testUnlockedTupleChunkMetaDataEntity); @@ -88,8 +85,7 @@ public void givenNoEntityWithIdInDatabase_whenGetTupleChunkData_thenReturnNull() } @Test - public void - givenTuplesForRequestedTypeAvailable_whenGetAvailableTuples_thenReturnExpectedContent() { + void givenTuplesForRequestedTypeAvailable_whenGetAvailableTuples_thenReturnExpectedContent() { tupleChunkMetadataRepository.save(testUnlockedTupleChunkMetaDataEntity); long actualAvailableTuples = markerStore.getAvailableTuples(testTupleType); @@ -97,7 +93,7 @@ public void givenNoEntityWithIdInDatabase_whenGetTupleChunkData_thenReturnNull() } @Test - public void givenOnlyLockedChunksAvailable_whenGetAvailableTuples_thenReturnZero() { + void givenOnlyLockedChunksAvailable_whenGetAvailableTuples_thenReturnZero() { tupleChunkMetadataRepository.save(testLockedTupleChunkMetaDataEntity); long actualAvailableTuples = markerStore.getAvailableTuples(testTupleType); diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/persistence/markerstore/TupleChunkMetaDataStorageServiceTest.java b/castor-service/src/test/java/io/carbynestack/castor/service/persistence/markerstore/TupleChunkMetaDataStorageServiceTest.java index ee4f3d1..ff6cbc9 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/persistence/markerstore/TupleChunkMetaDataStorageServiceTest.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/persistence/markerstore/TupleChunkMetaDataStorageServiceTest.java @@ -9,7 +9,7 @@ import static io.carbynestack.castor.service.persistence.markerstore.TupleChunkMetaDataStorageService.CONFLICT_FOR_ID_EXCEPTION_MSG; import static io.carbynestack.castor.service.persistence.markerstore.TupleChunkMetaDataStorageService.NO_METADATA_FOR_OD_EXCEPTION_MSG; -import static org.junit.Assert.*; +import static org.junit.jupiter.api.Assertions.*; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.*; @@ -18,20 +18,20 @@ import io.carbynestack.castor.common.exceptions.CastorClientException; import java.util.Optional; import java.util.UUID; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; import org.mockito.Mock; -import org.mockito.junit.MockitoJUnitRunner; +import org.mockito.junit.jupiter.MockitoExtension; -@RunWith(MockitoJUnitRunner.class) -public class TupleChunkMetaDataStorageServiceTest { +@ExtendWith(MockitoExtension.class) +class TupleChunkMetaDataStorageServiceTest { @Mock private TupleChunkMetadataRepository tupleChunkMetadataRepositoryMock; @InjectMocks private TupleChunkMetaDataStorageService tupleChunkMetaDataStorageService; @Test - public void + void givenAnEntityWithTheGivenIdIsAlreadyStoredInDatabase_whenKeepTupleChunkData_thenThrowCastorServiceException() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); @@ -48,7 +48,7 @@ public class TupleChunkMetaDataStorageServiceTest { } @Test - public void givenNoConflictForGivenId_whenKeepTupleChunkData_thenPersistExpectedContent() { + void givenNoConflictForGivenId_whenKeepTupleChunkData_thenPersistExpectedContent() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); TupleType tupleType = TupleType.MULTIPLICATION_TRIPLE_GFP; long numberOfTuples = 42; @@ -67,7 +67,7 @@ public void givenNoConflictForGivenId_whenKeepTupleChunkData_thenPersistExpected } @Test - public void givenEntityForIdInDatabase_whenGetTupleChunkData_thenReturnExpectedContent() { + void givenEntityForIdInDatabase_whenGetTupleChunkData_thenReturnExpectedContent() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); TupleChunkMetaDataEntity metaDataEntityMock = mock(TupleChunkMetaDataEntity.class); @@ -78,7 +78,7 @@ public void givenEntityForIdInDatabase_whenGetTupleChunkData_thenReturnExpectedC } @Test - public void givenNoEntityForIdInDatabase_whenGetTupleChunkData_thenReturnNull() { + void givenNoEntityForIdInDatabase_whenGetTupleChunkData_thenReturnNull() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); when(tupleChunkMetadataRepositoryMock.findById(chunkId)).thenReturn(Optional.empty()); @@ -87,7 +87,7 @@ public void givenNoEntityForIdInDatabase_whenGetTupleChunkData_thenReturnNull() } @Test - public void + void givenNoEntityForIdInDatabase_updateReservationForTupleChunkData_thenThrowCastorServiceException() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); @@ -102,8 +102,7 @@ public void givenNoEntityForIdInDatabase_whenGetTupleChunkData_thenReturnNull() } @Test - public void - givenEntityForIdInDatabase_updateReservationForTupleChunkData_thenUpdateReservationMarker() { + void givenEntityForIdInDatabase_updateReservationForTupleChunkData_thenUpdateReservationMarker() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); long additionalReservedTuples = 12; long currentReservedMarker = 30; @@ -121,7 +120,7 @@ public void givenNoEntityForIdInDatabase_whenGetTupleChunkData_thenReturnNull() } @Test - public void + void givenNoEntityForIdInDatabase_updateConsumptionForTupleChunkData_thenThrowCastorServiceException() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); @@ -136,8 +135,7 @@ public void givenNoEntityForIdInDatabase_whenGetTupleChunkData_thenReturnNull() } @Test - public void - givenEntityForIdInDatabase_updateConsumptionForTupleChunkData_thenUpdateReservationMarker() { + void givenEntityForIdInDatabase_updateConsumptionForTupleChunkData_thenUpdateReservationMarker() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); long additionalConsumedTuples = 12; long currentConsumedMarker = 30; @@ -155,7 +153,7 @@ public void givenNoEntityForIdInDatabase_whenGetTupleChunkData_thenReturnNull() } @Test - public void givenNoEntityForIdInDatabase_activateTupleChunk_thenThrowCastorServiceException() { + void givenNoEntityForIdInDatabase_activateTupleChunk_thenThrowCastorServiceException() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); when(tupleChunkMetadataRepositoryMock.findById(chunkId)).thenReturn(Optional.empty()); @@ -169,7 +167,7 @@ public void givenNoEntityForIdInDatabase_activateTupleChunk_thenThrowCastorServi } @Test - public void givenEntityForIdInDatabase_activateTupleChunk_thenSetStatusUnlockedAndPersist() { + void givenEntityForIdInDatabase_activateTupleChunk_thenSetStatusUnlockedAndPersist() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); TupleChunkMetaDataEntity metaDataEntityMock = mock(TupleChunkMetaDataEntity.class); @@ -185,7 +183,7 @@ public void givenEntityForIdInDatabase_activateTupleChunk_thenSetStatusUnlockedA } @Test - public void givenSuccessfulRequest_whenForgetTupleChunkData_thenCallDeleteOnDatabase() { + void givenSuccessfulRequest_whenForgetTupleChunkData_thenCallDeleteOnDatabase() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); tupleChunkMetaDataStorageService.forgetTupleChunkData(chunkId); @@ -194,8 +192,7 @@ public void givenSuccessfulRequest_whenForgetTupleChunkData_thenCallDeleteOnData } @Test - public void - givenTuplesForRequestedTypeAvailable_whenGetAvailableTuples_thenReturnExpectedContent() { + void givenTuplesForRequestedTypeAvailable_whenGetAvailableTuples_thenReturnExpectedContent() { TupleType tupleType = TupleType.MULTIPLICATION_TRIPLE_GFP; long expectedCount = 42; @@ -206,7 +203,7 @@ public void givenSuccessfulRequest_whenForgetTupleChunkData_thenCallDeleteOnData } @Test - public void givenRepositoryThrowsNullPointerException_whenGetAvailableTuples_thenReturnZero() { + void givenRepositoryThrowsNullPointerException_whenGetAvailableTuples_thenReturnZero() { when(tupleChunkMetadataRepositoryMock.getAvailableTuplesByTupleType(any())) .thenThrow(new NullPointerException("expected")); diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/persistence/tuplestore/MinioTupleStoreTest.java b/castor-service/src/test/java/io/carbynestack/castor/service/persistence/tuplestore/MinioTupleStoreTest.java index d7a1f5d..c2f5114 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/persistence/tuplestore/MinioTupleStoreTest.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/persistence/tuplestore/MinioTupleStoreTest.java @@ -9,28 +9,30 @@ import static io.carbynestack.castor.common.entities.TupleType.INPUT_MASK_GFP; import static io.carbynestack.castor.service.persistence.tuplestore.MinioTupleStore.*; -import static org.junit.Assert.*; +import static org.junit.jupiter.api.Assertions.*; import static org.mockito.Mockito.*; import io.carbynestack.castor.common.entities.*; import io.carbynestack.castor.common.exceptions.CastorServiceException; import io.carbynestack.castor.service.config.MinioProperties; import io.minio.*; +import io.minio.errors.*; import java.io.ByteArrayInputStream; import java.io.IOException; +import java.security.InvalidKeyException; +import java.security.NoSuchAlgorithmException; import java.util.UUID; -import lombok.SneakyThrows; import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.RandomUtils; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.ArgumentCaptor; import org.mockito.Mock; -import org.mockito.junit.MockitoJUnitRunner; +import org.mockito.junit.jupiter.MockitoExtension; -@RunWith(MockitoJUnitRunner.class) -public class MinioTupleStoreTest { +@ExtendWith(MockitoExtension.class) +class MinioTupleStoreTest { @Mock private MinioClient minioClientMock; @Mock private MinioProperties minioPropertiesMock; @@ -38,18 +40,22 @@ public class MinioTupleStoreTest { private MinioTupleStore minioTupleStore; - @SneakyThrows - @Before - public void setUp() { + @BeforeEach + public void setUp() + throws ServerException, InsufficientDataException, ErrorResponseException, IOException, + NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, + XmlParserException, InternalException { when(minioPropertiesMock.getBucket()).thenReturn(testBucketName); when(minioClientMock.bucketExists(BucketExistsArgs.builder().bucket(testBucketName).build())) .thenReturn(true); minioTupleStore = new MinioTupleStore(minioClientMock, minioPropertiesMock); } - @SneakyThrows @Test - public void givenBucketDoesNotExist_whenConstruct_thenMakeBucket() { + void givenBucketDoesNotExist_whenConstruct_thenMakeBucket() + throws ServerException, InsufficientDataException, ErrorResponseException, IOException, + NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, + XmlParserException, InternalException { when(minioClientMock.bucketExists(BucketExistsArgs.builder().bucket(testBucketName).build())) .thenReturn(false); new MinioTupleStore(minioClientMock, minioPropertiesMock); @@ -57,9 +63,11 @@ public void givenBucketDoesNotExist_whenConstruct_thenMakeBucket() { verify(minioClientMock).makeBucket(MakeBucketArgs.builder().bucket(testBucketName).build()); } - @SneakyThrows @Test - public void givenSuccessfulRequest_whenSave_thenPutChunkDataInDatabase() { + void givenSuccessfulRequest_whenSave_thenPutChunkDataInDatabase() + throws ServerException, InsufficientDataException, ErrorResponseException, IOException, + NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, + XmlParserException, InternalException { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); int count = 1; byte[] chunkData = RandomUtils.nextBytes(INPUT_MASK_GFP.getTupleSize() * count); @@ -79,9 +87,11 @@ public void givenSuccessfulRequest_whenSave_thenPutChunkDataInDatabase() { assertArrayEquals(chunkData, IOUtils.toByteArray(actualPoa.stream())); } - @SneakyThrows @Test - public void givenPutObjectThrowsException_whenSave_thenThrowCastorServiceException() { + void givenPutObjectThrowsException_whenSave_thenThrowCastorServiceException() + throws ServerException, InsufficientDataException, ErrorResponseException, IOException, + NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, + XmlParserException, InternalException { IOException expectedException = new IOException("expected"); UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); int count = 1; @@ -106,7 +116,7 @@ public void givenPutObjectThrowsException_whenSave_thenThrowCastorServiceExcepti } @Test - public void + void givenIndexOfFirstTupleToReadIsNegative_whenDownloadTuples_thenThrowIllegalArgumentException() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); TupleType tupleType = INPUT_MASK_GFP; @@ -124,7 +134,7 @@ public void givenPutObjectThrowsException_whenSave_thenThrowCastorServiceExcepti } @Test - public void givenLengthToReadIsZero_whenDownloadTuples_thenThrowIllegalArgumentException() { + void givenLengthToReadIsZero_whenDownloadTuples_thenThrowIllegalArgumentException() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); TupleType tupleType = INPUT_MASK_GFP; long startIndex = 0; @@ -144,10 +154,11 @@ public void givenLengthToReadIsZero_whenDownloadTuples_thenThrowIllegalArgumentE assertEquals(INVALID_LENGTH_EXCEPTION_MSG, actualIae.getMessage()); } - @SneakyThrows @Test - public void - givenReadingFromDatabaseThrowsException_whenDownloadTuples_thenThrowCastorServiceException() { + void givenReadingFromDatabaseThrowsException_whenDownloadTuples_thenThrowCastorServiceException() + throws ServerException, InsufficientDataException, ErrorResponseException, IOException, + NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, + XmlParserException, InternalException { IOException expectedException = new IOException("expected"); UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); TupleType tupleType = INPUT_MASK_GFP; @@ -174,9 +185,11 @@ public void givenLengthToReadIsZero_whenDownloadTuples_thenThrowIllegalArgumentE assertEquals(expectedException, actualCse.getCause()); } - @SneakyThrows @Test - public void givenSuccessfulRequest_whenDownloadTuples_thenThrowCastorServiceException() { + void givenSuccessfulRequest_whenDownloadTuples_thenThrowCastorServiceException() + throws ServerException, InsufficientDataException, ErrorResponseException, IOException, + NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, + XmlParserException, InternalException { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); TupleType tupleType = INPUT_MASK_GFP; long startIndex = 0; @@ -209,9 +222,11 @@ public void givenSuccessfulRequest_whenDownloadTuples_thenThrowCastorServiceExce assertArrayEquals(chunkData, actualTupleList.asChunk(chunkId).getTuples()); } - @SneakyThrows @Test - public void givenNoChunkWithIdInDatabase_whenDeleteTupleChunk_thenDoNothing() { + void givenNoChunkWithIdInDatabase_whenDeleteTupleChunk_thenDoNothing() + throws ServerException, InsufficientDataException, ErrorResponseException, IOException, + NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, + XmlParserException, InternalException { IOException expectedException = new IOException("expected"); UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/testconfig/PersistenceTestEnvironment.java b/castor-service/src/test/java/io/carbynestack/castor/service/testconfig/PersistenceTestEnvironment.java index af0bb19..1843e79 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/testconfig/PersistenceTestEnvironment.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/testconfig/PersistenceTestEnvironment.java @@ -11,10 +11,13 @@ import io.carbynestack.castor.service.config.MinioProperties; import io.carbynestack.castor.service.persistence.markerstore.TupleChunkMetadataRepository; import io.minio.*; +import io.minio.errors.*; import io.vavr.control.Try; +import java.io.IOException; +import java.security.InvalidKeyException; +import java.security.NoSuchAlgorithmException; import java.util.Arrays; import java.util.Objects; -import lombok.SneakyThrows; import org.assertj.core.util.Lists; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cache.CacheManager; @@ -32,36 +35,47 @@ public class PersistenceTestEnvironment { @Autowired private MinioProperties minioProperties; - @SneakyThrows public void clearAllData() { - tupleChunkMetadataRepository.deleteAll(); - Arrays.stream(TupleType.values()) - .forEach( - tupleType -> - Objects.requireNonNull( - cacheManager.getCache( - cacheProperties.getConsumptionStorePrefix() + tupleType.toString())) - .clear()); - Objects.requireNonNull(cacheManager.getCache(cacheProperties.getReservationStore())).clear(); - if (minioClient.bucketExists( - BucketExistsArgs.builder().bucket(minioProperties.getBucket()).build())) { - Lists.newArrayList( - minioClient - .listObjects( - ListObjectsArgs.builder().bucket(minioProperties.getBucket()).build()) - .iterator()) + try { + tupleChunkMetadataRepository.deleteAll(); + Arrays.stream(TupleType.values()) .forEach( - itemResult -> - Try.run( - () -> - minioClient.removeObject( - RemoveObjectArgs.builder() - .bucket(minioProperties.getBucket()) - .object(itemResult.get().objectName()) - .build()))); - minioClient.removeBucket( - RemoveBucketArgs.builder().bucket(minioProperties.getBucket()).build()); + tupleType -> + Objects.requireNonNull( + cacheManager.getCache( + cacheProperties.getConsumptionStorePrefix() + tupleType.toString())) + .clear()); + Objects.requireNonNull(cacheManager.getCache(cacheProperties.getReservationStore())).clear(); + if (minioClient.bucketExists( + BucketExistsArgs.builder().bucket(minioProperties.getBucket()).build())) { + Lists.newArrayList( + minioClient + .listObjects( + ListObjectsArgs.builder().bucket(minioProperties.getBucket()).build()) + .iterator()) + .forEach( + itemResult -> + Try.run( + () -> + minioClient.removeObject( + RemoveObjectArgs.builder() + .bucket(minioProperties.getBucket()) + .object(itemResult.get().objectName()) + .build()))); + minioClient.removeBucket( + RemoveBucketArgs.builder().bucket(minioProperties.getBucket()).build()); + } + minioClient.makeBucket(MakeBucketArgs.builder().bucket(minioProperties.getBucket()).build()); + } catch (ErrorResponseException + | InsufficientDataException + | InternalException + | InvalidKeyException + | InvalidResponseException + | NoSuchAlgorithmException + | ServerException + | XmlParserException + | IOException e) { + throw new IllegalStateException("Failed clearing persisted data.", e); } - minioClient.makeBucket(MakeBucketArgs.builder().bucket(minioProperties.getBucket()).build()); } } diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/testconfig/ReusableMinioContainer.java b/castor-service/src/test/java/io/carbynestack/castor/service/testconfig/ReusableMinioContainerExtension.java similarity index 77% rename from castor-service/src/test/java/io/carbynestack/castor/service/testconfig/ReusableMinioContainer.java rename to castor-service/src/test/java/io/carbynestack/castor/service/testconfig/ReusableMinioContainerExtension.java index 15377dd..7a55f80 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/testconfig/ReusableMinioContainer.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/testconfig/ReusableMinioContainerExtension.java @@ -8,10 +8,13 @@ package io.carbynestack.castor.service.testconfig; import java.time.Duration; +import org.junit.jupiter.api.extension.*; import org.testcontainers.containers.GenericContainer; import org.testcontainers.containers.wait.strategy.HttpWaitStrategy; -public class ReusableMinioContainer extends GenericContainer { +public class ReusableMinioContainerExtension + extends GenericContainer + implements AfterAllCallback, BeforeAllCallback { private static final String IMAGE_VERSION = "minio/minio:edge"; private static final int MINIO_PORT = 9000; private static final String ENV_KEY_MINIO_ACCESS_KEY = "MINIO_ACCESS_KEY"; @@ -23,9 +26,9 @@ public class ReusableMinioContainer extends GenericContainer { +public class ReusablePostgreSQLContainerExtension + extends PostgreSQLContainer + implements AfterAllCallback, BeforeAllCallback { private static final String IMAGE_VERSION = "postgres:11.1"; - private static ReusablePostgreSQLContainer container; + private static ReusablePostgreSQLContainerExtension container; - private ReusablePostgreSQLContainer() { + private ReusablePostgreSQLContainerExtension() { super(IMAGE_VERSION); } - public static ReusablePostgreSQLContainer getInstance() { + public static ReusablePostgreSQLContainerExtension getInstance() { if (container == null) { - container = new ReusablePostgreSQLContainer(); + container = new ReusablePostgreSQLContainerExtension(); } return container; } @Override - public void start() { + public void beforeAll(ExtensionContext extensionContext) { super.start(); System.setProperty("POSTGRESQL_URL", container.getJdbcUrl()); System.setProperty("POSTGRESQL_USERNAME", container.getUsername()); @@ -33,7 +36,7 @@ public void start() { } @Override - public void stop() { + public void afterAll(ExtensionContext extensionContext) { // container should stay alive until JVM shuts it down } } diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/testconfig/ReusableRedisContainer.java b/castor-service/src/test/java/io/carbynestack/castor/service/testconfig/ReusableRedisContainerExtension.java similarity index 76% rename from castor-service/src/test/java/io/carbynestack/castor/service/testconfig/ReusableRedisContainer.java rename to castor-service/src/test/java/io/carbynestack/castor/service/testconfig/ReusableRedisContainerExtension.java index b112207..14da778 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/testconfig/ReusableRedisContainer.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/testconfig/ReusableRedisContainerExtension.java @@ -9,6 +9,7 @@ import static org.springframework.util.Assert.notNull; +import java.io.IOException; import java.net.URL; import java.nio.file.FileSystems; import java.nio.file.Files; @@ -16,27 +17,28 @@ import java.nio.file.StandardCopyOption; import java.time.Duration; import java.util.concurrent.TimeUnit; -import lombok.SneakyThrows; import lombok.extern.slf4j.Slf4j; +import org.junit.jupiter.api.extension.*; import org.rnorth.ducttape.unreliables.Unreliables; import org.testcontainers.containers.BindMode; import org.testcontainers.containers.GenericContainer; import org.testcontainers.containers.wait.strategy.AbstractWaitStrategy; @Slf4j -public class ReusableRedisContainer extends GenericContainer { +public class ReusableRedisContainerExtension + extends GenericContainer + implements AfterAllCallback, BeforeAllCallback { private static final String IMAGE_VERSION = "redis:latest"; private static final int REDIS_PORT = 6379; private static final String REDIS_STARTUP_COMMAND = "redis-server"; private static final URL REDIS_CONFIG_URL = - ReusableRedisContainer.class.getClassLoader().getResource("redis.conf"); + ReusableRedisContainerExtension.class.getClassLoader().getResource("redis.conf"); private static final String CONFIG_BIND_PATH = "/usr/local/etc/redis/redis.conf"; private static final Duration STARTUP_TIMEOUT = Duration.ofMinutes(2); - private static ReusableRedisContainer container; + private static ReusableRedisContainerExtension container; - @SneakyThrows - private ReusableRedisContainer() { + private ReusableRedisContainerExtension() throws IOException { super(IMAGE_VERSION); notNull(REDIS_CONFIG_URL, "Redis test container config not found."); Path tempRedisConfigPath = @@ -67,22 +69,26 @@ protected void waitUntilReady() { }); } - public static ReusableRedisContainer getInstance() { + public static ReusableRedisContainerExtension getInstance() { if (container == null) { - container = new ReusableRedisContainer(); + try { + container = new ReusableRedisContainerExtension(); + } catch (IOException e) { + throw new IllegalStateException("Failed initializing a ReusableRedisContainerExtension"); + } } return container; } @Override - public void start() { + public void beforeAll(ExtensionContext extensionContext) { super.start(); System.setProperty("REDIS_HOST", container.getContainerIpAddress()); System.setProperty("REDIS_PORT", container.getMappedPort(REDIS_PORT).toString()); } @Override - public void stop() { + public void afterAll(ExtensionContext extensionContext) { // container should stay alive until JVM shuts it down } } diff --git a/castor-service/src/test/java/io/carbynestack/castor/service/websocket/DefaultCastorWebSocketServiceTest.java b/castor-service/src/test/java/io/carbynestack/castor/service/websocket/DefaultCastorWebSocketServiceTest.java index b24c23c..975373e 100644 --- a/castor-service/src/test/java/io/carbynestack/castor/service/websocket/DefaultCastorWebSocketServiceTest.java +++ b/castor-service/src/test/java/io/carbynestack/castor/service/websocket/DefaultCastorWebSocketServiceTest.java @@ -10,8 +10,8 @@ import static io.carbynestack.castor.common.entities.TupleType.INPUT_MASK_GFP; import static io.carbynestack.castor.common.websocket.CastorWebSocketApiEndpoints.RESPONSE_QUEUE_ENDPOINT; import static io.carbynestack.castor.service.websocket.DefaultCastorWebSocketService.*; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertThrows; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.Mockito.*; import io.carbynestack.castor.common.entities.MultiplicationTriple; @@ -25,19 +25,15 @@ import java.util.UUID; import org.apache.commons.lang3.RandomUtils; import org.apache.commons.lang3.SerializationUtils; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.mockito.ArgumentCaptor; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; import org.mockito.Mock; -import org.mockito.junit.MockitoJUnitRunner; +import org.mockito.junit.jupiter.MockitoExtension; import org.springframework.messaging.simp.SimpMessagingTemplate; -@RunWith(MockitoJUnitRunner.class) -public class DefaultCastorWebSocketServiceTest { - - private ArgumentCaptor destinationCaptor = ArgumentCaptor.forClass(String.class); - private ArgumentCaptor responseCaptor = ArgumentCaptor.forClass(byte[].class); +@ExtendWith(MockitoExtension.class) +class DefaultCastorWebSocketServiceTest { @Mock private TupleStore tupleStoreMock; @@ -48,7 +44,7 @@ public class DefaultCastorWebSocketServiceTest { @InjectMocks private DefaultCastorWebSocketService castorWebSocketService; @Test - public void givenInvalidPayload_whenUploadTupleChunk_thenThrowCastorClientException() { + void givenInvalidPayload_whenUploadTupleChunk_thenThrowCastorClientException() { byte[] invalidPayload = new byte[0]; CastorClientException actualCce = @@ -65,7 +61,7 @@ public void givenInvalidPayload_whenUploadTupleChunk_thenThrowCastorClientExcept } @Test - public void givenChunkHasNoTuples_whenUploadTupleChunk_thenThrowCastorClientException() { + void givenChunkHasNoTuples_whenUploadTupleChunk_thenThrowCastorClientException() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); TupleChunk tupleChunk = TupleChunk.of(MultiplicationTriple.class, GFP, chunkId, new byte[0]); byte[] payload = SerializationUtils.serialize(tupleChunk); @@ -84,8 +80,7 @@ public void givenChunkHasNoTuples_whenUploadTupleChunk_thenThrowCastorClientExce } @Test - public void - givenWritingChunkToDatabaseFails_whenUploadTupleChunk_thenThrowCastorServiceException() { + void givenWritingChunkToDatabaseFails_whenUploadTupleChunk_thenThrowCastorServiceException() { CastorServiceException expectedException = new CastorServiceException("expected"); UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); TupleType tupleType = INPUT_MASK_GFP; @@ -112,7 +107,7 @@ public void givenChunkHasNoTuples_whenUploadTupleChunk_thenThrowCastorClientExce } @Test - public void givenSuccessfulRequest_whenUploadChunk_thenSendSuccess() { + void givenSuccessfulRequest_whenUploadChunk_thenSendSuccess() { UUID chunkId = UUID.fromString("3fd7eaf7-cda3-4384-8d86-2c43450cbe63"); TupleType tupleType = INPUT_MASK_GFP; byte[] tupleData = RandomUtils.nextBytes(tupleType.getTupleSize()); diff --git a/castor-service/src/test/resources/application-test.yml b/castor-service/src/test/resources/application-test.yml index cb6b0e6..6908545 100644 --- a/castor-service/src/test/resources/application-test.yml +++ b/castor-service/src/test/resources/application-test.yml @@ -1,6 +1,7 @@ spring: - profiles: test - + config: + activate: + on-profile: test datasource: driver-class-name: org.postgresql.Driver url: ${POSTGRESQL_URL} diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/commons-codec_commons-codec/NOTICE.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/commons-codec_commons-codec/NOTICE.txt index 7144883..9899d21 100644 --- a/castor-upload-java-client/3RD-PARTY-LICENSES/commons-codec_commons-codec/NOTICE.txt +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/commons-codec_commons-codec/NOTICE.txt @@ -1,5 +1,5 @@ Apache Commons Codec -Copyright 2002-2019 The Apache Software Foundation +Copyright 2002-2020 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (https://www.apache.org/). diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/javax.annotation_javax.annotation-api/LICENSE b/castor-upload-java-client/3RD-PARTY-LICENSES/javax.annotation_javax.annotation-api/LICENSE new file mode 100644 index 0000000..b1c74f9 --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/javax.annotation_javax.annotation-api/LICENSE @@ -0,0 +1,759 @@ +COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.1 + +1. Definitions. + + 1.1. "Contributor" means each individual or entity that creates or + contributes to the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Software, prior Modifications used by a Contributor (if any), and + the Modifications made by that particular Contributor. + + 1.3. "Covered Software" means (a) the Original Software, or (b) + Modifications, or (c) the combination of files containing Original + Software with files containing Modifications, in each case including + portions thereof. + + 1.4. "Executable" means the Covered Software in any form other than + Source Code. + + 1.5. "Initial Developer" means the individual or entity that first + makes Original Software available under this License. + + 1.6. "Larger Work" means a work which combines Covered Software or + portions thereof with code not governed by the terms of this License. + + 1.7. "License" means this document. + + 1.8. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + + 1.9. "Modifications" means the Source Code and Executable form of + any of the following: + + A. Any file that results from an addition to, deletion from or + modification of the contents of a file containing Original Software + or previous Modifications; + + B. Any new file that contains any part of the Original Software or + previous Modification; or + + C. Any new file that is contributed or otherwise made available + under the terms of this License. + + 1.10. "Original Software" means the Source Code and Executable form + of computer software code that is originally released under this + License. + + 1.11. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + + 1.12. "Source Code" means (a) the common form of computer software + code in which modifications are made and (b) associated + documentation included in or with such code. + + 1.13. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, + this License. For legal entities, "You" includes any entity which + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants. + + 2.1. The Initial Developer Grant. + + Conditioned upon Your compliance with Section 3.1 below and subject + to third party intellectual property claims, the Initial Developer + hereby grants You a world-wide, royalty-free, non-exclusive license: + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer, to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Software (or portions thereof), with or without Modifications, + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using or selling of + Original Software, to make, have made, use, practice, sell, and + offer for sale, and/or otherwise dispose of the Original Software + (or portions thereof). + + (c) The licenses granted in Sections 2.1(a) and (b) are effective on + the date Initial Developer first distributes or otherwise makes the + Original Software available to a third party under the terms of this + License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: (1) for code that You delete from the Original Software, or + (2) for infringements caused by: (i) the modification of the + Original Software, or (ii) the combination of the Original Software + with other software or devices. + + 2.2. Contributor Grant. + + Conditioned upon Your compliance with Section 3.1 below and subject + to third party intellectual property claims, each Contributor hereby + grants You a world-wide, royalty-free, non-exclusive license: + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof), either on an + unmodified basis, with other Modifications, as Covered Software + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using, or selling + of Modifications made by that Contributor either alone and/or in + combination with its Contributor Version (or portions of such + combination), to make, use, sell, offer for sale, have made, and/or + otherwise dispose of: (1) Modifications made by that Contributor (or + portions thereof); and (2) the combination of Modifications made by + that Contributor with its Contributor Version (or portions of such + combination). + + (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective + on the date Contributor first distributes or otherwise makes the + Modifications available to a third party. + + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: (1) for any code that Contributor has deleted from the + Contributor Version; (2) for infringements caused by: (i) third + party modifications of Contributor Version, or (ii) the combination + of Modifications made by that Contributor with other software + (except as part of the Contributor Version) or other devices; or (3) + under Patent Claims infringed by Covered Software in the absence of + Modifications made by that Contributor. + +3. Distribution Obligations. + + 3.1. Availability of Source Code. + + Any Covered Software that You distribute or otherwise make available + in Executable form must also be made available in Source Code form + and that Source Code form must be distributed only under the terms + of this License. You must include a copy of this License with every + copy of the Source Code form of the Covered Software You distribute + or otherwise make available. You must inform recipients of any such + Covered Software in Executable form as to how they can obtain such + Covered Software in Source Code form in a reasonable manner on or + through a medium customarily used for software exchange. + + 3.2. Modifications. + + The Modifications that You create or to which You contribute are + governed by the terms of this License. You represent that You + believe Your Modifications are Your original creation(s) and/or You + have sufficient rights to grant the rights conveyed by this License. + + 3.3. Required Notices. + + You must include a notice in each of Your Modifications that + identifies You as the Contributor of the Modification. You may not + remove or alter any copyright, patent or trademark notices contained + within the Covered Software, or any notices of licensing or any + descriptive text giving attribution to any Contributor or the + Initial Developer. + + 3.4. Application of Additional Terms. + + You may not offer or impose any terms on any Covered Software in + Source Code form that alters or restricts the applicable version of + this License or the recipients' rights hereunder. You may choose to + offer, and to charge a fee for, warranty, support, indemnity or + liability obligations to one or more recipients of Covered Software. + However, you may do so only on Your own behalf, and not on behalf of + the Initial Developer or any Contributor. You must make it + absolutely clear that any such warranty, support, indemnity or + liability obligation is offered by You alone, and You hereby agree + to indemnify the Initial Developer and every Contributor for any + liability incurred by the Initial Developer or such Contributor as a + result of warranty, support, indemnity or liability terms You offer. + + 3.5. Distribution of Executable Versions. + + You may distribute the Executable form of the Covered Software under + the terms of this License or under the terms of a license of Your + choice, which may contain terms different from this License, + provided that You are in compliance with the terms of this License + and that the license for the Executable form does not attempt to + limit or alter the recipient's rights in the Source Code form from + the rights set forth in this License. If You distribute the Covered + Software in Executable form under a different license, You must make + it absolutely clear that any terms which differ from this License + are offered by You alone, not by the Initial Developer or + Contributor. You hereby agree to indemnify the Initial Developer and + every Contributor for any liability incurred by the Initial + Developer or such Contributor as a result of any such terms You offer. + + 3.6. Larger Works. + + You may create a Larger Work by combining Covered Software with + other code not governed by the terms of this License and distribute + the Larger Work as a single product. In such a case, You must make + sure the requirements of this License are fulfilled for the Covered + Software. + +4. Versions of the License. + + 4.1. New Versions. + + Oracle is the initial license steward and may publish revised and/or + new versions of this License from time to time. Each version will be + given a distinguishing version number. Except as provided in Section + 4.3, no one other than the license steward has the right to modify + this License. + + 4.2. Effect of New Versions. + + You may always continue to use, distribute or otherwise make the + Covered Software available under the terms of the version of the + License under which You originally received the Covered Software. If + the Initial Developer includes a notice in the Original Software + prohibiting it from being distributed or otherwise made available + under any subsequent version of the License, You must distribute and + make the Covered Software available under the terms of the version + of the License under which You originally received the Covered + Software. Otherwise, You may also choose to use, distribute or + otherwise make the Covered Software available under the terms of any + subsequent version of the License published by the license steward. + + 4.3. Modified Versions. + + When You are an Initial Developer and You want to create a new + license for Your Original Software, You may create and use a + modified version of this License if You: (a) rename the license and + remove any references to the name of the license steward (except to + note that the license differs from this License); and (b) otherwise + make it clear that the license contains terms which differ from this + License. + +5. DISCLAIMER OF WARRANTY. + + COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, + INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE + IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR + NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF + THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE + DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY + OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, + REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN + ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS + AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +6. TERMINATION. + + 6.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to + cure such breach within 30 days of becoming aware of the breach. + Provisions which, by their nature, must remain in effect beyond the + termination of this License shall survive. + + 6.2. If You assert a patent infringement claim (excluding + declaratory judgment actions) against Initial Developer or a + Contributor (the Initial Developer or Contributor against whom You + assert such claim is referred to as "Participant") alleging that the + Participant Software (meaning the Contributor Version where the + Participant is a Contributor or the Original Software where the + Participant is the Initial Developer) directly or indirectly + infringes any patent, then any and all rights granted directly or + indirectly to You by such Participant, the Initial Developer (if the + Initial Developer is not the Participant) and all Contributors under + Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice + from Participant terminate prospectively and automatically at the + expiration of such 60 day notice period, unless if within such 60 + day period You withdraw Your claim with respect to the Participant + Software against such Participant either unilaterally or pursuant to + a written agreement with Participant. + + 6.3. If You assert a patent infringement claim against Participant + alleging that the Participant Software directly or indirectly + infringes any patent where such claim is resolved (such as by + license or settlement) prior to the initiation of patent + infringement litigation, then the reasonable value of the licenses + granted by such Participant under Sections 2.1 or 2.2 shall be taken + into account in determining the amount or value of any payment or + license. + + 6.4. In the event of termination under Sections 6.1 or 6.2 above, + all end user licenses that have been validly granted by You or any + distributor hereunder prior to termination (excluding licenses + granted to You by any distributor) shall survive termination. + +7. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE + INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF + COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE + TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR + CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT + LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER + FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR + LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE + POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT + APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH + PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH + LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR + LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION + AND LIMITATION MAY NOT APPLY TO YOU. + +8. U.S. GOVERNMENT END USERS. + + The Covered Software is a "commercial item," as that term is defined + in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" (as that term is defined at 48 C.F.R. § + 252.227-7014(a)(1)) and "commercial computer software documentation" + as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent + with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 + (June 1995), all U.S. Government End Users acquire Covered Software + with only those rights set forth herein. This U.S. Government Rights + clause is in lieu of, and supersedes, any other FAR, DFAR, or other + clause or provision that addresses Government rights in computer + software under this License. + +9. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + the law of the jurisdiction specified in a notice contained within + the Original Software (except to the extent applicable law, if any, + provides otherwise), excluding such jurisdiction's conflict-of-law + provisions. Any litigation relating to this License shall be subject + to the jurisdiction of the courts located in the jurisdiction and + venue specified in a notice contained within the Original Software, + with the losing party responsible for costs, including, without + limitation, court costs and reasonable attorneys' fees and expenses. + The application of the United Nations Convention on Contracts for + the International Sale of Goods is expressly excluded. Any law or + regulation which provides that the language of a contract shall be + construed against the drafter shall not apply to this License. You + agree that You alone are responsible for compliance with the United + States export administration regulations (and the export control + laws and regulation of any other countries) when You use, distribute + or otherwise make available any Covered Software. + +10. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, + out of its utilization of rights under this License and You agree to + work with Initial Developer and Contributors to distribute such + responsibility on an equitable basis. Nothing herein is intended or + shall be deemed to constitute any admission of liability. + +------------------------------------------------------------------------ + +NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION +LICENSE (CDDL) + +The code released under the CDDL shall be governed by the laws of the +State of California (excluding conflict-of-law provisions). Any +litigation relating to this License shall be subject to the jurisdiction +of the Federal Courts of the Northern District of California and the +state courts of the State of California, with venue lying in Santa Clara +County, California. + + + + The GNU General Public License (GPL) Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor +Boston, MA 02110-1335 +USA + +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to +share and change it. By contrast, the GNU General Public License is +intended to guarantee your freedom to share and change free software--to +make sure the software is free for all its users. This General Public +License applies to most of the Free Software Foundation's software and +to any other program whose authors commit to using it. (Some other Free +Software Foundation software is covered by the GNU Library General +Public License instead.) You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. +Our General Public Licenses are designed to make sure that you have the +freedom to distribute copies of free software (and charge for this +service if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs; and that you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone +to deny you these rights or to ask you to surrender the rights. These +restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis +or for a fee, you must give the recipients all the rights that you have. +You must make sure that they, too, receive or can get the source code. +And you must show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + +Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + +Finally, any free program is threatened constantly by software patents. +We wish to avoid the danger that redistributors of a free program will +individually obtain patent licenses, in effect making the program +proprietary. To prevent this, we have made it clear that any patent must +be licensed for everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and +modification follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a +notice placed by the copyright holder saying it may be distributed under +the terms of this General Public License. The "Program", below, refers +to any such program or work, and a "work based on the Program" means +either the Program or any derivative work under copyright law: that is +to say, a work containing the Program or a portion of it, either +verbatim or with modifications and/or translated into another language. +(Hereinafter, translation is included without limitation in the term +"modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of running +the Program is not restricted, and the output from the Program is +covered only if its contents constitute a work based on the Program +(independent of having been made by running the Program). Whether that +is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source +code as you receive it, in any medium, provided that you conspicuously +and appropriately publish on each copy an appropriate copyright notice +and disclaimer of warranty; keep intact all the notices that refer to +this License and to the absence of any warranty; and give any other +recipients of the Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of +it, thus forming a work based on the Program, and copy and distribute +such modifications or work under the terms of Section 1 above, provided +that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any part + thereof, to be licensed as a whole at no charge to all third parties + under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a notice + that there is no warranty (or else, saying that you provide a + warranty) and that users may redistribute the program under these + conditions, and telling the user how to view a copy of this License. + (Exception: if the Program itself is interactive but does not + normally print such an announcement, your work based on the Program + is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, and +can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based on +the Program, the distribution of the whole must be on the terms of this +License, whose permissions for other licensees extend to the entire +whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of a +storage or distribution medium does not bring the other work under the +scope of this License. + +3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections 1 + and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your cost + of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to + distribute corresponding source code. (This alternative is allowed + only for noncommercial distribution and only if you received the + program in object code or executable form with such an offer, in + accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source code +means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to control +compilation and installation of the executable. However, as a special +exception, the source code distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies the +executable. + +If distribution of executable or object code is made by offering access +to copy from a designated place, then offering equivalent access to copy +the source code from the same place counts as distribution of the source +code, even though third parties are not compelled to copy the source +along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt otherwise +to copy, modify, sublicense or distribute the Program is void, and will +automatically terminate your rights under this License. However, parties +who have received copies, or rights, from you under this License will +not have their licenses terminated so long as such parties remain in +full compliance. + +5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and all +its terms and conditions for copying, distributing or modifying the +Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further restrictions +on the recipients' exercise of the rights granted herein. You are not +responsible for enforcing compliance by third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot distribute +so as to satisfy simultaneously your obligations under this License and +any other pertinent obligations, then as a consequence you may not +distribute the Program at all. For example, if a patent license would +not permit royalty-free redistribution of the Program by all those who +receive copies directly or indirectly through you, then the only way you +could satisfy both it and this License would be to refrain entirely from +distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is implemented +by public license practices. Many people have made generous +contributions to the wide range of software distributed through that +system in reliance on consistent application of that system; it is up to +the author/donor to decide if he or she is willing to distribute +software through any other system and a licensee cannot impose that choice. + +This section is intended to make thoroughly clear what is believed to be +a consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License may +add an explicit geographical distribution limitation excluding those +countries, so that distribution is permitted only in or among countries +not thus excluded. In such case, this License incorporates the +limitation as if written in the body of this License. + +9. The Free Software Foundation may publish revised and/or new +versions of the General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Program does not specify a version +number of this License, you may choose any version ever published by the +Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the +author to ask for permission. For software which is copyrighted by the +Free Software Foundation, write to the Free Software Foundation; we +sometimes make exceptions for this. Our decision will be guided by the +two goals of preserving the free status of all derivatives of our free +software and of promoting the sharing and reuse of software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, +EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE +ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH +YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL +NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR +DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL +DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM +(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED +INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF +THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR +OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to +attach them to the start of each source file to most effectively convey +the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + One line to give the program's name and a brief idea of what it does. + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type + `show w'. This is free software, and you are welcome to redistribute + it under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the +appropriate parts of the General Public License. Of course, the commands +you use may be called something other than `show w' and `show c'; they +could even be mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + program `Gnomovision' (which makes passes at compilers) written by + James Hacker. + + signature of Ty Coon, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications +with the library. If this is what you want to do, use the GNU Library +General Public License instead of this License. + +# + +Certain source files distributed by Oracle America, Inc. and/or its +affiliates are subject to the following clarification and special +exception to the GPLv2, based on the GNU Project exception for its +Classpath libraries, known as the GNU Classpath Exception, but only +where Oracle has expressly included in the particular source file's +header the words "Oracle designates this particular file as subject to +the "Classpath" exception as provided by Oracle in the LICENSE file +that accompanied this code." + +You should also note that Oracle includes multiple, independent +programs in this software package. Some of those programs are provided +under licenses deemed incompatible with the GPLv2 by the Free Software +Foundation and others. For example, the package includes programs +licensed under the Apache License, Version 2.0. Such programs are +licensed to you under their original licenses. + +Oracle facilitates your further distribution of this package by adding +the Classpath Exception to the necessary parts of its GPLv2 code, which +permits you to use that code in combination with other independent +modules not licensed under the GPLv2. However, note that this would +not permit you to commingle code under an incompatible license with +Oracle's GPLv2 licensed code by, for example, cutting and pasting such +code into a file also containing Oracle's GPLv2 licensed code and then +distributing the result. Additionally, if you were to remove the +Classpath Exception from any of the files to which it applies and +distribute the result, you would likely be required to license some or +all of the other code in that distribution under the GPLv2 as well, and +since the GPLv2 is incompatible with the license terms of some items +included in the distribution by Oracle, removing the Classpath +Exception could therefore effectively compromise your ability to +further distribute the package. + +Proceed with caution and we recommend that you obtain the advice of a +lawyer skilled in open source matters before removing the Classpath +Exception or making modifications to this package which may +subsequently be redistributed and/or involve the use of third party +software. + +CLASSPATH EXCEPTION +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License version 2 cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from or +based on this library. If you modify this library, you may extend this +exception to your version of the library, but you are not obligated to +do so. If you do not wish to do so, delete this exception statement +from your version. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/javax.annotation_javax.annotation-api/origin.src b/castor-upload-java-client/3RD-PARTY-LICENSES/javax.annotation_javax.annotation-api/origin.src new file mode 100644 index 0000000..c1bbee6 --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/javax.annotation_javax.annotation-api/origin.src @@ -0,0 +1 @@ +https://github.com/javaee/javax.annotation/archive/refs/tags/1.3.2.zip diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.commons_commons-lang3/NOTICE.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.commons_commons-lang3/NOTICE.txt index 0f4ac59..3d4c690 100644 --- a/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.commons_commons-lang3/NOTICE.txt +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.commons_commons-lang3/NOTICE.txt @@ -1,5 +1,5 @@ Apache Commons Lang -Copyright 2001-2018 The Apache Software Foundation +Copyright 2001-2021 The Apache Software Foundation This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). +The Apache Software Foundation (https://www.apache.org/). diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.httpcomponents_httpclient/NOTICE.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.httpcomponents_httpclient/NOTICE.txt index c88ee8d..ac26553 100644 --- a/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.httpcomponents_httpclient/NOTICE.txt +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.httpcomponents_httpclient/NOTICE.txt @@ -1,5 +1,5 @@ Apache HttpComponents Client -Copyright 1999-2019 The Apache Software Foundation +Copyright 1999-2020 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/). diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-core/LICENSE b/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-core/LICENSE index a3cd18e..e6a6baf 100644 --- a/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-core/LICENSE +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-core/LICENSE @@ -210,294 +210,218 @@ and license terms. Your use of these subcomponents is subject to the terms and conditions of the following licenses. -For the Eclipse JDT Core Batch Compiler (ecj-x.x.x.jar) component and the -following Jakarta EE Schemas: -- jakartaee_9.xsd -- jakarta_web-services_2_0.xsd -- jakarta_web-services_client_2_0.xsd -- jsp_3_0.xsd -- web-app_5_0.xsd -- web-commonn_5_0.xsd -- web-fragment_5_0.xsd -- web-jsptaglibrary_3_0.xsd - -Eclipse Public License - v 2.0 - - THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE - PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION - OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. +For the Eclipse JDT Core Batch Compiler (ecj-x.x.x.jar) component: + +Eclipse Public License - v 1.0 + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC +LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM +CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. 1. DEFINITIONS "Contribution" means: - a) in the case of the initial Contributor, the initial content - Distributed under this Agreement, and - - b) in the case of each subsequent Contributor: - i) changes to the Program, and - ii) additions to the Program; - where such changes and/or additions to the Program originate from - and are Distributed by that particular Contributor. A Contribution - "originates" from a Contributor if it was added to the Program by - such Contributor itself or anyone acting on such Contributor's behalf. - Contributions do not include changes or additions to the Program that - are not Modified Works. - -"Contributor" means any person or entity that Distributes the Program. - -"Licensed Patents" mean patent claims licensable by a Contributor which -are necessarily infringed by the use or sale of its Contribution alone -or when combined with the Program. - -"Program" means the Contributions Distributed in accordance with this -Agreement. - -"Recipient" means anyone who receives the Program under this Agreement -or any Secondary License (as applicable), including Contributors. - -"Derivative Works" shall mean any work, whether in Source Code or other -form, that is based on (or derived from) the Program and for which the -editorial revisions, annotations, elaborations, or other modifications -represent, as a whole, an original work of authorship. - -"Modified Works" shall mean any work in Source Code or other form that -results from an addition to, deletion from, or modification of the -contents of the Program, including, for purposes of clarity any new file -in Source Code form that contains any contents of the Program. Modified -Works shall not include works that contain only declarations, -interfaces, types, classes, structures, or files of the Program solely -in each case in order to link to, bind by name, or subclass the Program -or Modified Works thereof. - -"Distribute" means the acts of a) distributing or b) making available -in any manner that enables the transfer of a copy. - -"Source Code" means the form of a Program preferred for making -modifications, including but not limited to software source code, -documentation source, and configuration files. - -"Secondary License" means either the GNU General Public License, -Version 2.0, or any later versions of that license, including any -exceptions or additional permissions as identified by the initial -Contributor. +a) in the case of the initial Contributor, the initial code and documentation +distributed under this Agreement, and + +b) in the case of each subsequent Contributor: + +i) changes to the Program, and + +ii) additions to the Program; + +where such changes and/or additions to the Program originate from and are +distributed by that particular Contributor. A Contribution 'originates' from a +Contributor if it was added to the Program by such Contributor itself or anyone +acting on such Contributor's behalf. Contributions do not include additions to +the Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) are not +derivative works of the Program. + +"Contributor" means any person or entity that distributes the Program. + +"Licensed Patents" mean patent claims licensable by a Contributor which are +necessarily infringed by the use or sale of its Contribution alone or when +combined with the Program. + +"Program" means the Contributions distributed in accordance with this Agreement. + +"Recipient" means anyone who receives the Program under this Agreement, +including all Contributors. 2. GRANT OF RIGHTS - a) Subject to the terms of this Agreement, each Contributor hereby - grants Recipient a non-exclusive, worldwide, royalty-free copyright - license to reproduce, prepare Derivative Works of, publicly display, - publicly perform, Distribute and sublicense the Contribution of such - Contributor, if any, and such Derivative Works. - - b) Subject to the terms of this Agreement, each Contributor hereby - grants Recipient a non-exclusive, worldwide, royalty-free patent - license under Licensed Patents to make, use, sell, offer to sell, - import and otherwise transfer the Contribution of such Contributor, - if any, in Source Code or other form. This patent license shall - apply to the combination of the Contribution and the Program if, at - the time the Contribution is added by the Contributor, such addition - of the Contribution causes such combination to be covered by the - Licensed Patents. The patent license shall not apply to any other - combinations which include the Contribution. No hardware per se is - licensed hereunder. - - c) Recipient understands that although each Contributor grants the - licenses to its Contributions set forth herein, no assurances are - provided by any Contributor that the Program does not infringe the - patent or other intellectual property rights of any other entity. - Each Contributor disclaims any liability to Recipient for claims - brought by any other entity based on infringement of intellectual - property rights or otherwise. As a condition to exercising the - rights and licenses granted hereunder, each Recipient hereby - assumes sole responsibility to secure any other intellectual - property rights needed, if any. For example, if a third party - patent license is required to allow Recipient to Distribute the - Program, it is Recipient's responsibility to acquire that license - before distributing the Program. - - d) Each Contributor represents that to its knowledge it has - sufficient copyright rights in its Contribution, if any, to grant - the copyright license set forth in this Agreement. - - e) Notwithstanding the terms of any Secondary License, no - Contributor makes additional grants to any Recipient (other than - those set forth in this Agreement) as a result of such Recipient's - receipt of the Program under the terms of a Secondary License - (if permitted under the terms of Section 3). +a) Subject to the terms of this Agreement, each Contributor hereby grants +Recipient a non-exclusive, worldwide, royalty-free copyright license to +reproduce, prepare derivative works of, publicly display, publicly perform, +distribute and sublicense the Contribution of such Contributor, if any, and such +derivative works, in source code and object code form. + +b) Subject to the terms of this Agreement, each Contributor hereby grants +Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed +Patents to make, use, sell, offer to sell, import and otherwise transfer the +Contribution of such Contributor, if any, in source code and object code form. +This patent license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, such +addition of the Contribution causes such combination to be covered by the +Licensed Patents. The patent license shall not apply to any other combinations +which include the Contribution. No hardware per se is licensed hereunder. + +c) Recipient understands that although each Contributor grants the licenses to +its Contributions set forth herein, no assurances are provided by any +Contributor that the Program does not infringe the patent or other intellectual +property rights of any other entity. Each Contributor disclaims any liability to +Recipient for claims brought by any other entity based on infringement of +intellectual property rights or otherwise. As a condition to exercising the +rights and licenses granted hereunder, each Recipient hereby assumes sole +responsibility to secure any other intellectual property rights needed, if any. +For example, if a third party patent license is required to allow Recipient to +distribute the Program, it is Recipient's responsibility to acquire that license +before distributing the Program. + +d) Each Contributor represents that to its knowledge it has sufficient copyright +rights in its Contribution, if any, to grant the copyright license set forth in +this Agreement. 3. REQUIREMENTS -3.1 If a Contributor Distributes the Program in any form, then: +A Contributor may choose to distribute the Program in object code form under its +own license agreement, provided that: - a) the Program must also be made available as Source Code, in - accordance with section 3.2, and the Contributor must accompany - the Program with a statement that the Source Code for the Program - is available under this Agreement, and informs Recipients how to - obtain it in a reasonable manner on or through a medium customarily - used for software exchange; and +a) it complies with the terms and conditions of this Agreement; and - b) the Contributor may Distribute the Program under a license - different than this Agreement, provided that such license: - i) effectively disclaims on behalf of all other Contributors all - warranties and conditions, express and implied, including - warranties or conditions of title and non-infringement, and - implied warranties or conditions of merchantability and fitness - for a particular purpose; +b) its license agreement: - ii) effectively excludes on behalf of all other Contributors all - liability for damages, including direct, indirect, special, - incidental and consequential damages, such as lost profits; +i) effectively disclaims on behalf of all Contributors all warranties and +conditions, express and implied, including warranties or conditions of title and +non-infringement, and implied warranties or conditions of merchantability and +fitness for a particular purpose; - iii) does not attempt to limit or alter the recipients' rights - in the Source Code under section 3.2; and +ii) effectively excludes on behalf of all Contributors all liability for +damages, including direct, indirect, special, incidental and consequential +damages, such as lost profits; + +iii) states that any provisions which differ from this Agreement are offered by +that Contributor alone and not by any other party; and + +iv) states that source code for the Program is available from such Contributor, +and informs licensees how to obtain it in a reasonable manner on or through a +medium customarily used for software exchange. - iv) requires any subsequent distribution of the Program by any - party to be under a license that satisfies the requirements - of this section 3. +When the Program is made available in source code form: -3.2 When the Program is Distributed as Source Code: +a) it must be made available under this Agreement; and - a) it must be made available under this Agreement, or if the - Program (i) is combined with other material in a separate file or - files made available under a Secondary License, and (ii) the initial - Contributor attached to the Source Code the notice described in - Exhibit A of this Agreement, then the Program may be made available - under the terms of such Secondary Licenses, and +b) a copy of this Agreement must be included with each copy of the Program. - b) a copy of this Agreement must be included with each copy of - the Program. +Contributors may not remove or alter any copyright notices contained within the +Program. -3.3 Contributors may not remove or alter any copyright, patent, -trademark, attribution notices, disclaimers of warranty, or limitations -of liability ("notices") contained within the Program from any copy of -the Program which they Distribute, provided that Contributors may add -their own appropriate notices. +Each Contributor must identify itself as the originator of its Contribution, if +any, in a manner that reasonably allows subsequent Recipients to identify the +originator of the Contribution. 4. COMMERCIAL DISTRIBUTION -Commercial distributors of software may accept certain responsibilities -with respect to end users, business partners and the like. While this -license is intended to facilitate the commercial use of the Program, -the Contributor who includes the Program in a commercial product -offering should do so in a manner which does not create potential -liability for other Contributors. Therefore, if a Contributor includes -the Program in a commercial product offering, such Contributor -("Commercial Contributor") hereby agrees to defend and indemnify every -other Contributor ("Indemnified Contributor") against any losses, -damages and costs (collectively "Losses") arising from claims, lawsuits -and other legal actions brought by a third party against the Indemnified -Contributor to the extent caused by the acts or omissions of such -Commercial Contributor in connection with its distribution of the Program -in a commercial product offering. The obligations in this section do not -apply to any claims or Losses relating to any actual or alleged -intellectual property infringement. In order to qualify, an Indemnified -Contributor must: a) promptly notify the Commercial Contributor in -writing of such claim, and b) allow the Commercial Contributor to control, -and cooperate with the Commercial Contributor in, the defense and any -related settlement negotiations. The Indemnified Contributor may +Commercial distributors of software may accept certain responsibilities with +respect to end users, business partners and the like. While this license is +intended to facilitate the commercial use of the Program, the Contributor who +includes the Program in a commercial product offering should do so in a manner +which does not create potential liability for other Contributors. Therefore, if +a Contributor includes the Program in a commercial product offering, such +Contributor ("Commercial Contributor") hereby agrees to defend and indemnify +every other Contributor ("Indemnified Contributor") against any losses, damages +and costs (collectively "Losses") arising from claims, lawsuits and other legal +actions brought by a third party against the Indemnified Contributor to the +extent caused by the acts or omissions of such Commercial Contributor in +connection with its distribution of the Program in a commercial product +offering. The obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In order +to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor +to control, and cooperate with the Commercial Contributor in, the defense and +any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. -For example, a Contributor might include the Program in a commercial -product offering, Product X. That Contributor is then a Commercial -Contributor. If that Commercial Contributor then makes performance -claims, or offers warranties related to Product X, those performance -claims and warranties are such Commercial Contributor's responsibility -alone. Under this section, the Commercial Contributor would have to -defend claims against the other Contributors related to those performance -claims and warranties, and if a court requires any other Contributor to -pay any damages as a result, the Commercial Contributor must pay -those damages. +For example, a Contributor might include the Program in a commercial product +offering, Product X. That Contributor is then a Commercial Contributor. If that +Commercial Contributor then makes performance claims, or offers warranties +related to Product X, those performance claims and warranties are such +Commercial Contributor's responsibility alone. Under this section, the +Commercial Contributor would have to defend claims against the other +Contributors related to those performance claims and warranties, and if a court +requires any other Contributor to pay any damages as a result, the Commercial +Contributor must pay those damages. 5. NO WARRANTY -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT -PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS" -BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR -IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF -TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR -PURPOSE. Each Recipient is solely responsible for determining the -appropriateness of using and distributing the Program and assumes all -risks associated with its exercise of rights under this Agreement, -including but not limited to the risks and costs of program errors, -compliance with applicable laws, damage to or loss of data, programs -or equipment, and unavailability or interruption of operations. +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR +IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, +NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each +Recipient is solely responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its exercise of +rights under this Agreement , including but not limited to the risks and costs +of program errors, compliance with applicable laws, damage to or loss of data, +programs or equipment, and unavailability or interruption of operations. 6. DISCLAIMER OF LIABILITY -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT -PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS -SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST -PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE -EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY +CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST +PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS +GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 7. GENERAL -If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of -the remainder of the terms of this Agreement, and without further -action by the parties hereto, such provision shall be reformed to the -minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that the -Program itself (excluding combinations of the Program with other software -or hardware) infringes such Recipient's patent(s), then such Recipient's -rights granted under Section 2(b) shall terminate as of the date such -litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it -fails to comply with any of the material terms or conditions of this -Agreement and does not cure such failure in a reasonable period of -time after becoming aware of such noncompliance. If all Recipient's -rights under this Agreement terminate, Recipient agrees to cease use -and distribution of the Program as soon as reasonably practicable. -However, Recipient's obligations under this Agreement and any licenses -granted by Recipient relating to the Program shall continue and survive. - -Everyone is permitted to copy and distribute copies of this Agreement, -but in order to avoid inconsistency the Agreement is copyrighted and -may only be modified in the following manner. The Agreement Steward -reserves the right to publish new versions (including revisions) of -this Agreement from time to time. No one other than the Agreement -Steward has the right to modify this Agreement. The Eclipse Foundation -is the initial Agreement Steward. The Eclipse Foundation may assign the -responsibility to serve as the Agreement Steward to a suitable separate -entity. Each new version of the Agreement will be given a distinguishing -version number. The Program (including Contributions) may always be -Distributed subject to the version of the Agreement under which it was -received. In addition, after a new version of the Agreement is published, -Contributor may elect to Distribute the Program (including its -Contributions) under the new version. - -Except as expressly stated in Sections 2(a) and 2(b) above, Recipient -receives no rights or licenses to the intellectual property of any -Contributor under this Agreement, whether expressly, by implication, -estoppel or otherwise. All rights in the Program not expressly granted -under this Agreement are reserved. Nothing in this Agreement is intended -to be enforceable by any entity that is not a Contributor or Recipient. -No third-party beneficiary rights are created under this Agreement. - -Exhibit A - Form of Secondary Licenses Notice +If any provision of this Agreement is invalid or unenforceable under applicable +law, it shall not affect the validity or enforceability of the remainder of the +terms of this Agreement, and without further action by the parties hereto, such +provision shall be reformed to the minimum extent necessary to make such +provision valid and enforceable. -"This Source Code may also be made available under the following -Secondary Licenses when the conditions for such availability set forth -in the Eclipse Public License, v. 2.0 are satisfied: {name license(s), -version(s), and exceptions or additional permissions here}." +If Recipient institutes patent litigation against any entity (including a +cross-claim or counterclaim in a lawsuit) alleging that the Program itself +(excluding combinations of the Program with other software or hardware) +infringes such Recipient's patent(s), then such Recipient's rights granted under +Section 2(b) shall terminate as of the date such litigation is filed. - Simply including a copy of this Agreement, including this Exhibit A - is not sufficient to license the Source Code under Secondary Licenses. +All Recipient's rights under this Agreement shall terminate if it fails to +comply with any of the material terms or conditions of this Agreement and does +not cure such failure in a reasonable period of time after becoming aware of +such noncompliance. If all Recipient's rights under this Agreement terminate, +Recipient agrees to cease use and distribution of the Program as soon as +reasonably practicable. However, Recipient's obligations under this Agreement +and any licenses granted by Recipient relating to the Program shall continue and +survive. - If it is not possible or desirable to put the notice in a particular - file, then You may include the notice in a location (such as a LICENSE - file in a relevant directory) where a recipient would be likely to - look for such a notice. +Everyone is permitted to copy and distribute copies of this Agreement, but in +order to avoid inconsistency the Agreement is copyrighted and may only be +modified in the following manner. The Agreement Steward reserves the right to +publish new versions (including revisions) of this Agreement from time to time. +No one other than the Agreement Steward has the right to modify this Agreement. +The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation +may assign the responsibility to serve as the Agreement Steward to a suitable +separate entity. Each new version of the Agreement will be given a +distinguishing version number. The Program (including Contributions) may always +be distributed subject to the version of the Agreement under which it was +received. In addition, after a new version of the Agreement is published, +Contributor may elect to distribute the Program (including its Contributions) +under the new version. Except as expressly stated in Sections 2(a) and 2(b) +above, Recipient receives no rights or licenses to the intellectual property of +any Contributor under this Agreement, whether expressly, by implication, +estoppel or otherwise. All rights in the Program not expressly granted under +this Agreement are reserved. - You may add additional accurate notices of copyright ownership. +This Agreement is governed by the laws of the State of New York and the +intellectual property laws of the United States of America. No party to this +Agreement will bring a legal action under this Agreement more than one year +after the cause of action arose. Each party waives its rights to a jury trial in +any resulting litigation. For the Windows Installer component: diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-websocket/LICENSE b/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-websocket/LICENSE index a3cd18e..d645695 100644 --- a/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-websocket/LICENSE +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-websocket/LICENSE @@ -200,938 +200,3 @@ 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. - - - -APACHE TOMCAT SUBCOMPONENTS: - -Apache Tomcat includes a number of subcomponents with separate copyright notices -and license terms. Your use of these subcomponents is subject to the terms and -conditions of the following licenses. - - -For the Eclipse JDT Core Batch Compiler (ecj-x.x.x.jar) component and the -following Jakarta EE Schemas: -- jakartaee_9.xsd -- jakarta_web-services_2_0.xsd -- jakarta_web-services_client_2_0.xsd -- jsp_3_0.xsd -- web-app_5_0.xsd -- web-commonn_5_0.xsd -- web-fragment_5_0.xsd -- web-jsptaglibrary_3_0.xsd - -Eclipse Public License - v 2.0 - - THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE - PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION - OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - - a) in the case of the initial Contributor, the initial content - Distributed under this Agreement, and - - b) in the case of each subsequent Contributor: - i) changes to the Program, and - ii) additions to the Program; - where such changes and/or additions to the Program originate from - and are Distributed by that particular Contributor. A Contribution - "originates" from a Contributor if it was added to the Program by - such Contributor itself or anyone acting on such Contributor's behalf. - Contributions do not include changes or additions to the Program that - are not Modified Works. - -"Contributor" means any person or entity that Distributes the Program. - -"Licensed Patents" mean patent claims licensable by a Contributor which -are necessarily infringed by the use or sale of its Contribution alone -or when combined with the Program. - -"Program" means the Contributions Distributed in accordance with this -Agreement. - -"Recipient" means anyone who receives the Program under this Agreement -or any Secondary License (as applicable), including Contributors. - -"Derivative Works" shall mean any work, whether in Source Code or other -form, that is based on (or derived from) the Program and for which the -editorial revisions, annotations, elaborations, or other modifications -represent, as a whole, an original work of authorship. - -"Modified Works" shall mean any work in Source Code or other form that -results from an addition to, deletion from, or modification of the -contents of the Program, including, for purposes of clarity any new file -in Source Code form that contains any contents of the Program. Modified -Works shall not include works that contain only declarations, -interfaces, types, classes, structures, or files of the Program solely -in each case in order to link to, bind by name, or subclass the Program -or Modified Works thereof. - -"Distribute" means the acts of a) distributing or b) making available -in any manner that enables the transfer of a copy. - -"Source Code" means the form of a Program preferred for making -modifications, including but not limited to software source code, -documentation source, and configuration files. - -"Secondary License" means either the GNU General Public License, -Version 2.0, or any later versions of that license, including any -exceptions or additional permissions as identified by the initial -Contributor. - -2. GRANT OF RIGHTS - - a) Subject to the terms of this Agreement, each Contributor hereby - grants Recipient a non-exclusive, worldwide, royalty-free copyright - license to reproduce, prepare Derivative Works of, publicly display, - publicly perform, Distribute and sublicense the Contribution of such - Contributor, if any, and such Derivative Works. - - b) Subject to the terms of this Agreement, each Contributor hereby - grants Recipient a non-exclusive, worldwide, royalty-free patent - license under Licensed Patents to make, use, sell, offer to sell, - import and otherwise transfer the Contribution of such Contributor, - if any, in Source Code or other form. This patent license shall - apply to the combination of the Contribution and the Program if, at - the time the Contribution is added by the Contributor, such addition - of the Contribution causes such combination to be covered by the - Licensed Patents. The patent license shall not apply to any other - combinations which include the Contribution. No hardware per se is - licensed hereunder. - - c) Recipient understands that although each Contributor grants the - licenses to its Contributions set forth herein, no assurances are - provided by any Contributor that the Program does not infringe the - patent or other intellectual property rights of any other entity. - Each Contributor disclaims any liability to Recipient for claims - brought by any other entity based on infringement of intellectual - property rights or otherwise. As a condition to exercising the - rights and licenses granted hereunder, each Recipient hereby - assumes sole responsibility to secure any other intellectual - property rights needed, if any. For example, if a third party - patent license is required to allow Recipient to Distribute the - Program, it is Recipient's responsibility to acquire that license - before distributing the Program. - - d) Each Contributor represents that to its knowledge it has - sufficient copyright rights in its Contribution, if any, to grant - the copyright license set forth in this Agreement. - - e) Notwithstanding the terms of any Secondary License, no - Contributor makes additional grants to any Recipient (other than - those set forth in this Agreement) as a result of such Recipient's - receipt of the Program under the terms of a Secondary License - (if permitted under the terms of Section 3). - -3. REQUIREMENTS - -3.1 If a Contributor Distributes the Program in any form, then: - - a) the Program must also be made available as Source Code, in - accordance with section 3.2, and the Contributor must accompany - the Program with a statement that the Source Code for the Program - is available under this Agreement, and informs Recipients how to - obtain it in a reasonable manner on or through a medium customarily - used for software exchange; and - - b) the Contributor may Distribute the Program under a license - different than this Agreement, provided that such license: - i) effectively disclaims on behalf of all other Contributors all - warranties and conditions, express and implied, including - warranties or conditions of title and non-infringement, and - implied warranties or conditions of merchantability and fitness - for a particular purpose; - - ii) effectively excludes on behalf of all other Contributors all - liability for damages, including direct, indirect, special, - incidental and consequential damages, such as lost profits; - - iii) does not attempt to limit or alter the recipients' rights - in the Source Code under section 3.2; and - - iv) requires any subsequent distribution of the Program by any - party to be under a license that satisfies the requirements - of this section 3. - -3.2 When the Program is Distributed as Source Code: - - a) it must be made available under this Agreement, or if the - Program (i) is combined with other material in a separate file or - files made available under a Secondary License, and (ii) the initial - Contributor attached to the Source Code the notice described in - Exhibit A of this Agreement, then the Program may be made available - under the terms of such Secondary Licenses, and - - b) a copy of this Agreement must be included with each copy of - the Program. - -3.3 Contributors may not remove or alter any copyright, patent, -trademark, attribution notices, disclaimers of warranty, or limitations -of liability ("notices") contained within the Program from any copy of -the Program which they Distribute, provided that Contributors may add -their own appropriate notices. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain responsibilities -with respect to end users, business partners and the like. While this -license is intended to facilitate the commercial use of the Program, -the Contributor who includes the Program in a commercial product -offering should do so in a manner which does not create potential -liability for other Contributors. Therefore, if a Contributor includes -the Program in a commercial product offering, such Contributor -("Commercial Contributor") hereby agrees to defend and indemnify every -other Contributor ("Indemnified Contributor") against any losses, -damages and costs (collectively "Losses") arising from claims, lawsuits -and other legal actions brought by a third party against the Indemnified -Contributor to the extent caused by the acts or omissions of such -Commercial Contributor in connection with its distribution of the Program -in a commercial product offering. The obligations in this section do not -apply to any claims or Losses relating to any actual or alleged -intellectual property infringement. In order to qualify, an Indemnified -Contributor must: a) promptly notify the Commercial Contributor in -writing of such claim, and b) allow the Commercial Contributor to control, -and cooperate with the Commercial Contributor in, the defense and any -related settlement negotiations. The Indemnified Contributor may -participate in any such claim at its own expense. - -For example, a Contributor might include the Program in a commercial -product offering, Product X. That Contributor is then a Commercial -Contributor. If that Commercial Contributor then makes performance -claims, or offers warranties related to Product X, those performance -claims and warranties are such Commercial Contributor's responsibility -alone. Under this section, the Commercial Contributor would have to -defend claims against the other Contributors related to those performance -claims and warranties, and if a court requires any other Contributor to -pay any damages as a result, the Commercial Contributor must pay -those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT -PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS" -BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR -IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF -TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR -PURPOSE. Each Recipient is solely responsible for determining the -appropriateness of using and distributing the Program and assumes all -risks associated with its exercise of rights under this Agreement, -including but not limited to the risks and costs of program errors, -compliance with applicable laws, damage to or loss of data, programs -or equipment, and unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT -PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS -SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST -PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE -EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of -the remainder of the terms of this Agreement, and without further -action by the parties hereto, such provision shall be reformed to the -minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that the -Program itself (excluding combinations of the Program with other software -or hardware) infringes such Recipient's patent(s), then such Recipient's -rights granted under Section 2(b) shall terminate as of the date such -litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it -fails to comply with any of the material terms or conditions of this -Agreement and does not cure such failure in a reasonable period of -time after becoming aware of such noncompliance. If all Recipient's -rights under this Agreement terminate, Recipient agrees to cease use -and distribution of the Program as soon as reasonably practicable. -However, Recipient's obligations under this Agreement and any licenses -granted by Recipient relating to the Program shall continue and survive. - -Everyone is permitted to copy and distribute copies of this Agreement, -but in order to avoid inconsistency the Agreement is copyrighted and -may only be modified in the following manner. The Agreement Steward -reserves the right to publish new versions (including revisions) of -this Agreement from time to time. No one other than the Agreement -Steward has the right to modify this Agreement. The Eclipse Foundation -is the initial Agreement Steward. The Eclipse Foundation may assign the -responsibility to serve as the Agreement Steward to a suitable separate -entity. Each new version of the Agreement will be given a distinguishing -version number. The Program (including Contributions) may always be -Distributed subject to the version of the Agreement under which it was -received. In addition, after a new version of the Agreement is published, -Contributor may elect to Distribute the Program (including its -Contributions) under the new version. - -Except as expressly stated in Sections 2(a) and 2(b) above, Recipient -receives no rights or licenses to the intellectual property of any -Contributor under this Agreement, whether expressly, by implication, -estoppel or otherwise. All rights in the Program not expressly granted -under this Agreement are reserved. Nothing in this Agreement is intended -to be enforceable by any entity that is not a Contributor or Recipient. -No third-party beneficiary rights are created under this Agreement. - -Exhibit A - Form of Secondary Licenses Notice - -"This Source Code may also be made available under the following -Secondary Licenses when the conditions for such availability set forth -in the Eclipse Public License, v. 2.0 are satisfied: {name license(s), -version(s), and exceptions or additional permissions here}." - - Simply including a copy of this Agreement, including this Exhibit A - is not sufficient to license the Source Code under Secondary Licenses. - - If it is not possible or desirable to put the notice in a particular - file, then You may include the notice in a location (such as a LICENSE - file in a relevant directory) where a recipient would be likely to - look for such a notice. - - You may add additional accurate notices of copyright ownership. - - -For the Windows Installer component: - - * All NSIS source code, plug-ins, documentation, examples, header files and - graphics, with the exception of the compression modules and where - otherwise noted, are licensed under the zlib/libpng license. - * The zlib compression module for NSIS is licensed under the zlib/libpng - license. - * The bzip2 compression module for NSIS is licensed under the bzip2 license. - * The lzma compression module for NSIS is licensed under the Common Public - License version 1.0. - -zlib/libpng license - -This software is provided 'as-is', without any express or implied warranty. In -no event will the authors be held liable for any damages arising from the use of -this software. - -Permission is granted to anyone to use this software for any purpose, including -commercial applications, and to alter it and redistribute it freely, subject to -the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not claim - that you wrote the original software. If you use this software in a - product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - -bzip2 license - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - 2. The origin of this software must not be misrepresented; you must not claim - that you wrote the original software. If you use this software in a - product, an acknowledgment in the product documentation would be - appreciated but is not required. - 3. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 4. The name of the author may not be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT -SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT -OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING -IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY -OF SUCH DAMAGE. - -Julian Seward, Cambridge, UK. - -jseward@acm.org -Common Public License version 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC -LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM -CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - -a) in the case of the initial Contributor, the initial code and documentation -distributed under this Agreement, and b) in the case of each subsequent -Contributor: - -i) changes to the Program, and - -ii) additions to the Program; - -where such changes and/or additions to the Program originate from and are -distributed by that particular Contributor. A Contribution 'originates' from a -Contributor if it was added to the Program by such Contributor itself or anyone -acting on such Contributor's behalf. Contributions do not include additions to -the Program which: (i) are separate modules of software distributed in -conjunction with the Program under their own license agreement, and (ii) are not -derivative works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor which are -necessarily infringed by the use or sale of its Contribution alone or when -combined with the Program. - -"Program" means the Contributions distributed in accordance with this Agreement. - -"Recipient" means anyone who receives the Program under this Agreement, -including all Contributors. - -2. GRANT OF RIGHTS - -a) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free copyright license to -reproduce, prepare derivative works of, publicly display, publicly perform, -distribute and sublicense the Contribution of such Contributor, if any, and such -derivative works, in source code and object code form. - -b) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed -Patents to make, use, sell, offer to sell, import and otherwise transfer the -Contribution of such Contributor, if any, in source code and object code form. -This patent license shall apply to the combination of the Contribution and the -Program if, at the time the Contribution is added by the Contributor, such -addition of the Contribution causes such combination to be covered by the -Licensed Patents. The patent license shall not apply to any other combinations -which include the Contribution. No hardware per se is licensed hereunder. - -c) Recipient understands that although each Contributor grants the licenses to -its Contributions set forth herein, no assurances are provided by any -Contributor that the Program does not infringe the patent or other intellectual -property rights of any other entity. Each Contributor disclaims any liability to -Recipient for claims brought by any other entity based on infringement of -intellectual property rights or otherwise. As a condition to exercising the -rights and licenses granted hereunder, each Recipient hereby assumes sole -responsibility to secure any other intellectual property rights needed, if any. -For example, if a third party patent license is required to allow Recipient to -distribute the Program, it is Recipient's responsibility to acquire that license -before distributing the Program. - -d) Each Contributor represents that to its knowledge it has sufficient copyright -rights in its Contribution, if any, to grant the copyright license set forth in -this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form under its -own license agreement, provided that: - -a) it complies with the terms and conditions of this Agreement; and - -b) its license agreement: - -i) effectively disclaims on behalf of all Contributors all warranties and -conditions, express and implied, including warranties or conditions of title and -non-infringement, and implied warranties or conditions of merchantability and -fitness for a particular purpose; - -ii) effectively excludes on behalf of all Contributors all liability for -damages, including direct, indirect, special, incidental and consequential -damages, such as lost profits; - -iii) states that any provisions which differ from this Agreement are offered by -that Contributor alone and not by any other party; and - -iv) states that source code for the Program is available from such Contributor, -and informs licensees how to obtain it in a reasonable manner on or through a -medium customarily used for software exchange. - -When the Program is made available in source code form: - -a) it must be made available under this Agreement; and - -b) a copy of this Agreement must be included with each copy of the Program. - -Contributors may not remove or alter any copyright notices contained within the -Program. - -Each Contributor must identify itself as the originator of its Contribution, if -any, in a manner that reasonably allows subsequent Recipients to identify the -originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain responsibilities with -respect to end users, business partners and the like. While this license is -intended to facilitate the commercial use of the Program, the Contributor who -includes the Program in a commercial product offering should do so in a manner -which does not create potential liability for other Contributors. Therefore, if -a Contributor includes the Program in a commercial product offering, such -Contributor ("Commercial Contributor") hereby agrees to defend and indemnify -every other Contributor ("Indemnified Contributor") against any losses, damages -and costs (collectively "Losses") arising from claims, lawsuits and other legal -actions brought by a third party against the Indemnified Contributor to the -extent caused by the acts or omissions of such Commercial Contributor in -connection with its distribution of the Program in a commercial product -offering. The obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. In order -to qualify, an Indemnified Contributor must: a) promptly notify the Commercial -Contributor in writing of such claim, and b) allow the Commercial Contributor to -control, and cooperate with the Commercial Contributor in, the defense and any -related settlement negotiations. The Indemnified Contributor may participate in -any such claim at its own expense. - -For example, a Contributor might include the Program in a commercial product -offering, Product X. That Contributor is then a Commercial Contributor. If that -Commercial Contributor then makes performance claims, or offers warranties -related to Product X, those performance claims and warranties are such -Commercial Contributor's responsibility alone. Under this section, the -Commercial Contributor would have to defend claims against the other -Contributors related to those performance claims and warranties, and if a court -requires any other Contributor to pay any damages as a result, the Commercial -Contributor must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR -IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, -NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each -Recipient is solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its exercise of -rights under this Agreement, including but not limited to the risks and costs of -program errors, compliance with applicable laws, damage to or loss of data, -programs or equipment, and unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY -CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST -PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS -GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under applicable -law, it shall not affect the validity or enforceability of the remainder of the -terms of this Agreement, and without further action by the parties hereto, such -provision shall be reformed to the minimum extent necessary to make such -provision valid and enforceable. - -If Recipient institutes patent litigation against a Contributor with respect to -a patent applicable to software (including a cross-claim or counterclaim in a -lawsuit), then any patent licenses granted by that Contributor to such Recipient -under this Agreement shall terminate as of the date such litigation is filed. In -addition, if Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that the Program -itself (excluding combinations of the Program with other software or hardware) -infringes such Recipient's patent(s), then such Recipient's rights granted under -Section 2(b) shall terminate as of the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it fails to -comply with any of the material terms or conditions of this Agreement and does -not cure such failure in a reasonable period of time after becoming aware of -such noncompliance. If all Recipient's rights under this Agreement terminate, -Recipient agrees to cease use and distribution of the Program as soon as -reasonably practicable. However, Recipient's obligations under this Agreement -and any licenses granted by Recipient relating to the Program shall continue and -survive. - -Everyone is permitted to copy and distribute copies of this Agreement, but in -order to avoid inconsistency the Agreement is copyrighted and may only be -modified in the following manner. The Agreement Steward reserves the right to -publish new versions (including revisions) of this Agreement from time to time. -No one other than the Agreement Steward has the right to modify this Agreement. -IBM is the initial Agreement Steward. IBM may assign the responsibility to serve -as the Agreement Steward to a suitable separate entity. Each new version of the -Agreement will be given a distinguishing version number. The Program (including -Contributions) may always be distributed subject to the version of the Agreement -under which it was received. In addition, after a new version of the Agreement -is published, Contributor may elect to distribute the Program (including its -Contributions) under the new version. Except as expressly stated in Sections -2(a) and 2(b) above, Recipient receives no rights or licenses to the -intellectual property of any Contributor under this Agreement, whether -expressly, by implication, estoppel or otherwise. All rights in the Program not -expressly granted under this Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and the -intellectual property laws of the United States of America. No party to this -Agreement will bring a legal action under this Agreement more than one year -after the cause of action arose. Each party waives its rights to a jury trial in -any resulting litigation. - -Special exception for LZMA compression module - -Igor Pavlov and Amir Szekely, the authors of the LZMA compression module for -NSIS, expressly permit you to statically or dynamically link your code (or bind -by name) to the files from the LZMA compression module for NSIS without -subjecting your linked code to the terms of the Common Public license version -1.0. Any modifications or additions to files from the LZMA compression module -for NSIS, however, are subject to the terms of the Common Public License version -1.0. - - -For the following XML Schemas for Java EE Deployment Descriptors: - - javaee_5.xsd - - javaee_web_services_1_2.xsd - - javaee_web_services_client_1_2.xsd - - javaee_6.xsd - - javaee_web_services_1_3.xsd - - javaee_web_services_client_1_3.xsd - - jsp_2_2.xsd - - web-app_3_0.xsd - - web-common_3_0.xsd - - web-fragment_3_0.xsd - - javaee_7.xsd - - javaee_web_services_1_4.xsd - - javaee_web_services_client_1_4.xsd - - jsp_2_3.xsd - - web-app_3_1.xsd - - web-common_3_1.xsd - - web-fragment_3_1.xsd - - javaee_8.xsd - - web-app_4_0.xsd - - web-common_4_0.xsd - - web-fragment_4_0.xsd - -COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - -1. Definitions. - - 1.1. Contributor. means each individual or entity that creates or contributes - to the creation of Modifications. - - 1.2. Contributor Version. means the combination of the Original Software, - prior Modifications used by a Contributor (if any), and the - Modifications made by that particular Contributor. - - 1.3. Covered Software. means (a) the Original Software, or (b) Modifications, - or (c) the combination of files containing Original Software with files - containing Modifications, in each case including portions thereof. - - 1.4. Executable. means the Covered Software in any form other than Source - Code. - - 1.5. Initial Developer. means the individual or entity that first makes - Original Software available under this License. - - 1.6. Larger Work. means a work which combines Covered Software or portions - thereof with code not governed by the terms of this License. - - 1.7. License. means this document. - - 1.8. Licensable. means having the right to grant, to the maximum extent - possible, whether at the time of the initial grant or subsequently - acquired, any and all of the rights conveyed herein. - - 1.9. Modifications. means the Source Code and Executable form of any of the - following: - - A. Any file that results from an addition to, deletion from or - modification of the contents of a file containing Original Software - or previous Modifications; - - B. Any new file that contains any part of the Original Software or - previous Modification; or - - C. Any new file that is contributed or otherwise made available under - the terms of this License. - - 1.10. Original Software. means the Source Code and Executable form of - computer software code that is originally released under this License. - - 1.11. Patent Claims. means any patent claim(s), now owned or hereafter - acquired, including without limitation, method, process, and apparatus - claims, in any patent Licensable by grantor. - - 1.12. Source Code. means (a) the common form of computer software code in - which modifications are made and (b) associated documentation included - in or with such code. - - 1.13. You. (or .Your.) means an individual or a legal entity exercising - rights under, and complying with all of the terms of, this License. For - legal entities, .You. includes any entity which controls, is controlled - by, or is under common control with You. For purposes of this - definition, .control. means (a) the power, direct or indirect, to cause - the direction or management of such entity, whether by contract or - otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - -2. License Grants. - - 2.1. The Initial Developer Grant. - - Conditioned upon Your compliance with Section 3.1 below and subject to - third party intellectual property claims, the Initial Developer hereby - grants You a world-wide, royalty-free, non-exclusive license: - - (a) under intellectual property rights (other than patent or trademark) - Licensable by Initial Developer, to use, reproduce, modify, display, - perform, sublicense and distribute the Original Software (or - portions thereof), with or without Modifications, and/or as part of - a Larger Work; and - - (b) under Patent Claims infringed by the making, using or selling of - Original Software, to make, have made, use, practice, sell, and - offer for sale, and/or otherwise dispose of the Original Software - (or portions thereof). - - (c) The licenses granted in Sections 2.1(a) and (b) are effective on the - date Initial Developer first distributes or otherwise makes the - Original Software available to a third party under the terms of this - License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is granted: - (1) for code that You delete from the Original Software, or (2) for - infringements caused by: (i) the modification of the Original - Software, or (ii) the combination of the Original Software with - other software or devices. - - 2.2. Contributor Grant. - - Conditioned upon Your compliance with Section 3.1 below and subject to third - party intellectual property claims, each Contributor hereby grants You a - world-wide, royalty-free, non-exclusive license: - - (a) under intellectual property rights (other than patent or trademark) - Licensable by Contributor to use, reproduce, modify, display, - perform, sublicense and distribute the Modifications created by such - Contributor (or portions thereof), either on an unmodified basis, - with other Modifications, as Covered Software and/or as part of a - Larger Work; and - - (b) under Patent Claims infringed by the making, using, or selling of - Modifications made by that Contributor either alone and/or in - combination with its Contributor Version (or portions of such - combination), to make, use, sell, offer for sale, have made, and/or - otherwise dispose of: (1) Modifications made by that Contributor (or - portions thereof); and (2) the combination of Modifications made by - that Contributor with its Contributor Version (or portions of such - combination). - - (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on - the date Contributor first distributes or otherwise makes the - Modifications available to a third party. - - (d) Notwithstanding Section 2.2(b) above, no patent license is granted: - (1) for any code that Contributor has deleted from the Contributor - Version; (2) for infringements caused by: (i) third party - modifications of Contributor Version, or (ii) the combination of - Modifications made by that Contributor with other software (except - as part of the Contributor Version) or other devices; or (3) under - Patent Claims infringed by Covered Software in the absence of - Modifications made by that Contributor. - -3. Distribution Obligations. - - 3.1. Availability of Source Code. - Any Covered Software that You distribute or otherwise make available in - Executable form must also be made available in Source Code form and that - Source Code form must be distributed only under the terms of this License. - You must include a copy of this License with every copy of the Source Code - form of the Covered Software You distribute or otherwise make available. - You must inform recipients of any such Covered Software in Executable form - as to how they can obtain such Covered Software in Source Code form in a - reasonable manner on or through a medium customarily used for software - exchange. - - 3.2. Modifications. - The Modifications that You create or to which You contribute are governed - by the terms of this License. You represent that You believe Your - Modifications are Your original creation(s) and/or You have sufficient - rights to grant the rights conveyed by this License. - - 3.3. Required Notices. - You must include a notice in each of Your Modifications that identifies - You as the Contributor of the Modification. You may not remove or alter - any copyright, patent or trademark notices contained within the Covered - Software, or any notices of licensing or any descriptive text giving - attribution to any Contributor or the Initial Developer. - - 3.4. Application of Additional Terms. - You may not offer or impose any terms on any Covered Software in Source - Code form that alters or restricts the applicable version of this License - or the recipients. rights hereunder. You may choose to offer, and to - charge a fee for, warranty, support, indemnity or liability obligations to - one or more recipients of Covered Software. However, you may do so only on - Your own behalf, and not on behalf of the Initial Developer or any - Contributor. You must make it absolutely clear that any such warranty, - support, indemnity or liability obligation is offered by You alone, and - You hereby agree to indemnify the Initial Developer and every Contributor - for any liability incurred by the Initial Developer or such Contributor as - a result of warranty, support, indemnity or liability terms You offer. - - 3.5. Distribution of Executable Versions. - You may distribute the Executable form of the Covered Software under the - terms of this License or under the terms of a license of Your choice, - which may contain terms different from this License, provided that You are - in compliance with the terms of this License and that the license for the - Executable form does not attempt to limit or alter the recipient.s rights - in the Source Code form from the rights set forth in this License. If You - distribute the Covered Software in Executable form under a different - license, You must make it absolutely clear that any terms which differ - from this License are offered by You alone, not by the Initial Developer - or Contributor. You hereby agree to indemnify the Initial Developer and - every Contributor for any liability incurred by the Initial Developer or - such Contributor as a result of any such terms You offer. - - 3.6. Larger Works. - You may create a Larger Work by combining Covered Software with other code - not governed by the terms of this License and distribute the Larger Work - as a single product. In such a case, You must make sure the requirements - of this License are fulfilled for the Covered Software. - -4. Versions of the License. - - 4.1. New Versions. - Sun Microsystems, Inc. is the initial license steward and may publish - revised and/or new versions of this License from time to time. Each - version will be given a distinguishing version number. Except as provided - in Section 4.3, no one other than the license steward has the right to - modify this License. - - 4.2. Effect of New Versions. - You may always continue to use, distribute or otherwise make the Covered - Software available under the terms of the version of the License under - which You originally received the Covered Software. If the Initial - Developer includes a notice in the Original Software prohibiting it from - being distributed or otherwise made available under any subsequent version - of the License, You must distribute and make the Covered Software - available under the terms of the version of the License under which You - originally received the Covered Software. Otherwise, You may also choose - to use, distribute or otherwise make the Covered Software available under - the terms of any subsequent version of the License published by the - license steward. - - 4.3. Modified Versions. - When You are an Initial Developer and You want to create a new license for - Your Original Software, You may create and use a modified version of this - License if You: (a) rename the license and remove any references to the - name of the license steward (except to note that the license differs from - this License); and (b) otherwise make it clear that the license contains - terms which differ from this License. - -5. DISCLAIMER OF WARRANTY. - - COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN .AS IS. BASIS, WITHOUT - WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT - LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, - MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK - AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD - ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL - DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY - SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN - ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED - HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -6. TERMINATION. - - 6.1. This License and the rights granted hereunder will terminate - automatically if You fail to comply with terms herein and fail to - cure such breach within 30 days of becoming aware of the breach. - Provisions which, by their nature, must remain in effect beyond the - termination of this License shall survive. - - 6.2. If You assert a patent infringement claim (excluding declaratory - judgment actions) against Initial Developer or a Contributor (the - Initial Developer or Contributor against whom You assert such claim - is referred to as .Participant.) alleging that the Participant - Software (meaning the Contributor Version where the Participant is a - Contributor or the Original Software where the Participant is the - Initial Developer) directly or indirectly infringes any patent, then - any and all rights granted directly or indirectly to You by such - Participant, the Initial Developer (if the Initial Developer is not - the Participant) and all Contributors under Sections 2.1 and/or 2.2 - of this License shall, upon 60 days notice from Participant terminate - prospectively and automatically at the expiration of such 60 day - notice period, unless if within such 60 day period You withdraw Your - claim with respect to the Participant Software against such - Participant either unilaterally or pursuant to a written agreement - with Participant. - - 6.3. In the event of termination under Sections 6.1 or 6.2 above, all end - user licenses that have been validly granted by You or any - distributor hereunder prior to termination (excluding licenses - granted to You by any distributor) shall survive termination. - -7. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING - NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY - OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF - ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, - INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT - LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, - COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR - LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF - SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR - DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY.S NEGLIGENCE TO THE EXTENT - APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE - EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS - EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -8. U.S. GOVERNMENT END USERS. - - The Covered Software is a .commercial item,. as that term is defined in 48 - C.F.R. 2.101 (Oct. 1995), consisting of .commercial computer software. (as - that term is defined at 48 C.F.R. ? 252.227-7014(a)(1)) and commercial - computer software documentation. as such terms are used in 48 C.F.R. 12.212 - (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 - through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered - Software with only those rights set forth herein. This U.S. Government Rights - clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or - provision that addresses Government rights in computer software under this - License. - -9. MISCELLANEOUS. - - This License represents the complete agreement concerning subject matter - hereof. If any provision of this License is held to be unenforceable, such - provision shall be reformed only to the extent necessary to make it - enforceable. This License shall be governed by the law of the jurisdiction - specified in a notice contained within the Original Software (except to the - extent applicable law, if any, provides otherwise), excluding such - jurisdiction's conflict-of-law provisions. Any litigation relating to this - License shall be subject to the jurisdiction of the courts located in the - jurisdiction and venue specified in a notice contained within the Original - Software, with the losing party responsible for costs, including, without - limitation, court costs and reasonable attorneys. fees and expenses. The - application of the United Nations Convention on Contracts for the - International Sale of Goods is expressly excluded. Any law or regulation - which provides that the language of a contract shall be construed against - the drafter shall not apply to this License. You agree that You alone are - responsible for compliance with the United States export administration - regulations (and the export control laws and regulation of any other - countries) when You use, distribute or otherwise make available any Covered - Software. - -10. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is responsible - for claims and damages arising, directly or indirectly, out of its - utilization of rights under this License and You agree to work with Initial - Developer and Contributors to distribute such responsibility on an equitable - basis. Nothing herein is intended or shall be deemed to constitute any - admission of liability. - - NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION - LICENSE (CDDL) - - The code released under the CDDL shall be governed by the laws of the State - of California (excluding conflict-of-law provisions). Any litigation relating - to this License shall be subject to the jurisdiction of the Federal Courts of - the Northern District of California and the state courts of the State of - California, with venue lying in Santa Clara County, California. - diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-websocket/NOTICE b/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-websocket/NOTICE index 43bc6be..24d0ee9 100644 --- a/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-websocket/NOTICE +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.apache.tomcat.embed_tomcat-embed-websocket/NOTICE @@ -2,67 +2,4 @@ Apache Tomcat Copyright 1999-2021 The Apache Software Foundation This product includes software developed at -The Apache Software Foundation (https://www.apache.org/). - -This software contains code derived from netty-native -developed by the Netty project -(https://netty.io, https://github.com/netty/netty-tcnative/) -and from finagle-native developed at Twitter -(https://github.com/twitter/finagle). - -This software contains code derived from jgroups-kubernetes -developed by the JGroups project (http://www.jgroups.org/). - -The Windows Installer is built with the Nullsoft -Scriptable Install System (NSIS), which is -open source software. The original software and -related information is available at -http://nsis.sourceforge.net. - -Java compilation software for JSP pages is provided by the Eclipse -JDT Core Batch Compiler component, which is open source software. -The original software and related information is available at -https://www.eclipse.org/jdt/core/. - -org.apache.tomcat.util.json.JSONParser.jj is a public domain javacc grammar -for JSON written by Robert Fischer. -https://github.com/RobertFischer/json-parser - -For portions of the Tomcat JNI OpenSSL API and the OpenSSL JSSE integration -The org.apache.tomcat.jni and the org.apache.tomcat.net.openssl packages -are derivative work originating from the Netty project and the finagle-native -project developed at Twitter -* Copyright 2014 The Netty Project -* Copyright 2014 Twitter - -For portions of the Tomcat cloud support -The org.apache.catalina.tribes.membership.cloud package contains derivative -work originating from the jgroups project. -https://github.com/jgroups-extras/jgroups-kubernetes -Copyright 2002-2018 Red Hat Inc. - -The original XML Schemas for Java EE Deployment Descriptors: - - javaee_5.xsd - - javaee_web_services_1_2.xsd - - javaee_web_services_client_1_2.xsd - - javaee_6.xsd - - javaee_web_services_1_3.xsd - - javaee_web_services_client_1_3.xsd - - jsp_2_2.xsd - - web-app_3_0.xsd - - web-common_3_0.xsd - - web-fragment_3_0.xsd - - javaee_7.xsd - - javaee_web_services_1_4.xsd - - javaee_web_services_client_1_4.xsd - - jsp_2_3.xsd - - web-app_3_1.xsd - - web-common_3_1.xsd - - web-fragment_3_1.xsd - - javaee_8.xsd - - web-app_4_0.xsd - - web-common_4_0.xsd - - web-fragment_4_0.xsd - -may be obtained from: -http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/index.html +The Apache Software Foundation (http://www.apache.org/). diff --git a/castor-service/3RD-PARTY-LICENSES/com.google.guava_guava/LICENSE b/castor-upload-java-client/3RD-PARTY-LICENSES/org.assertj_assertj-core/LICENSE.txt similarity index 99% rename from castor-service/3RD-PARTY-LICENSES/com.google.guava_guava/LICENSE rename to castor-upload-java-client/3RD-PARTY-LICENSES/org.assertj_assertj-core/LICENSE.txt index d645695..261eeb9 100644 --- a/castor-service/3RD-PARTY-LICENSES/com.google.guava_guava/LICENSE +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.assertj_assertj-core/LICENSE.txt @@ -1,4 +1,3 @@ - Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework.security_spring-security-core/notice.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework.security_spring-security-core/notice.txt new file mode 100644 index 0000000..2336a37 --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework.security_spring-security-core/notice.txt @@ -0,0 +1,20 @@ + ====================================================================== + == NOTICE file corresponding to section 4(d) of the Apache License, == + == Version 2.0, in this case for the Spring Security distribution. == + ====================================================================== + + The end-user documentation included with a redistribution, if any, + must include the following acknowledgement: + + "This product includes software developed by Spring Security + Project (https://www.springframework.org/security)." + + Alternately, this acknowledgement may appear in the software itself, + if and wherever such third-party acknowledgements normally appear. + + The names "Spring", "Spring Security", "Spring Security System", + "SpringSource", "Acegi", "Acegi Security", "Acegi Security System", + "Acegi" or any derivatives thereof may not be used to endorse or + promote products derived from this software without prior written + permission. For written permission, please contact + ben.alex@springsource.com. diff --git a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aop/LICENSE.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework.security_spring-security-crypto/LICENSE.txt similarity index 99% rename from castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aop/LICENSE.txt rename to castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework.security_spring-security-crypto/LICENSE.txt index ff77379..823c1c8 100644 --- a/castor-service/3RD-PARTY-LICENSES/org.springframework_spring-aop/LICENSE.txt +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework.security_spring-security-crypto/LICENSE.txt @@ -199,4 +199,4 @@ 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. + limitations under the License. \ No newline at end of file diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework.security_spring-security-crypto/notice.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework.security_spring-security-crypto/notice.txt new file mode 100644 index 0000000..2336a37 --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework.security_spring-security-crypto/notice.txt @@ -0,0 +1,20 @@ + ====================================================================== + == NOTICE file corresponding to section 4(d) of the Apache License, == + == Version 2.0, in this case for the Spring Security distribution. == + ====================================================================== + + The end-user documentation included with a redistribution, if any, + must include the following acknowledgement: + + "This product includes software developed by Spring Security + Project (https://www.springframework.org/security)." + + Alternately, this acknowledgement may appear in the software itself, + if and wherever such third-party acknowledgements normally appear. + + The names "Spring", "Spring Security", "Spring Security System", + "SpringSource", "Acegi", "Acegi Security", "Acegi Security System", + "Acegi" or any derivatives thereof may not be used to endorse or + promote products derived from this software without prior written + permission. For written permission, please contact + ben.alex@springsource.com. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework.security_spring-security-web/notice.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework.security_spring-security-web/notice.txt new file mode 100644 index 0000000..2336a37 --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework.security_spring-security-web/notice.txt @@ -0,0 +1,20 @@ + ====================================================================== + == NOTICE file corresponding to section 4(d) of the Apache License, == + == Version 2.0, in this case for the Spring Security distribution. == + ====================================================================== + + The end-user documentation included with a redistribution, if any, + must include the following acknowledgement: + + "This product includes software developed by Spring Security + Project (https://www.springframework.org/security)." + + Alternately, this acknowledgement may appear in the software itself, + if and wherever such third-party acknowledgements normally appear. + + The names "Spring", "Spring Security", "Spring Security System", + "SpringSource", "Acegi", "Acegi Security", "Acegi Security System", + "Acegi" or any derivatives thereof may not be used to endorse or + promote products derived from this software without prior written + permission. For written permission, please contact + ben.alex@springsource.com. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-aop/LICENSE.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-aop/LICENSE.txt deleted file mode 100644 index ff77379..0000000 --- a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-aop/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - - https://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. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-aop/license.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-aop/license.txt new file mode 100644 index 0000000..00ef819 --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-aop/license.txt @@ -0,0 +1,289 @@ + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + https://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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-aop/notice.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-aop/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-aop/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-beans/LICENSE.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-beans/LICENSE.txt deleted file mode 100644 index ff77379..0000000 --- a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-beans/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - - https://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. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-beans/license.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-beans/license.txt new file mode 100644 index 0000000..00ef819 --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-beans/license.txt @@ -0,0 +1,289 @@ + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + https://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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-beans/notice.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-beans/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-beans/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-context/LICENSE.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-context/LICENSE.txt deleted file mode 100644 index ff77379..0000000 --- a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-context/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - - https://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. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-context/license.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-context/license.txt new file mode 100644 index 0000000..00ef819 --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-context/license.txt @@ -0,0 +1,289 @@ + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + https://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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-context/notice.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-context/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-context/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-core/LICENSE.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-core/LICENSE.txt deleted file mode 100644 index ff77379..0000000 --- a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-core/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - - https://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. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-core/license.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-core/license.txt new file mode 100644 index 0000000..00ef819 --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-core/license.txt @@ -0,0 +1,289 @@ + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + https://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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-core/notice.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-core/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-core/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-expression/LICENSE.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-expression/LICENSE.txt deleted file mode 100644 index ff77379..0000000 --- a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-expression/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - - https://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. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-expression/license.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-expression/license.txt new file mode 100644 index 0000000..00ef819 --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-expression/license.txt @@ -0,0 +1,289 @@ + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + https://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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-expression/notice.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-expression/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-expression/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-jcl/LICENSE.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-jcl/LICENSE.txt deleted file mode 100644 index ff77379..0000000 --- a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-jcl/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - - https://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. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-jcl/license.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-jcl/license.txt new file mode 100644 index 0000000..00ef819 --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-jcl/license.txt @@ -0,0 +1,289 @@ + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + https://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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-jcl/notice.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-jcl/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-jcl/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-messaging/LICENSE.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-messaging/LICENSE.txt deleted file mode 100644 index ff77379..0000000 --- a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-messaging/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - - https://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. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-messaging/license.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-messaging/license.txt new file mode 100644 index 0000000..00ef819 --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-messaging/license.txt @@ -0,0 +1,289 @@ + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + https://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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-messaging/notice.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-messaging/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-messaging/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-web/LICENSE.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-web/LICENSE.txt deleted file mode 100644 index ff77379..0000000 --- a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-web/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - - https://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. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-web/license.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-web/license.txt new file mode 100644 index 0000000..00ef819 --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-web/license.txt @@ -0,0 +1,289 @@ + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + https://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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-web/notice.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-web/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-web/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-websocket/LICENSE.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-websocket/LICENSE.txt deleted file mode 100644 index ff77379..0000000 --- a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-websocket/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - - https://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. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-websocket/license.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-websocket/license.txt new file mode 100644 index 0000000..00ef819 --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-websocket/license.txt @@ -0,0 +1,289 @@ + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + https://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. + +======================================================================= + +SPRING FRAMEWORK 5.3.12 SUBCOMPONENTS: + +Spring Framework 5.3.12 includes a number of subcomponents +with separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + + +>>> ASM 9.1 (org.ow2.asm:asm:9.1, org.ow2.asm:asm-commons:9.1): + +Copyright (c) 2000-2011 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + + +>>> CGLIB 3.3 (cglib:cglib:3.3): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +https://github.com/cglib/cglib/releases/download/RELEASE_3_3_0/cglib-3.3.0.jar, +CGLIB 3.3 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +>>> Objenesis 3.1 (org.objenesis:objenesis:3.1): + +Per the LICENSE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html, Objenesis 3.1 is licensed under the +Apache License, version 2.0, the text of which is included above. + +Per the NOTICE file in the Objenesis ZIP distribution downloaded from +http://objenesis.org/download.html and corresponding to section 4d of the +Apache License, Version 2.0, in this case for Objenesis: + +Objenesis +Copyright 2006-2019 Joe Walnes, Henri Tremblay, Leonardo Mesquita + + +=============================================================================== + +To the extent any open source components are licensed under the EPL and/or +other similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from https://spring.io/projects, Pivotal's website +at https://network.pivotal.io/open-source, or by sending a request, with your +name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San +Francisco, CA 94103, Attention: General Counsel. All such requests should +clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal +can mail a copy of the Source Files to you on a CD or equivalent physical +medium. + +This offer to obtain a copy of the Source Files is valid for three years from +the date you acquired this Software product. Alternatively, the Source Files +may accompany the Software. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-websocket/notice.txt b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-websocket/notice.txt new file mode 100644 index 0000000..76f224b --- /dev/null +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/org.springframework_spring-websocket/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 5.3.12 +Copyright (c) 2002-2021 Pivotal, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +This product may include a number of subcomponents with separate +copyright notices and license terms. Your use of the source code for +these subcomponents is subject to the terms and conditions of the +subcomponent's license, as noted in the license.txt file. diff --git a/castor-upload-java-client/3RD-PARTY-LICENSES/sbom.xml b/castor-upload-java-client/3RD-PARTY-LICENSES/sbom.xml index 1da5d38..6c406d4 100644 --- a/castor-upload-java-client/3RD-PARTY-LICENSES/sbom.xml +++ b/castor-upload-java-client/3RD-PARTY-LICENSES/sbom.xml @@ -4,7 +4,7 @@ Apache Commons Codec commons-codec commons-codec - 1.13 + 1.15 https://commons.apache.org/proper/commons-codec/ @@ -30,8 +30,8 @@ Apache Commons Lang org.apache.commons commons-lang3 - 3.9 - http://commons.apache.org/proper/commons-lang/ + 3.12.0 + https://commons.apache.org/proper/commons-lang/ Apache License, Version 2.0 @@ -43,7 +43,7 @@ Apache HttpClient org.apache.httpcomponents httpclient - 4.5.10 + 4.5.13 http://hc.apache.org/httpcomponents-client @@ -56,7 +56,7 @@ Apache HttpCore org.apache.httpcomponents httpcore - 4.4.13 + 4.4.14 http://hc.apache.org/httpcomponents-core-ga @@ -65,6 +65,19 @@ + + AssertJ fluent assertions + org.assertj + assertj-core + 3.21.0 + https://assertj.github.io/doc/assertj-core/ + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + Carbyne Stack Java HTTP Client io.carbynestack @@ -105,7 +118,7 @@ Jackson-annotations com.fasterxml.jackson.core jackson-annotations - 2.10.2 + 2.12.5 http://github.com/FasterXML/jackson @@ -118,7 +131,7 @@ Jackson-core com.fasterxml.jackson.core jackson-core - 2.10.2 + 2.12.5 https://github.com/FasterXML/jackson-core @@ -131,7 +144,7 @@ jackson-databind com.fasterxml.jackson.core jackson-databind - 2.10.2 + 2.12.5 http://github.com/FasterXML/jackson @@ -140,6 +153,19 @@ + + javax.annotation API + javax.annotation + javax.annotation-api + 1.3.2 + http://jcp.org/en/jsr/detail?id=250 + + + CDDL + GPLv2 with classpath exception + https://github.com/javaee/javax.annotation/blob/master/LICENSE + + + JUL to SLF4J bridge org.slf4j @@ -157,7 +183,7 @@ Project Lombok org.projectlombok lombok - 1.18.18 + 1.18.20 https://projectlombok.org @@ -183,7 +209,7 @@ Spring AOP org.springframework spring-aop - 5.2.3.RELEASE + 5.3.12 https://github.com/spring-projects/spring-framework @@ -196,7 +222,7 @@ Spring Beans org.springframework spring-beans - 5.2.3.RELEASE + 5.3.12 https://github.com/spring-projects/spring-framework @@ -209,7 +235,7 @@ Spring Commons Logging Bridge org.springframework spring-jcl - 5.2.3.RELEASE + 5.3.12 https://github.com/spring-projects/spring-framework @@ -222,7 +248,7 @@ Spring Context org.springframework spring-context - 5.2.3.RELEASE + 5.3.12 https://github.com/spring-projects/spring-framework @@ -235,7 +261,7 @@ Spring Core org.springframework spring-core - 5.2.3.RELEASE + 5.3.12 https://github.com/spring-projects/spring-framework @@ -248,7 +274,7 @@ Spring Expression Language (SpEL) org.springframework spring-expression - 5.2.3.RELEASE + 5.3.12 https://github.com/spring-projects/spring-framework @@ -261,7 +287,7 @@ Spring Messaging org.springframework spring-messaging - 5.2.3.RELEASE + 5.3.12 https://github.com/spring-projects/spring-framework @@ -274,7 +300,7 @@ Spring Retry org.springframework.retry spring-retry - 1.2.5.RELEASE + 1.3.1 https://www.springsource.org @@ -287,7 +313,7 @@ Spring Web org.springframework spring-web - 5.2.3.RELEASE + 5.3.12 https://github.com/spring-projects/spring-framework @@ -300,7 +326,7 @@ Spring WebSocket org.springframework spring-websocket - 5.2.3.RELEASE + 5.3.12 https://github.com/spring-projects/spring-framework @@ -313,12 +339,25 @@ spring-security-core org.springframework.security spring-security-core - 5.2.1.RELEASE - http://spring.io/spring-security + 5.5.3 + https://spring.io/projects/spring-security - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0 + + + + + spring-security-crypto + org.springframework.security + spring-security-crypto + 5.5.3 + https://spring.io/projects/spring-security + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0 @@ -326,12 +365,12 @@ spring-security-web org.springframework.security spring-security-web - 5.2.1.RELEASE - http://spring.io/spring-security + 5.5.3 + https://spring.io/projects/spring-security - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0 @@ -339,7 +378,7 @@ tomcat-annotations-api org.apache.tomcat tomcat-annotations-api - 9.0.30 + 9.0.54 https://tomcat.apache.org/ @@ -352,7 +391,7 @@ tomcat-embed-core org.apache.tomcat.embed tomcat-embed-core - 9.0.30 + 9.0.54 https://tomcat.apache.org/ @@ -365,7 +404,7 @@ tomcat-embed-websocket org.apache.tomcat.embed tomcat-embed-websocket - 9.0.30 + 9.0.54 https://tomcat.apache.org/ diff --git a/castor-upload-java-client/pom.xml b/castor-upload-java-client/pom.xml index f652107..23bdf5a 100644 --- a/castor-upload-java-client/pom.xml +++ b/castor-upload-java-client/pom.xml @@ -89,9 +89,24 @@ + + org.assertj + assertj-core + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + org.mockito mockito-core + ${mockito.version} test @@ -100,8 +115,8 @@ test - org.hamcrest - hamcrest-junit + org.mockito + mockito-junit-jupiter test @@ -129,17 +144,18 @@ org.springframework.boot spring-boot-starter-test test + + + junit + junit + + org.slf4j jul-to-slf4j ${slf4j.version} - - junit - junit - test - diff --git a/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/DefaultCastorUploadClientTest.java b/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/DefaultCastorUploadClientTest.java index 7ff5334..f7daf51 100644 --- a/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/DefaultCastorUploadClientTest.java +++ b/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/DefaultCastorUploadClientTest.java @@ -6,7 +6,7 @@ */ package io.carbynestack.castor.client.upload; -import static org.junit.Assert.*; +import static org.junit.jupiter.api.Assertions.*; import static org.mockito.Mockito.*; import io.carbynestack.castor.client.upload.websocket.ResponseCollector; @@ -20,25 +20,25 @@ import io.carbynestack.httpclient.CsHttpClientException; import io.vavr.control.Option; import java.io.File; +import java.io.IOException; import java.nio.file.Files; import java.security.NoSuchAlgorithmException; import java.util.List; import java.util.UUID; import java.util.concurrent.TimeUnit; -import lombok.SneakyThrows; import org.apache.http.Header; import org.assertj.core.util.Lists; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.ArgumentCaptor; import org.mockito.MockedConstruction; import org.mockito.MockedStatic; -import org.mockito.junit.MockitoJUnitRunner; +import org.mockito.junit.jupiter.MockitoExtension; import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler; -@RunWith(MockitoJUnitRunner.class) -public class DefaultCastorUploadClientTest { +@ExtendWith(MockitoExtension.class) +class DefaultCastorUploadClientTest { private WebSocketClient webSocketClientMock; private BearerTokenProvider bearerTokenProviderMock; @@ -51,8 +51,7 @@ public class DefaultCastorUploadClientTest { private DefaultCastorUploadClient castorUploadClient; - @SneakyThrows - @Before + @BeforeEach public void setUp() { csHttpClientMock = mock(CsHttpClient.class); webSocketClientMock = mock(WebSocketClient.class); @@ -72,16 +71,15 @@ public void setUp() { } @Test - public void givenServiceAddressesIsNull_whenGetBuilderInstance_thenThrowNullPointerException() { + void givenServiceAddressesIsNull_whenGetBuilderInstance_thenThrowNullPointerException() { NullPointerException actualIae = assertThrows( NullPointerException.class, () -> DefaultCastorUploadClient.builder(null).build()); assertEquals("serviceAddress is marked non-null but is null", actualIae.getMessage()); } - @SneakyThrows @Test - public void givenConfiguration_whenBuildClient_thenInitializeAccordingly() { + void givenConfiguration_whenBuildClient_thenInitializeAccordingly() throws IOException { CastorServiceUri expectedServiceUri = new CastorServiceUri("https://castor.carbynestack.io:8080"); int expectedServerHeartbeat = 100; @@ -117,9 +115,9 @@ public void givenConfiguration_whenBuildClient_thenInitializeAccordingly() { } } - @SneakyThrows @Test - public void givenHttpClientConstructionFails_whenConstruct_thenThrowCastorClientException() { + void givenHttpClientConstructionFails_whenConstruct_thenThrowCastorClientException() + throws CsHttpClientException { CsHttpClientException expectedCause = new CsHttpClientException("totally Expected"); DefaultCastorUploadClient.Builder uploadClientBuilderMock = mock(DefaultCastorUploadClient.Builder.class, RETURNS_SELF); @@ -139,9 +137,8 @@ public void givenHttpClientConstructionFails_whenConstruct_thenThrowCastorClient } } - @SneakyThrows @Test - public void givenWebSocketClientConstructionFails_whenConstruct_thenThrowCastorClientException() { + void givenWebSocketClientConstructionFails_whenConstruct_thenThrowCastorClientException() { NoSuchAlgorithmException expectedCause = new NoSuchAlgorithmException("totally Expected"); DefaultCastorUploadClient.Builder uploadClientBuilderMock = mock(DefaultCastorUploadClient.Builder.class, RETURNS_SELF); @@ -179,7 +176,7 @@ public void givenWebSocketClientConstructionFails_whenConstruct_thenThrowCastorC } @Test - public void givenToManyTuples_whenUploadTupleChunk_thenThrowIllegalArgumentException() { + void givenToManyTuples_whenUploadTupleChunk_thenThrowIllegalArgumentException() { TupleChunk largeTupleChunk = mock(TupleChunk.class); when(largeTupleChunk.getNumberOfTuples()) .thenReturn(DefaultCastorUploadClient.MAXIMUM_NUMBER_OF_TUPLES + 1); @@ -195,9 +192,8 @@ public void givenToManyTuples_whenUploadTupleChunk_thenThrowIllegalArgumentExcep actualIae.getMessage()); } - @SneakyThrows @Test - public void givenUploadTimesOut_whenUploadTupleChunk_thenReturnFalse() { + void givenUploadTimesOut_whenUploadTupleChunk_thenReturnFalse() throws InterruptedException { boolean expectedReturnValue = false; UUID tupleChunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); TupleChunk tupleChunk = mock(TupleChunk.class); @@ -214,9 +210,8 @@ public void givenUploadTimesOut_whenUploadTupleChunk_thenReturnFalse() { assertEquals(expectedReturnValue, actualReturnValue); } - @SneakyThrows @Test - public void givenThreadIsInterrupted_whenUploadTupleChunk_thenReturnFalse() { + void givenThreadIsInterrupted_whenUploadTupleChunk_thenReturnFalse() throws InterruptedException { boolean expectedReturnValue = false; UUID tupleChunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); TupleChunk tupleChunk = mock(TupleChunk.class); @@ -233,9 +228,8 @@ public void givenThreadIsInterrupted_whenUploadTupleChunk_thenReturnFalse() { assertEquals(expectedReturnValue, actualReturnValue); } - @SneakyThrows @Test - public void givenSuccessfulRequest_whenUploadTupleChunk_thenReturnTrue() { + void givenSuccessfulRequest_whenUploadTupleChunk_thenReturnTrue() throws InterruptedException { UUID tupleChunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); TupleChunk tupleChunk = mock(TupleChunk.class); when(tupleChunk.getNumberOfTuples()) @@ -251,10 +245,9 @@ public void givenSuccessfulRequest_whenUploadTupleChunk_thenReturnTrue() { assertEquals(true, actualReturnValue); } - @SneakyThrows @Test - public void - givenActivationFailsForOneEndpoint_whenActivateTupleChunk_thenThrowCastorClientException() { + void givenActivationFailsForOneEndpoint_whenActivateTupleChunk_thenThrowCastorClientException() + throws CsHttpClientException { UUID tupleChunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); String bearerToken = "testBearerToken"; when(bearerTokenProviderMock.apply(serviceUri)).thenReturn(bearerToken); @@ -280,13 +273,13 @@ public void givenSuccessfulRequest_whenUploadTupleChunk_thenReturnTrue() { } @Test - public void givenSuccessfulRequest_whenDisconnectWebSocket_thenCallDisconnectOnEachClient() { + void givenSuccessfulRequest_whenDisconnectWebSocket_thenCallDisconnectOnEachClient() { castorUploadClient.disconnectWebSocket(); verify(webSocketClientMock).disconnect(); } @Test - public void givenConnectionAttemptTimesOut_whenConnectWebSocket_thenThrowCastorClientException() { + void givenConnectionAttemptTimesOut_whenConnectWebSocket_thenThrowCastorClientException() { when(webSocketClientMock.isConnected()).thenReturn(false); CastorClientException actualCce = assertThrows(CastorClientException.class, () -> castorUploadClient.connectWebSocket(100)); @@ -298,7 +291,7 @@ public void givenConnectionAttemptTimesOut_whenConnectWebSocket_thenThrowCastorC } @Test - public void givenConnectionSuccessful_whenConnectWebSocket_thenDoNothing() { + void givenConnectionSuccessful_whenConnectWebSocket_thenDoNothing() { when(webSocketClientMock.isConnected()).thenReturn(true); castorUploadClient.connectWebSocket(50); verify(webSocketClientMock).connect(); @@ -306,9 +299,8 @@ public void givenConnectionSuccessful_whenConnectWebSocket_thenDoNothing() { verifyNoMoreInteractions(webSocketClientMock); } - @SneakyThrows @Test - public void givenValidConfiguration_whenInitializeWebSocketClients_thenReturnClients() { + void givenValidConfiguration_whenInitializeWebSocketClients_thenReturnClients() { String bearerToken = "testBearerToken"; try (MockedStatic webSocketClientMockedStatic = mockStatic(WebSocketClient.class)) { diff --git a/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/websocket/ReconnectSchedulerTest.java b/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/websocket/ReconnectSchedulerTest.java index 0c4ae28..67852fa 100644 --- a/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/websocket/ReconnectSchedulerTest.java +++ b/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/websocket/ReconnectSchedulerTest.java @@ -6,23 +6,21 @@ */ package io.carbynestack.castor.client.upload.websocket; -import static org.junit.Assert.assertEquals; +import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.Mockito.*; import io.carbynestack.castor.client.upload.websocket.ReconnectScheduler.ReconnectTask; import java.util.Timer; -import lombok.SneakyThrows; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.MockedConstruction; -import org.mockito.junit.MockitoJUnitRunner; +import org.mockito.junit.jupiter.MockitoExtension; -@RunWith(MockitoJUnitRunner.class) -public class ReconnectSchedulerTest { +@ExtendWith(MockitoExtension.class) +class ReconnectSchedulerTest { - @SneakyThrows @Test - public void givenDisconnectionClient_whenCreate_thenInitializeTimerAndRetryConnection() { + void givenDisconnectionClient_whenCreate_thenInitializeTimerAndRetryConnection() { long expectedDelay = 0L; long expectedRate = 1L; WebSocketClient webSocketClientMock = mock(WebSocketClient.class); @@ -42,9 +40,8 @@ public void givenDisconnectionClient_whenCreate_thenInitializeTimerAndRetryConne } } - @SneakyThrows @Test - public void givenDisconnectionClient_whenRunReconnectTask_thenCallConnect() { + void givenDisconnectionClient_whenRunReconnectTask_thenCallConnect() { WebSocketClient webSocketClientMock = mock(WebSocketClient.class); when(webSocketClientMock.isConnected()).thenReturn(false); ReconnectTask reconnectTask = new ReconnectTask(webSocketClientMock); @@ -53,9 +50,8 @@ public void givenDisconnectionClient_whenRunReconnectTask_thenCallConnect() { verify(webSocketClientMock).connect(); } - @SneakyThrows @Test - public void givenConnectedClient_whenRunReconnectTask_thenDoNothing() { + void givenConnectedClient_whenRunReconnectTask_thenDoNothing() { WebSocketClient webSocketClientMock = mock(WebSocketClient.class); when(webSocketClientMock.isConnected()).thenReturn(true); ReconnectTask reconnectTask = new ReconnectTask(webSocketClientMock); diff --git a/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/websocket/ResponseCollectorTest.java b/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/websocket/ResponseCollectorTest.java index dd911b2..045bf35 100644 --- a/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/websocket/ResponseCollectorTest.java +++ b/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/websocket/ResponseCollectorTest.java @@ -7,17 +7,16 @@ package io.carbynestack.castor.client.upload.websocket; -import static org.junit.Assert.*; +import static org.junit.jupiter.api.Assertions.*; import java.util.UUID; import java.util.concurrent.TimeUnit; -import lombok.SneakyThrows; -import org.junit.Test; +import org.junit.jupiter.api.Test; -public class ResponseCollectorTest { +class ResponseCollectorTest { @Test - public void givenActiveUploadRequestForId_whenRegisterUploadRequest_thenDoNothing() { + void givenActiveUploadRequestForId_whenRegisterUploadRequest_thenDoNothing() { ResponseCollector responseCollector = new ResponseCollector(); UUID existingRegisteredChunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); ResponseCollector.ActiveUploadRequest existingActiveUploadRequest = @@ -34,7 +33,7 @@ public void givenActiveUploadRequestForId_whenRegisterUploadRequest_thenDoNothin } @Test - public void + void givenNoActiveUploadRegisteredForId_whenRegisterUploadRequest_thenCreateNewActiveUploadRequest() { UUID chunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); ResponseCollector responseCollector = new ResponseCollector(); @@ -47,24 +46,23 @@ public void givenActiveUploadRequestForId_whenRegisterUploadRequest_thenDoNothin } @Test - public void givenNoActiveUploadRequestForId_whenApplyResponse_thenDoNothing() { + void givenNoActiveUploadRequestForId_whenApplyResponse_thenDoNothing() { ResponseCollector responseCollector = new ResponseCollector(); UUID unregisteredChunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); responseCollector.applyResponse(unregisteredChunkId, true); assertTrue(responseCollector.activeUploadRequests.isEmpty()); } - @SneakyThrows @Test - public void givenNoActiveUploadRequestForId_whenWaitForRequest_thenReturnFalse() { + void givenNoActiveUploadRequestForId_whenWaitForRequest_thenReturnFalse() + throws InterruptedException { ResponseCollector responseCollector = new ResponseCollector(); UUID unregisteredChunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); assertFalse(responseCollector.waitForRequest(unregisteredChunkId, 0, TimeUnit.MILLISECONDS)); } - @SneakyThrows @Test - public void givenUploadRequestTimesOut_whenWaitForRequest_thenReturnFalse() { + void givenUploadRequestTimesOut_whenWaitForRequest_thenReturnFalse() throws InterruptedException { UUID chunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); ResponseCollector responseCollector = new ResponseCollector(); responseCollector.registerUploadRequest(chunkId); @@ -72,9 +70,8 @@ public void givenUploadRequestTimesOut_whenWaitForRequest_thenReturnFalse() { assertFalse(responseCollector.waitForRequest(chunkId, 0, TimeUnit.MILLISECONDS)); } - @SneakyThrows @Test - public void givenRequestReturnedFalse_whenWaitForRequest_thenReturnFalse() { + void givenRequestReturnedFalse_whenWaitForRequest_thenReturnFalse() throws InterruptedException { UUID chunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); ResponseCollector.ActiveUploadRequest givenActiveUploadRequest = new ResponseCollector.ActiveUploadRequest(); @@ -85,9 +82,9 @@ public void givenRequestReturnedFalse_whenWaitForRequest_thenReturnFalse() { assertFalse(responseCollector.waitForRequest(chunkId, 0, TimeUnit.MILLISECONDS)); } - @SneakyThrows @Test - public void givenSuccessfulUploadRequest_whenWaitForRequest_thenReturnSuccess() { + void givenSuccessfulUploadRequest_whenWaitForRequest_thenReturnSuccess() + throws InterruptedException { UUID chunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); ResponseCollector.ActiveUploadRequest givenActiveUploadRequest = new ResponseCollector.ActiveUploadRequest(); diff --git a/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/websocket/WebSocketClientTest.java b/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/websocket/WebSocketClientTest.java index b54a930..bc63e33 100644 --- a/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/websocket/WebSocketClientTest.java +++ b/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/websocket/WebSocketClientTest.java @@ -11,8 +11,8 @@ import static io.carbynestack.castor.common.entities.Field.GFP; import static io.carbynestack.castor.common.rest.CastorRestApiEndpoints.UPLOAD_TUPLES_ENDPOINT; import static io.carbynestack.castor.common.websocket.CastorWebSocketApiEndpoints.APPLICATION_PREFIX; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertThrows; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.Mockito.*; import static org.springframework.util.MimeTypeUtils.APPLICATION_OCTET_STREAM_VALUE; @@ -24,18 +24,18 @@ import io.carbynestack.castor.common.websocket.UploadTupleChunkResponse; import io.vavr.control.Option; import java.net.URI; +import java.security.NoSuchAlgorithmException; import java.util.UUID; import javax.websocket.ContainerProvider; import javax.websocket.WebSocketContainer; -import lombok.SneakyThrows; import org.apache.commons.lang3.RandomUtils; import org.apache.commons.lang3.SerializationUtils; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.ArgumentCaptor; import org.mockito.MockedConstruction; import org.mockito.MockedStatic; -import org.mockito.junit.MockitoJUnitRunner; +import org.mockito.junit.jupiter.MockitoExtension; import org.springframework.messaging.simp.stomp.StompHeaders; import org.springframework.messaging.simp.stomp.StompSession; import org.springframework.util.concurrent.ListenableFuture; @@ -43,8 +43,8 @@ import org.springframework.web.socket.WebSocketHttpHeaders; import org.springframework.web.socket.client.standard.StandardWebSocketClient; -@RunWith(MockitoJUnitRunner.class) -public class WebSocketClientTest { +@ExtendWith(MockitoExtension.class) +class WebSocketClientTest { private final CastorServiceUri castorServiceUri = new CastorServiceUri("https://castor.carbynestack.io:8080"); @@ -58,8 +58,7 @@ public class WebSocketClientTest { private final WebSocketSessionHandler sessionHandlerMock; private final WebSocketClient webSocketClient; - @SneakyThrows - public WebSocketClientTest() { + public WebSocketClientTest() throws NoSuchAlgorithmException { responseCollectorMock = mock(ResponseCollector.class); webSocketContainerMock = mock(WebSocketContainer.class); try (MockedStatic csMockedStatic = mockStatic(ContainerProvider.class)) { @@ -85,7 +84,7 @@ public WebSocketClientTest() { } @Test - public void givenBearerTokenDefined_whenConnect_thenConnectWithAdequateHeader() { + void givenBearerTokenDefined_whenConnect_thenConnectWithAdequateHeader() { when(standardWebSocketClientMock.doHandshake( any(WebSocketHandler.class), any(WebSocketHttpHeaders.class), any(URI.class))) .thenReturn(mock(ListenableFuture.class)); @@ -106,7 +105,7 @@ public void givenBearerTokenDefined_whenConnect_thenConnectWithAdequateHeader() } @Test - public void givenConnectionAlreadyEstablished_whenConnect_doNotReinitializeConnection() { + void givenConnectionAlreadyEstablished_whenConnect_doNotReinitializeConnection() { reset(standardWebSocketClientMock); when(sessionHandlerMock.isConnected()).thenReturn(true); @@ -116,14 +115,14 @@ public void givenConnectionAlreadyEstablished_whenConnect_doNotReinitializeConne } @Test - public void givenSessionHandlerDefined_whenDisconnect_thenInvokeDisconnect() { + void givenSessionHandlerDefined_whenDisconnect_thenInvokeDisconnect() { webSocketClient.disconnect(); verify(sessionHandlerMock, times(1)).disconnect(); } @Test - public void givenEstablishedNotConnection_whenSend_thenThrowConnectionFailedException() { + void givenEstablishedNotConnection_whenSend_thenThrowConnectionFailedException() { when(webSocketClient.isConnected()).thenReturn(false); ConnectionFailedException actualCfe = assertThrows(ConnectionFailedException.class, () -> webSocketClient.send(null)); @@ -134,7 +133,7 @@ public void givenEstablishedNotConnection_whenSend_thenThrowConnectionFailedExce } @Test - public void givenEstablishedConnection_whenSend_thenSendExpectedMessage() { + void givenEstablishedConnection_whenSend_thenSendExpectedMessage() { TupleType tupleType = TupleType.BIT_GFP; UUID chunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); byte[] tupleData = @@ -166,7 +165,7 @@ public void givenEstablishedConnection_whenSend_thenSendExpectedMessage() { } @Test - public void givenUnsupportedPayload_whenHandleFrame_thenThrowUnsupportedPayloadException() { + void givenUnsupportedPayload_whenHandleFrame_thenThrowUnsupportedPayloadException() { String unsupportedPayload = "Unsupported payload"; UnsupportedPayloadException actualUpe = assertThrows( @@ -176,7 +175,7 @@ public void givenUnsupportedPayload_whenHandleFrame_thenThrowUnsupportedPayloadE } @Test - public void givenResponseMessageHasNoChunkIdDefined_whenHandleFrame_thenDiscardMessage() { + void givenResponseMessageHasNoChunkIdDefined_whenHandleFrame_thenDiscardMessage() { reset(responseCollectorMock); UploadTupleChunkResponse responseWithoutId = UploadTupleChunkResponse.failure(null, "failure"); byte[] payload = SerializationUtils.serialize(responseWithoutId); @@ -185,7 +184,7 @@ public void givenResponseMessageHasNoChunkIdDefined_whenHandleFrame_thenDiscardM } @Test - public void givenValidResponseMessage_whenHandleFrame_thenProcessAccordingly() { + void givenValidResponseMessage_whenHandleFrame_thenProcessAccordingly() { UUID chunkId = UUID.fromString("80fbba1b-3da8-4b1e-8a2c-cebd65229fad"); UploadTupleChunkResponse successfulResponse = UploadTupleChunkResponse.success(chunkId); byte[] payload = SerializationUtils.serialize(successfulResponse); diff --git a/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/websocket/WebSocketSessionHandlerTest.java b/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/websocket/WebSocketSessionHandlerTest.java index e25d55d..f534c32 100644 --- a/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/websocket/WebSocketSessionHandlerTest.java +++ b/castor-upload-java-client/src/test/java/io/carbynestack/castor/client/upload/websocket/WebSocketSessionHandlerTest.java @@ -8,30 +8,29 @@ package io.carbynestack.castor.client.upload.websocket; import static io.carbynestack.castor.common.websocket.CastorWebSocketApiEndpoints.RESPONSE_QUEUE_ENDPOINT; -import static org.junit.Assert.assertEquals; +import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.Mockito.*; import java.lang.reflect.Field; -import lombok.SneakyThrows; -import org.junit.Before; -import org.junit.Test; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; import org.mockito.MockedConstruction; import org.springframework.messaging.simp.stomp.StompSession; -public class WebSocketSessionHandlerTest { +class WebSocketSessionHandlerTest { private WebSocketClient webSocketClientMock; private WebSocketSessionHandler webSocketSessionHandler; - @Before + @BeforeEach public void setup() { webSocketClientMock = mock(WebSocketClient.class); webSocketSessionHandler = new WebSocketSessionHandler(webSocketClientMock); } - @SneakyThrows @Test - public void - givenActiveConnectionScheduler_whenAfterConnect_thenSubscribeToResponseMessagesAndDestroyScheduler() { + void + givenActiveConnectionScheduler_whenAfterConnect_thenSubscribeToResponseMessagesAndDestroyScheduler() + throws NoSuchFieldException, IllegalAccessException { Field reconnectSchedulerField = WebSocketSessionHandler.class.getDeclaredField("reconnectScheduler"); reconnectSchedulerField.setAccessible(true); @@ -46,10 +45,9 @@ public void setup() { verify(sessionMock, times(1)).subscribe(RESPONSE_QUEUE_ENDPOINT, webSocketClientMock); } - @SneakyThrows @Test - public void - givenSessionIsDisconnected_whenHandleTransportError_thenInitializeConnectionScheduler() { + void givenSessionIsDisconnected_whenHandleTransportError_thenInitializeConnectionScheduler() + throws IllegalAccessException, NoSuchFieldException { Field sessionField = WebSocketSessionHandler.class.getDeclaredField("session"); sessionField.setAccessible(true); StompSession sessionMock = mock(StompSession.class); diff --git a/pom.xml b/pom.xml index d2fce09..37bca60 100644 --- a/pom.xml +++ b/pom.xml @@ -69,14 +69,14 @@ 0.1-SNAPSHOT-1257534854-1-46815a7 + 3.21.0 2.9.0 - 2.0.0.0 - 4.13 + 5.8.1 2.14.1 - 1.18.18 - 3.11.2 + 1.18.20 + 3.12.4 1.7.30 - 2.2.4.RELEASE + 2.5.6 0.10.3 @@ -130,6 +130,9 @@ ${skip.tests} false + + ${basedir}/target/classes + @@ -206,9 +209,9 @@ - org.mockito - mockito-core - ${mockito.version} + org.assertj + assertj-core + ${assertj.version} test @@ -218,16 +221,17 @@ test - org.hamcrest - hamcrest-junit - ${hamcrest-junit.version} + org.mockito + mockito-junit-jupiter + ${mockito.version} test - junit - junit + org.junit + junit-bom ${junit.version} - test + import + pom