From cb05ad9211b2191f197cd2efd240dbc88050b54f Mon Sep 17 00:00:00 2001 From: Dmitry Tsitelov Date: Fri, 26 May 2017 17:29:07 +0300 Subject: [PATCH] Initial public commit: Chameleon v6 --- .gitignore | 6 + LICENSE.txt | 674 ++++++++++++++++ NOTICE | 23 + README.md | 86 ++ build.gradle | 64 ++ dependency-license.html | 754 ++++++++++++++++++ gradle.properties | 4 + gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 54212 bytes gradle/wrapper/gradle-wrapper.properties | 6 + gradlew | 172 ++++ gradlew.bat | 84 ++ .../webjars/angular/1.6.4/LICENSE.md | 21 + .../resources/webjars/angular/1.6.4/README.md | 64 ++ .../webjars/angular-animate/1.6.3/LICENSE.md | 21 + .../webjars/angular-animate/1.6.3/README.md | 68 ++ .../webjars/angular-bootstrap/2.5.0/README.md | 120 +++ .../webjars/angular-route/1.6.3/LICENSE.md | 21 + .../webjars/angular-route/1.6.3/README.md | 68 ++ .../webjars/angular-sanitize/1.6.3/LICENSE.md | 21 + .../webjars/angular-sanitize/1.6.3/README.md | 68 ++ .../webjars/angularjs/1.6.3/LICENSE.md | 21 + .../webjars/angularjs/1.6.3/README.md | 64 ++ licenses/classmate-1.3.3.jar/META-INF/LICENSE | 7 + licenses/classmate-1.3.3.jar/META-INF/NOTICE | 6 + licenses/dom4j-1.6.1.jar/META-INF/LICENSE.txt | 40 + licenses/index.html | 12 + .../META-INF/LICENSE | 8 + .../jackson-core-2.8.7.jar/META-INF/LICENSE | 8 + .../jackson-core-2.8.7.jar/META-INF/NOTICE | 20 + .../META-INF/LICENSE | 8 + .../META-INF/NOTICE | 20 + .../META-INF/LICENSE.txt | 263 ++++++ .../META-INF/LICENSE.txt | 202 +++++ licenses/jsoup-1.10.2.jar/META-INF/LICENSE | 21 + licenses/jsoup-1.10.2.jar/META-INF/README | 17 + .../liquibase-core-3.5.3.jar/dist/LICENSE.txt | 202 +++++ .../liquibase-core-3.5.3.jar/dist/README.txt | 52 ++ .../dist/sdk/vagrant/install-files/README.txt | 1 + .../dist/sdk/vagrant/readme.md | 49 ++ .../META-INF/LICENSE.txt | 41 + .../META-INF/license.txt | 279 +++++++ .../META-INF/notice.txt | 11 + .../META-INF/license.txt | 279 +++++++ .../META-INF/notice.txt | 11 + .../META-INF/license.txt | 279 +++++++ .../META-INF/notice.txt | 11 + .../META-INF/license.txt | 279 +++++++ .../META-INF/notice.txt | 11 + .../META-INF/license.txt | 279 +++++++ .../META-INF/notice.txt | 11 + .../license.txt | 216 +++++ .../notice.txt | 10 + .../readme.txt | 14 + .../license.txt | 216 +++++ .../notice.txt | 10 + .../readme.txt | 17 + .../META-INF/license.txt | 279 +++++++ .../META-INF/notice.txt | 11 + .../license.txt | 216 +++++ .../notice.txt | 10 + .../META-INF/license.txt | 279 +++++++ .../META-INF/notice.txt | 11 + .../META-INF/license.txt | 279 +++++++ .../META-INF/notice.txt | 11 + .../META-INF/license.txt | 279 +++++++ .../META-INF/notice.txt | 11 + .../META-INF/license.txt | 279 +++++++ .../META-INF/notice.txt | 11 + .../META-INF/license.txt | 279 +++++++ .../META-INF/notice.txt | 11 + .../META-INF/LICENSE | 560 +++++++++++++ .../META-INF/NOTICE | 27 + .../META-INF/LICENSE | 202 +++++ .../META-INF/NOTICE | 5 + .../META-INF/LICENSE | 202 +++++ .../META-INF/NOTICE | 5 + licenses/tomcat-jdbc-8.5.11.jar/LICENSE | 201 +++++ licenses/tomcat-jdbc-8.5.11.jar/NOTICE | 6 + .../tomcat-juli-8.5.11.jar/META-INF/LICENSE | 202 +++++ .../tomcat-juli-8.5.11.jar/META-INF/NOTICE | 5 + liquibase.gradle | 37 + publishing.gradle | 50 ++ settings.gradle | 1 + .../chameleon/ChameleonApplication.java | 39 + .../ConfluenceImportConfiguration.java | 86 ++ .../RepositoryConfiguration.java | 39 + .../configuration/SwaggerConfiguration.java | 48 ++ .../chameleon/converter/CommitConverter.java | 49 ++ .../converter/CommitViewCellConverter.java | 64 ++ .../converter/PaletteViewCellConverter.java | 60 ++ .../com/devexperts/chameleon/dto/AuthDTO.java | 46 ++ .../devexperts/chameleon/dto/CommitDTO.java | 62 ++ .../chameleon/dto/CommitViewCellDTO.java | 97 +++ .../devexperts/chameleon/dto/PaletteDTO.java | 56 ++ .../chameleon/dto/PaletteDiffViewDTO.java | 43 + .../chameleon/dto/PaletteViewCellDTO.java | 88 ++ .../chameleon/dto/PaletteViewDTO.java | 43 + .../chameleon/dto/SaveVariableDTO.java | 55 ++ .../chameleon/dto/UiComponentDTO.java | 67 ++ .../devexperts/chameleon/dto/VariableDTO.java | 64 ++ .../chameleon/dto/VariableSnapshotDTO.java | 80 ++ .../chameleon/dto/VariableViewDTO.java | 63 ++ .../chameleon/entity/BaseEntity.java | 92 +++ .../chameleon/entity/ColorEntity.java | 60 ++ .../chameleon/entity/CommitEntity.java | 89 +++ .../chameleon/entity/PaletteEntity.java | 66 ++ .../chameleon/entity/ProductEntity.java | 71 ++ .../chameleon/entity/UiComponentEntity.java | 68 ++ .../chameleon/entity/VariableEntity.java | 76 ++ .../entity/VariableSnapshotEntity.java | 113 +++ .../ArgumentNotValidCustomException.java | 41 + .../exception/BaseCustomException.java | 70 ++ .../exception/CommonExceptionHandler.java | 82 ++ .../EntityNotFoundCustomException.java | 43 + .../chameleon/exception/ErrorCode.java | 30 + .../repository/CommitRepository.java | 82 ++ .../repository/PaletteRepository.java | 197 +++++ .../repository/UiComponentRepository.java | 42 + .../repository/VariableRepository.java | 52 ++ .../VariableSnapshotRepository.java | 104 +++ .../chameleon/service/CommitService.java | 91 +++ .../ConfluenceImportPaletteService.java | 272 +++++++ .../chameleon/service/PaletteService.java | 267 +++++++ .../chameleon/service/UiComponentService.java | 98 +++ .../chameleon/service/VariableService.java | 124 +++ .../service/VariableSnapshotService.java | 400 ++++++++++ .../chameleon/util/ConverterUtils.java | 98 +++ .../chameleon/util/PreconditionUtils.java | 94 +++ .../util/collector/SameValueMapCollector.java | 75 ++ .../chameleon/validator/ColorOpacity.java | 48 ++ .../validator/ColorOpacityValidator.java | 45 ++ .../validator/NotExistingComponentName.java | 48 ++ .../validator/NotExistingPaletteName.java | 44 + .../validator/NotExistingVariableName.java | 44 + .../validator/PaletteNameValidator.java | 48 ++ .../validator/UiComponentNameValidator.java | 48 ++ .../validator/VariableNameValidator.java | 48 ++ .../chameleon/web/api/ErrorResponse.java | 57 ++ .../web/controller/CommitController.java | 65 ++ .../web/controller/ImportController.java | 66 ++ .../web/controller/PaletteController.java | 103 +++ .../web/controller/SwaggerController.java | 43 + .../web/controller/UiComponentController.java | 90 +++ .../web/controller/VariableController.java | 93 +++ .../VariableSnapshotController.java | 151 ++++ .../resources/ValidationMessages.properties | 15 + src/main/resources/application.properties | 16 + .../changelog/db.changelog-0.0.1-schema.xml | 118 +++ .../db/changelog/db.changelog-0.0.4-data.xml | 10 + .../changelog/db.changelog-0.0.4-schema.xml | 40 + .../db/changelog/db.changelog-master.xml | 9 + src/main/resources/liquibase-task.properties | 2 + .../resources/static/images/transparent.png | Bin 0 -> 233 bytes src/main/resources/static/index.html | 82 ++ .../static/scripts/controller/diff.js | 81 ++ .../static/scripts/controller/header.js | 73 ++ .../static/scripts/controller/main.js | 80 ++ .../static/scripts/controller/palette.js | 578 ++++++++++++++ .../static/scripts/service/changes.js | 78 ++ .../static/scripts/service/versions.js | 37 + .../resources/static/styles/chameleon.css | 119 +++ .../static/templates/addPalette.html | 40 + .../templates/dialog/selectCommits.html | 35 + src/main/resources/static/templates/diff.html | 67 ++ .../templates/paletteCopyConfirmation.html | 48 ++ .../resources/static/templates/palettes.html | 84 ++ .../templates/popup/selectSourcePalette.html | 34 + .../static/templates/selectPalettes.html | 59 ++ .../resources/static/templates/variable.html | 84 ++ .../templates/variableDeleteConfirmation.html | 39 + .../chameleon/util/ConverterUtilsTest.java | 41 + ...ponentEntityControllerIntegrationTest.java | 176 ++++ src/test/resources/application.properties | 11 + 173 files changed, 15952 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE.txt create mode 100644 NOTICE create mode 100644 README.md create mode 100644 build.gradle create mode 100644 dependency-license.html create mode 100644 gradle.properties create mode 100644 gradle/wrapper/gradle-wrapper.jar create mode 100644 gradle/wrapper/gradle-wrapper.properties create mode 100755 gradlew create mode 100644 gradlew.bat create mode 100644 licenses/angular-1.6.4.jar/META-INF/resources/webjars/angular/1.6.4/LICENSE.md create mode 100644 licenses/angular-1.6.4.jar/META-INF/resources/webjars/angular/1.6.4/README.md create mode 100644 licenses/angular-animate-1.6.3.jar/META-INF/resources/webjars/angular-animate/1.6.3/LICENSE.md create mode 100644 licenses/angular-animate-1.6.3.jar/META-INF/resources/webjars/angular-animate/1.6.3/README.md create mode 100644 licenses/angular-bootstrap-2.5.0.jar/META-INF/resources/webjars/angular-bootstrap/2.5.0/README.md create mode 100644 licenses/angular-route-1.6.3.jar/META-INF/resources/webjars/angular-route/1.6.3/LICENSE.md create mode 100644 licenses/angular-route-1.6.3.jar/META-INF/resources/webjars/angular-route/1.6.3/README.md create mode 100644 licenses/angular-sanitize-1.6.3.jar/META-INF/resources/webjars/angular-sanitize/1.6.3/LICENSE.md create mode 100644 licenses/angular-sanitize-1.6.3.jar/META-INF/resources/webjars/angular-sanitize/1.6.3/README.md create mode 100644 licenses/angularjs-1.6.3.jar/META-INF/resources/webjars/angularjs/1.6.3/LICENSE.md create mode 100644 licenses/angularjs-1.6.3.jar/META-INF/resources/webjars/angularjs/1.6.3/README.md create mode 100644 licenses/classmate-1.3.3.jar/META-INF/LICENSE create mode 100644 licenses/classmate-1.3.3.jar/META-INF/NOTICE create mode 100644 licenses/dom4j-1.6.1.jar/META-INF/LICENSE.txt create mode 100644 licenses/index.html create mode 100644 licenses/jackson-annotations-2.8.0.jar/META-INF/LICENSE create mode 100644 licenses/jackson-core-2.8.7.jar/META-INF/LICENSE create mode 100644 licenses/jackson-core-2.8.7.jar/META-INF/NOTICE create mode 100644 licenses/jackson-databind-2.8.7.jar/META-INF/LICENSE create mode 100644 licenses/jackson-databind-2.8.7.jar/META-INF/NOTICE create mode 100644 licenses/javax.transaction-api-1.2.jar/META-INF/LICENSE.txt create mode 100644 licenses/jboss-logging-3.3.0.Final.jar/META-INF/LICENSE.txt create mode 100644 licenses/jsoup-1.10.2.jar/META-INF/LICENSE create mode 100644 licenses/jsoup-1.10.2.jar/META-INF/README create mode 100644 licenses/liquibase-core-3.5.3.jar/dist/LICENSE.txt create mode 100644 licenses/liquibase-core-3.5.3.jar/dist/README.txt create mode 100644 licenses/liquibase-core-3.5.3.jar/dist/sdk/vagrant/install-files/README.txt create mode 100644 licenses/liquibase-core-3.5.3.jar/dist/sdk/vagrant/readme.md create mode 100644 licenses/mapstruct-1.0.0.Final.jar/META-INF/LICENSE.txt create mode 100644 licenses/spring-aop-4.3.7.RELEASE.jar/META-INF/license.txt create mode 100644 licenses/spring-aop-4.3.7.RELEASE.jar/META-INF/notice.txt create mode 100644 licenses/spring-aspects-4.3.7.RELEASE.jar/META-INF/license.txt create mode 100644 licenses/spring-aspects-4.3.7.RELEASE.jar/META-INF/notice.txt create mode 100644 licenses/spring-beans-4.3.7.RELEASE.jar/META-INF/license.txt create mode 100644 licenses/spring-beans-4.3.7.RELEASE.jar/META-INF/notice.txt create mode 100644 licenses/spring-context-4.3.7.RELEASE.jar/META-INF/license.txt create mode 100644 licenses/spring-context-4.3.7.RELEASE.jar/META-INF/notice.txt create mode 100644 licenses/spring-core-4.3.7.RELEASE.jar/META-INF/license.txt create mode 100644 licenses/spring-core-4.3.7.RELEASE.jar/META-INF/notice.txt create mode 100644 licenses/spring-data-commons-1.13.1.RELEASE.jar/license.txt create mode 100644 licenses/spring-data-commons-1.13.1.RELEASE.jar/notice.txt create mode 100644 licenses/spring-data-commons-1.13.1.RELEASE.jar/readme.txt create mode 100644 licenses/spring-data-jpa-1.11.1.RELEASE.jar/license.txt create mode 100644 licenses/spring-data-jpa-1.11.1.RELEASE.jar/notice.txt create mode 100644 licenses/spring-data-jpa-1.11.1.RELEASE.jar/readme.txt create mode 100644 licenses/spring-expression-4.3.7.RELEASE.jar/META-INF/license.txt create mode 100644 licenses/spring-expression-4.3.7.RELEASE.jar/META-INF/notice.txt create mode 100644 licenses/spring-hateoas-0.23.0.RELEASE.jar/license.txt create mode 100644 licenses/spring-hateoas-0.23.0.RELEASE.jar/notice.txt create mode 100644 licenses/spring-jdbc-4.3.7.RELEASE.jar/META-INF/license.txt create mode 100644 licenses/spring-jdbc-4.3.7.RELEASE.jar/META-INF/notice.txt create mode 100644 licenses/spring-orm-4.3.7.RELEASE.jar/META-INF/license.txt create mode 100644 licenses/spring-orm-4.3.7.RELEASE.jar/META-INF/notice.txt create mode 100644 licenses/spring-tx-4.3.7.RELEASE.jar/META-INF/license.txt create mode 100644 licenses/spring-tx-4.3.7.RELEASE.jar/META-INF/notice.txt create mode 100644 licenses/spring-web-4.3.7.RELEASE.jar/META-INF/license.txt create mode 100644 licenses/spring-web-4.3.7.RELEASE.jar/META-INF/notice.txt create mode 100644 licenses/spring-webmvc-4.3.7.RELEASE.jar/META-INF/license.txt create mode 100644 licenses/spring-webmvc-4.3.7.RELEASE.jar/META-INF/notice.txt create mode 100644 licenses/tomcat-embed-core-8.5.11.jar/META-INF/LICENSE create mode 100644 licenses/tomcat-embed-core-8.5.11.jar/META-INF/NOTICE create mode 100644 licenses/tomcat-embed-el-8.5.11.jar/META-INF/LICENSE create mode 100644 licenses/tomcat-embed-el-8.5.11.jar/META-INF/NOTICE create mode 100644 licenses/tomcat-embed-websocket-8.5.11.jar/META-INF/LICENSE create mode 100644 licenses/tomcat-embed-websocket-8.5.11.jar/META-INF/NOTICE create mode 100644 licenses/tomcat-jdbc-8.5.11.jar/LICENSE create mode 100644 licenses/tomcat-jdbc-8.5.11.jar/NOTICE create mode 100644 licenses/tomcat-juli-8.5.11.jar/META-INF/LICENSE create mode 100644 licenses/tomcat-juli-8.5.11.jar/META-INF/NOTICE create mode 100644 liquibase.gradle create mode 100644 publishing.gradle create mode 100644 settings.gradle create mode 100644 src/main/java/com/devexperts/chameleon/ChameleonApplication.java create mode 100644 src/main/java/com/devexperts/chameleon/configuration/ConfluenceImportConfiguration.java create mode 100644 src/main/java/com/devexperts/chameleon/configuration/RepositoryConfiguration.java create mode 100644 src/main/java/com/devexperts/chameleon/configuration/SwaggerConfiguration.java create mode 100644 src/main/java/com/devexperts/chameleon/converter/CommitConverter.java create mode 100644 src/main/java/com/devexperts/chameleon/converter/CommitViewCellConverter.java create mode 100644 src/main/java/com/devexperts/chameleon/converter/PaletteViewCellConverter.java create mode 100644 src/main/java/com/devexperts/chameleon/dto/AuthDTO.java create mode 100644 src/main/java/com/devexperts/chameleon/dto/CommitDTO.java create mode 100644 src/main/java/com/devexperts/chameleon/dto/CommitViewCellDTO.java create mode 100644 src/main/java/com/devexperts/chameleon/dto/PaletteDTO.java create mode 100644 src/main/java/com/devexperts/chameleon/dto/PaletteDiffViewDTO.java create mode 100644 src/main/java/com/devexperts/chameleon/dto/PaletteViewCellDTO.java create mode 100644 src/main/java/com/devexperts/chameleon/dto/PaletteViewDTO.java create mode 100644 src/main/java/com/devexperts/chameleon/dto/SaveVariableDTO.java create mode 100644 src/main/java/com/devexperts/chameleon/dto/UiComponentDTO.java create mode 100644 src/main/java/com/devexperts/chameleon/dto/VariableDTO.java create mode 100644 src/main/java/com/devexperts/chameleon/dto/VariableSnapshotDTO.java create mode 100644 src/main/java/com/devexperts/chameleon/dto/VariableViewDTO.java create mode 100644 src/main/java/com/devexperts/chameleon/entity/BaseEntity.java create mode 100644 src/main/java/com/devexperts/chameleon/entity/ColorEntity.java create mode 100644 src/main/java/com/devexperts/chameleon/entity/CommitEntity.java create mode 100644 src/main/java/com/devexperts/chameleon/entity/PaletteEntity.java create mode 100644 src/main/java/com/devexperts/chameleon/entity/ProductEntity.java create mode 100644 src/main/java/com/devexperts/chameleon/entity/UiComponentEntity.java create mode 100644 src/main/java/com/devexperts/chameleon/entity/VariableEntity.java create mode 100644 src/main/java/com/devexperts/chameleon/entity/VariableSnapshotEntity.java create mode 100644 src/main/java/com/devexperts/chameleon/exception/ArgumentNotValidCustomException.java create mode 100644 src/main/java/com/devexperts/chameleon/exception/BaseCustomException.java create mode 100644 src/main/java/com/devexperts/chameleon/exception/CommonExceptionHandler.java create mode 100644 src/main/java/com/devexperts/chameleon/exception/EntityNotFoundCustomException.java create mode 100644 src/main/java/com/devexperts/chameleon/exception/ErrorCode.java create mode 100644 src/main/java/com/devexperts/chameleon/repository/CommitRepository.java create mode 100644 src/main/java/com/devexperts/chameleon/repository/PaletteRepository.java create mode 100644 src/main/java/com/devexperts/chameleon/repository/UiComponentRepository.java create mode 100644 src/main/java/com/devexperts/chameleon/repository/VariableRepository.java create mode 100644 src/main/java/com/devexperts/chameleon/repository/VariableSnapshotRepository.java create mode 100644 src/main/java/com/devexperts/chameleon/service/CommitService.java create mode 100644 src/main/java/com/devexperts/chameleon/service/ConfluenceImportPaletteService.java create mode 100644 src/main/java/com/devexperts/chameleon/service/PaletteService.java create mode 100644 src/main/java/com/devexperts/chameleon/service/UiComponentService.java create mode 100644 src/main/java/com/devexperts/chameleon/service/VariableService.java create mode 100644 src/main/java/com/devexperts/chameleon/service/VariableSnapshotService.java create mode 100644 src/main/java/com/devexperts/chameleon/util/ConverterUtils.java create mode 100644 src/main/java/com/devexperts/chameleon/util/PreconditionUtils.java create mode 100644 src/main/java/com/devexperts/chameleon/util/collector/SameValueMapCollector.java create mode 100644 src/main/java/com/devexperts/chameleon/validator/ColorOpacity.java create mode 100644 src/main/java/com/devexperts/chameleon/validator/ColorOpacityValidator.java create mode 100644 src/main/java/com/devexperts/chameleon/validator/NotExistingComponentName.java create mode 100644 src/main/java/com/devexperts/chameleon/validator/NotExistingPaletteName.java create mode 100644 src/main/java/com/devexperts/chameleon/validator/NotExistingVariableName.java create mode 100644 src/main/java/com/devexperts/chameleon/validator/PaletteNameValidator.java create mode 100644 src/main/java/com/devexperts/chameleon/validator/UiComponentNameValidator.java create mode 100644 src/main/java/com/devexperts/chameleon/validator/VariableNameValidator.java create mode 100644 src/main/java/com/devexperts/chameleon/web/api/ErrorResponse.java create mode 100644 src/main/java/com/devexperts/chameleon/web/controller/CommitController.java create mode 100644 src/main/java/com/devexperts/chameleon/web/controller/ImportController.java create mode 100644 src/main/java/com/devexperts/chameleon/web/controller/PaletteController.java create mode 100644 src/main/java/com/devexperts/chameleon/web/controller/SwaggerController.java create mode 100644 src/main/java/com/devexperts/chameleon/web/controller/UiComponentController.java create mode 100644 src/main/java/com/devexperts/chameleon/web/controller/VariableController.java create mode 100644 src/main/java/com/devexperts/chameleon/web/controller/VariableSnapshotController.java create mode 100644 src/main/resources/ValidationMessages.properties create mode 100644 src/main/resources/application.properties create mode 100644 src/main/resources/db/changelog/db.changelog-0.0.1-schema.xml create mode 100644 src/main/resources/db/changelog/db.changelog-0.0.4-data.xml create mode 100644 src/main/resources/db/changelog/db.changelog-0.0.4-schema.xml create mode 100644 src/main/resources/db/changelog/db.changelog-master.xml create mode 100644 src/main/resources/liquibase-task.properties create mode 100644 src/main/resources/static/images/transparent.png create mode 100644 src/main/resources/static/index.html create mode 100644 src/main/resources/static/scripts/controller/diff.js create mode 100644 src/main/resources/static/scripts/controller/header.js create mode 100644 src/main/resources/static/scripts/controller/main.js create mode 100644 src/main/resources/static/scripts/controller/palette.js create mode 100644 src/main/resources/static/scripts/service/changes.js create mode 100644 src/main/resources/static/scripts/service/versions.js create mode 100644 src/main/resources/static/styles/chameleon.css create mode 100644 src/main/resources/static/templates/addPalette.html create mode 100644 src/main/resources/static/templates/dialog/selectCommits.html create mode 100644 src/main/resources/static/templates/diff.html create mode 100644 src/main/resources/static/templates/paletteCopyConfirmation.html create mode 100644 src/main/resources/static/templates/palettes.html create mode 100644 src/main/resources/static/templates/popup/selectSourcePalette.html create mode 100644 src/main/resources/static/templates/selectPalettes.html create mode 100644 src/main/resources/static/templates/variable.html create mode 100644 src/main/resources/static/templates/variableDeleteConfirmation.html create mode 100644 src/test/java/com/devexperts/chameleon/util/ConverterUtilsTest.java create mode 100644 src/test/java/com/devexperts/chameleon/web/controller/UiComponentEntityControllerIntegrationTest.java create mode 100644 src/test/resources/application.properties diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..93b72b8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.gradle +/build/ +/data/ +/out/ +!gradle/wrapper/gradle-wrapper.jar +/log/* diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. 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 +them 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 prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. 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. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey 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; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If 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 convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU 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 that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + 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. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +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. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + 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 +state 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 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 3 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, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program 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, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU 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 Lesser General +Public License instead of this License. But first, please read +. diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..761baf3 --- /dev/null +++ b/NOTICE @@ -0,0 +1,23 @@ +Chameleon. Color Palette Management Tool. +Copyright (C) 2016-2017 Devexperts LLC + +This product is developed at Devexperts LLC (http://devexperts.com/). +Licensed under the GNU General Public License, Version 3. +Full text of the licence can be found in the LICENSE.txt file. +Source code and documentation are available at . + + +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 3 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, see . + + diff --git a/README.md b/README.md new file mode 100644 index 0000000..5501783 --- /dev/null +++ b/README.md @@ -0,0 +1,86 @@ +Chameleon - Color Palette Management Tool +========================================= + +What is it? +----------- +The Chameleon is a Color Palette Management Tool. +It keeps palette in snapshot format. Each change commits +only once and stored in database. Commit contains +color information (variable, color, opacity) +User can create palettes and variables. Each palette save +will create new commit. You can compare two different versions of palette. + +Download +-------- + +Download binaries of the latest release here: + +. + +Using Chameleon +--------------- + +Start tool: + + chameleon-.jar + +or + + java -jar chameleon-.jar + +Open the link: + + http://localhost:8080/index.html + +Configuration +------------- + +By default application listening localhost on 8080 port and +application use file database, default credentials is 'sa' without password. + +You can change it in application.properties file which has +the same location as **chameleon-< version>.jar** + +* application.properties + + server.port=8080 + spring.datasource.username=sa + spring.datasource.password= + +--- + +In file chameleon-< version> .conf you can change jvm options, format of config: + +* chameleon-< version>.conf + + JAVA_HOME= + JAVA_OPTS= + + + +Licensing +--------- + +Chameleon. + +Copyright (C) 2016-2017 Devexperts LLC + +This product is developed at Devexperts LLC (http://devexperts.com/). +Licensed under the GNU General Public License, Version 3. +Full text of the licence can be found in the LICENSE file. +Source code and documentation are available at . + + +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 3 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, see . + \ No newline at end of file diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..c3a58b0 --- /dev/null +++ b/build.gradle @@ -0,0 +1,64 @@ +buildscript { + ext { + springBootVersion = '1.5.2.RELEASE' + } + repositories { + mavenCentral() + maven { + url 'https://plugins.gradle.org/m2/' + } + maven { + url "http://repository.jboss.org/nexus/content/groups/public/" + } + jcenter() + } + dependencies { + classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") + classpath 'org.liquibase:liquibase-core:3.5.3' + classpath 'net.researchgate:gradle-release:2.4.0' + classpath 'org.hibernate.build.gradle:gradle-maven-publish-auth:2.0.1' + classpath "gradle.plugin.com.github.jk1:gradle-license-report:0.3.11" + classpath('org.liquibase:liquibase-gradle-plugin:1.2.4'){ + exclude(module: 'liquibase-core') + } + } +} + +apply plugin: 'java' +apply plugin: 'org.springframework.boot' +apply plugin: 'net.researchgate.release' +apply plugin: 'maven-publish' +apply plugin: 'maven-publish-auth' +apply plugin: "com.github.jk1.dependency-license-report" + +apply from: 'liquibase.gradle' +apply from: 'publishing.gradle' + +springBoot { + executable = true +} + +repositories { + mavenLocal() + mavenCentral() +} + +dependencies { + compile "org.springframework.boot:spring-boot-starter-actuator" + compile 'org.springframework.boot:spring-boot-starter-data-jpa' + compile 'org.springframework.boot:spring-boot-starter-data-rest' + compile 'org.springframework.boot:spring-boot-starter-web' + compile 'org.springframework.boot:spring-boot-devtools' + compile 'org.webjars.bower:angularjs:1.6.3' + compile 'org.webjars.bower:angular-route:1.6.3' + compile 'org.webjars.bower:angular-animate:1.6.3' + compile 'org.webjars.bower:angular-sanitize:1.6.3' + compile 'org.webjars.bower:angular-bootstrap:2.5.0' + compile 'org.webjars:bootstrap:3.3.7' + compile 'com.h2database:h2:1.4.195' + compile 'io.springfox:springfox-swagger2:2.6.1' + compile 'io.springfox:springfox-swagger-ui:2.6.1' + compile 'org.jsoup:jsoup:1.10.2' + testCompile 'org.springframework.boot:spring-boot-starter-test' + testCompile 'junit:junit:4.12' +} diff --git a/dependency-license.html b/dependency-license.html new file mode 100644 index 0000000..17b3549 --- /dev/null +++ b/dependency-license.html @@ -0,0 +1,754 @@ + + + HTML License report + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Dependency

+
+

Jar

+
+

License name

+
+

License text URL

+
org.webjars.bower:angular-bootstrap:2.5.0angular-bootstrap-2.5.0.jarMIT + Show license agreement +
org.webjars.bower:angular:1.6.4angular-1.6.4.jarMIT + Show license agreement +
org.springframework.boot:spring-boot-starter-jdbc:1.5.2.RELEASEspring-boot-starter-jdbc-1.5.2.RELEASE.jarApache License, Version 2.0 + Show license agreement +
org.springframework.boot:spring-boot-starter-logging:1.5.2.RELEASEspring-boot-starter-logging-1.5.2.RELEASE.jarApache License, Version 2.0 + Show license agreement +
org.springframework:spring-context:4.3.7.RELEASEspring-context-4.3.7.RELEASE.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.springframework.boot:spring-boot-starter-data-jpa:1.5.2.RELEASEspring-boot-starter-data-jpa-1.5.2.RELEASE.jarApache License, Version 2.0 + Show license agreement +
org.atteo:evo-inflector:1.2.1evo-inflector-1.2.1.jarApache License, Version 2.0 +
org.springframework.boot:spring-boot-actuator:1.5.2.RELEASEspring-boot-actuator-1.5.2.RELEASE.jarApache License, Version 2.0 + Show license agreement +
org.slf4j:jcl-over-slf4j:1.7.24jcl-over-slf4j-1.7.24.jarMIT License + Show license agreement +
org.springframework.data:spring-data-rest-webmvc:2.6.1.RELEASEspring-data-rest-webmvc-2.6.1.RELEASE.jarApache License, Version 2.0 + Show license agreement +
com.fasterxml:classmate:1.3.3classmate-1.3.3.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.webjars.bower:angularjs:1.6.3angularjs-1.6.3.jarMIT + Show license agreement +
org.springframework.boot:spring-boot-devtools:1.5.2.RELEASEspring-boot-devtools-1.5.2.RELEASE.jarApache License, Version 2.0 + Show license agreement +
io.springfox:springfox-spi:2.6.1springfox-spi-2.6.1.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.apache.tomcat.embed:tomcat-embed-core:8.5.11tomcat-embed-core-8.5.11.jarApache License, Version 2.0 + Show license agreement +
org.springframework:spring-tx:4.3.7.RELEASEspring-tx-4.3.7.RELEASE.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.springframework:spring-aspects:4.3.7.RELEASEspring-aspects-4.3.7.RELEASE.jarThe Apache Software License, Version 2.0 + Show license agreement +
ch.qos.logback:logback-core:1.1.11logback-core-1.1.11.jarEclipse Public License - v 1.0 + Show license agreement +
ch.qos.logback:logback-core:1.1.11logback-core-1.1.11.jarGNU Lesser General Public License + Show license agreement +
com.fasterxml.jackson.core:jackson-core:2.8.7jackson-core-2.8.7.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Finalhibernate-jpa-2.1-api-1.0.0.Final.jarEclipse Public License (EPL), Version 1.0 + Show license agreement +
org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Finalhibernate-jpa-2.1-api-1.0.0.Final.jarEclipse Distribution License (EDL), Version 1.0 + Show license agreement +
org.springframework.boot:spring-boot:1.5.2.RELEASEspring-boot-1.5.2.RELEASE.jarApache License, Version 2.0 + Show license agreement +
org.javassist:javassist:3.21.0-GAjavassist-3.21.0-GA.jarMPL 1.1 + Show license agreement +
org.javassist:javassist:3.21.0-GAjavassist-3.21.0-GA.jarLGPL 2.1 + Show license agreement +
org.javassist:javassist:3.21.0-GAjavassist-3.21.0-GA.jarApache License 2.0 + Show license agreement +
org.apache.tomcat:tomcat-jdbc:8.5.11tomcat-jdbc-8.5.11.jarApache License, Version 2.0 + Show license agreement +
org.webjars.bower:angular-route:1.6.3angular-route-1.6.3.jarMIT + Show license agreement +
dom4j:dom4j:1.6.1dom4j-1.6.1.jarNo license found +
org.hibernate:hibernate-entitymanager:5.0.12.Finalhibernate-entitymanager-5.0.12.Final.jarGNU Lesser General Public License + Show license agreement +
org.apache.tomcat:tomcat-juli:8.5.11tomcat-juli-8.5.11.jarApache License, Version 2.0 + Show license agreement +
org.jboss:jandex:2.0.0.Finaljandex-2.0.0.Final.jarApache License, Version 2.0 + Show license agreement +
org.hibernate:hibernate-core:5.0.12.Finalhibernate-core-5.0.12.Final.jarGNU Lesser General Public License + Show license agreement +
org.springframework.boot:spring-boot-starter:1.5.2.RELEASEspring-boot-starter-1.5.2.RELEASE.jarApache License, Version 2.0 + Show license agreement +
org.jboss.logging:jboss-logging:3.3.0.Finaljboss-logging-3.3.0.Final.jarApache License, version 2.0 + Show license agreement +
com.fasterxml.jackson.core:jackson-annotations:2.8.0jackson-annotations-2.8.0.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.springframework.boot:spring-boot-starter-web:1.5.2.RELEASEspring-boot-starter-web-1.5.2.RELEASE.jarApache License, Version 2.0 + Show license agreement +
org.jsoup:jsoup:1.10.2jsoup-1.10.2.jarThe MIT License + Show license agreement +
org.springframework.boot:spring-boot-starter-data-rest:1.5.2.RELEASEspring-boot-starter-data-rest-1.5.2.RELEASE.jarApache License, Version 2.0 + Show license agreement +
org.mapstruct:mapstruct:1.0.0.Finalmapstruct-1.0.0.Final.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.liquibase:liquibase-core:3.5.3liquibase-core-3.5.3.jarApache License, Version 2.0 + Show license agreement +
org.apache.tomcat.embed:tomcat-embed-el:8.5.11tomcat-embed-el-8.5.11.jarApache License, Version 2.0 + Show license agreement +
org.slf4j:log4j-over-slf4j:1.7.24log4j-over-slf4j-1.7.24.jarApache Software Licenses + Show license agreement +
io.springfox:springfox-swagger-ui:2.6.1springfox-swagger-ui-2.6.1.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.springframework.data:spring-data-jpa:1.11.1.RELEASEspring-data-jpa-1.11.1.RELEASE.jarApache License, Version 2.0 + Show license agreement +
io.swagger:swagger-models:1.5.10swagger-models-1.5.10.jarApache License 2.0 + Show license agreement +
org.springframework.plugin:spring-plugin-metadata:1.2.0.RELEASEspring-plugin-metadata-1.2.0.RELEASE.jarApache License, Version 2.0 + Show license agreement +
org.springframework:spring-jdbc:4.3.7.RELEASEspring-jdbc-4.3.7.RELEASE.jarThe Apache Software License, Version 2.0 + Show license agreement +
com.fasterxml.jackson.core:jackson-databind:2.8.7jackson-databind-2.8.7.jarThe Apache Software License, Version 2.0 + Show license agreement +
javax.validation:validation-api:1.1.0.Finalvalidation-api-1.1.0.Final.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.apache.tomcat.embed:tomcat-embed-websocket:8.5.11tomcat-embed-websocket-8.5.11.jarApache License, Version 2.0 + Show license agreement +
io.springfox:springfox-swagger-common:2.6.1springfox-swagger-common-2.6.1.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.webjars:jquery:1.11.1jquery-1.11.1.jarMIT License + Show license agreement +
org.aspectj:aspectjweaver:1.8.9aspectjweaver-1.8.9.jarEclipse Public License - v 1.0 + Show license agreement +
antlr:antlr:2.7.7antlr-2.7.7.jarBSD License + Show license agreement +
org.springframework.data:spring-data-rest-core:2.6.1.RELEASEspring-data-rest-core-2.6.1.RELEASE.jarApache License, Version 2.0 + Show license agreement +
org.yaml:snakeyaml:1.17snakeyaml-1.17.jarApache License, Version 2.0 + Show license agreement +
org.springframework:spring-expression:4.3.7.RELEASEspring-expression-4.3.7.RELEASE.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.springframework.boot:spring-boot-starter-tomcat:1.5.2.RELEASEspring-boot-starter-tomcat-1.5.2.RELEASE.jarApache License, Version 2.0 + Show license agreement +
io.swagger:swagger-annotations:1.5.10swagger-annotations-1.5.10.jarApache License 2.0 + Show license agreement +
org.springframework:spring-web:4.3.7.RELEASEspring-web-4.3.7.RELEASE.jarThe Apache Software License, Version 2.0 + Show license agreement +
io.springfox:springfox-core:2.6.1springfox-core-2.6.1.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.springframework:spring-aop:4.3.7.RELEASEspring-aop-4.3.7.RELEASE.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.springframework:spring-webmvc:4.3.7.RELEASEspring-webmvc-4.3.7.RELEASE.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.webjars:bootstrap:3.3.7bootstrap-3.3.7.jarApache License, Version 2.0 + Show license agreement +
org.slf4j:jul-to-slf4j:1.7.24jul-to-slf4j-1.7.24.jarMIT License + Show license agreement +
org.springframework:spring-orm:4.3.7.RELEASEspring-orm-4.3.7.RELEASE.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.springframework.boot:spring-boot-starter-aop:1.5.2.RELEASEspring-boot-starter-aop-1.5.2.RELEASE.jarApache License, Version 2.0 + Show license agreement +
org.springframework.boot:spring-boot-autoconfigure:1.5.2.RELEASEspring-boot-autoconfigure-1.5.2.RELEASE.jarApache License, Version 2.0 + Show license agreement +
org.slf4j:slf4j-api:1.7.24slf4j-api-1.7.24.jarMIT License + Show license agreement +
org.springframework.hateoas:spring-hateoas:0.23.0.RELEASEspring-hateoas-0.23.0.RELEASE.jarApache License, Version 2.0 + Show license agreement +
javax.transaction:javax.transaction-api:1.2javax.transaction-api-1.2.jarCDDL + GPLv2 with classpath exception + Show license agreement +
io.springfox:springfox-schema:2.6.1springfox-schema-2.6.1.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.webjars.bower:angular-sanitize:1.6.3angular-sanitize-1.6.3.jarMIT + Show license agreement +
io.springfox:springfox-spring-web:2.6.1springfox-spring-web-2.6.1.jarThe Apache Software License, Version 2.0 + Show license agreement +
io.springfox:springfox-swagger2:2.6.1springfox-swagger2-2.6.1.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.springframework:spring-core:4.3.7.RELEASEspring-core-4.3.7.RELEASE.jarThe Apache Software License, Version 2.0 + Show license agreement +
com.h2database:h2:1.4.195h2-1.4.195.jarMPL 2.0 or EPL 1.0 + Show license agreement +
org.webjars.bower:angular-animate:1.6.3angular-animate-1.6.3.jarMIT + Show license agreement +
ch.qos.logback:logback-classic:1.1.11logback-classic-1.1.11.jarEclipse Public License - v 1.0 + Show license agreement +
ch.qos.logback:logback-classic:1.1.11logback-classic-1.1.11.jarGNU Lesser General Public License + Show license agreement +
org.springframework.plugin:spring-plugin-core:1.2.0.RELEASEspring-plugin-core-1.2.0.RELEASE.jarApache License, Version 2.0 + Show license agreement +
org.hibernate:hibernate-validator:5.3.4.Finalhibernate-validator-5.3.4.Final.jarApache License, Version 2.0 + Show license agreement +
org.springframework.data:spring-data-commons:1.13.1.RELEASEspring-data-commons-1.13.1.RELEASE.jarApache License, Version 2.0 + Show license agreement +
org.springframework:spring-beans:4.3.7.RELEASEspring-beans-4.3.7.RELEASE.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.hibernate.common:hibernate-commons-annotations:5.0.1.Finalhibernate-commons-annotations-5.0.1.Final.jarGNU Lesser General Public License + Show license agreement +
com.google.guava:guava:18.0guava-18.0.jarThe Apache Software License, Version 2.0 + Show license agreement +
org.springframework.boot:spring-boot-starter-actuator:1.5.2.RELEASEspring-boot-starter-actuator-1.5.2.RELEASE.jarApache License, Version 2.0 + Show license agreement +
+ + \ No newline at end of file diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..e012a95 --- /dev/null +++ b/gradle.properties @@ -0,0 +1,4 @@ +version = 6 +sourceCompatibility = 1.8 +targetCompatibility = 1.8 +repositoryId = uxdesign \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000000000..09b233d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DKN0C?{zCL0^uKd;e~$dzVfYEzH0S?D{(VC~cUF4B6fF4# z^Ve$m2iK+NrGM@e^28)u{x6vR!A0ab)AOU_C#K-)f5G&B&VtX+5TEc@YW@ZOKb \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >/dev/null +APP_HOME="`pwd -P`" +cd "$SAVED" >/dev/null + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS="" + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn ( ) { + echo "$*" +} + +die ( ) { + echo + echo "$*" + echo + exit 1 +} + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "`uname`" in + CYGWIN* ) + cygwin=true + ;; + Darwin* ) + darwin=true + ;; + MINGW* ) + msys=true + ;; + NONSTOP* ) + nonstop=true + ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin, switch paths to Windows format before running java +if $cygwin ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=$((i+1)) + done + case $i in + (0) set -- ;; + (1) set -- "$args0" ;; + (2) set -- "$args0" "$args1" ;; + (3) set -- "$args0" "$args1" "$args2" ;; + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Escape application args +save ( ) { + for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done + echo " " +} +APP_ARGS=$(save "$@") + +# Collect all arguments for the java command, following the shell quoting and substitution rules +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" + +# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong +if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then + cd "$(dirname "$0")" +fi + +exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 0000000..f955316 --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,84 @@ +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS= + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windows variants + +if not "%OS%" == "Windows_NT" goto win9xME_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/licenses/angular-1.6.4.jar/META-INF/resources/webjars/angular/1.6.4/LICENSE.md b/licenses/angular-1.6.4.jar/META-INF/resources/webjars/angular/1.6.4/LICENSE.md new file mode 100644 index 0000000..2c395ee --- /dev/null +++ b/licenses/angular-1.6.4.jar/META-INF/resources/webjars/angular/1.6.4/LICENSE.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Angular + +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/licenses/angular-1.6.4.jar/META-INF/resources/webjars/angular/1.6.4/README.md b/licenses/angular-1.6.4.jar/META-INF/resources/webjars/angular/1.6.4/README.md new file mode 100644 index 0000000..d1bc0ed --- /dev/null +++ b/licenses/angular-1.6.4.jar/META-INF/resources/webjars/angular/1.6.4/README.md @@ -0,0 +1,64 @@ +# packaged angular + +This repo is for distribution on `npm` and `bower`. The source for this module is in the +[main AngularJS repo](https://github.com/angular/angular.js). +Please file issues and pull requests against that repo. + +## Install + +You can install this package either with `npm` or with `bower`. + +### npm + +```shell +npm install angular +``` + +Then add a ` +``` + +Or `require('angular')` from your code. + +### bower + +```shell +bower install angular +``` + +Then add a ` +``` + +## Documentation + +Documentation is available on the +[AngularJS docs site](http://docs.angularjs.org/). + +## License + +The MIT License + +Copyright (c) 2010-2015 Google, Inc. http://angularjs.org + +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/licenses/angular-animate-1.6.3.jar/META-INF/resources/webjars/angular-animate/1.6.3/LICENSE.md b/licenses/angular-animate-1.6.3.jar/META-INF/resources/webjars/angular-animate/1.6.3/LICENSE.md new file mode 100644 index 0000000..2c395ee --- /dev/null +++ b/licenses/angular-animate-1.6.3.jar/META-INF/resources/webjars/angular-animate/1.6.3/LICENSE.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Angular + +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/licenses/angular-animate-1.6.3.jar/META-INF/resources/webjars/angular-animate/1.6.3/README.md b/licenses/angular-animate-1.6.3.jar/META-INF/resources/webjars/angular-animate/1.6.3/README.md new file mode 100644 index 0000000..8313da6 --- /dev/null +++ b/licenses/angular-animate-1.6.3.jar/META-INF/resources/webjars/angular-animate/1.6.3/README.md @@ -0,0 +1,68 @@ +# packaged angular-animate + +This repo is for distribution on `npm` and `bower`. The source for this module is in the +[main AngularJS repo](https://github.com/angular/angular.js/tree/master/src/ngAnimate). +Please file issues and pull requests against that repo. + +## Install + +You can install this package either with `npm` or with `bower`. + +### npm + +```shell +npm install angular-animate +``` + +Then add `ngAnimate` as a dependency for your app: + +```javascript +angular.module('myApp', [require('angular-animate')]); +``` + +### bower + +```shell +bower install angular-animate +``` + +Then add a ` +``` + +Then add `ngAnimate` as a dependency for your app: + +```javascript +angular.module('myApp', ['ngAnimate']); +``` + +## Documentation + +Documentation is available on the +[AngularJS docs site](http://docs.angularjs.org/api/ngAnimate). + +## License + +The MIT License + +Copyright (c) 2010-2015 Google, Inc. http://angularjs.org + +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/licenses/angular-bootstrap-2.5.0.jar/META-INF/resources/webjars/angular-bootstrap/2.5.0/README.md b/licenses/angular-bootstrap-2.5.0.jar/META-INF/resources/webjars/angular-bootstrap/2.5.0/README.md new file mode 100644 index 0000000..9607c65 --- /dev/null +++ b/licenses/angular-bootstrap-2.5.0.jar/META-INF/resources/webjars/angular-bootstrap/2.5.0/README.md @@ -0,0 +1,120 @@ +### UI Bootstrap - [AngularJS](http://angularjs.org/) directives specific to [Bootstrap](http://getbootstrap.com) + +[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/angular-ui/bootstrap?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Build Status](https://secure.travis-ci.org/angular-ui/bootstrap.svg)](http://travis-ci.org/angular-ui/bootstrap) +[![devDependency Status](https://david-dm.org/angular-ui/bootstrap/dev-status.svg?branch=master)](https://david-dm.org/angular-ui/bootstrap#info=devDependencies) + +### Quick links +- [Demo](#demo) +- [Installation](#installation) + - [NPM](#install-with-npm) + - [Bower](#install-with-bower) + - [NuGet](#install-with-nuget) + - [Custom](#custom-build) + - [Manual](#manual-download) +- [Support](#support) + - [FAQ](#faq) + - [Supported browsers](#supported-browsers) + - [Need help?](#need-help) + - [Found a bug?](#found-a-bug) +- [Contributing to the project](#contributing-to-the-project) +- [Development, meeting minutes, roadmap and more.](#development-meeting-minutes-roadmap-and-more) + + +# Demo + +Do you want to see directives in action? Visit http://angular-ui.github.io/bootstrap/! + +# Installation + +Installation is easy as UI Bootstrap has minimal dependencies - only the AngularJS and Twitter Bootstrap's CSS are required. +Note: Since version 0.13.0, UI Bootstrap depends on [ngAnimate](https://docs.angularjs.org/api/ngAnimate) for transitions and animations, such as the accordion, carousel, etc. Include `ngAnimate` in the module dependencies for your app in order to enable animation. + +#### Install with NPM + +```sh +$ npm install angular-ui-bootstrap +``` + +This will install AngularJS and Bootstrap NPM packages. + +#### Install with Bower +```sh +$ bower install angular-bootstrap +``` + +Note: do not install 'angular-ui-bootstrap'. A separate repository - [bootstrap-bower](https://github.com/angular-ui/bootstrap-bower) - hosts the compiled javascript file and bower.json. + +#### Install with NuGet +To install AngularJS UI Bootstrap, run the following command in the Package Manager Console + +```sh +PM> Install-Package Angular.UI.Bootstrap +``` + +#### Custom build + +Head over to http://angular-ui.github.io/bootstrap/ and hit the *Custom build* button to create your own custom UI Bootstrap build, just the way you like it. + +#### Manual download + +After downloading dependencies (or better yet, referencing them from your favorite CDN) you need to download build version of this project. All the files and their purposes are described here: +https://github.com/angular-ui/bootstrap/tree/gh-pages#build-files +Don't worry, if you are not sure which file to take, opt for `ui-bootstrap-tpls-[version].min.js`. + +### Adding dependency to your project + +When you are done downloading all the dependencies and project files the only remaining part is to add dependencies on the `ui.bootstrap` AngularJS module: + +```js +angular.module('myModule', ['ui.bootstrap']); +``` + +If you're a Browserify or Webpack user, you can do: + +```js +var uibs = require('angular-ui-bootstrap'); + +angular.module('myModule', [uibs]); +``` + +# Support + +## FAQ + +https://github.com/angular-ui/bootstrap/wiki/FAQ + +## Supported browsers + +Directives from this repository are automatically tested with the following browsers: +* Chrome (stable and canary channel) +* Firefox +* IE 9 and 10 +* Opera +* Safari + +Modern mobile browsers should work without problems. + + +## Need help? +Need help using UI Bootstrap? + +* Live help in the IRC (`#angularjs` channel at the `freenode` network). Use this [webchat](https://webchat.freenode.net/) or your own IRC client. +* Ask a question in [StackOverflow](http://stackoverflow.com/) under the [angular-ui-bootstrap](http://stackoverflow.com/questions/tagged/angular-ui-bootstrap) tag. + +**Please do not create new issues in this repository to ask questions about using UI Bootstrap** + +## Found a bug? +Please take a look at [CONTRIBUTING.md](CONTRIBUTING.md#you-think-youve-found-a-bug) and submit your issue [here](https://github.com/angular-ui/bootstrap/issues/new). + + +---- + + +# Contributing to the project + +We are always looking for the quality contributions! Please check the [CONTRIBUTING.md](CONTRIBUTING.md) for the contribution guidelines. + +# Development, meeting minutes, roadmap and more. + +Head over to the [Wiki](https://github.com/angular-ui/bootstrap/wiki) for notes on development for UI Bootstrap, meeting minutes from the UI Bootstrap team, roadmap plans, project philosophy and more. diff --git a/licenses/angular-route-1.6.3.jar/META-INF/resources/webjars/angular-route/1.6.3/LICENSE.md b/licenses/angular-route-1.6.3.jar/META-INF/resources/webjars/angular-route/1.6.3/LICENSE.md new file mode 100644 index 0000000..2c395ee --- /dev/null +++ b/licenses/angular-route-1.6.3.jar/META-INF/resources/webjars/angular-route/1.6.3/LICENSE.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Angular + +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/licenses/angular-route-1.6.3.jar/META-INF/resources/webjars/angular-route/1.6.3/README.md b/licenses/angular-route-1.6.3.jar/META-INF/resources/webjars/angular-route/1.6.3/README.md new file mode 100644 index 0000000..2cd4f90 --- /dev/null +++ b/licenses/angular-route-1.6.3.jar/META-INF/resources/webjars/angular-route/1.6.3/README.md @@ -0,0 +1,68 @@ +# packaged angular-route + +This repo is for distribution on `npm` and `bower`. The source for this module is in the +[main AngularJS repo](https://github.com/angular/angular.js/tree/master/src/ngRoute). +Please file issues and pull requests against that repo. + +## Install + +You can install this package either with `npm` or with `bower`. + +### npm + +```shell +npm install angular-route +``` + +Then add `ngRoute` as a dependency for your app: + +```javascript +angular.module('myApp', [require('angular-route')]); +``` + +### bower + +```shell +bower install angular-route +``` + +Add a ` +``` + +Then add `ngRoute` as a dependency for your app: + +```javascript +angular.module('myApp', ['ngRoute']); +``` + +## Documentation + +Documentation is available on the +[AngularJS docs site](http://docs.angularjs.org/api/ngRoute). + +## License + +The MIT License + +Copyright (c) 2010-2015 Google, Inc. http://angularjs.org + +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/licenses/angular-sanitize-1.6.3.jar/META-INF/resources/webjars/angular-sanitize/1.6.3/LICENSE.md b/licenses/angular-sanitize-1.6.3.jar/META-INF/resources/webjars/angular-sanitize/1.6.3/LICENSE.md new file mode 100644 index 0000000..2c395ee --- /dev/null +++ b/licenses/angular-sanitize-1.6.3.jar/META-INF/resources/webjars/angular-sanitize/1.6.3/LICENSE.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Angular + +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/licenses/angular-sanitize-1.6.3.jar/META-INF/resources/webjars/angular-sanitize/1.6.3/README.md b/licenses/angular-sanitize-1.6.3.jar/META-INF/resources/webjars/angular-sanitize/1.6.3/README.md new file mode 100644 index 0000000..b84aaf6 --- /dev/null +++ b/licenses/angular-sanitize-1.6.3.jar/META-INF/resources/webjars/angular-sanitize/1.6.3/README.md @@ -0,0 +1,68 @@ +# packaged angular-sanitize + +This repo is for distribution on `npm` and `bower`. The source for this module is in the +[main AngularJS repo](https://github.com/angular/angular.js/tree/master/src/ngSanitize). +Please file issues and pull requests against that repo. + +## Install + +You can install this package either with `npm` or with `bower`. + +### npm + +```shell +npm install angular-sanitize +``` + +Then add `ngSanitize` as a dependency for your app: + +```javascript +angular.module('myApp', [require('angular-sanitize')]); +``` + +### bower + +```shell +bower install angular-sanitize +``` + +Add a ` +``` + +Then add `ngSanitize` as a dependency for your app: + +```javascript +angular.module('myApp', ['ngSanitize']); +``` + +## Documentation + +Documentation is available on the +[AngularJS docs site](http://docs.angularjs.org/api/ngSanitize). + +## License + +The MIT License + +Copyright (c) 2010-2015 Google, Inc. http://angularjs.org + +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/licenses/angularjs-1.6.3.jar/META-INF/resources/webjars/angularjs/1.6.3/LICENSE.md b/licenses/angularjs-1.6.3.jar/META-INF/resources/webjars/angularjs/1.6.3/LICENSE.md new file mode 100644 index 0000000..2c395ee --- /dev/null +++ b/licenses/angularjs-1.6.3.jar/META-INF/resources/webjars/angularjs/1.6.3/LICENSE.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Angular + +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/licenses/angularjs-1.6.3.jar/META-INF/resources/webjars/angularjs/1.6.3/README.md b/licenses/angularjs-1.6.3.jar/META-INF/resources/webjars/angularjs/1.6.3/README.md new file mode 100644 index 0000000..d1bc0ed --- /dev/null +++ b/licenses/angularjs-1.6.3.jar/META-INF/resources/webjars/angularjs/1.6.3/README.md @@ -0,0 +1,64 @@ +# packaged angular + +This repo is for distribution on `npm` and `bower`. The source for this module is in the +[main AngularJS repo](https://github.com/angular/angular.js). +Please file issues and pull requests against that repo. + +## Install + +You can install this package either with `npm` or with `bower`. + +### npm + +```shell +npm install angular +``` + +Then add a ` +``` + +Or `require('angular')` from your code. + +### bower + +```shell +bower install angular +``` + +Then add a ` +``` + +## Documentation + +Documentation is available on the +[AngularJS docs site](http://docs.angularjs.org/). + +## License + +The MIT License + +Copyright (c) 2010-2015 Google, Inc. http://angularjs.org + +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/licenses/classmate-1.3.3.jar/META-INF/LICENSE b/licenses/classmate-1.3.3.jar/META-INF/LICENSE new file mode 100644 index 0000000..522a4db --- /dev/null +++ b/licenses/classmate-1.3.3.jar/META-INF/LICENSE @@ -0,0 +1,7 @@ +This copy of Java ClassMate library is licensed under Apache (Software) License, +version 2.0 ("the License"). +See the License for details about distribution rights, and the specific rights regarding derivate works. + +You may obtain a copy of the License at: + +http://www.apache.org/licenses/LICENSE-2.0 diff --git a/licenses/classmate-1.3.3.jar/META-INF/NOTICE b/licenses/classmate-1.3.3.jar/META-INF/NOTICE new file mode 100644 index 0000000..9e27178 --- /dev/null +++ b/licenses/classmate-1.3.3.jar/META-INF/NOTICE @@ -0,0 +1,6 @@ +Java ClassMate library was originally written by Tatu Saloranta (tatu.saloranta@iki.fi) + +Other developers who have contributed code are: + +* Brian Langel + diff --git a/licenses/dom4j-1.6.1.jar/META-INF/LICENSE.txt b/licenses/dom4j-1.6.1.jar/META-INF/LICENSE.txt new file mode 100644 index 0000000..7cae050 --- /dev/null +++ b/licenses/dom4j-1.6.1.jar/META-INF/LICENSE.txt @@ -0,0 +1,40 @@ +Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. + +Redistribution and use of this software and associated documentation +("Software"), with or without modification, are permitted provided +that the following conditions are met: + +1. Redistributions of source code must retain copyright + statements and notices. Redistributions must also contain a + copy of this document. + +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. The name "DOM4J" must not be used to endorse or promote + products derived from this Software without prior written + permission of MetaStuff, Ltd. For written permission, + please contact dom4j-info@metastuff.com. + +4. Products derived from this Software may not be called "DOM4J" + nor may "DOM4J" appear in their names without prior written + permission of MetaStuff, Ltd. DOM4J is a registered + trademark of MetaStuff, Ltd. + +5. Due credit should be given to the DOM4J Project - + http://www.dom4j.org + +THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS +``AS IS'' AND ANY EXPRESSED 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 +METASTUFF, LTD. OR ITS 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. diff --git a/licenses/index.html b/licenses/index.html new file mode 100644 index 0000000..400c949 --- /dev/null +++ b/licenses/index.html @@ -0,0 +1,12 @@ + + + +Dependency License Report for chameleon + + +

Dependency License Report for chameleon

+

1. Group: antlr Name: antlr Version: 2.7.7

POM Project URL: http://www.antlr.org/

POM License: BSD License - http://www.antlr.org/license.html


2. Group: ch.qos.logback Name: logback-classic Version: 1.1.11

Manifest Project URL: http://www.qos.ch

Manifest license URL: http://www.eclipse.org/legal/epl-v10.html, http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html

POM License: Eclipse Public License - v 1.0 - http://www.eclipse.org/legal/epl-v10.html

POM License: GNU Lesser General Public License - http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html


3. Group: ch.qos.logback Name: logback-core Version: 1.1.11

Manifest Project URL: http://www.qos.ch

Manifest license URL: http://www.eclipse.org/legal/epl-v10.html, http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html

POM License: Eclipse Public License - v 1.0 - http://www.eclipse.org/legal/epl-v10.html

POM License: GNU Lesser General Public License - http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html


4. Group: com.fasterxml Name: classmate Version: 1.3.3

Project URL: http://github.com/cowtowncoder/java-classmate

Manifest license URL: http://www.apache.org/licenses/LICENSE-2.0.txt

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: classmate-1.3.3.jar/META-INF/LICENSE classmate-1.3.3.jar/META-INF/NOTICE


5. Group: com.fasterxml.jackson.core Name: jackson-annotations Version: 2.8.0

Project URL: http://github.com/FasterXML/jackson

Manifest license URL: http://www.apache.org/licenses/LICENSE-2.0.txt

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: jackson-annotations-2.8.0.jar/META-INF/LICENSE


6. Group: com.fasterxml.jackson.core Name: jackson-core Version: 2.8.7

Project URL: https://github.com/FasterXML/jackson-core

Manifest license URL: http://www.apache.org/licenses/LICENSE-2.0.txt

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: jackson-core-2.8.7.jar/META-INF/LICENSE jackson-core-2.8.7.jar/META-INF/NOTICE


7. Group: com.fasterxml.jackson.core Name: jackson-databind Version: 2.8.7

Project URL: http://github.com/FasterXML/jackson

Manifest license URL: http://www.apache.org/licenses/LICENSE-2.0.txt

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: jackson-databind-2.8.7.jar/META-INF/LICENSE jackson-databind-2.8.7.jar/META-INF/NOTICE


8. Group: com.google.guava Name: guava Version: 18.0

Manifest Project URL: https://guava-libraries.googlecode.com/

Manifest license URL: http://www.apache.org/licenses/LICENSE-2.0.txt

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt


9. Group: com.h2database Name: h2 Version: 1.4.195

Manifest license URL: http://www.h2database.com/html/license.html

POM Project URL: http://www.h2database.com

POM License: MPL 2.0 or EPL 1.0 - http://h2database.com/html/license.html


10. Group: dom4j Name: dom4j Version: 1.6.1

POM Project URL: http://dom4j.org

Embedded license files: dom4j-1.6.1.jar/META-INF/LICENSE.txt


11. Group: io.springfox Name: springfox-core Version: 2.6.1

POM Project URL: https://github.com/springfox/springfox

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt


12. Group: io.springfox Name: springfox-schema Version: 2.6.1

POM Project URL: https://github.com/springfox/springfox

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt


13. Group: io.springfox Name: springfox-spi Version: 2.6.1

POM Project URL: https://github.com/springfox/springfox

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt


14. Group: io.springfox Name: springfox-spring-web Version: 2.6.1

POM Project URL: https://github.com/springfox/springfox

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt


15. Group: io.springfox Name: springfox-swagger-common Version: 2.6.1

POM Project URL: https://github.com/springfox/springfox

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt


16. Group: io.springfox Name: springfox-swagger-ui Version: 2.6.1

POM Project URL: https://github.com/springfox/springfox

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt


17. Group: io.springfox Name: springfox-swagger2 Version: 2.6.1

POM Project URL: https://github.com/springfox/springfox

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt


18. Group: io.swagger Name: swagger-annotations Version: 1.5.10

Manifest license URL: http://www.apache.org/licenses/LICENSE-2.0.html

POM License: Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0.html


19. Group: io.swagger Name: swagger-models Version: 1.5.10

Manifest license URL: http://www.apache.org/licenses/LICENSE-2.0.html

POM License: Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0.html


20. Group: javax.transaction Name: javax.transaction-api Version: 1.2

Manifest Project URL: https://glassfish.java.net

Manifest license URL: https://glassfish.dev.java.net/nonav/public/CDDL+GPL.html

POM Project URL: http://jta-spec.java.net

POM License: CDDL + GPLv2 with classpath exception - https://glassfish.dev.java.net/nonav/public/CDDL+GPL.html

Embedded license files: javax.transaction-api-1.2.jar/META-INF/LICENSE.txt


21. Group: javax.validation Name: validation-api Version: 1.1.0.Final

Manifest license URL: http://www.apache.org/licenses/LICENSE-2.0.txt

POM Project URL: http://beanvalidation.org

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt


22. Group: org.apache.tomcat Name: tomcat-jdbc Version: 8.5.11

POM Project URL: http://tomcat.apache.org/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: tomcat-jdbc-8.5.11.jar/LICENSE tomcat-jdbc-8.5.11.jar/NOTICE


23. Group: org.apache.tomcat Name: tomcat-juli Version: 8.5.11

POM Project URL: http://tomcat.apache.org/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: tomcat-juli-8.5.11.jar/META-INF/NOTICE tomcat-juli-8.5.11.jar/META-INF/LICENSE


24. Group: org.apache.tomcat.embed Name: tomcat-embed-core Version: 8.5.11

POM Project URL: http://tomcat.apache.org/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: tomcat-embed-core-8.5.11.jar/META-INF/NOTICE tomcat-embed-core-8.5.11.jar/META-INF/LICENSE


25. Group: org.apache.tomcat.embed Name: tomcat-embed-el Version: 8.5.11

POM Project URL: http://tomcat.apache.org/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: tomcat-embed-el-8.5.11.jar/META-INF/NOTICE tomcat-embed-el-8.5.11.jar/META-INF/LICENSE


26. Group: org.apache.tomcat.embed Name: tomcat-embed-websocket Version: 8.5.11

POM Project URL: http://tomcat.apache.org/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: tomcat-embed-websocket-8.5.11.jar/META-INF/NOTICE tomcat-embed-websocket-8.5.11.jar/META-INF/LICENSE


27. Group: org.aspectj Name: aspectjweaver Version: 1.8.9

POM Project URL: http://www.aspectj.org

POM License: Eclipse Public License - v 1.0 - http://www.eclipse.org/legal/epl-v10.html


28. Group: org.atteo Name: evo-inflector Version: 1.2.1

POM Project URL: http://atteo.org/static/evo-inflector

POM License: Apache License, Version 2.0


29. Group: org.hibernate Name: hibernate-core Version: 5.0.12.Final

POM Project URL: http://hibernate.org

POM License: GNU Lesser General Public License - http://www.gnu.org/licenses/lgpl-2.1.html


30. Group: org.hibernate Name: hibernate-entitymanager Version: 5.0.12.Final

POM Project URL: http://hibernate.org

POM License: GNU Lesser General Public License - http://www.gnu.org/licenses/lgpl-2.1.html


31. Group: org.hibernate Name: hibernate-validator Version: 5.3.4.Final

Manifest license URL: http://www.apache.org/licenses/LICENSE-2.0.txt

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt


32. Group: org.hibernate.common Name: hibernate-commons-annotations Version: 5.0.1.Final

POM Project URL: http://hibernate.org

POM License: GNU Lesser General Public License - http://www.gnu.org/licenses/lgpl-2.1.html


33. Group: org.hibernate.javax.persistence Name: hibernate-jpa-2.1-api Version: 1.0.0.Final

POM Project URL: http://hibernate.org

POM License: Eclipse Public License (EPL), Version 1.0 - http://www.eclipse.org/legal/epl-v10.html

POM License: Eclipse Distribution License (EDL), Version 1.0 - http://www.eclipse.org/org/documents/edl-v10.php


34. Group: org.javassist Name: javassist Version: 3.21.0-GA

Manifest license URL: http://www.mozilla.org/MPL/MPL-1.1.html, http://www.gnu.org/licenses/lgpl-2.1.html, http://www.apache.org/licenses/

POM Project URL: http://www.javassist.org/

POM License: MPL 1.1 - http://www.mozilla.org/MPL/MPL-1.1.html

POM License: Apache License 2.0 - http://www.apache.org/licenses/

POM License: LGPL 2.1 - http://www.gnu.org/licenses/lgpl-2.1.html


35. Group: org.jboss Name: jandex Version: 2.0.0.Final

Manifest Project URL: http://www.jboss.org

Manifest license URL: http://www.apache.org/licenses/LICENSE-2.0.txt

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

POM License: Public Domain - http://repository.jboss.org/licenses/cc0-1.0.txt


36. Group: org.jboss.logging Name: jboss-logging Version: 3.3.0.Final

Project URL: http://www.jboss.org

Manifest license URL: http://www.apache.org/licenses/LICENSE-2.0.txt

POM License: Apache License, version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

POM License: Public Domain - http://repository.jboss.org/licenses/cc0-1.0.txt

Embedded license files: jboss-logging-3.3.0.Final.jar/META-INF/LICENSE.txt


37. Group: org.jsoup Name: jsoup Version: 1.10.2

Project URL: https://jsoup.org/

Manifest license URL: https://jsoup.org/license

POM License: The MIT License - https://jsoup.org/license

Embedded license files: jsoup-1.10.2.jar/META-INF/LICENSE jsoup-1.10.2.jar/META-INF/README


38. Group: org.liquibase Name: liquibase-core Version: 3.5.3

Manifest Project URL: http://www.liquibase.org

Manifest license URL: http://www.apache.org/licenses/LICENSE-2.0

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0

Embedded license files: liquibase-core-3.5.3.jar/dist/LICENSE.txt liquibase-core-3.5.3.jar/dist/README.txt liquibase-core-3.5.3.jar/dist/sdk/vagrant/install-files/README.txt liquibase-core-3.5.3.jar/dist/sdk/vagrant/readme.md


39. Group: org.mapstruct Name: mapstruct Version: 1.0.0.Final

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: mapstruct-1.0.0.Final.jar/META-INF/LICENSE.txt


40. Group: org.slf4j Name: jcl-over-slf4j Version: 1.7.24

POM Project URL: http://www.slf4j.org

POM License: MIT License - http://www.opensource.org/licenses/mit-license.php


41. Group: org.slf4j Name: jul-to-slf4j Version: 1.7.24

POM Project URL: http://www.slf4j.org

POM License: MIT License - http://www.opensource.org/licenses/mit-license.php


42. Group: org.slf4j Name: log4j-over-slf4j Version: 1.7.24

POM Project URL: http://www.slf4j.org

POM License: MIT License - http://www.opensource.org/licenses/mit-license.php

POM License: Apache Software Licenses - http://www.apache.org/licenses/LICENSE-2.0.txt


43. Group: org.slf4j Name: slf4j-api Version: 1.7.24

POM Project URL: http://www.slf4j.org

POM License: MIT License - http://www.opensource.org/licenses/mit-license.php


44. Group: org.springframework Name: spring-aop Version: 4.3.7.RELEASE

POM Project URL: https://github.com/spring-projects/spring-framework

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: spring-aop-4.3.7.RELEASE.jar/META-INF/notice.txt spring-aop-4.3.7.RELEASE.jar/META-INF/license.txt


45. Group: org.springframework Name: spring-aspects Version: 4.3.7.RELEASE

POM Project URL: https://github.com/spring-projects/spring-framework

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: spring-aspects-4.3.7.RELEASE.jar/META-INF/notice.txt spring-aspects-4.3.7.RELEASE.jar/META-INF/license.txt


46. Group: org.springframework Name: spring-beans Version: 4.3.7.RELEASE

POM Project URL: https://github.com/spring-projects/spring-framework

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: spring-beans-4.3.7.RELEASE.jar/META-INF/notice.txt spring-beans-4.3.7.RELEASE.jar/META-INF/license.txt


47. Group: org.springframework Name: spring-context Version: 4.3.7.RELEASE

POM Project URL: https://github.com/spring-projects/spring-framework

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: spring-context-4.3.7.RELEASE.jar/META-INF/notice.txt spring-context-4.3.7.RELEASE.jar/META-INF/license.txt


48. Group: org.springframework Name: spring-core Version: 4.3.7.RELEASE

POM Project URL: https://github.com/spring-projects/spring-framework

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: spring-core-4.3.7.RELEASE.jar/META-INF/notice.txt spring-core-4.3.7.RELEASE.jar/META-INF/license.txt


49. Group: org.springframework Name: spring-expression Version: 4.3.7.RELEASE

POM Project URL: https://github.com/spring-projects/spring-framework

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: spring-expression-4.3.7.RELEASE.jar/META-INF/notice.txt spring-expression-4.3.7.RELEASE.jar/META-INF/license.txt


50. Group: org.springframework Name: spring-jdbc Version: 4.3.7.RELEASE

POM Project URL: https://github.com/spring-projects/spring-framework

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: spring-jdbc-4.3.7.RELEASE.jar/META-INF/notice.txt spring-jdbc-4.3.7.RELEASE.jar/META-INF/license.txt


51. Group: org.springframework Name: spring-orm Version: 4.3.7.RELEASE

POM Project URL: https://github.com/spring-projects/spring-framework

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: spring-orm-4.3.7.RELEASE.jar/META-INF/notice.txt spring-orm-4.3.7.RELEASE.jar/META-INF/license.txt


52. Group: org.springframework Name: spring-tx Version: 4.3.7.RELEASE

POM Project URL: https://github.com/spring-projects/spring-framework

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: spring-tx-4.3.7.RELEASE.jar/META-INF/notice.txt spring-tx-4.3.7.RELEASE.jar/META-INF/license.txt


53. Group: org.springframework Name: spring-web Version: 4.3.7.RELEASE

POM Project URL: https://github.com/spring-projects/spring-framework

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: spring-web-4.3.7.RELEASE.jar/META-INF/notice.txt spring-web-4.3.7.RELEASE.jar/META-INF/license.txt


54. Group: org.springframework Name: spring-webmvc Version: 4.3.7.RELEASE

POM Project URL: https://github.com/spring-projects/spring-framework

POM License: The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt

Embedded license files: spring-webmvc-4.3.7.RELEASE.jar/META-INF/notice.txt spring-webmvc-4.3.7.RELEASE.jar/META-INF/license.txt


55. Group: org.springframework.boot Name: spring-boot Version: 1.5.2.RELEASE

POM Project URL: http://projects.spring.io/spring-boot/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


56. Group: org.springframework.boot Name: spring-boot-actuator Version: 1.5.2.RELEASE

POM Project URL: http://projects.spring.io/spring-boot/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


57. Group: org.springframework.boot Name: spring-boot-autoconfigure Version: 1.5.2.RELEASE

POM Project URL: http://projects.spring.io/spring-boot/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


58. Group: org.springframework.boot Name: spring-boot-devtools Version: 1.5.2.RELEASE

POM Project URL: http://projects.spring.io/spring-boot/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


59. Group: org.springframework.boot Name: spring-boot-starter Version: 1.5.2.RELEASE

POM Project URL: http://projects.spring.io/spring-boot/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


60. Group: org.springframework.boot Name: spring-boot-starter-actuator Version: 1.5.2.RELEASE

POM Project URL: http://projects.spring.io/spring-boot/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


61. Group: org.springframework.boot Name: spring-boot-starter-aop Version: 1.5.2.RELEASE

POM Project URL: http://projects.spring.io/spring-boot/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


62. Group: org.springframework.boot Name: spring-boot-starter-data-jpa Version: 1.5.2.RELEASE

POM Project URL: http://projects.spring.io/spring-boot/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


63. Group: org.springframework.boot Name: spring-boot-starter-data-rest Version: 1.5.2.RELEASE

POM Project URL: http://projects.spring.io/spring-boot/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


64. Group: org.springframework.boot Name: spring-boot-starter-jdbc Version: 1.5.2.RELEASE

POM Project URL: http://projects.spring.io/spring-boot/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


65. Group: org.springframework.boot Name: spring-boot-starter-logging Version: 1.5.2.RELEASE

POM Project URL: http://projects.spring.io/spring-boot/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


66. Group: org.springframework.boot Name: spring-boot-starter-tomcat Version: 1.5.2.RELEASE

POM Project URL: http://projects.spring.io/spring-boot/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


67. Group: org.springframework.boot Name: spring-boot-starter-web Version: 1.5.2.RELEASE

POM Project URL: http://projects.spring.io/spring-boot/

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


68. Group: org.springframework.data Name: spring-data-commons Version: 1.13.1.RELEASE

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0

Embedded license files: spring-data-commons-1.13.1.RELEASE.jar/license.txt spring-data-commons-1.13.1.RELEASE.jar/readme.txt spring-data-commons-1.13.1.RELEASE.jar/notice.txt


69. Group: org.springframework.data Name: spring-data-jpa Version: 1.11.1.RELEASE

POM Project URL: http://projects.spring.io/spring-data-jpa

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0

Embedded license files: spring-data-jpa-1.11.1.RELEASE.jar/license.txt spring-data-jpa-1.11.1.RELEASE.jar/notice.txt spring-data-jpa-1.11.1.RELEASE.jar/readme.txt


70. Group: org.springframework.data Name: spring-data-rest-core Version: 2.6.1.RELEASE

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


71. Group: org.springframework.data Name: spring-data-rest-webmvc Version: 2.6.1.RELEASE

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


72. Group: org.springframework.hateoas Name: spring-hateoas Version: 0.23.0.RELEASE

POM Project URL: http://github.com/SpringSource/spring-hateoas

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0

Embedded license files: spring-hateoas-0.23.0.RELEASE.jar/notice.txt spring-hateoas-0.23.0.RELEASE.jar/license.txt


73. Group: org.springframework.plugin Name: spring-plugin-core Version: 1.2.0.RELEASE

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


74. Group: org.springframework.plugin Name: spring-plugin-metadata Version: 1.2.0.RELEASE

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


75. Group: org.webjars Name: bootstrap Version: 3.3.7

POM Project URL: http://webjars.org

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0


76. Group: org.webjars Name: jquery Version: 1.11.1

POM Project URL: http://webjars.org

POM License: MIT License - https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt


77. Group: org.webjars.bower Name: angular Version: 1.6.4

POM Project URL: http://webjars.org

POM License: MIT - https://spdx.org/licenses/MIT#licenseText

Embedded license files: angular-1.6.4.jar/META-INF/resources/webjars/angular/1.6.4/LICENSE.md angular-1.6.4.jar/META-INF/resources/webjars/angular/1.6.4/README.md


78. Group: org.webjars.bower Name: angular-animate Version: 1.6.3

POM Project URL: http://webjars.org

POM License: MIT - https://spdx.org/licenses/MIT#licenseText

Embedded license files: angular-animate-1.6.3.jar/META-INF/resources/webjars/angular-animate/1.6.3/LICENSE.md angular-animate-1.6.3.jar/META-INF/resources/webjars/angular-animate/1.6.3/README.md


79. Group: org.webjars.bower Name: angular-bootstrap Version: 2.5.0

POM Project URL: http://webjars.org

POM License: MIT - https://spdx.org/licenses/MIT#licenseText

Embedded license files: angular-bootstrap-2.5.0.jar/META-INF/resources/webjars/angular-bootstrap/2.5.0/README.md


80. Group: org.webjars.bower Name: angular-route Version: 1.6.3

POM Project URL: http://webjars.org

POM License: MIT - https://spdx.org/licenses/MIT#licenseText

Embedded license files: angular-route-1.6.3.jar/META-INF/resources/webjars/angular-route/1.6.3/LICENSE.md angular-route-1.6.3.jar/META-INF/resources/webjars/angular-route/1.6.3/README.md


81. Group: org.webjars.bower Name: angular-sanitize Version: 1.6.3

POM Project URL: http://webjars.org

POM License: MIT - https://spdx.org/licenses/MIT#licenseText

Embedded license files: angular-sanitize-1.6.3.jar/META-INF/resources/webjars/angular-sanitize/1.6.3/LICENSE.md angular-sanitize-1.6.3.jar/META-INF/resources/webjars/angular-sanitize/1.6.3/README.md


82. Group: org.webjars.bower Name: angularjs Version: 1.6.3

POM Project URL: http://webjars.org

POM License: MIT - https://spdx.org/licenses/MIT#licenseText

Embedded license files: angularjs-1.6.3.jar/META-INF/resources/webjars/angularjs/1.6.3/LICENSE.md angularjs-1.6.3.jar/META-INF/resources/webjars/angularjs/1.6.3/README.md


83. Group: org.yaml Name: snakeyaml Version: 1.17

Manifest license URL: http://www.apache.org/licenses/LICENSE-2.0.txt

POM Project URL: http://www.snakeyaml.org

POM License: Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt +


+

This report was generated at Wed May 24 13:16:27 SAMT 2017.

+ + diff --git a/licenses/jackson-annotations-2.8.0.jar/META-INF/LICENSE b/licenses/jackson-annotations-2.8.0.jar/META-INF/LICENSE new file mode 100644 index 0000000..ff94ef8 --- /dev/null +++ b/licenses/jackson-annotations-2.8.0.jar/META-INF/LICENSE @@ -0,0 +1,8 @@ +This copy of Jackson JSON processor annotations 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. + +You may obtain a copy of the License at: + +http://www.apache.org/licenses/LICENSE-2.0 diff --git a/licenses/jackson-core-2.8.7.jar/META-INF/LICENSE b/licenses/jackson-core-2.8.7.jar/META-INF/LICENSE new file mode 100644 index 0000000..f5f45d2 --- /dev/null +++ b/licenses/jackson-core-2.8.7.jar/META-INF/LICENSE @@ -0,0 +1,8 @@ +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. + +You may obtain a copy of the License at: + +http://www.apache.org/licenses/LICENSE-2.0 diff --git a/licenses/jackson-core-2.8.7.jar/META-INF/NOTICE b/licenses/jackson-core-2.8.7.jar/META-INF/NOTICE new file mode 100644 index 0000000..4c976b7 --- /dev/null +++ b/licenses/jackson-core-2.8.7.jar/META-INF/NOTICE @@ -0,0 +1,20 @@ +# Jackson JSON processor + +Jackson is a high-performance, Free/Open Source JSON processing library. +It was originally written by Tatu Saloranta (tatu.saloranta@iki.fi), and has +been in development since 2007. +It is currently developed by a community of developers, as well as supported +commercially by FasterXML.com. + +## Licensing + +Jackson core and extension components may licensed under different licenses. +To find the details that apply to this artifact see the accompanying LICENSE file. +For more information, including possible other licensing options, contact +FasterXML.com (http://fasterxml.com). + +## Credits + +A list of contributors may be found from CREDITS file, which is included +in some artifacts (usually source distributions); but is always available +from the source code management (SCM) system project uses. diff --git a/licenses/jackson-databind-2.8.7.jar/META-INF/LICENSE b/licenses/jackson-databind-2.8.7.jar/META-INF/LICENSE new file mode 100644 index 0000000..6acf754 --- /dev/null +++ b/licenses/jackson-databind-2.8.7.jar/META-INF/LICENSE @@ -0,0 +1,8 @@ +This copy of Jackson JSON processor databind module 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. + +You may obtain a copy of the License at: + +http://www.apache.org/licenses/LICENSE-2.0 diff --git a/licenses/jackson-databind-2.8.7.jar/META-INF/NOTICE b/licenses/jackson-databind-2.8.7.jar/META-INF/NOTICE new file mode 100644 index 0000000..5ab1e56 --- /dev/null +++ b/licenses/jackson-databind-2.8.7.jar/META-INF/NOTICE @@ -0,0 +1,20 @@ +# Jackson JSON processor + +Jackson is a high-performance, Free/Open Source JSON processing library. +It was originally written by Tatu Saloranta (tatu.saloranta@iki.fi), and has +been in development since 2007. +It is currently developed by a community of developers, as well as supported +commercially by FasterXML.com. + +## Licensing + +Jackson core and extension components may be licensed under different licenses. +To find the details that apply to this artifact see the accompanying LICENSE file. +For more information, including possible other licensing options, contact +FasterXML.com (http://fasterxml.com). + +## Credits + +A list of contributors may be found from CREDITS file, which is included +in some artifacts (usually source distributions); but is always available +from the source code management (SCM) system project uses. diff --git a/licenses/javax.transaction-api-1.2.jar/META-INF/LICENSE.txt b/licenses/javax.transaction-api-1.2.jar/META-INF/LICENSE.txt new file mode 100644 index 0000000..a0ccc93 --- /dev/null +++ b/licenses/javax.transaction-api-1.2.jar/META-INF/LICENSE.txt @@ -0,0 +1,263 @@ +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. + + +The GNU General Public License (GPL) Version 2, June 1991 + + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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. + + +"CLASSPATH" EXCEPTION TO THE GPL VERSION 2 + +Certain source files distributed by Sun Microsystems, Inc. are subject to the following clarification and special exception to the GPL Version 2, but only where Sun has expressly included in the particular source file's header the words + +"Sun designates this particular file as subject to the "Classpath" exception as provided by Sun in the License file that accompanied this code." + +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/licenses/jboss-logging-3.3.0.Final.jar/META-INF/LICENSE.txt b/licenses/jboss-logging-3.3.0.Final.jar/META-INF/LICENSE.txt new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/licenses/jboss-logging-3.3.0.Final.jar/META-INF/LICENSE.txt @@ -0,0 +1,202 @@ + + 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/licenses/jsoup-1.10.2.jar/META-INF/LICENSE b/licenses/jsoup-1.10.2.jar/META-INF/LICENSE new file mode 100644 index 0000000..ab9f00b --- /dev/null +++ b/licenses/jsoup-1.10.2.jar/META-INF/LICENSE @@ -0,0 +1,21 @@ +The MIT License + +© 2009-2017, Jonathan Hedley + +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/licenses/jsoup-1.10.2.jar/META-INF/README b/licenses/jsoup-1.10.2.jar/META-INF/README new file mode 100644 index 0000000..19bf7c4 --- /dev/null +++ b/licenses/jsoup-1.10.2.jar/META-INF/README @@ -0,0 +1,17 @@ +jsoup: Java HTML parser that makes sense of real-world HTML soup. + +jsoup is a Java library for working with real-world HTML. It provides a very convenient API for extracting and manipulating data, using the best of DOM, CSS, and jquery-like methods. + +jsoup implements the WHATWG HTML5 specification (http://whatwg.org/html), and parses HTML to the same DOM as modern browsers do. + +* parse HTML from a URL, file, or string +* find and extract data, using DOM traversal or CSS selectors +* manipulate the HTML elements, attributes, and text +* clean user-submitted content against a safe white-list, to prevent XSS +* output tidy HTML + +jsoup is designed to deal with all varieties of HTML found in the wild; from pristine and validating, to invalid tag-soup; jsoup will create a sensible parse tree. + +jsoup runs on Java 1.5 and up. + +See https://jsoup.org/ for downloads and documentation. diff --git a/licenses/liquibase-core-3.5.3.jar/dist/LICENSE.txt b/licenses/liquibase-core-3.5.3.jar/dist/LICENSE.txt new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/licenses/liquibase-core-3.5.3.jar/dist/LICENSE.txt @@ -0,0 +1,202 @@ + + 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/licenses/liquibase-core-3.5.3.jar/dist/README.txt b/licenses/liquibase-core-3.5.3.jar/dist/README.txt new file mode 100644 index 0000000..afc0050 --- /dev/null +++ b/licenses/liquibase-core-3.5.3.jar/dist/README.txt @@ -0,0 +1,52 @@ +This directory allows you both run Liquibase in a normal production setting to manage your database as well as develop +and test Liquibase extensions. + +ROOT DIRECTORY STRUCTURE: +---------------------------------------- + +The root of this directory is designed to run Liquibase. There are shell and batch scripts (liquibase and liquibase.bat) +which will run the Liquibase command line application. + +The "lib" directory is automatically scanned by the liquibase scripts and all .jar files are added to the classpath. +If you have JDBC drivers or Liquibase extensions that you want to be automatically included, add them to this directory. + +The "lib-other" directory is not automatically scanned by the liquibase scripts. This directory can be used to store jar +files that are referenced with manual --classpath references. Storing JDBC drivers in lib-other instead of lib allows +you to control which versions of the driver are used by liquibase. Storing extensions in lib-other instead of lib allows +you to control which extensions are used by liquibase. + +The "sdk" directory is designed to allow you to develop and test Liquibase extensions as well as test Liquibase itself. +See below for more information. + + +SDK DIRECTORY STRUCTURE +---------------------------------------- + +** For more information, see http://liquibase.org/documentation/sdk** + +The "sdk" directory contains liquibase-sdk shell and batch scripts for running the Liquibase SDK application. +The Liquibase-sdk application allows you to create and manage test databases in virtual machines, execute tests, and more. + +The "javadoc" directory contains the Liquibase core library API documentation. + +The "lib-sdk" directory is used to store jars used by liquibase-sdk but not standard liquibase usage. Anything added to +this directory is automatically included in the liquibase-sdk classpath, but if you have any additional jars to +include, add them to LIQUIBASE_HOME/lib or LIQUIBASE_HOME/lib-other instead of here. + +The "vagrant" directory is where images created by the "liquibase-sdk vagrant" command are stored. +See below for more information. + +The "workspace" directory is a simple structure designed to allow testing of liquibase and liquibase extensions. For +real usage, you should have your changelog files managed with your application code but the workspace directory has a +starting example changelog as well as properties files for several databases that leverage the virtual machines managed +through the "liqubiase-sdk vagrant" command. + +VAGRANT USAGE +---------------------------------------- + +You can easily create databases for testing Liquibase using the vagrant configurations the vagrant directory and with +the "liquibase-sdk vagrant" command. + +For commercial databases, the generated vagrant configurations expect the installers/zip/etc. files to be placed in +LIQUIBASE_HOME/sdk/vagrant/install-files/PRODUCT. Where PRODUCT is "oracle", "mssql", "windows" etc. Running +"liquibase-sdk vagrant init" should give you information on what files are expected in this directory. \ No newline at end of file diff --git a/licenses/liquibase-core-3.5.3.jar/dist/sdk/vagrant/install-files/README.txt b/licenses/liquibase-core-3.5.3.jar/dist/sdk/vagrant/install-files/README.txt new file mode 100644 index 0000000..c9e7a4b --- /dev/null +++ b/licenses/liquibase-core-3.5.3.jar/dist/sdk/vagrant/install-files/README.txt @@ -0,0 +1 @@ +Store installation files here. See LIQUIBASE_HOME/README.txt for more information \ No newline at end of file diff --git a/licenses/liquibase-core-3.5.3.jar/dist/sdk/vagrant/readme.md b/licenses/liquibase-core-3.5.3.jar/dist/sdk/vagrant/readme.md new file mode 100644 index 0000000..48056c7 --- /dev/null +++ b/licenses/liquibase-core-3.5.3.jar/dist/sdk/vagrant/readme.md @@ -0,0 +1,49 @@ +# Liquibase Vagrant Database Servers + +You can easily create databases for testing Liquibase using the vagrant configurations in this directory + +## Conventions + +### install-files + +The install-files directory is where vagrant looks to find non-internet accessible install files. +For example, to install Oracle, download the oracle zip files and place them in install-files/oracle + +### Network Setup + +The vagrant boxes are configured to create host-only IPs in the 10.10.100.X range. Firewalls are disabled since they are host-only + +- 10.10.100.100: linux-standard + +### Standard Database Setup + +- Most tests and scripts assume the database is accessible with a username of "liquibase" and a password of "liquibase". +If that is combination is not supported on a database, something as close as possible will be used + +- Most tests and scripts assume a catalog/database called "liquibase" is created +- Most tests and scripts assume a schema called "liquibase" is created if the database supports it + +### Provisioning + +Provisioning in Vagrant is handed primarily by puppet, although there is a shell provisioning that is done first to bootstrap anything that cannot be done in puppet. + +The starting puppet file will be manifests/init.pp within each vagrant config. For example, linux-standard/manifests/init.pp + +## Vagrant Boxes + +### linux-standard + +Linux-standard is the only vagrant box currently configured. It is a 64 bit CentOS 6.4 server. +It will install: + +- Mysql +- Postgres +- Oracle + +## Database Configuration + +### Oracle + +To install Oracle, download the installation file(s) from http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html and place them in install-files/oracle + +Oracle Enterprise Manager can be downloaded from http://www.oracle.com/technetwork/oem/enterprise-manager/downloads/oem-windows64-download-1619155.html and installed on your workstation \ No newline at end of file diff --git a/licenses/mapstruct-1.0.0.Final.jar/META-INF/LICENSE.txt b/licenses/mapstruct-1.0.0.Final.jar/META-INF/LICENSE.txt new file mode 100644 index 0000000..483ed53 --- /dev/null +++ b/licenses/mapstruct-1.0.0.Final.jar/META-INF/LICENSE.txt @@ -0,0 +1,41 @@ + Copyright 2012-2015 Gunnar Morling (http://www.gunnarmorling.de/) + and/or other contributors as indicated by the @authors tag. See the + copyright.txt file in the distribution for a full listing of all + contributors. + + MapStruct is licensed under the Apache License, Version 2.0 (the + "License"); you may not use this software 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. + +------------------------------------------------------------------------ + + MAPSTRUCT SUBCOMPONENTS WITH DIFFERENT COPYRIGHT OWNERS + + The MapStruct distribution (ZIP, TAR.GZ) as well as the MapStruct + library (JAR) include FreeMarker, a software developed by Attila + Szegedi, Daniel Dekany and Jonathan Revusky. FreeMarker is licensed + under the same license as MapStruct itself - Apache License, Version + 2.0 - but the copyright owners are the aforementioned individuals. + + The MapStruct distribution (ZIP, TAR.GZ) as well as the MapStruct + library (JAR) include a number of files that are licensed by the + Apache Software Foundation under the same license as MapStruct itself - + Apache License, Version 2.0 - but the copyright owner is the Apache + Software Foundation. These files are: + + freemarker/ext/jsp/web-app_2_2.dtd + freemarker/ext/jsp/web-app_2_3.dtd + freemarker/ext/jsp/web-app_2_4.xsd + freemarker/ext/jsp/web-app_2_5.xsd + freemarker/ext/jsp/web-jsptaglibrary_1_1.dtd + freemarker/ext/jsp/web-jsptaglibrary_1_2.dtd + freemarker/ext/jsp/web-jsptaglibrary_2_0.xsd + freemarker/ext/jsp/web-jsptaglibrary_2_1.xsd diff --git a/licenses/spring-aop-4.3.7.RELEASE.jar/META-INF/license.txt b/licenses/spring-aop-4.3.7.RELEASE.jar/META-INF/license.txt new file mode 100644 index 0000000..af779fc --- /dev/null +++ b/licenses/spring-aop-4.3.7.RELEASE.jar/META-INF/license.txt @@ -0,0 +1,279 @@ + 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. + +======================================================================= + +SPRING FRAMEWORK 4.3.7.RELEASE SUBCOMPONENTS: + +Spring Framework 4.3.7.RELEASE 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 4.0 (org.ow2.asm:asm:4.0, org.ow2.asm:asm-commons:4.0): + +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.0 (cglib:cglib:3.0): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +http://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download, +CGLIB 3.0 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +======================================================================= + +To the extent any open source subcomponents 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 http://www.springsource.org/download, or by +sending a request, with your name and address to: + + Pivotal, Inc., 875 Howard St, + San Francisco, CA 94103 + United States of America + +or email info@pivotal.io. All such requests should clearly specify: + + OPEN SOURCE FILES REQUEST + Attention General Counsel + +Pivotal shall 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. diff --git a/licenses/spring-aop-4.3.7.RELEASE.jar/META-INF/notice.txt b/licenses/spring-aop-4.3.7.RELEASE.jar/META-INF/notice.txt new file mode 100644 index 0000000..92cb564 --- /dev/null +++ b/licenses/spring-aop-4.3.7.RELEASE.jar/META-INF/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 4.3.7.RELEASE +Copyright (c) 2002-2017 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/licenses/spring-aspects-4.3.7.RELEASE.jar/META-INF/license.txt b/licenses/spring-aspects-4.3.7.RELEASE.jar/META-INF/license.txt new file mode 100644 index 0000000..af779fc --- /dev/null +++ b/licenses/spring-aspects-4.3.7.RELEASE.jar/META-INF/license.txt @@ -0,0 +1,279 @@ + 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. + +======================================================================= + +SPRING FRAMEWORK 4.3.7.RELEASE SUBCOMPONENTS: + +Spring Framework 4.3.7.RELEASE 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 4.0 (org.ow2.asm:asm:4.0, org.ow2.asm:asm-commons:4.0): + +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.0 (cglib:cglib:3.0): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +http://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download, +CGLIB 3.0 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +======================================================================= + +To the extent any open source subcomponents 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 http://www.springsource.org/download, or by +sending a request, with your name and address to: + + Pivotal, Inc., 875 Howard St, + San Francisco, CA 94103 + United States of America + +or email info@pivotal.io. All such requests should clearly specify: + + OPEN SOURCE FILES REQUEST + Attention General Counsel + +Pivotal shall 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. diff --git a/licenses/spring-aspects-4.3.7.RELEASE.jar/META-INF/notice.txt b/licenses/spring-aspects-4.3.7.RELEASE.jar/META-INF/notice.txt new file mode 100644 index 0000000..92cb564 --- /dev/null +++ b/licenses/spring-aspects-4.3.7.RELEASE.jar/META-INF/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 4.3.7.RELEASE +Copyright (c) 2002-2017 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/licenses/spring-beans-4.3.7.RELEASE.jar/META-INF/license.txt b/licenses/spring-beans-4.3.7.RELEASE.jar/META-INF/license.txt new file mode 100644 index 0000000..af779fc --- /dev/null +++ b/licenses/spring-beans-4.3.7.RELEASE.jar/META-INF/license.txt @@ -0,0 +1,279 @@ + 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. + +======================================================================= + +SPRING FRAMEWORK 4.3.7.RELEASE SUBCOMPONENTS: + +Spring Framework 4.3.7.RELEASE 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 4.0 (org.ow2.asm:asm:4.0, org.ow2.asm:asm-commons:4.0): + +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.0 (cglib:cglib:3.0): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +http://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download, +CGLIB 3.0 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +======================================================================= + +To the extent any open source subcomponents 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 http://www.springsource.org/download, or by +sending a request, with your name and address to: + + Pivotal, Inc., 875 Howard St, + San Francisco, CA 94103 + United States of America + +or email info@pivotal.io. All such requests should clearly specify: + + OPEN SOURCE FILES REQUEST + Attention General Counsel + +Pivotal shall 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. diff --git a/licenses/spring-beans-4.3.7.RELEASE.jar/META-INF/notice.txt b/licenses/spring-beans-4.3.7.RELEASE.jar/META-INF/notice.txt new file mode 100644 index 0000000..92cb564 --- /dev/null +++ b/licenses/spring-beans-4.3.7.RELEASE.jar/META-INF/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 4.3.7.RELEASE +Copyright (c) 2002-2017 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/licenses/spring-context-4.3.7.RELEASE.jar/META-INF/license.txt b/licenses/spring-context-4.3.7.RELEASE.jar/META-INF/license.txt new file mode 100644 index 0000000..af779fc --- /dev/null +++ b/licenses/spring-context-4.3.7.RELEASE.jar/META-INF/license.txt @@ -0,0 +1,279 @@ + 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. + +======================================================================= + +SPRING FRAMEWORK 4.3.7.RELEASE SUBCOMPONENTS: + +Spring Framework 4.3.7.RELEASE 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 4.0 (org.ow2.asm:asm:4.0, org.ow2.asm:asm-commons:4.0): + +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.0 (cglib:cglib:3.0): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +http://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download, +CGLIB 3.0 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +======================================================================= + +To the extent any open source subcomponents 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 http://www.springsource.org/download, or by +sending a request, with your name and address to: + + Pivotal, Inc., 875 Howard St, + San Francisco, CA 94103 + United States of America + +or email info@pivotal.io. All such requests should clearly specify: + + OPEN SOURCE FILES REQUEST + Attention General Counsel + +Pivotal shall 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. diff --git a/licenses/spring-context-4.3.7.RELEASE.jar/META-INF/notice.txt b/licenses/spring-context-4.3.7.RELEASE.jar/META-INF/notice.txt new file mode 100644 index 0000000..92cb564 --- /dev/null +++ b/licenses/spring-context-4.3.7.RELEASE.jar/META-INF/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 4.3.7.RELEASE +Copyright (c) 2002-2017 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/licenses/spring-core-4.3.7.RELEASE.jar/META-INF/license.txt b/licenses/spring-core-4.3.7.RELEASE.jar/META-INF/license.txt new file mode 100644 index 0000000..af779fc --- /dev/null +++ b/licenses/spring-core-4.3.7.RELEASE.jar/META-INF/license.txt @@ -0,0 +1,279 @@ + 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. + +======================================================================= + +SPRING FRAMEWORK 4.3.7.RELEASE SUBCOMPONENTS: + +Spring Framework 4.3.7.RELEASE 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 4.0 (org.ow2.asm:asm:4.0, org.ow2.asm:asm-commons:4.0): + +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.0 (cglib:cglib:3.0): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +http://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download, +CGLIB 3.0 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +======================================================================= + +To the extent any open source subcomponents 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 http://www.springsource.org/download, or by +sending a request, with your name and address to: + + Pivotal, Inc., 875 Howard St, + San Francisco, CA 94103 + United States of America + +or email info@pivotal.io. All such requests should clearly specify: + + OPEN SOURCE FILES REQUEST + Attention General Counsel + +Pivotal shall 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. diff --git a/licenses/spring-core-4.3.7.RELEASE.jar/META-INF/notice.txt b/licenses/spring-core-4.3.7.RELEASE.jar/META-INF/notice.txt new file mode 100644 index 0000000..92cb564 --- /dev/null +++ b/licenses/spring-core-4.3.7.RELEASE.jar/META-INF/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 4.3.7.RELEASE +Copyright (c) 2002-2017 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/licenses/spring-data-commons-1.13.1.RELEASE.jar/license.txt b/licenses/spring-data-commons-1.13.1.RELEASE.jar/license.txt new file mode 100644 index 0000000..7584e2d --- /dev/null +++ b/licenses/spring-data-commons-1.13.1.RELEASE.jar/license.txt @@ -0,0 +1,216 @@ + 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. + +======================================================================= + +To the extent any open source subcomponents 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 http://www.springsource.org/download, +or by sending a request, with your name and address to: VMware, Inc., 3401 Hillview +Avenue, Palo Alto, CA 94304, United States of America or email info@vmware.com. All +such requests should clearly specify: OPEN SOURCE FILES REQUEST, Attention General +Counsel. VMware shall 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. \ No newline at end of file diff --git a/licenses/spring-data-commons-1.13.1.RELEASE.jar/notice.txt b/licenses/spring-data-commons-1.13.1.RELEASE.jar/notice.txt new file mode 100644 index 0000000..2d4140c --- /dev/null +++ b/licenses/spring-data-commons-1.13.1.RELEASE.jar/notice.txt @@ -0,0 +1,10 @@ +Spring Data Commons 1.13.1 +Copyright (c) [2010-2015] 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. + +This product may include a number of subcomponents with +separate copyright notices and license terms. Your use of the source +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/licenses/spring-data-commons-1.13.1.RELEASE.jar/readme.txt b/licenses/spring-data-commons-1.13.1.RELEASE.jar/readme.txt new file mode 100644 index 0000000..e13d7dc --- /dev/null +++ b/licenses/spring-data-commons-1.13.1.RELEASE.jar/readme.txt @@ -0,0 +1,14 @@ +Spring Data Commons is released under the terms of the Apache Software License Version 2.0 (see license.txt). + + +DISTRIBUTION CONTENTS: + +The JARs are available in the 'dist' directory, and the source JARs are in the 'src' directory. + +The reference manual and javadoc are located in the 'docs' directory. + + +ADDITIONAL RESOURCES: + +Spring Data Homepage: http://projects.spring.io/spring-data +Spring Data on Stackoverflow: http://stackoverflow.com/questions/tagged/spring-data diff --git a/licenses/spring-data-jpa-1.11.1.RELEASE.jar/license.txt b/licenses/spring-data-jpa-1.11.1.RELEASE.jar/license.txt new file mode 100644 index 0000000..7584e2d --- /dev/null +++ b/licenses/spring-data-jpa-1.11.1.RELEASE.jar/license.txt @@ -0,0 +1,216 @@ + 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. + +======================================================================= + +To the extent any open source subcomponents 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 http://www.springsource.org/download, +or by sending a request, with your name and address to: VMware, Inc., 3401 Hillview +Avenue, Palo Alto, CA 94304, United States of America or email info@vmware.com. All +such requests should clearly specify: OPEN SOURCE FILES REQUEST, Attention General +Counsel. VMware shall 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. \ No newline at end of file diff --git a/licenses/spring-data-jpa-1.11.1.RELEASE.jar/notice.txt b/licenses/spring-data-jpa-1.11.1.RELEASE.jar/notice.txt new file mode 100644 index 0000000..a06977a --- /dev/null +++ b/licenses/spring-data-jpa-1.11.1.RELEASE.jar/notice.txt @@ -0,0 +1,10 @@ +Spring Data JPA 1.11.1 +Copyright (c) [2011-2015] 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. + +This product may include a number of subcomponents with +separate copyright notices and license terms. Your use of the source +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/licenses/spring-data-jpa-1.11.1.RELEASE.jar/readme.txt b/licenses/spring-data-jpa-1.11.1.RELEASE.jar/readme.txt new file mode 100644 index 0000000..738a1f4 --- /dev/null +++ b/licenses/spring-data-jpa-1.11.1.RELEASE.jar/readme.txt @@ -0,0 +1,17 @@ +Spring Data JPA 1.6.0 M1 (March 31th, 2014) +------------------------------------------- + +Spring Data Jpa is released under the terms of the Apache Software License Version 2.0 (see license.txt). + + +DISTRIBUTION CONTENTS: + +The JARs are available in the 'dist' directory, and the source JARs are in the 'src' directory. + +The reference manual and javadoc are located in the 'docs' directory. + + +ADDITIONAL RESOURCES: + +Spring Data Homepage: http://projects.spring.io/spring-data +Spring Data JPA on Stackoverflow: http://stackoverflow.com/questions/tagged/spring-data-jpa diff --git a/licenses/spring-expression-4.3.7.RELEASE.jar/META-INF/license.txt b/licenses/spring-expression-4.3.7.RELEASE.jar/META-INF/license.txt new file mode 100644 index 0000000..af779fc --- /dev/null +++ b/licenses/spring-expression-4.3.7.RELEASE.jar/META-INF/license.txt @@ -0,0 +1,279 @@ + 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. + +======================================================================= + +SPRING FRAMEWORK 4.3.7.RELEASE SUBCOMPONENTS: + +Spring Framework 4.3.7.RELEASE 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 4.0 (org.ow2.asm:asm:4.0, org.ow2.asm:asm-commons:4.0): + +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.0 (cglib:cglib:3.0): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +http://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download, +CGLIB 3.0 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +======================================================================= + +To the extent any open source subcomponents 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 http://www.springsource.org/download, or by +sending a request, with your name and address to: + + Pivotal, Inc., 875 Howard St, + San Francisco, CA 94103 + United States of America + +or email info@pivotal.io. All such requests should clearly specify: + + OPEN SOURCE FILES REQUEST + Attention General Counsel + +Pivotal shall 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. diff --git a/licenses/spring-expression-4.3.7.RELEASE.jar/META-INF/notice.txt b/licenses/spring-expression-4.3.7.RELEASE.jar/META-INF/notice.txt new file mode 100644 index 0000000..92cb564 --- /dev/null +++ b/licenses/spring-expression-4.3.7.RELEASE.jar/META-INF/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 4.3.7.RELEASE +Copyright (c) 2002-2017 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/licenses/spring-hateoas-0.23.0.RELEASE.jar/license.txt b/licenses/spring-hateoas-0.23.0.RELEASE.jar/license.txt new file mode 100644 index 0000000..7584e2d --- /dev/null +++ b/licenses/spring-hateoas-0.23.0.RELEASE.jar/license.txt @@ -0,0 +1,216 @@ + 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. + +======================================================================= + +To the extent any open source subcomponents 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 http://www.springsource.org/download, +or by sending a request, with your name and address to: VMware, Inc., 3401 Hillview +Avenue, Palo Alto, CA 94304, United States of America or email info@vmware.com. All +such requests should clearly specify: OPEN SOURCE FILES REQUEST, Attention General +Counsel. VMware shall 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. \ No newline at end of file diff --git a/licenses/spring-hateoas-0.23.0.RELEASE.jar/notice.txt b/licenses/spring-hateoas-0.23.0.RELEASE.jar/notice.txt new file mode 100644 index 0000000..ca72bf8 --- /dev/null +++ b/licenses/spring-hateoas-0.23.0.RELEASE.jar/notice.txt @@ -0,0 +1,10 @@ +Spring HATEOAS 0.22 +Copyright (c) [2012-2016] 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. + +This product may include a number of subcomponents with +separate copyright notices and license terms. Your use of the source +code for the these subcomponents is subject to the terms and +conditions of the subcomponent's license, as noted in the LICENSE file. \ No newline at end of file diff --git a/licenses/spring-jdbc-4.3.7.RELEASE.jar/META-INF/license.txt b/licenses/spring-jdbc-4.3.7.RELEASE.jar/META-INF/license.txt new file mode 100644 index 0000000..af779fc --- /dev/null +++ b/licenses/spring-jdbc-4.3.7.RELEASE.jar/META-INF/license.txt @@ -0,0 +1,279 @@ + 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. + +======================================================================= + +SPRING FRAMEWORK 4.3.7.RELEASE SUBCOMPONENTS: + +Spring Framework 4.3.7.RELEASE 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 4.0 (org.ow2.asm:asm:4.0, org.ow2.asm:asm-commons:4.0): + +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.0 (cglib:cglib:3.0): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +http://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download, +CGLIB 3.0 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +======================================================================= + +To the extent any open source subcomponents 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 http://www.springsource.org/download, or by +sending a request, with your name and address to: + + Pivotal, Inc., 875 Howard St, + San Francisco, CA 94103 + United States of America + +or email info@pivotal.io. All such requests should clearly specify: + + OPEN SOURCE FILES REQUEST + Attention General Counsel + +Pivotal shall 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. diff --git a/licenses/spring-jdbc-4.3.7.RELEASE.jar/META-INF/notice.txt b/licenses/spring-jdbc-4.3.7.RELEASE.jar/META-INF/notice.txt new file mode 100644 index 0000000..92cb564 --- /dev/null +++ b/licenses/spring-jdbc-4.3.7.RELEASE.jar/META-INF/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 4.3.7.RELEASE +Copyright (c) 2002-2017 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/licenses/spring-orm-4.3.7.RELEASE.jar/META-INF/license.txt b/licenses/spring-orm-4.3.7.RELEASE.jar/META-INF/license.txt new file mode 100644 index 0000000..af779fc --- /dev/null +++ b/licenses/spring-orm-4.3.7.RELEASE.jar/META-INF/license.txt @@ -0,0 +1,279 @@ + 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. + +======================================================================= + +SPRING FRAMEWORK 4.3.7.RELEASE SUBCOMPONENTS: + +Spring Framework 4.3.7.RELEASE 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 4.0 (org.ow2.asm:asm:4.0, org.ow2.asm:asm-commons:4.0): + +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.0 (cglib:cglib:3.0): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +http://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download, +CGLIB 3.0 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +======================================================================= + +To the extent any open source subcomponents 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 http://www.springsource.org/download, or by +sending a request, with your name and address to: + + Pivotal, Inc., 875 Howard St, + San Francisco, CA 94103 + United States of America + +or email info@pivotal.io. All such requests should clearly specify: + + OPEN SOURCE FILES REQUEST + Attention General Counsel + +Pivotal shall 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. diff --git a/licenses/spring-orm-4.3.7.RELEASE.jar/META-INF/notice.txt b/licenses/spring-orm-4.3.7.RELEASE.jar/META-INF/notice.txt new file mode 100644 index 0000000..92cb564 --- /dev/null +++ b/licenses/spring-orm-4.3.7.RELEASE.jar/META-INF/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 4.3.7.RELEASE +Copyright (c) 2002-2017 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/licenses/spring-tx-4.3.7.RELEASE.jar/META-INF/license.txt b/licenses/spring-tx-4.3.7.RELEASE.jar/META-INF/license.txt new file mode 100644 index 0000000..af779fc --- /dev/null +++ b/licenses/spring-tx-4.3.7.RELEASE.jar/META-INF/license.txt @@ -0,0 +1,279 @@ + 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. + +======================================================================= + +SPRING FRAMEWORK 4.3.7.RELEASE SUBCOMPONENTS: + +Spring Framework 4.3.7.RELEASE 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 4.0 (org.ow2.asm:asm:4.0, org.ow2.asm:asm-commons:4.0): + +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.0 (cglib:cglib:3.0): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +http://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download, +CGLIB 3.0 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +======================================================================= + +To the extent any open source subcomponents 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 http://www.springsource.org/download, or by +sending a request, with your name and address to: + + Pivotal, Inc., 875 Howard St, + San Francisco, CA 94103 + United States of America + +or email info@pivotal.io. All such requests should clearly specify: + + OPEN SOURCE FILES REQUEST + Attention General Counsel + +Pivotal shall 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. diff --git a/licenses/spring-tx-4.3.7.RELEASE.jar/META-INF/notice.txt b/licenses/spring-tx-4.3.7.RELEASE.jar/META-INF/notice.txt new file mode 100644 index 0000000..92cb564 --- /dev/null +++ b/licenses/spring-tx-4.3.7.RELEASE.jar/META-INF/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 4.3.7.RELEASE +Copyright (c) 2002-2017 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/licenses/spring-web-4.3.7.RELEASE.jar/META-INF/license.txt b/licenses/spring-web-4.3.7.RELEASE.jar/META-INF/license.txt new file mode 100644 index 0000000..af779fc --- /dev/null +++ b/licenses/spring-web-4.3.7.RELEASE.jar/META-INF/license.txt @@ -0,0 +1,279 @@ + 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. + +======================================================================= + +SPRING FRAMEWORK 4.3.7.RELEASE SUBCOMPONENTS: + +Spring Framework 4.3.7.RELEASE 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 4.0 (org.ow2.asm:asm:4.0, org.ow2.asm:asm-commons:4.0): + +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.0 (cglib:cglib:3.0): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +http://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download, +CGLIB 3.0 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +======================================================================= + +To the extent any open source subcomponents 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 http://www.springsource.org/download, or by +sending a request, with your name and address to: + + Pivotal, Inc., 875 Howard St, + San Francisco, CA 94103 + United States of America + +or email info@pivotal.io. All such requests should clearly specify: + + OPEN SOURCE FILES REQUEST + Attention General Counsel + +Pivotal shall 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. diff --git a/licenses/spring-web-4.3.7.RELEASE.jar/META-INF/notice.txt b/licenses/spring-web-4.3.7.RELEASE.jar/META-INF/notice.txt new file mode 100644 index 0000000..92cb564 --- /dev/null +++ b/licenses/spring-web-4.3.7.RELEASE.jar/META-INF/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 4.3.7.RELEASE +Copyright (c) 2002-2017 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/licenses/spring-webmvc-4.3.7.RELEASE.jar/META-INF/license.txt b/licenses/spring-webmvc-4.3.7.RELEASE.jar/META-INF/license.txt new file mode 100644 index 0000000..af779fc --- /dev/null +++ b/licenses/spring-webmvc-4.3.7.RELEASE.jar/META-INF/license.txt @@ -0,0 +1,279 @@ + 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. + +======================================================================= + +SPRING FRAMEWORK 4.3.7.RELEASE SUBCOMPONENTS: + +Spring Framework 4.3.7.RELEASE 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 4.0 (org.ow2.asm:asm:4.0, org.ow2.asm:asm-commons:4.0): + +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.0 (cglib:cglib:3.0): + +Per the LICENSE file in the CGLIB JAR distribution downloaded from +http://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download, +CGLIB 3.0 is licensed under the Apache License, version 2.0, the text of which +is included above. + + +======================================================================= + +To the extent any open source subcomponents 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 http://www.springsource.org/download, or by +sending a request, with your name and address to: + + Pivotal, Inc., 875 Howard St, + San Francisco, CA 94103 + United States of America + +or email info@pivotal.io. All such requests should clearly specify: + + OPEN SOURCE FILES REQUEST + Attention General Counsel + +Pivotal shall 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. diff --git a/licenses/spring-webmvc-4.3.7.RELEASE.jar/META-INF/notice.txt b/licenses/spring-webmvc-4.3.7.RELEASE.jar/META-INF/notice.txt new file mode 100644 index 0000000..92cb564 --- /dev/null +++ b/licenses/spring-webmvc-4.3.7.RELEASE.jar/META-INF/notice.txt @@ -0,0 +1,11 @@ +Spring Framework 4.3.7.RELEASE +Copyright (c) 2002-2017 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/licenses/tomcat-embed-core-8.5.11.jar/META-INF/LICENSE b/licenses/tomcat-embed-core-8.5.11.jar/META-INF/LICENSE new file mode 100644 index 0000000..48d6ef3 --- /dev/null +++ b/licenses/tomcat-embed-core-8.5.11.jar/META-INF/LICENSE @@ -0,0 +1,560 @@ + + 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. + + + +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 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 + +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/licenses/tomcat-embed-core-8.5.11.jar/META-INF/NOTICE b/licenses/tomcat-embed-core-8.5.11.jar/META-INF/NOTICE new file mode 100644 index 0000000..bc56ba7 --- /dev/null +++ b/licenses/tomcat-embed-core-8.5.11.jar/META-INF/NOTICE @@ -0,0 +1,27 @@ +Apache Tomcat +Copyright 1999-2017 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +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 + +may be obtained from: +http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/index.html diff --git a/licenses/tomcat-embed-el-8.5.11.jar/META-INF/LICENSE b/licenses/tomcat-embed-el-8.5.11.jar/META-INF/LICENSE new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/licenses/tomcat-embed-el-8.5.11.jar/META-INF/LICENSE @@ -0,0 +1,202 @@ + + 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/licenses/tomcat-embed-el-8.5.11.jar/META-INF/NOTICE b/licenses/tomcat-embed-el-8.5.11.jar/META-INF/NOTICE new file mode 100644 index 0000000..bf74b34 --- /dev/null +++ b/licenses/tomcat-embed-el-8.5.11.jar/META-INF/NOTICE @@ -0,0 +1,5 @@ +Apache Tomcat +Copyright 1999-2017 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). diff --git a/licenses/tomcat-embed-websocket-8.5.11.jar/META-INF/LICENSE b/licenses/tomcat-embed-websocket-8.5.11.jar/META-INF/LICENSE new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/licenses/tomcat-embed-websocket-8.5.11.jar/META-INF/LICENSE @@ -0,0 +1,202 @@ + + 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/licenses/tomcat-embed-websocket-8.5.11.jar/META-INF/NOTICE b/licenses/tomcat-embed-websocket-8.5.11.jar/META-INF/NOTICE new file mode 100644 index 0000000..bf74b34 --- /dev/null +++ b/licenses/tomcat-embed-websocket-8.5.11.jar/META-INF/NOTICE @@ -0,0 +1,5 @@ +Apache Tomcat +Copyright 1999-2017 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). diff --git a/licenses/tomcat-jdbc-8.5.11.jar/LICENSE b/licenses/tomcat-jdbc-8.5.11.jar/LICENSE new file mode 100644 index 0000000..f49a4e1 --- /dev/null +++ b/licenses/tomcat-jdbc-8.5.11.jar/LICENSE @@ -0,0 +1,201 @@ + 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. \ No newline at end of file diff --git a/licenses/tomcat-jdbc-8.5.11.jar/NOTICE b/licenses/tomcat-jdbc-8.5.11.jar/NOTICE new file mode 100644 index 0000000..dfefec0 --- /dev/null +++ b/licenses/tomcat-jdbc-8.5.11.jar/NOTICE @@ -0,0 +1,6 @@ +Apache Tomcat JDBC Pool +Copyright 2008-2017 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + diff --git a/licenses/tomcat-juli-8.5.11.jar/META-INF/LICENSE b/licenses/tomcat-juli-8.5.11.jar/META-INF/LICENSE new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/licenses/tomcat-juli-8.5.11.jar/META-INF/LICENSE @@ -0,0 +1,202 @@ + + 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/licenses/tomcat-juli-8.5.11.jar/META-INF/NOTICE b/licenses/tomcat-juli-8.5.11.jar/META-INF/NOTICE new file mode 100644 index 0000000..bf74b34 --- /dev/null +++ b/licenses/tomcat-juli-8.5.11.jar/META-INF/NOTICE @@ -0,0 +1,5 @@ +Apache Tomcat +Copyright 1999-2017 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). diff --git a/liquibase.gradle b/liquibase.gradle new file mode 100644 index 0000000..f9c992c --- /dev/null +++ b/liquibase.gradle @@ -0,0 +1,37 @@ +configurations { + liquibase +} + +dependencies { + liquibase 'org.liquibase.ext:liquibase-hibernate5:3.6' + compile 'org.liquibase:liquibase-core:3.5.3' +} + +apply plugin: 'org.liquibase.gradle' + +//loading properties file. +Properties liquibaseProps = new Properties() +liquibaseProps.load(new FileInputStream(file("src/main/resources/liquibase-task.properties"))) + +Properties applicationProps = new Properties() +applicationProps.load(new FileInputStream(file("src/main/resources/application.properties"))) + +task liquibaseDiffChangeLog(type: JavaExec) { + group = "liquibase" + classpath sourceSets.main.runtimeClasspath + classpath configurations.liquibase + main = "liquibase.integration.commandline.Main" + args "--changeLogFile="+liquibaseProps.getProperty('liquibase.changelog.path')+ "db.changelog-"+ buildTimestamp()+"-schema.xml" + args "--referenceUrl=hibernate:spring:" + liquibaseProps.getProperty('liquibase.domain.package') + "?dialect=" + applicationProps.getProperty('spring.jpa.database-platform') + args "--username=" + applicationProps.getProperty('spring.datasource.username') + args "--password=" + applicationProps.getProperty('spring.datasource.password') + args "--url=" + applicationProps.getProperty('spring.datasource.url') + args "--driver=" + applicationProps.getProperty('spring.datasource.driverClassName') + args "diffChangeLog" +} + +def buildTimestamp() { + def date = new Date() + def formattedDate = date.format('yyyyMMdd_HHmmss') + return formattedDate +} \ No newline at end of file diff --git a/publishing.gradle b/publishing.gradle new file mode 100644 index 0000000..a77a525 --- /dev/null +++ b/publishing.gradle @@ -0,0 +1,50 @@ +apply plugin: 'net.researchgate.release' +apply plugin: 'maven-publish' +apply plugin: 'maven-publish-auth' + +def snapshopRepositoryUrl = 'https://maven.in.devexperts.com/content/repositories/uxdesign-snapshot' +def releaseRepositoryUrl = 'https://maven.in.devexperts.com/content/repositories/uxdesign' +group = 'com.devexperts' + +publishToMavenLocal { + dependsOn assemble +} + +publish { + dependsOn assemble +} + +afterReleaseBuild{ + dependsOn publish +} + +publishing { + publications { + maven(MavenPublication) { + artifactId = 'chameleon' + from components.java + } + } + + repositories { + maven { + name "${repositoryId}" + if(project.version.endsWith('-SNAPSHOT')) { + url snapshopRepositoryUrl + } else { + url releaseRepositoryUrl + } + } + } +} + +release { + failOnPublishNeeded = false + failOnUpdateNeeded = false +} + +if (project.version.endsWith('-SNAPSHOT')) { + jar.archiveName="chameleon-snapshot.jar" +} else { + jar.archiveName="chameleon-release.jar" +} \ No newline at end of file diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000..754184e --- /dev/null +++ b/settings.gradle @@ -0,0 +1 @@ +rootProject.name = 'chameleon' \ No newline at end of file diff --git a/src/main/java/com/devexperts/chameleon/ChameleonApplication.java b/src/main/java/com/devexperts/chameleon/ChameleonApplication.java new file mode 100644 index 0000000..2ff842c --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/ChameleonApplication.java @@ -0,0 +1,39 @@ +package com.devexperts.chameleon; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * SpringBoot entry point application + * + */ +@SpringBootApplication +public class ChameleonApplication { + + public static void main(String[] args) { + SpringApplication.run(ChameleonApplication.class, args); + } + +} \ No newline at end of file diff --git a/src/main/java/com/devexperts/chameleon/configuration/ConfluenceImportConfiguration.java b/src/main/java/com/devexperts/chameleon/configuration/ConfluenceImportConfiguration.java new file mode 100644 index 0000000..a23613d --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/configuration/ConfluenceImportConfiguration.java @@ -0,0 +1,86 @@ +package com.devexperts.chameleon.configuration; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import org.hibernate.validator.constraints.NotBlank; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.stereotype.Component; + +/** + * Configuration for confluence importer {@link com.devexperts.chameleon.service.ConfluenceImportPaletteService} + * + */ +@Component +@ConfigurationProperties(prefix = "confluence") +public class ConfluenceImportConfiguration { + + @NotBlank + private String loginPage; + private String username; + private String password; + + @NotBlank + private String usageParseField; + @NotBlank + private String valueParseField; + + public String getLoginPage() { + return loginPage; + } + + public String getUsername() { + return username; + } + + public String getPassword() { + return password; + } + + public String getUsageParseField() { + return usageParseField; + } + + public String getValueParseField() { + return valueParseField; + } + + public void setLoginPage(String loginPage) { + this.loginPage = loginPage; + } + + public void setUsername(String username) { + this.username = username; + } + + public void setPassword(String password) { + this.password = password; + } + + public void setUsageParseField(String usageParseField) { + this.usageParseField = usageParseField; + } + + public void setValueParseField(String valueParseField) { + this.valueParseField = valueParseField; + } +} diff --git a/src/main/java/com/devexperts/chameleon/configuration/RepositoryConfiguration.java b/src/main/java/com/devexperts/chameleon/configuration/RepositoryConfiguration.java new file mode 100644 index 0000000..26c507b --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/configuration/RepositoryConfiguration.java @@ -0,0 +1,39 @@ +package com.devexperts.chameleon.configuration; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import org.springframework.boot.autoconfigure.EnableAutoConfiguration; +import org.springframework.boot.autoconfigure.domain.EntityScan; +import org.springframework.context.annotation.Configuration; +import org.springframework.data.jpa.repository.config.EnableJpaRepositories; + +/** + * Configuration class for Spring Data repositories + * + */ +@Configuration +@EnableJpaRepositories(basePackages = "com.devexperts.chameleon.repository") +@EnableAutoConfiguration +@EntityScan(basePackages = {"com.devexperts.chameleon.entity"}) +public class RepositoryConfiguration { +} diff --git a/src/main/java/com/devexperts/chameleon/configuration/SwaggerConfiguration.java b/src/main/java/com/devexperts/chameleon/configuration/SwaggerConfiguration.java new file mode 100644 index 0000000..f7383e2 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/configuration/SwaggerConfiguration.java @@ -0,0 +1,48 @@ +package com.devexperts.chameleon.configuration; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import springfox.documentation.builders.PathSelectors; +import springfox.documentation.spi.DocumentationType; +import springfox.documentation.spring.web.plugins.Docket; +import springfox.documentation.swagger2.annotations.EnableSwagger2; + +/** + * Swagger configuration + * + */ +@Configuration +@EnableSwagger2 +public class SwaggerConfiguration { + + @Bean + public Docket api() { + return new Docket(DocumentationType.SWAGGER_2) + .groupName("api") + .select() + .paths(PathSelectors.regex("/api.*")) + .build(); + } +} diff --git a/src/main/java/com/devexperts/chameleon/converter/CommitConverter.java b/src/main/java/com/devexperts/chameleon/converter/CommitConverter.java new file mode 100644 index 0000000..02aeefd --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/converter/CommitConverter.java @@ -0,0 +1,49 @@ +package com.devexperts.chameleon.converter; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.dto.CommitDTO; +import org.springframework.core.convert.converter.Converter; +import org.springframework.stereotype.Component; + +import java.math.BigInteger; +import java.util.Date; + +/** + * Convert native query result to {@link CommitDTO}. + * + */ +@Component +public class CommitConverter implements Converter { + + private static int COMMIT_ID_INDEX = 0; + private static int PALETTE_ID_INDEX = 1; + private static int UPDATE_TIME_INDEX = 2; + + public CommitDTO convert(Object[] source) { + return new CommitDTO( + ((BigInteger) source[COMMIT_ID_INDEX]).longValue(), + ((BigInteger) source[PALETTE_ID_INDEX]).longValue(), + (Date) source[UPDATE_TIME_INDEX]); + } +} diff --git a/src/main/java/com/devexperts/chameleon/converter/CommitViewCellConverter.java b/src/main/java/com/devexperts/chameleon/converter/CommitViewCellConverter.java new file mode 100644 index 0000000..30bb1f0 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/converter/CommitViewCellConverter.java @@ -0,0 +1,64 @@ +package com.devexperts.chameleon.converter; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.dto.CommitViewCellDTO; +import com.devexperts.chameleon.dto.PaletteViewCellDTO; +import org.springframework.core.convert.converter.Converter; +import org.springframework.stereotype.Component; + +import java.math.BigDecimal; +import java.math.BigInteger; +import java.util.Date; + +/** + * Convert native query result to {@link CommitViewCellDTO}. + * + */ +@Component +public class CommitViewCellConverter implements Converter { + + private static int VARIABLE_ID_INDEX = 0; + private static int VARIABLE_NAME_INDEX = 1; + private static int VARIABLE_USAGE_INDEX = 2; + private static int PALETTE_ID_INDEX = 3; + private static int COMMIT_ID_INDEX = 4; + private static int COMMIT_UPDATE_TIME_INDEX = 5; + private static int VARIABLE_SNAPSHOT_ID_INDEX = 6; + private static int VARIABLE_COLOR_INDEX = 7; + private static int VARIABLE_OPACITY_INDEX = 8; + + public CommitViewCellDTO convert(Object[] source) { + return new CommitViewCellDTO( + ((BigInteger) source[VARIABLE_ID_INDEX]).longValue(), + (String) source[VARIABLE_NAME_INDEX], + (String) source[VARIABLE_USAGE_INDEX], + ((BigInteger) source[PALETTE_ID_INDEX]).longValue(), + ((BigInteger) source[COMMIT_ID_INDEX]).longValue(), + (Date) source[COMMIT_UPDATE_TIME_INDEX], + source[VARIABLE_SNAPSHOT_ID_INDEX] == null ? null : ((BigInteger) source[VARIABLE_SNAPSHOT_ID_INDEX]).longValue(), + source[VARIABLE_COLOR_INDEX] == null ? null : (String) source[VARIABLE_COLOR_INDEX], + source[VARIABLE_OPACITY_INDEX] == null ? null : ((BigDecimal) source[VARIABLE_OPACITY_INDEX]).floatValue() + ); + } +} diff --git a/src/main/java/com/devexperts/chameleon/converter/PaletteViewCellConverter.java b/src/main/java/com/devexperts/chameleon/converter/PaletteViewCellConverter.java new file mode 100644 index 0000000..cf88477 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/converter/PaletteViewCellConverter.java @@ -0,0 +1,60 @@ +package com.devexperts.chameleon.converter; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.dto.PaletteViewCellDTO; +import org.springframework.core.convert.converter.Converter; +import org.springframework.stereotype.Component; + +import java.math.BigDecimal; +import java.math.BigInteger; + +/** + * Convert native query result to {@link PaletteViewCellDTO}. + * + */ +@Component +public class PaletteViewCellConverter implements Converter { + + private static int VARIABLE_ID_INDEX = 0; + private static int VARIABLE_NAME_INDEX = 1; + private static int VARIABLE_USAGE_INDEX = 2; + private static int PALETTE_ID_INDEX = 3; + private static int PALETTE_NAME_INDEX = 4; + private static int VARIABLE_SNAPSHOT_ID_INDEX = 5; + private static int VARIABLE_COLOR_INDEX = 6; + private static int VARIABLE_OPACITY_INDEX = 7; + + public PaletteViewCellDTO convert(Object[] source) { + return new PaletteViewCellDTO( + ((BigInteger) source[VARIABLE_ID_INDEX]).longValue(), + (String) source[VARIABLE_NAME_INDEX], + (String) source[VARIABLE_USAGE_INDEX], + ((BigInteger) source[PALETTE_ID_INDEX]).longValue(), + (String) source[PALETTE_NAME_INDEX], + source[VARIABLE_SNAPSHOT_ID_INDEX] == null ? null : ((BigInteger) source[VARIABLE_SNAPSHOT_ID_INDEX]).longValue(), + source[VARIABLE_COLOR_INDEX] == null ? null : (String) source[VARIABLE_COLOR_INDEX], + source[VARIABLE_OPACITY_INDEX] == null ? null : ((BigDecimal) source[VARIABLE_OPACITY_INDEX]).floatValue() + ); + } +} diff --git a/src/main/java/com/devexperts/chameleon/dto/AuthDTO.java b/src/main/java/com/devexperts/chameleon/dto/AuthDTO.java new file mode 100644 index 0000000..1e40a63 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/dto/AuthDTO.java @@ -0,0 +1,46 @@ +package com.devexperts.chameleon.dto; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class AuthDTO { + + private final String username; + private final String password; + + @JsonCreator + public AuthDTO(@JsonProperty("username") String username, @JsonProperty("password") String password) { + this.username = username; + this.password = password; + } + + public String getUsername() { + return username; + } + + public String getPassword() { + return password; + } +} diff --git a/src/main/java/com/devexperts/chameleon/dto/CommitDTO.java b/src/main/java/com/devexperts/chameleon/dto/CommitDTO.java new file mode 100644 index 0000000..05cfaab --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/dto/CommitDTO.java @@ -0,0 +1,62 @@ +package com.devexperts.chameleon.dto; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +import java.time.LocalDateTime; +import java.time.ZoneId; +import java.time.format.DateTimeFormatter; +import java.util.Date; + +public class CommitDTO { + + private final Long id; + private final Long paletteId; + private final String updateTime; + + private static final DateTimeFormatter formater = DateTimeFormatter.ofPattern("yyyy-MM-dd hh:mm:ss"); + + @JsonCreator + public CommitDTO( + @JsonProperty("id") Long id, + @JsonProperty("paletteId") Long paletteId, + @JsonProperty("updateTime") Date updateTime) { + this.id = id; + this.paletteId = paletteId; + this.updateTime = LocalDateTime.ofInstant(updateTime.toInstant(), ZoneId.systemDefault()).format(formater); + } + + public Long getId() { + return id; + } + + public Long getPaletteId() { + return paletteId; + } + + public String getUpdateTime() { + return updateTime; + } +} diff --git a/src/main/java/com/devexperts/chameleon/dto/CommitViewCellDTO.java b/src/main/java/com/devexperts/chameleon/dto/CommitViewCellDTO.java new file mode 100644 index 0000000..94f3ead --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/dto/CommitViewCellDTO.java @@ -0,0 +1,97 @@ +package com.devexperts.chameleon.dto; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +import java.util.Date; + +public class CommitViewCellDTO { + private final Long variableId; + private final String variableName; + private final String variableUsage; + private final Long paletteId; + private final Long commitId; + private final Date updateTime; + private final Long variableSnapshotId; + private final String color; + private final Float opacity; + + @JsonCreator + public CommitViewCellDTO(@JsonProperty("variableId") Long variableId, + @JsonProperty("variableName") String variableName, + @JsonProperty("variableUsage") String variableUsage, + @JsonProperty("paletteId") Long paletteId, + @JsonProperty("commitId") Long commitId, + @JsonProperty("updateTime") Date updateTime, + @JsonProperty("variableSnapshotId") Long variableSnapshotId, + @JsonProperty("color") String color, + @JsonProperty("opacity") Float opacity) { + this.variableId = variableId; + this.variableName = variableName; + this.variableUsage = variableUsage; + this.paletteId = paletteId; + this.commitId = commitId; + this.updateTime = updateTime; + this.variableSnapshotId = variableSnapshotId; + this.color = color; + this.opacity = opacity; + } + + public Long getVariableId() { + return variableId; + } + + public String getVariableName() { + return variableName; + } + + public String getVariableUsage() { + return variableUsage; + } + + public Long getCommitId() { + return commitId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public Long getVariableSnapshotId() { + return variableSnapshotId; + } + + public String getColor() { + return color; + } + + public Float getOpacity() { + return opacity; + } + + public Long getPaletteId() { + return paletteId; + } +} diff --git a/src/main/java/com/devexperts/chameleon/dto/PaletteDTO.java b/src/main/java/com/devexperts/chameleon/dto/PaletteDTO.java new file mode 100644 index 0000000..92d4588 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/dto/PaletteDTO.java @@ -0,0 +1,56 @@ +package com.devexperts.chameleon.dto; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.validator.NotExistingPaletteName; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Size; + +public class PaletteDTO { + + private final Long id; + + @Size(min = 1, max = 255, message = "{exception.palette.name.wrong}") + @NotNull(message = "{exception.palette.name.notnull}") + @NotExistingPaletteName(message = "{exception.palette.name.existed}") + private final String name; + + @JsonCreator + public PaletteDTO( + @JsonProperty("id") Long id, + @JsonProperty("name") String name) { + this.id = id; + this.name = name; + } + + public Long getId() { + return id; + } + + public String getName() { + return name; + } +} diff --git a/src/main/java/com/devexperts/chameleon/dto/PaletteDiffViewDTO.java b/src/main/java/com/devexperts/chameleon/dto/PaletteDiffViewDTO.java new file mode 100644 index 0000000..97415a2 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/dto/PaletteDiffViewDTO.java @@ -0,0 +1,43 @@ +package com.devexperts.chameleon.dto; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import java.util.List; + +public class PaletteDiffViewDTO { + private final List columns; + private final List rows; + + public PaletteDiffViewDTO(List columns, List rows) { + this.columns = columns; + this.rows = rows; + } + + public List getColumns() { + return columns; + } + + public List getRows() { + return rows; + } +} diff --git a/src/main/java/com/devexperts/chameleon/dto/PaletteViewCellDTO.java b/src/main/java/com/devexperts/chameleon/dto/PaletteViewCellDTO.java new file mode 100644 index 0000000..ea3c02b --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/dto/PaletteViewCellDTO.java @@ -0,0 +1,88 @@ +package com.devexperts.chameleon.dto; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class PaletteViewCellDTO { + private final Long variableId; + private final String variableName; + private final String variableUsage; + private final Long paletteId; + private final String paletteName; + private final Long variableSnapshotId; + private final String color; + private final Float opacity; + + @JsonCreator + public PaletteViewCellDTO(@JsonProperty("variableId") Long variableId, + @JsonProperty("variableName") String variableName, + @JsonProperty("variableUsage") String variableUsage, + @JsonProperty("paletteId") Long paletteId, + @JsonProperty("paletteName") String paletteName, + @JsonProperty("variableSnapshotId") Long variableSnapshotId, + @JsonProperty("color") String color, + @JsonProperty("opacity") Float opacity) { + this.variableId = variableId; + this.variableName = variableName; + this.variableUsage = variableUsage; + this.paletteId = paletteId; + this.paletteName = paletteName; + this.variableSnapshotId = variableSnapshotId; + this.color = color; + this.opacity = opacity; + } + + public Long getVariableId() { + return variableId; + } + + public String getVariableName() { + return variableName; + } + + public String getVariableUsage() { + return variableUsage; + } + + public Long getPaletteId() { + return paletteId; + } + + public String getPaletteName() { + return paletteName; + } + + public Long getVariableSnapshotId() { + return variableSnapshotId; + } + + public String getColor() { + return color; + } + + public Float getOpacity() { + return opacity; + } +} diff --git a/src/main/java/com/devexperts/chameleon/dto/PaletteViewDTO.java b/src/main/java/com/devexperts/chameleon/dto/PaletteViewDTO.java new file mode 100644 index 0000000..8f3a725 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/dto/PaletteViewDTO.java @@ -0,0 +1,43 @@ +package com.devexperts.chameleon.dto; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import java.util.List; + +public class PaletteViewDTO { + private final List columns; + private final List rows; + + public PaletteViewDTO(List columns, List rows) { + this.columns = columns; + this.rows = rows; + } + + public List getColumns() { + return columns; + } + + public List getRows() { + return rows; + } +} diff --git a/src/main/java/com/devexperts/chameleon/dto/SaveVariableDTO.java b/src/main/java/com/devexperts/chameleon/dto/SaveVariableDTO.java new file mode 100644 index 0000000..8b88d46 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/dto/SaveVariableDTO.java @@ -0,0 +1,55 @@ +package com.devexperts.chameleon.dto; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; +import java.util.List; + +public class SaveVariableDTO { + + @NotNull(message = "{exception.variable.notnull}") + private final VariableDTO variable; + + @Valid + private final List snapshots; + + @JsonCreator + public SaveVariableDTO( + @JsonProperty("variable") VariableDTO variable, + @JsonProperty("snapshots") List snapshots) { + this.variable = variable; + this.snapshots = snapshots; + } + + public VariableDTO getVariable() { + return variable; + } + + public List getSnapshots() { + return snapshots; + } +} diff --git a/src/main/java/com/devexperts/chameleon/dto/UiComponentDTO.java b/src/main/java/com/devexperts/chameleon/dto/UiComponentDTO.java new file mode 100644 index 0000000..55a64d5 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/dto/UiComponentDTO.java @@ -0,0 +1,67 @@ +package com.devexperts.chameleon.dto; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.validator.NotExistingComponentName; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Pattern; +import javax.validation.constraints.Size; + +public class UiComponentDTO { + + private final Long id; + + @Size(min = 1, max = 255, message = "{exception.uicomponent.name.wrong}") + @NotNull(message = "{exception.uicomponent.name.notnull}") + @NotExistingComponentName(message = "{exception.uicomponent.name.existed}") + private final String name; + + @Pattern(regexp = "^[0-9A-Fa-f]{6}$", message = "{exception.uicomponent.color.wrong}") + @NotNull(message = "{exception.uicomponent.color.notnull}") + private final String color; + + @JsonCreator + public UiComponentDTO( + @JsonProperty("id") Long id, + @JsonProperty("name") String name, + @JsonProperty("color") String color) { + this.id = id; + this.name = name; + this.color = color; + } + + public Long getId() { + return id; + } + + public String getName() { + return name; + } + + public String getColor() { + return color; + } +} diff --git a/src/main/java/com/devexperts/chameleon/dto/VariableDTO.java b/src/main/java/com/devexperts/chameleon/dto/VariableDTO.java new file mode 100644 index 0000000..87cb44d --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/dto/VariableDTO.java @@ -0,0 +1,64 @@ +package com.devexperts.chameleon.dto; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.validator.NotExistingVariableName; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Size; + +public class VariableDTO { + + private final Long id; + + @Size(min = 1, max = 255, message = "{exception.variable.name.wrong}") + @NotNull(message = "{exception.variable.name.notnull}") + @NotExistingVariableName(message = "{exception.variable.name.existed}") + private final String name; + + private final String usage; + + @JsonCreator + public VariableDTO( + @JsonProperty("id") Long id, + @JsonProperty("name") String name, + @JsonProperty("usage") String usage) { + this.id = id; + this.name = name; + this.usage = usage; + } + + public Long getId() { + return id; + } + + public String getName() { + return name; + } + + public String getUsage() { + return usage; + } +} diff --git a/src/main/java/com/devexperts/chameleon/dto/VariableSnapshotDTO.java b/src/main/java/com/devexperts/chameleon/dto/VariableSnapshotDTO.java new file mode 100644 index 0000000..3735d6c --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/dto/VariableSnapshotDTO.java @@ -0,0 +1,80 @@ +package com.devexperts.chameleon.dto; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.validator.ColorOpacity; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Pattern; + +public class VariableSnapshotDTO { + + private final Long id; + + private final Long paletteId; + + private final Long variableId; + + @ColorOpacity(message = "{exception.variable.snapshot.opacity.wrong}") + private final Integer opacity; + + @Pattern(regexp = "^$|^[0-9A-Fa-f]{6}$", message = "{exception.variable.snapshot.color.wrong}") + @NotNull(message = "{exception.variable.snapshot.color.notnull}") + private final String color; + + @JsonCreator + public VariableSnapshotDTO( + @JsonProperty("id") Long id, + @JsonProperty("paletteId") Long paletteId, + @JsonProperty("variableId") Long variableId, + @JsonProperty("opacity") Integer opacity, + @JsonProperty("color") String color) { + this.id = id; + this.paletteId = paletteId; + this.variableId = variableId; + this.opacity = opacity; + this.color = color; + } + + public Long getId() { + return id; + } + + public Integer getOpacity() { + return opacity; + } + + public String getColor() { + return color; + } + + public Long getPaletteId() { + return paletteId; + } + + public Long getVariableId() { + return variableId; + } +} diff --git a/src/main/java/com/devexperts/chameleon/dto/VariableViewDTO.java b/src/main/java/com/devexperts/chameleon/dto/VariableViewDTO.java new file mode 100644 index 0000000..44c8ecf --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/dto/VariableViewDTO.java @@ -0,0 +1,63 @@ +package com.devexperts.chameleon.dto; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; +import java.util.List; + +public class VariableViewDTO { + + @NotNull(message = "{exception.variable.notnull}") + private final VariableDTO variable; + + private final List palettes; + + @Valid + private final List snapshots; + + @JsonCreator + public VariableViewDTO( + @JsonProperty("variable") VariableDTO variable, + @JsonProperty("palettes") List palettes, + @JsonProperty("snapshots") List snapshots) { + this.variable = variable; + this.palettes = palettes; + this.snapshots = snapshots; + } + + public VariableDTO getVariable() { + return variable; + } + + public List getPalettes() { + return palettes; + } + + public List getSnapshots() { + return snapshots; + } +} diff --git a/src/main/java/com/devexperts/chameleon/entity/BaseEntity.java b/src/main/java/com/devexperts/chameleon/entity/BaseEntity.java new file mode 100644 index 0000000..04fe99a --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/entity/BaseEntity.java @@ -0,0 +1,92 @@ +package com.devexperts.chameleon.entity; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import javax.persistence.GeneratedValue; +import javax.persistence.GenerationType; +import javax.persistence.Id; +import javax.persistence.MappedSuperclass; +import javax.persistence.Version; +import java.io.Serializable; + +/** + * Base class for all entities + */ +@MappedSuperclass +public abstract class BaseEntity implements Serializable { + + private static final long serialVersionUID = -8406917480943865422L; + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + + @Version + private int version; + + public Long getId() { + return id; + } + + public int getVersion() { + return version; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) { + return true; + } + if (obj == null) { + return false; + } + if (!getClass().isAssignableFrom(obj.getClass())) { + return false; + } + BaseEntity other = (BaseEntity) obj; + if (id == null) { + if (other.id != null) { + return false; + } + } else if (!id.equals(other.id)) { + return false; + } + return true; + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + (id == null ? 0 : id.hashCode()); + return result; + } + + @Override + public String toString() { + return "BaseEntity{" + + "id=" + id + + ", version=" + version + + '}'; + } +} diff --git a/src/main/java/com/devexperts/chameleon/entity/ColorEntity.java b/src/main/java/com/devexperts/chameleon/entity/ColorEntity.java new file mode 100644 index 0000000..9273b1e --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/entity/ColorEntity.java @@ -0,0 +1,60 @@ +package com.devexperts.chameleon.entity; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import javax.persistence.MappedSuperclass; +import javax.validation.constraints.Pattern; + +/** + * Base class for colored entities + */ +@MappedSuperclass +public abstract class ColorEntity extends BaseEntity { + + private static final long serialVersionUID = 511270403795819316L; + + @Pattern(regexp = "^$|^[0-9A-Fa-f]{6}$") + private String color; + + public ColorEntity() { + } + + public ColorEntity(String color) { + this.color = color; + } + + public String getColor() { + return color; + } + + public void setColor(String color) { + this.color = color; + } + + @Override + public String toString() { + return "ColorEntity{" + + "color='" + color + '\'' + + '}'; + } +} diff --git a/src/main/java/com/devexperts/chameleon/entity/CommitEntity.java b/src/main/java/com/devexperts/chameleon/entity/CommitEntity.java new file mode 100644 index 0000000..d5dcbbf --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/entity/CommitEntity.java @@ -0,0 +1,89 @@ +package com.devexperts.chameleon.entity; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import org.hibernate.annotations.CreationTimestamp; + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.FetchType; +import javax.persistence.Index; +import javax.persistence.JoinColumn; +import javax.persistence.ManyToOne; +import javax.persistence.Table; +import javax.persistence.Temporal; +import javax.persistence.TemporalType; +import javax.validation.constraints.Size; +import java.util.Date; + +/** + * Class for palette's commit. Each commit stores list of {@link VariableSnapshotEntity} for define time point. + * It created on each palette save. + */ +@Entity +@Table(name = "commit", indexes = {@Index(columnList = "update_time", name = "update_time_idx")}) +public class CommitEntity extends BaseEntity { + + @Size(min = 1, max = 255) + private String message; + + @ManyToOne(fetch= FetchType.LAZY) + @JoinColumn(name = "palette_id") + private PaletteEntity paletteEntity; + + @CreationTimestamp + @Column(name = "update_time") + @Temporal(TemporalType.TIMESTAMP) + private Date updateTime; + + public CommitEntity() { + } + + public CommitEntity(PaletteEntity paletteEntity) { + this.paletteEntity = paletteEntity; + } + + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public PaletteEntity getPaletteEntity() { + return paletteEntity; + } + + public Date getUpdateTime() { + return updateTime; + } + + @Override + public String toString() { + return "CommitEntity{" + + "id='" + getId() + '\'' + + "message='" + message + '\'' + + '}'; + } +} diff --git a/src/main/java/com/devexperts/chameleon/entity/PaletteEntity.java b/src/main/java/com/devexperts/chameleon/entity/PaletteEntity.java new file mode 100644 index 0000000..f947495 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/entity/PaletteEntity.java @@ -0,0 +1,66 @@ +package com.devexperts.chameleon.entity; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.Table; +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Size; + +/** + * Class for pallete. + * Palette contains list of {@link VariableEntity} with color information stored in {@link VariableSnapshotEntity} of different + * versions referenced by commit {@link CommitEntity} + */ +@Entity +@Table(name = "palette") +public class PaletteEntity extends BaseEntity { + + @Size(min = 1, max = 255) + @NotNull + @Column(unique = true) + private String name; + + public PaletteEntity() { + } + + public PaletteEntity(String name) { + this.name = name; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @Override + public String toString() { + return "PaletteEntity{" + + "name='" + name + '\'' + + '}'; + } +} diff --git a/src/main/java/com/devexperts/chameleon/entity/ProductEntity.java b/src/main/java/com/devexperts/chameleon/entity/ProductEntity.java new file mode 100644 index 0000000..49a1148 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/entity/ProductEntity.java @@ -0,0 +1,71 @@ +package com.devexperts.chameleon.entity; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import javax.persistence.*; +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Size; +import java.util.Set; + +/** + * Class for product. Additional tag information for palette + * Not currently used + */ +@Entity +@Table(name = "product") +public class ProductEntity extends BaseEntity { + + private static final long serialVersionUID = 935753275783228164L; + + @Size(max = 255) + @NotNull + private String name; + + @ManyToMany(fetch = FetchType.EAGER) + @OrderBy("name") + private Set uiComponentEntities; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Set getUiComponentEntities() { + return uiComponentEntities; + } + + public void setUiComponentEntities(Set uiComponentEntities) { + this.uiComponentEntities = uiComponentEntities; + } + + @Override + public String toString() { + return "Product{" + + "name='" + name + '\'' + + ", uiComponentEntities=" + uiComponentEntities + + '}'; + } +} diff --git a/src/main/java/com/devexperts/chameleon/entity/UiComponentEntity.java b/src/main/java/com/devexperts/chameleon/entity/UiComponentEntity.java new file mode 100644 index 0000000..ea59897 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/entity/UiComponentEntity.java @@ -0,0 +1,68 @@ +package com.devexperts.chameleon.entity; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.Table; +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Size; + +/** + * Class for UI component. Additional tag information for palette + * Not currently used + */ +@Entity +@Table(name = "uicomponent") +public class UiComponentEntity extends ColorEntity { + + private static final long serialVersionUID = -5539490373306190892L; + + @Size(min = 1, max = 255) + @NotNull + @Column(unique = true) + private String name; + + public UiComponentEntity() { + } + + public UiComponentEntity(String name, String color) { + super(color); + this.name = name; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @Override + public String toString() { + return "UiComponentEntity{" + + "name='" + name + '\'' + + '}'; + } +} diff --git a/src/main/java/com/devexperts/chameleon/entity/VariableEntity.java b/src/main/java/com/devexperts/chameleon/entity/VariableEntity.java new file mode 100644 index 0000000..8f9c651 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/entity/VariableEntity.java @@ -0,0 +1,76 @@ +package com.devexperts.chameleon.entity; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.Table; +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Size; + +/** + * Class for variable. Using for storing variables dictionary used in {@link PaletteEntity} + */ +@Entity +@Table(name = "variable") +public class VariableEntity extends BaseEntity { + + @Size(min = 1, max = 255) + @NotNull + @Column(unique = true) + private String name; + + private String usage; + + public VariableEntity() { + } + + public VariableEntity(String name, String usage) { + this.name = name; + this.usage = usage; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getUsage() { + return usage; + } + + public void setUsage(String usage) { + this.usage = usage; + } + + @Override + public String toString() { + return "VariableEntity{" + + "name='" + name + '\'' + + "usage='" + usage + '\'' + + '}'; + } +} diff --git a/src/main/java/com/devexperts/chameleon/entity/VariableSnapshotEntity.java b/src/main/java/com/devexperts/chameleon/entity/VariableSnapshotEntity.java new file mode 100644 index 0000000..90626ee --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/entity/VariableSnapshotEntity.java @@ -0,0 +1,113 @@ +package com.devexperts.chameleon.entity; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import javax.persistence.Entity; +import javax.persistence.FetchType; +import javax.persistence.Index; +import javax.persistence.JoinColumn; +import javax.persistence.ManyToOne; +import javax.persistence.Table; + +/** + * Class for variable snapshot. + * It stores color information for define {@link VariableEntity}, + * {@link PaletteEntity} and {@link CommitEntity} + */ +@Entity +@Table(name = "variable_snapshot", indexes = {@Index(columnList = "commit_id", name = "commit_id_idx")}) +public class VariableSnapshotEntity extends ColorEntity { + + private static final long serialVersionUID = -5539490373306190892L; + + @ManyToOne(fetch=FetchType.LAZY) + @JoinColumn(name = "palette_id") + private PaletteEntity paletteEntity; + + @ManyToOne(fetch=FetchType.LAZY) + @JoinColumn(name = "variable_id") + private VariableEntity variableEntity; + + @ManyToOne(fetch=FetchType.LAZY) + @JoinColumn(name = "commit_id") + private CommitEntity commitEntity; + + private Float opacity; + + public VariableSnapshotEntity() { + } + + public VariableSnapshotEntity(String color, + Float opacity, + PaletteEntity paletteEntity, + VariableEntity variableEntity, + CommitEntity commitEntity) { + super(color); + this.opacity = opacity; + this.paletteEntity = paletteEntity; + this.variableEntity = variableEntity; + this.commitEntity = commitEntity; + } + + public PaletteEntity getPaletteEntity() { + return paletteEntity; + } + + public void setPaletteEntity(PaletteEntity paletteEntity) { + this.paletteEntity = paletteEntity; + } + + public VariableEntity getVariableEntity() { + return variableEntity; + } + + public void setVariableEntity(VariableEntity variableEntity) { + this.variableEntity = variableEntity; + } + + public Float getOpacity() { + return opacity; + } + + public void setOpacity(Float opacity) { + this.opacity = opacity; + } + + public CommitEntity getCommitEntity() { + return commitEntity; + } + + public void setCommitEntity(CommitEntity commitEntity) { + this.commitEntity = commitEntity; + } + + @Override + public String toString() { + return super.toString() + + "VariableSnapshotEntity{" + + "paletteEntity=" + paletteEntity + + ", variableEntity=" + variableEntity + + ", opacity=" + opacity + + '}'; + } +} diff --git a/src/main/java/com/devexperts/chameleon/exception/ArgumentNotValidCustomException.java b/src/main/java/com/devexperts/chameleon/exception/ArgumentNotValidCustomException.java new file mode 100644 index 0000000..d61e475 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/exception/ArgumentNotValidCustomException.java @@ -0,0 +1,41 @@ +package com.devexperts.chameleon.exception; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import org.springframework.validation.FieldError; + +import java.util.ArrayList; +import java.util.List; + +import static com.devexperts.chameleon.exception.ErrorCode.ARGUMENT_NOT_VALID; + +public class ArgumentNotValidCustomException extends BaseCustomException { + public ArgumentNotValidCustomException(FieldError fieldError) { + super(ARGUMENT_NOT_VALID, fieldError.getDefaultMessage()); + + List parameters = new ArrayList<>(); + parameters.add(fieldError.getField()); + parameters.add(fieldError.getRejectedValue()); + setParameters(parameters); + } +} diff --git a/src/main/java/com/devexperts/chameleon/exception/BaseCustomException.java b/src/main/java/com/devexperts/chameleon/exception/BaseCustomException.java new file mode 100644 index 0000000..520337c --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/exception/BaseCustomException.java @@ -0,0 +1,70 @@ +package com.devexperts.chameleon.exception; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import java.util.List; + +/** + * Base class for custom exceptions, which are throwed when business error occured + */ +public class BaseCustomException extends RuntimeException { + + private final ErrorCode errorCode; + + private List parameters; + + public BaseCustomException(ErrorCode errorCode) { + this.errorCode = errorCode; + } + + public BaseCustomException(ErrorCode errorCode, String message) { + super(message); + this.errorCode = errorCode; + } + + public BaseCustomException(ErrorCode errorCode, String message, List parameters) { + super(message); + this.errorCode = errorCode; + this.parameters = parameters; + } + + public static BaseCustomException buildUnexpected(Throwable cause) { + return new BaseCustomException(ErrorCode.UNEXPECTED_ERROR, cause.getMessage()); + } + + public static BaseCustomException buildIllegalArgument(String field) { + return new BaseCustomException(ErrorCode.ARGUMENT_NOT_VALID, field); + } + + public ErrorCode getErrorCode() { + return errorCode; + } + + public List getParameters() { + return parameters; + } + + public void setParameters(List parameters) { + this.parameters = parameters; + } +} diff --git a/src/main/java/com/devexperts/chameleon/exception/CommonExceptionHandler.java b/src/main/java/com/devexperts/chameleon/exception/CommonExceptionHandler.java new file mode 100644 index 0000000..4411cc3 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/exception/CommonExceptionHandler.java @@ -0,0 +1,82 @@ +package com.devexperts.chameleon.exception; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.web.api.ErrorResponse; +import com.devexperts.chameleon.web.controller.UiComponentController; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.validation.FieldError; +import org.springframework.validation.ObjectError; +import org.springframework.web.bind.MethodArgumentNotValidException; +import org.springframework.web.bind.annotation.ControllerAdvice; +import org.springframework.web.bind.annotation.ExceptionHandler; +import org.springframework.web.bind.annotation.ResponseBody; +import org.springframework.web.bind.annotation.ResponseStatus; + +import javax.persistence.EntityNotFoundException; +import java.util.List; + +import static com.devexperts.chameleon.exception.ErrorCode.UNEXPECTED_ERROR; +import static org.springframework.http.HttpStatus.BAD_REQUEST; + +/** + * Called when an exception occurs during request processing. + */ +@ControllerAdvice +@ResponseStatus(BAD_REQUEST) +@ResponseBody +public class CommonExceptionHandler { + + private static final Logger logger = LoggerFactory.getLogger(UiComponentController.class); + + @ExceptionHandler(EntityNotFoundException.class) + public ErrorResponse handleEntityNotFound(EntityNotFoundException ex) { + logger.error(ex.getMessage()); + return new ErrorResponse(new EntityNotFoundCustomException(ex.getMessage())); + } + + @ExceptionHandler(MethodArgumentNotValidException.class) + public ErrorResponse handleArgumentNotValid(MethodArgumentNotValidException ex) { + List allErrors = ex.getBindingResult().getAllErrors(); + if (allErrors.isEmpty() || !(allErrors.get(0) instanceof FieldError)) { + return new ErrorResponse(new BaseCustomException(UNEXPECTED_ERROR, ex.getMessage())); + } + + FieldError fieldError = (FieldError) ex.getBindingResult().getAllErrors().get(0); + logger.error(fieldError.getDefaultMessage()); + return new ErrorResponse(new ArgumentNotValidCustomException(fieldError)); + } + + @ExceptionHandler(Exception.class) + public ErrorResponse handleException(Exception ex) { + logger.error(ex.getMessage(), ex); + return new ErrorResponse(new BaseCustomException(UNEXPECTED_ERROR, ex.getMessage())); + } + + @ExceptionHandler(BaseCustomException.class) + public ErrorResponse handleBaseCustomException(BaseCustomException ex) { + logger.error(ex.getMessage(), ex); + return new ErrorResponse(ex); + } +} diff --git a/src/main/java/com/devexperts/chameleon/exception/EntityNotFoundCustomException.java b/src/main/java/com/devexperts/chameleon/exception/EntityNotFoundCustomException.java new file mode 100644 index 0000000..084a2e0 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/exception/EntityNotFoundCustomException.java @@ -0,0 +1,43 @@ +package com.devexperts.chameleon.exception; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import java.util.Collections; + +import static com.devexperts.chameleon.exception.ErrorCode.NOT_FOUND; + +public class EntityNotFoundCustomException extends BaseCustomException { + + public EntityNotFoundCustomException() { + super(NOT_FOUND); + } + + public EntityNotFoundCustomException(String message) { + super(NOT_FOUND, message); + } + + public EntityNotFoundCustomException(Long id) { + super(NOT_FOUND, "Entity not found"); + setParameters(Collections.singletonList(id)); + } +} diff --git a/src/main/java/com/devexperts/chameleon/exception/ErrorCode.java b/src/main/java/com/devexperts/chameleon/exception/ErrorCode.java new file mode 100644 index 0000000..f7efd45 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/exception/ErrorCode.java @@ -0,0 +1,30 @@ +package com.devexperts.chameleon.exception; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +/** + * Error codes for custom exceptions + */ +public enum ErrorCode { + ARGUMENT_NOT_VALID, NOT_FOUND, UNEXPECTED_ERROR, NOT_AUTHORIZED; +} diff --git a/src/main/java/com/devexperts/chameleon/repository/CommitRepository.java b/src/main/java/com/devexperts/chameleon/repository/CommitRepository.java new file mode 100644 index 0000000..264bde8 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/repository/CommitRepository.java @@ -0,0 +1,82 @@ +package com.devexperts.chameleon.repository; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.dto.CommitDTO; +import com.devexperts.chameleon.entity.CommitEntity; +import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.data.jpa.repository.Query; + +import java.util.List; + +/** + * Repository for the {@link CommitEntity}. + * + */ +@org.springframework.stereotype.Repository +public interface CommitRepository extends JpaRepository { + + /** + * Find last commit by palette id + * + * @param paletteId + * @return {@link CommitEntity} + */ + CommitEntity findFirstByPaletteEntityIdOrderByUpdateTimeDesc(Long paletteId); + + /** + * Find all commits by palette id + * + * @param paletteId + * @return list of {@link CommitEntity} + */ + List findAllByPaletteEntityId(Long paletteId); + + /** + * Find last commits by palette ids + * + * @param paletteIds + * @return list of native query results. Will be converted by {@link com.devexperts.chameleon.converter.CommitConverter} + */ + @Query(value = + "SELECT " + + " (SELECT " + + " ID" + + " FROM" + + " COMMIT AS C" + + " WHERE " + + " C.PALETTE_ID = P.PALETTE_ID AND C.UPDATE_TIME = P.LAST_UPDATE_TIME) AS COMMIT_ID, " + + " PALETTE_ID, " + + " LAST_UPDATE_TIME " + + "FROM " + + " (SELECT " + + " PALETTE_ID, " + + " MAX(UPDATE_TIME) as LAST_UPDATE_TIME " + + " FROM " + + " COMMIT "+ + " WHERE " + + " PALETTE_ID IN ?1 "+ + " GROUP BY " + + " PALETTE_ID) AS P ", nativeQuery = true) + List getLastCommitsByPaletteIds(List paletteIds); +} diff --git a/src/main/java/com/devexperts/chameleon/repository/PaletteRepository.java b/src/main/java/com/devexperts/chameleon/repository/PaletteRepository.java new file mode 100644 index 0000000..683bd38 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/repository/PaletteRepository.java @@ -0,0 +1,197 @@ +package com.devexperts.chameleon.repository; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.entity.PaletteEntity; +import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.data.jpa.repository.Query; + +import java.util.List; + +/** + * Repository for the {@link PaletteEntity}. + * + */ +@org.springframework.stereotype.Repository +public interface PaletteRepository extends JpaRepository { + + /** + * Find palette by name + * + * @param name + * @return {@link PaletteEntity} + */ + PaletteEntity findFirstByNameIgnoreCase(String name); + + /** + * Find all palettes ordered by name + * + * @return list of {@link PaletteEntity} + */ + List findAllByOrderByNameAsc(); + + /** + * Find all palettes by ids + * + * @param ids + * @return list of {@link PaletteEntity} + */ + List findAllByIdIn(List ids); + + /** + * Returns native query result produced by cross join variables and palettes + * + * result: + * + * variable | palette | snapshot + * -----------+------------+------------- + * variable1 | palette1 | snapshot1 + * variable1 | palette2 | snapshot2 + * variable1 | palette3 | snapshot3 + * variable2 | palette1 | snapshot4 + * variable2 | palette2 | snapshot5 + * variable2 | palette4 | snapshot6 + * + * view: + * | palette1 | palette2 | palette3 + * ----------+------------+------------+---------- + * variable1 | snapshot1 | snapshot2 | snapshot3 + * variable2 | snapshot4 | snapshot5 | snapshot6 + * + * @param paletteIds palette ids + * @param commitIds commit ids + * @return list of native query result. Will be converted by {@link com.devexperts.chameleon.converter.PaletteViewCellConverter} + */ + @Query(value = + "SELECT " + + " ALL_PALETTES_VARS.VARIABLE_ID, " + + " VARIABLE.NAME, " + + " VARIABLE.USAGE, " + + " ALL_PALETTES_VARS.PALETTE_ID," + + " ALL_PALETTES_VARS.PALETTE_NAME, " + + " SNAPSHOT.SNAPSHOT_ID, " + + " SNAPSHOT.COLOR, SNAPSHOT.OPACITY " + + "FROM " + + " (SELECT " + + " VAR_SNAP.VARIABLE_ID, " + + " PAL.ID AS PALETTE_ID, " + + " PAL.NAME AS PALETTE_NAME " + + " FROM " + + " (SELECT " + + " ID, " + + " NAME " + + " FROM " + + " PALETTE " + + " WHERE ID IN ?1) AS PAL " + + " CROSS JOIN " + + " (SELECT " + + " DISTINCT VARIABLE_ID " + + " FROM VARIABLE_SNAPSHOT " + + " WHERE COMMIT_ID IN ?2 ) AS VAR_SNAP) AS ALL_PALETTES_VARS " + + "LEFT JOIN " + + " (SELECT " + + " VARIABLE_ID, " + + " PALETTE_ID, " + + " COLOR, " + + " OPACITY, " + + " ID AS SNAPSHOT_ID " + + " FROM " + + " VARIABLE_SNAPSHOT " + + " WHERE COMMIT_ID IN ?2) AS SNAPSHOT " + + "ON ALL_PALETTES_VARS.VARIABLE_ID = SNAPSHOT.VARIABLE_ID AND ALL_PALETTES_VARS.PALETTE_ID= SNAPSHOT.PALETTE_ID " + + "LEFT JOIN " + + " VARIABLE " + + "ON VARIABLE.ID = ALL_PALETTES_VARS.VARIABLE_ID " + + "ORDER BY VARIABLE.NAME, ALL_PALETTES_VARS.PALETTE_NAME", nativeQuery = true) + List getPaletteVariableView(List paletteIds, List commitIds); + + /** + * Returns native query result produced by cross join variables and commits + * + * result: + * + * variable | commit | snapshot + * -----------+------------+------------- + * variable1 | commit1 | snapshot1 + * variable1 | commit2 | snapshot2 + * variable1 | commit3 | snapshot3 + * variable2 | commit1 | snapshot4 + * variable2 | commit2 | snapshot5 + * variable2 | commit4 | snapshot6 + * + * view: + * | commit1 | commit2 | commit3 + * ----------+-----------+-----------+---------- + * variable1 | snapshot1 | snapshot2 | snapshot3 + * variable2 | snapshot4 | snapshot5 | snapshot6 + * + * @param commitIds commit ids + * @param variableIds variable ids + * @return list of native query results. Will be converted by {@link com.devexperts.chameleon.converter.CommitViewCellConverter} + */ + @Query(value = + "SELECT " + + " ALL_PALETTES_VARS.VARIABLE_ID, " + + " VARIABLE.NAME, " + + " VARIABLE.USAGE, " + + " ALL_PALETTES_VARS.PALETTE_ID," + + " ALL_PALETTES_VARS.COMMIT_ID, " + + " ALL_PALETTES_VARS.UPDATE_TIME, " + + " SNAPSHOT.SNAPSHOT_ID, " + + " SNAPSHOT.COLOR, SNAPSHOT.OPACITY " + + "FROM " + + " (SELECT " + + " VAR_SNAP.VARIABLE_ID, " + + " COM.PALETTE_ID AS PALETTE_ID, " + + " COM.ID AS COMMIT_ID, " + + " COM.UPDATE_TIME AS UPDATE_TIME " + + " FROM " + + " (SELECT " + + " PALETTE_ID, " + + " ID, " + + " UPDATE_TIME " + + " FROM " + + " COMMIT " + + " WHERE ID IN ?1) AS COM " + + " CROSS JOIN " + + " (SELECT " + + " DISTINCT VARIABLE_ID " + + " FROM VARIABLE_SNAPSHOT " + + " WHERE COMMIT_ID IN ?1 AND VARIABLE_ID IN ?2 ) AS VAR_SNAP) AS ALL_PALETTES_VARS " + + "LEFT JOIN " + + " (SELECT " + + " VARIABLE_ID, " + + " COMMIT_ID, " + + " COLOR, " + + " OPACITY, " + + " ID AS SNAPSHOT_ID " + + " FROM " + + " VARIABLE_SNAPSHOT " + + " WHERE COMMIT_ID IN ?1 AND VARIABLE_ID IN ?2) AS SNAPSHOT " + + "ON ALL_PALETTES_VARS.VARIABLE_ID = SNAPSHOT.VARIABLE_ID AND ALL_PALETTES_VARS.COMMIT_ID= SNAPSHOT.COMMIT_ID " + + "LEFT JOIN " + + " VARIABLE " + + "ON VARIABLE.ID = ALL_PALETTES_VARS.VARIABLE_ID " + + "ORDER BY VARIABLE.NAME, ALL_PALETTES_VARS.COMMIT_ID", nativeQuery = true) + List getPaletteDiffView(List commitIds, List variableIds); +} diff --git a/src/main/java/com/devexperts/chameleon/repository/UiComponentRepository.java b/src/main/java/com/devexperts/chameleon/repository/UiComponentRepository.java new file mode 100644 index 0000000..9eae265 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/repository/UiComponentRepository.java @@ -0,0 +1,42 @@ +package com.devexperts.chameleon.repository; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.entity.UiComponentEntity; +import org.springframework.data.jpa.repository.JpaRepository; + +/** + * Repository for the {@link UiComponentEntity}. + * + */ +@org.springframework.stereotype.Repository +public interface UiComponentRepository extends JpaRepository { + + /** + * Find UI component by name + * + * @param name + * @return {@link UiComponentEntity} + */ + UiComponentEntity findFirstByNameIgnoreCase(String name); +} diff --git a/src/main/java/com/devexperts/chameleon/repository/VariableRepository.java b/src/main/java/com/devexperts/chameleon/repository/VariableRepository.java new file mode 100644 index 0000000..2071972 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/repository/VariableRepository.java @@ -0,0 +1,52 @@ +package com.devexperts.chameleon.repository; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.entity.VariableEntity; +import org.springframework.data.jpa.repository.JpaRepository; + +import java.util.List; + +/** + * Repository for the {@link VariableEntity}. + * + */ +@org.springframework.stereotype.Repository +public interface VariableRepository extends JpaRepository { + + /** + * Find variable by name + * + * @param name + * @return {@link VariableEntity} + */ + VariableEntity findFirstByNameIgnoreCase(String name); + + /** + * Find all variables by list of names + * + * @param names + * @return list of {@link VariableEntity} + */ + List findAllByNameIgnoreCaseIn(List names); +} diff --git a/src/main/java/com/devexperts/chameleon/repository/VariableSnapshotRepository.java b/src/main/java/com/devexperts/chameleon/repository/VariableSnapshotRepository.java new file mode 100644 index 0000000..219e984 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/repository/VariableSnapshotRepository.java @@ -0,0 +1,104 @@ +package com.devexperts.chameleon.repository; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.entity.VariableEntity; +import com.devexperts.chameleon.entity.VariableSnapshotEntity; +import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.data.jpa.repository.Query; + +import java.math.BigInteger; +import java.util.Collection; +import java.util.List; + +/** + * Repository for the {@link VariableSnapshotEntity}. + * + */ +@org.springframework.stereotype.Repository +public interface VariableSnapshotRepository extends JpaRepository { + + /** + * Find all variable snapshots by palette id and variable id + * + * @param paletteId palette id + * @param variables variable id + * @return list of {@link VariableSnapshotEntity} + */ + List findAllByPaletteEntityIdAndVariableEntityIn(Long paletteId, Collection variables); + + /** + * Find all variable snapshots by variable id and commit ids + * + * @param variableId variable id + * @param commitIds commit ids + * @return list of {@link VariableSnapshotEntity} + */ + List findAllVariableSnapshotEntityByVariableEntityIdAndCommitEntityIdIn(Long variableId, List commitIds); + + /** + * Find all by commit id + * + * @param commitId commit id + * @return list of {@link VariableSnapshotEntity} + */ + List findAllByCommitEntityId(Long commitId); + + /** + * Returns variable ids which have different values in both commits + * + * @param firstCommitId first id of compared commit + * @param secondCommitId second id of compared commit + * @return list of changed variable ids + */ + @Query(value = + "SELECT " + + " S1.VARIABLE_ID " + + "FROM " + + " VARIABLE_SNAPSHOT AS S1 " + + "LEFT JOIN " + + " (SELECT " + + " COLOR , " + + " OPACITY, " + + " VARIABLE_ID " + + " FROM " + + " VARIABLE_SNAPSHOT " + + " WHERE COMMIT_ID = ?1) AS S2 " + + "ON S1.VARIABLE_ID = S2.VARIABLE_ID " + + "WHERE S1.COMMIT_ID = ?2 AND (S1.COLOR <> S2.COLOR OR (S1.OPACITY IS NULL AND S2.OPACITY IS NOT NULL) OR (S1.OPACITY IS NOT NULL AND S2.OPACITY IS NULL) OR S1.OPACITY<> S2.OPACITY OR S2.COLOR IS NULL) " + + "UNION " + + "SELECT " + + " S1.VARIABLE_ID " + + "FROM " + + " VARIABLE_SNAPSHOT AS S1 " + + "LEFT JOIN " + + " (SELECT " + + " COLOR , " + + " VARIABLE_ID " + + " FROM " + + " VARIABLE_SNAPSHOT " + + " WHERE COMMIT_ID = ?2) AS S2 " + + "ON S1.VARIABLE_ID = S2.VARIABLE_ID " + + "WHERE S1.COMMIT_ID = ?1 AND S2.COLOR IS NULL ", nativeQuery = true) + List getChangedVariablesByCommitIds(Long firstCommitId, Long secondCommitId); +} diff --git a/src/main/java/com/devexperts/chameleon/service/CommitService.java b/src/main/java/com/devexperts/chameleon/service/CommitService.java new file mode 100644 index 0000000..323690d --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/service/CommitService.java @@ -0,0 +1,91 @@ +package com.devexperts.chameleon.service; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.converter.CommitConverter; +import com.devexperts.chameleon.dto.CommitDTO; +import com.devexperts.chameleon.entity.CommitEntity; +import com.devexperts.chameleon.entity.PaletteEntity; +import com.devexperts.chameleon.repository.CommitRepository; +import com.devexperts.chameleon.util.PreconditionUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.List; +import java.util.stream.Collectors; + +/** + * This class is used as service for handle actions with commit + * + */ +@Service +@Transactional +public class CommitService { + + private final CommitRepository repository; + + private final CommitConverter converter; + + @Autowired + public CommitService(CommitRepository repository, CommitConverter converter) { + this.repository = repository; + this.converter = converter; + } + + public CommitEntity createNewCommit(PaletteEntity paletteEntity) { + return repository.save(new CommitEntity(paletteEntity)); + } + + public List getLastCommitsByPaletteIds(List paletteIds) { + return repository.getLastCommitsByPaletteIds(paletteIds) + .stream() + .map(converter::convert) + .collect(Collectors.toList()); + } + + public List getLastCommitIdsByPaletteIds(List paletteIds) { + return repository.getLastCommitsByPaletteIds(paletteIds) + .stream() + .map(converter::convert) + .map(CommitDTO::getId) + .collect(Collectors.toList()); + } + + public CommitEntity getLastCommitByPaletteId(Long paletteId) { + CommitEntity commitEntity = repository.findFirstByPaletteEntityIdOrderByUpdateTimeDesc(paletteId); + PreconditionUtils.checkNotFound(commitEntity, "paletteId"); + + return commitEntity; + } + + public List getByPaletteId(Long paletteId) { + return repository.findAllByPaletteEntityId(paletteId).stream() + .map(this::convertToDTO) + .collect(Collectors.toList()); + } + + private CommitDTO convertToDTO(CommitEntity entity) { + return new CommitDTO(entity.getId(), entity.getPaletteEntity().getId(), entity.getUpdateTime()); + } +} diff --git a/src/main/java/com/devexperts/chameleon/service/ConfluenceImportPaletteService.java b/src/main/java/com/devexperts/chameleon/service/ConfluenceImportPaletteService.java new file mode 100644 index 0000000..fb00917 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/service/ConfluenceImportPaletteService.java @@ -0,0 +1,272 @@ +package com.devexperts.chameleon.service; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.configuration.ConfluenceImportConfiguration; +import com.devexperts.chameleon.entity.CommitEntity; +import com.devexperts.chameleon.entity.PaletteEntity; +import com.devexperts.chameleon.entity.VariableEntity; +import com.devexperts.chameleon.entity.VariableSnapshotEntity; +import com.devexperts.chameleon.exception.BaseCustomException; +import com.devexperts.chameleon.util.PreconditionUtils; +import com.google.common.collect.ImmutableList; +import org.jsoup.Connection; +import org.jsoup.Jsoup; +import org.jsoup.nodes.Document; +import org.jsoup.nodes.Element; +import org.jsoup.select.Elements; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; +import org.springframework.util.CollectionUtils; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import java.util.function.BiFunction; +import java.util.function.Function; +import java.util.stream.Collectors; + +import static com.devexperts.chameleon.exception.BaseCustomException.buildUnexpected; +import static com.devexperts.chameleon.exception.ErrorCode.NOT_AUTHORIZED; +import static com.devexperts.chameleon.util.ConverterUtils.percentToOpacity; + +/** + * Html parser for custom written confluence pages. + * Main purpose for one time import existing color palettes + * from existing confluence pages into this project. + */ +@Service +@Transactional +public class ConfluenceImportPaletteService { + + private PaletteService paletteService; + private VariableService variableService; + private VariableSnapshotService snapshotService; + private CommitService commitService; + + private ConfluenceImportConfiguration configuration; + + private static final Logger logger = LoggerFactory.getLogger(ConfluenceImportPaletteService.class); + + private static final String TABLE_BODY = "table tbody"; + private static final String TABLE_TR = "tr"; + private static final String TABLE_TD = "td"; + private static final String TABLE_TR_TH = "tr th"; + private static final String AUTH_ERROR_MESSAGE = "Cannot authenticate on url"; + private static final String NO_RESULT_MESSAGE = "No variables added"; + + private static final Integer NAME_POSITION = 0; + private static final Integer OPACITY_POSITION = 1; + + private static final Float DEFAULT_OPACITY = 1.0f; + + private static Function parseVariable = string -> string.split("\\("); + private static Function opacitySubstring = string -> string.substring(0, string.indexOf("%")).replace(" ", ""); + private static BiFunction, String> generateResultText = (string, list) -> string + "\n found " + list.size() + " variables"; + + @Autowired + public ConfluenceImportPaletteService(PaletteService paletteService, + VariableService variableService, + VariableSnapshotService snapshotService, + CommitService commitService, + ConfluenceImportConfiguration configuration) { + this.paletteService = paletteService; + this.variableService = variableService; + this.snapshotService = snapshotService; + this.commitService = commitService; + this.configuration = configuration; + } + + public String importPalette(String url, String paletteName, String username, String password) { + PreconditionUtils.checkIsAnyEmpty(url, username, password); + PaletteEntity palette = paletteService.getPalette(paletteName); + + Document doc = getDocument(url, username, password); + + PreconditionUtils.checkNotNull(doc); + + List parsedVariables = parse(doc); + + if (!parsedVariables.isEmpty()) { + List ids = saveVariables(parsedVariables, palette); + if (!ids.isEmpty()) { + return generateResultText.apply(doc.title(), ids); + } + } + + return NO_RESULT_MESSAGE; + } + + private List parse(Document doc) { + List result = new ArrayList<>(); + + doc.select(TABLE_BODY).forEach(table -> { + Map headers = parseHeaders(table); + if (!CollectionUtils.isEmpty(headers)) { + table.select(TABLE_TR).stream() + .map(row -> row.select(TABLE_TD)) + .filter(cols -> cols.size() > 0) + .forEach(cols -> { + String names = cols.get(headers.get(configuration.getUsageParseField())).text(); + String color = cols.get(headers.get(configuration.getValueParseField())).text(); + + result.addAll(Arrays.stream(names.split(",")) + .map(variable -> createParsedVariable(variable, color)) + .filter(Objects::nonNull) + .collect(Collectors.toList())); + }); + } + }); + + return result; + } + + private List saveVariables(List parsedVariables, PaletteEntity palette) { + CommitEntity commitEntity = commitService.createNewCommit(palette); + Map namesMap = variableService.getMapByNames(parsedVariables.stream().map(pv -> pv.name).collect(Collectors.toList())); + Map> snapshotMap = snapshotService.getMapByVariables(palette.getId(), namesMap.values()); + List variableSnapshots = parsedVariables.stream() + .distinct() + .map(pv -> convertToSnapshotVariable(pv, snapshotMap, namesMap, palette, commitEntity)) + .collect(Collectors.toList()); + return snapshotService.saveEntityList(variableSnapshots); + } + + private VariableSnapshotEntity convertToSnapshotVariable(ParsedVariable variable, + Map> snapshotMap, + Map namesMap, + PaletteEntity palette, + CommitEntity commitEntity) { + VariableEntity variableEntity = namesMap.get(variable.name); + if (variableEntity == null) { + variableEntity = new VariableEntity(variable.name, ""); + } + return snapshotMap.getOrDefault(variableEntity, Collections.emptyList()).stream() + .filter(snapshotEntity -> snapshotEntity.getPaletteEntity().equals(palette)) + .findAny() + .orElse(new VariableSnapshotEntity(variable.color, variable.opacity, palette, variableEntity, commitEntity)); + + } + + private Map parseHeaders(Element table) { + Map headersMap = new HashMap<>(); + Elements select = table.select(TABLE_TR_TH); + + for (int i = 0; i < select.size(); i++) { + Element header = select.get(i); + headersMap.put(header.text().trim().toUpperCase(), i); + } + return headersMap; + } + + private Document getDocument(String url, String username, String password) { + try { + Document document = Jsoup.connect(url) + .data(configuration.getUsername(), username, configuration.getPassword(), password) + .method(Connection.Method.POST) + .get(); + + if (document.location().contains(configuration.getLoginPage())) { + throw new BaseCustomException(NOT_AUTHORIZED, AUTH_ERROR_MESSAGE, ImmutableList.of(url)); + } + + return document; + } catch (IOException e) { + throw buildUnexpected(e); + } + } + + private static Optional parseName(String[] variable) { + if (variable.length > 0) { + return Optional.of(variable[NAME_POSITION]); + } + return Optional.empty(); + } + + private static Float getOpacity(String[] variable) { + try { + if (variable.length > 1 && !variable[OPACITY_POSITION].isEmpty()) { + return percentToOpacity(Integer.parseInt(opacitySubstring.apply(variable[OPACITY_POSITION]))).orElse(DEFAULT_OPACITY); + } + } catch (IndexOutOfBoundsException | NumberFormatException e) { + logger.warn("Cannot parse opacity", e); + } + return DEFAULT_OPACITY; + } + + private ParsedVariable createParsedVariable(String variable, String color) { + String[] parsed = parseVariable.apply(variable); + Optional maybeName = parseName(parsed); + return maybeName.map(name -> new ParsedVariable(name.trim(), color, getOpacity(parsed))).orElse(null); + } + + private class ParsedVariable { + final String name; + final String color; + final Float opacity; + + ParsedVariable(String name, String color, Float opacity) { + this.name = name; + this.color = color; + this.opacity = opacity; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + + ParsedVariable that = (ParsedVariable) o; + + return name.equals(that.name); + } + + @Override + public int hashCode() { + return name.hashCode(); + } + + @Override + public String toString() { + final StringBuffer sb = new StringBuffer("ParsedVariable{"); + sb.append("name='").append(name).append('\''); + sb.append(", color='").append(color).append('\''); + sb.append(", opacity=").append(opacity); + sb.append('}'); + return sb.toString(); + } + } +} diff --git a/src/main/java/com/devexperts/chameleon/service/PaletteService.java b/src/main/java/com/devexperts/chameleon/service/PaletteService.java new file mode 100644 index 0000000..370d1c6 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/service/PaletteService.java @@ -0,0 +1,267 @@ +package com.devexperts.chameleon.service; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.converter.CommitViewCellConverter; +import com.devexperts.chameleon.converter.PaletteViewCellConverter; +import com.devexperts.chameleon.dto.CommitDTO; +import com.devexperts.chameleon.dto.CommitViewCellDTO; +import com.devexperts.chameleon.dto.PaletteDTO; +import com.devexperts.chameleon.dto.PaletteDiffViewDTO; +import com.devexperts.chameleon.dto.PaletteViewCellDTO; +import com.devexperts.chameleon.dto.PaletteViewDTO; +import com.devexperts.chameleon.dto.SaveVariableDTO; +import com.devexperts.chameleon.dto.VariableDTO; +import com.devexperts.chameleon.dto.VariableSnapshotDTO; +import com.devexperts.chameleon.entity.PaletteEntity; +import com.devexperts.chameleon.exception.EntityNotFoundCustomException; +import com.devexperts.chameleon.repository.PaletteRepository; +import com.devexperts.chameleon.util.PreconditionUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.ArrayList; +import java.util.List; +import java.util.stream.Collectors; + +import static com.devexperts.chameleon.util.ConverterUtils.opacityToPercent; + +/** + * This class is used as service for handle actions with palette + * + */ +@Service +@Transactional +public class PaletteService { + + private final PaletteRepository repository; + + private final PaletteViewCellConverter viewCellConverter; + + private final CommitViewCellConverter commitViewCellConverter; + + private final CommitService commitService; + + @Autowired + public PaletteService(PaletteRepository repository, + PaletteViewCellConverter viewCellConverter, + CommitViewCellConverter commitViewCellConverter, + CommitService commitService) { + this.repository = repository; + this.viewCellConverter = viewCellConverter; + this.commitViewCellConverter = commitViewCellConverter; + this.commitService = commitService; + } + + public List findAll() { + List entities = repository.findAllByOrderByNameAsc(); + PreconditionUtils.checkIsAnyNotNull(entities); + return convertToDTO(entities); + } + + public PaletteDTO getById(Long id) { + PaletteEntity entity = repository.findOne(id); + + PreconditionUtils.checkNotFound(entity, id); + + return convertToDTO(entity); + } + + public List getByIds(List ids) { + List entities = repository.findAllByIdIn(ids); + checkIsAnyEntityNotFound(ids, entities); + + return entities; + } + + public PaletteEntity getPalette(Long id) { + PaletteEntity entity = repository.findOne(id); + PreconditionUtils.checkNotFound(entity, id); + return entity; + } + + public PaletteEntity getPalette(String name) { + PaletteEntity entity = repository.findFirstByNameIgnoreCase(name); + PreconditionUtils.checkNotFound(entity, name); + return entity; + } + + public boolean isNameExist(String name) { + return repository.findFirstByNameIgnoreCase(name) != null; + } + + public Long save(PaletteDTO dto) { + return repository.save(convertToEntity(dto)).getId(); + } + + public PaletteEntity convertToEntity(PaletteDTO dto) { + PaletteEntity entity; + if (dto.getId() == null) { + entity = new PaletteEntity(dto.getName()); + } else { + entity = repository.getOne(dto.getId()); + PreconditionUtils.checkNotFound(entity, dto.getId()); + } + + entity.setName(dto.getName()); + + return entity; + } + + public List convertToEntity(List dto) { + return dto.stream() + .map(this::convertToEntity). + collect(Collectors.toList()); + } + + public PaletteViewDTO buildVariableView(List paletteIds) { + + List lastCommitIds = commitService.getLastCommitIdsByPaletteIds(paletteIds); + + List cells = repository.getPaletteVariableView(paletteIds, lastCommitIds).stream() + .map(viewCellConverter::convert) + .collect(Collectors.toList()); + + return new PaletteViewDTO( + getPaletteViewColumns(paletteIds.size(), cells), + getPaletteViewRows(paletteIds.size(), cells) + ); + } + + public PaletteDiffViewDTO buildDiffView(List selectedCommitIds, List diffVariableId) { + + List cells = repository.getPaletteDiffView(selectedCommitIds, diffVariableId).stream() + .map(commitViewCellConverter::convert) + .collect(Collectors.toList()); + + checkAndChangeFromToDirection(selectedCommitIds, cells); + + return new PaletteDiffViewDTO( + getCommitViewColumns(selectedCommitIds.size(), cells), + getCommitViewRows(selectedCommitIds.size(), cells) + ); + } + + private void checkAndChangeFromToDirection(List selectedCommitIds, List cells) { + if(selectedCommitIds.get(0) > selectedCommitIds.get(1)) { + for(int i = 0; i < cells.size(); i+= 2) { + CommitViewCellDTO tempCell = cells.set(i + 1, cells.get(i)); + cells.set(i, tempCell); + } + } + } + + private void checkIsAnyEntityNotFound(List ids, List entities) { + List entityIds = entities.stream() + .map(e -> e.getId()) + .collect(Collectors.toList()); + + List notFoundIds = new ArrayList<>(); + notFoundIds.addAll(ids); + notFoundIds.removeAll(entityIds); + if(notFoundIds.size() > 0) { + throw new EntityNotFoundCustomException(notFoundIds.get(0)); + } + } + + private List getPaletteViewRows(Integer selectedPaletteIdsSize, List cells) { + List rows = new ArrayList<>(); + for (int rowNumber = 0; rowNumber < cells.size(); rowNumber += selectedPaletteIdsSize) { + rows.add(new SaveVariableDTO( + createVariableDTO(cells.get(rowNumber)), + createRow(selectedPaletteIdsSize, cells, rowNumber))); + } + return rows; + } + + private List getCommitViewRows(Integer selectedCommitIdsSize, List cells) { + List rows = new ArrayList<>(); + for (int rowNumber = 0; rowNumber < cells.size(); rowNumber += selectedCommitIdsSize) { + rows.add(new SaveVariableDTO( + createVariableDTO(cells.get(rowNumber)), + createCommitRow(selectedCommitIdsSize, cells, rowNumber))); + } + return rows; + } + + private List createRow(int columnsCount, List cells, int rowNumber) { + List columns = new ArrayList<>(); + for (int columnNumber = 0; columnNumber < columnsCount; columnNumber++) { + PaletteViewCellDTO cell = cells.get(rowNumber + columnNumber); + columns.add(new VariableSnapshotDTO( + cell.getVariableSnapshotId(), + cell.getPaletteId(), + cell.getVariableId(), + opacityToPercent(cell.getOpacity()).orElse(null), + cell.getColor())); + } + return columns; + } + + private List createCommitRow(int columnsCount, List cells, int rowNumber) { + List columns = new ArrayList<>(); + for (int columnNumber = 0; columnNumber < columnsCount; columnNumber++) { + CommitViewCellDTO cell = cells.get(rowNumber + columnNumber); + columns.add(new VariableSnapshotDTO( + cell.getVariableSnapshotId(), + cell.getPaletteId(), + cell.getVariableId(), + opacityToPercent(cell.getOpacity()).orElse(null), + cell.getColor())); + } + return columns; + } + + private VariableDTO createVariableDTO(PaletteViewCellDTO cell) { + return new VariableDTO(cell.getVariableId(), cell.getVariableName(), cell.getVariableUsage()); + } + + private VariableDTO createVariableDTO(CommitViewCellDTO cell) { + return new VariableDTO(cell.getVariableId(), cell.getVariableName(), cell.getVariableUsage()); + } + + private List getPaletteViewColumns(int columnCount, List cells) { + return cells.stream() + .limit(columnCount) + .map(cell -> new PaletteDTO(cell.getPaletteId(), cell.getPaletteName())) + .collect(Collectors.toList()); + } + + private List getCommitViewColumns(int columnCount, List cells) { + return cells.stream() + .limit(columnCount) + .map(cell -> new CommitDTO(cell.getCommitId(), cell.getPaletteId(), cell.getUpdateTime())) + .collect(Collectors.toList()); + } + + private PaletteDTO convertToDTO(PaletteEntity entity) { + return new PaletteDTO(entity.getId(), entity.getName()); + } + + private List convertToDTO(List entities) { + return entities.stream() + .map(this::convertToDTO). + collect(Collectors.toList()); + } +} diff --git a/src/main/java/com/devexperts/chameleon/service/UiComponentService.java b/src/main/java/com/devexperts/chameleon/service/UiComponentService.java new file mode 100644 index 0000000..cb71261 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/service/UiComponentService.java @@ -0,0 +1,98 @@ +package com.devexperts.chameleon.service; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.dto.UiComponentDTO; +import com.devexperts.chameleon.entity.UiComponentEntity; +import com.devexperts.chameleon.repository.UiComponentRepository; +import com.devexperts.chameleon.util.PreconditionUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.List; +import java.util.stream.Collectors; + +/** + * This class is used as service for handle actions with UI component + * Not currently used + */ +@Service +@Transactional +public class UiComponentService { + + private final UiComponentRepository repository; + + @Autowired + public UiComponentService(UiComponentRepository repository) { + this.repository = repository; + } + + public List findAll() { + List enities = repository.findAll(); + PreconditionUtils.checkIsAnyNotNull(enities); + return convertToDTO(enities); + } + + public UiComponentDTO getById(Long id) { + UiComponentEntity entity = repository.findOne(id); + + PreconditionUtils.checkNotFound(entity, id); + + return convertToDTO(entity); + } + + public boolean isNameExist(String name) { + return repository.findFirstByNameIgnoreCase(name) != null; + } + + public Long save(UiComponentDTO dto) { + UiComponentEntity entity = repository.save(convertToEntity(dto)); + return entity.getId(); + } + + private UiComponentEntity convertToEntity(UiComponentDTO dto) { + UiComponentEntity entity; + if (dto.getId() == null) { + entity = new UiComponentEntity(dto.getName(), dto.getColor()); + } else { + entity = repository.getOne(dto.getId()); + PreconditionUtils.checkNotFound(entity, dto.getId()); + } + + entity.setName(dto.getName()); + entity.setColor(dto.getColor()); + + return entity; + } + + private UiComponentDTO convertToDTO(UiComponentEntity entity) { + return new UiComponentDTO(entity.getId(), entity.getName(), entity.getColor()); + } + + private List convertToDTO(List entities) { + return entities.stream() + .map(this::convertToDTO). + collect(Collectors.toList()); + } +} diff --git a/src/main/java/com/devexperts/chameleon/service/VariableService.java b/src/main/java/com/devexperts/chameleon/service/VariableService.java new file mode 100644 index 0000000..758b170 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/service/VariableService.java @@ -0,0 +1,124 @@ +package com.devexperts.chameleon.service; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.dto.VariableDTO; +import com.devexperts.chameleon.entity.VariableEntity; +import com.devexperts.chameleon.repository.VariableRepository; +import com.devexperts.chameleon.util.PreconditionUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; + +import static com.devexperts.chameleon.util.ConverterUtils.toMap; + +/** + * This class is used as service for handle actions with variable + * + */ +@Service +@Transactional +public class VariableService { + + private final VariableRepository repository; + + @Autowired + public VariableService(VariableRepository variableRepository) { + this.repository = variableRepository; + } + + public VariableDTO getById(Long id) { + VariableEntity entity = repository.findOne(id); + + PreconditionUtils.checkNotFound(entity, id); + + return convertToDTO(entity); + } + + public VariableDTO getByName(String name) { + VariableEntity entity = repository.findFirstByNameIgnoreCase(name); + + if (entity != null) { + return convertToDTO(entity); + } + + return null; + } + + public Map getMapByNames(List names) { + return toMap(VariableEntity::getName, repository.findAllByNameIgnoreCaseIn(names).stream().collect(Collectors.toList())); + } + + public boolean isNameExist(String name) { + return repository.findFirstByNameIgnoreCase(name) != null; + } + + public VariableEntity save(VariableDTO dto) { + return repository.save(convertToEntity(dto)); + } + + public VariableEntity save(VariableEntity entity) { + return repository.save(entity); + } + + private VariableEntity convertToEntity(VariableDTO dto) { + VariableEntity entity; + if (dto.getId() == null) { + entity = new VariableEntity(dto.getName(), dto.getUsage()); + } else { + entity = repository.getOne(dto.getId()); + PreconditionUtils.checkNotFound(entity, dto.getId()); + } + + entity.setName(dto.getName()); + entity.setUsage(dto.getUsage()); + + return entity; + } + + private VariableDTO convertToDTO(VariableEntity entity) { + return new VariableDTO(entity.getId(), entity.getName(), entity.getUsage()); + } + + private List convertToDTO(List entities) { + return entities.stream() + .map(this::convertToDTO). + collect(Collectors.toList()); + } + + public VariableEntity getVariable(Long id) { + VariableEntity entity = repository.findOne(id); + PreconditionUtils.checkNotFound(entity, id); + return entity; + } + + public VariableDTO delete(Long id) { + VariableDTO dto = getById(id); + repository.delete(dto.getId()); + return dto; + } +} diff --git a/src/main/java/com/devexperts/chameleon/service/VariableSnapshotService.java b/src/main/java/com/devexperts/chameleon/service/VariableSnapshotService.java new file mode 100644 index 0000000..1b41e0c --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/service/VariableSnapshotService.java @@ -0,0 +1,400 @@ +package com.devexperts.chameleon.service; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.dto.CommitDTO; +import com.devexperts.chameleon.dto.PaletteDTO; +import com.devexperts.chameleon.dto.PaletteDiffViewDTO; +import com.devexperts.chameleon.dto.SaveVariableDTO; +import com.devexperts.chameleon.dto.VariableDTO; +import com.devexperts.chameleon.dto.VariableSnapshotDTO; +import com.devexperts.chameleon.dto.VariableViewDTO; +import com.devexperts.chameleon.entity.BaseEntity; +import com.devexperts.chameleon.entity.CommitEntity; +import com.devexperts.chameleon.entity.PaletteEntity; +import com.devexperts.chameleon.entity.VariableEntity; +import com.devexperts.chameleon.entity.VariableSnapshotEntity; +import com.devexperts.chameleon.repository.VariableSnapshotRepository; +import com.devexperts.chameleon.util.PreconditionUtils; +import com.google.common.base.Strings; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; +import org.springframework.validation.BindException; +import org.springframework.validation.Errors; +import org.springframework.validation.FieldError; +import org.springframework.validation.SmartValidator; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.function.Function; +import java.util.stream.Collectors; + +import static com.devexperts.chameleon.util.ConverterUtils.opacityToPercent; +import static com.devexperts.chameleon.util.ConverterUtils.percentToOpacity; +import static com.devexperts.chameleon.util.ConverterUtils.toMap; + +/** + * This class is used as service for handle actions with variable snapshot + * + */ +@Service +@Transactional +public class VariableSnapshotService { + + private final VariableSnapshotRepository repository; + private final SmartValidator validator; + + private final PaletteService paletteService; + private final VariableService variableService; + private final CommitService commitService; + + private static final Logger logger = LoggerFactory.getLogger(VariableSnapshotService.class); + + private static final Function validationErrorText = error -> "Validation error field:" + + error.getField() + + " rejectedValue: " + + error.getRejectedValue() + + " " + + error.getDefaultMessage(); + + @Autowired + public VariableSnapshotService(VariableSnapshotRepository repository, + PaletteService paletteService, + VariableService variableService, + CommitService commitService, + SmartValidator validator) { + this.repository = repository; + this.paletteService = paletteService; + this.variableService = variableService; + this.commitService = commitService; + this.validator = validator; + } + + public VariableSnapshotDTO getById(Long id) { + VariableSnapshotEntity entity = repository.findOne(id); + PreconditionUtils.checkNotFound(entity, id); + + return convertToDTO(entity); + } + + public List saveEntityList(List snapshots) { + return snapshots.stream() + .filter(this::isEntityValid) + .map(repository::save) + .map(entity -> { + variableService.save(entity.getVariableEntity()); + return entity; + }) + .map(BaseEntity::getId) + .collect(Collectors.toList()); + } + + public Map> getMapByVariables(Long paletteId, Collection values) { + return repository.findAllByPaletteEntityIdAndVariableEntityIn(paletteId, values).stream().collect(Collectors.groupingBy(VariableSnapshotEntity::getVariableEntity)); + } + + public List copy(Long sourcePaletteId, Long targetPaletteId) { + + if (sourcePaletteId.equals(targetPaletteId)) { + return Collections.emptyList(); + } + + PaletteEntity targetPalette = paletteService.getPalette(targetPaletteId); + + CommitEntity lastCommit = commitService.getLastCommitByPaletteId(sourcePaletteId); + + List snapshots = repository.findAllByCommitEntityId(lastCommit.getId()); + CommitEntity newCommit = commitService.createNewCommit(targetPalette); + + List copiedSnapshots = snapshots.stream() + .map(source -> new VariableSnapshotEntity( + source.getColor(), + source.getOpacity(), + targetPalette, + source.getVariableEntity(), + newCommit)) + .collect(Collectors.toList()); + + return saveEntityList(copiedSnapshots); + } + + public VariableViewDTO buildVariableSnapshotView(Long variableId) { + VariableDTO variable = getVariableDTO(variableId); + List palettes = paletteService.findAll(); + List snapshots = getVariableSnapshotsForAllPalettes(variableId, palettes); + + return new VariableViewDTO(variable, palettes, snapshots); + } + + public List save(List viewDTOS) { + List paletteIds = getPaletteIdsFromView(viewDTOS); + List lastCommits = commitService.getLastCommitsByPaletteIds(paletteIds); + Map newCommitsByPaletteId = createNewCommitsMapByPalettes(paletteIds); + Map> changedSnapshots = saveNewSnapshots(viewDTOS, newCommitsByPaletteId); + copyPreviousSnapshotsToNewSnapshots(lastCommits, newCommitsByPaletteId, changedSnapshots); + + return changedSnapshots.keySet().stream().collect(Collectors.toList()); + } + + public PaletteDiffViewDTO buildPaletteDiffView(Long firstCommitId, Long secondCommitId) { + + List diffVariableIds = repository.getChangedVariablesByCommitIds(firstCommitId, secondCommitId).stream() + .map(s -> s.longValue()).collect(Collectors.toList()); + + List selectedCommitIds = new ArrayList<>(); + selectedCommitIds.add(firstCommitId); + selectedCommitIds.add(secondCommitId); + + return paletteService.buildDiffView(selectedCommitIds, diffVariableIds); + } + + public Boolean isSnapshotEmpty(VariableSnapshotDTO snapshot) { + return snapshot == null || Strings.isNullOrEmpty(snapshot.getColor()); + } + + public Boolean isSnapshotDeleted(VariableSnapshotDTO snapshot) { + return snapshot != null + && snapshot.getVariableId() != null + && snapshot.getPaletteId() != null + && Strings.isNullOrEmpty(snapshot.getColor()); + } + + private void copyPreviousSnapshotsToNewSnapshots(List lastCommtis, + Map newCommitsByPaletteId, + Map> changedSnapshots) { + + repository.save(lastCommtis.stream() + .flatMap(lastCommit -> createSnapshotsWithNewCommit(newCommitsByPaletteId.get(lastCommit.getPaletteId()), lastCommit, changedSnapshots).stream()) + .collect(Collectors.toList())); + } + + private List createSnapshotsWithNewCommit( + CommitEntity newCommit, + CommitDTO lastCommit, + Map> changedSnapshots) { + + return getNotModifiedSnapshots(changedSnapshots.get(lastCommit.getPaletteId()), lastCommit.getId()).stream() + .map(s -> new VariableSnapshotEntity( + s.getColor(), + s.getOpacity(), + s.getPaletteEntity(), + s.getVariableEntity(), + newCommit)) + .collect(Collectors.toList()); + } + + private List getNotModifiedSnapshots(List changedSnapshots, Long lastCommitId) { + List lastCommitSnpashots = repository.findAllByCommitEntityId(lastCommitId); + + if(changedSnapshots != null) { + changedSnapshots.forEach(newSnapshot -> + lastCommitSnpashots.removeIf(snapshot -> + snapshot.getVariableEntity().getId().equals(newSnapshot.getVariableId()))); + } + + return lastCommitSnpashots; + } + + private Map createNewCommitsMapByPalettes(List paletteIds) { + return paletteService.getByIds(paletteIds).stream() + .collect(Collectors.toMap(PaletteEntity::getId, palette -> commitService.createNewCommit(palette))); + } + + private Map> saveNewSnapshots(List viewDTOS, Map newCommitByPaletteId) { + Map> deletedSnapshots = getDeletedSnapshots(viewDTOS); + Map> createdSnapshots = createSnapshotsWithNewCommit(viewDTOS, newCommitByPaletteId); + + return mergeMaps(deletedSnapshots, createdSnapshots); + } + + private Map> mergeMaps(Map> firstMap, Map> secondMap) { + Map> resultMap = new HashMap<>(); + resultMap.putAll(secondMap); + firstMap.forEach((k, v) -> { + List snapshots = resultMap.putIfAbsent(k, v); + if(snapshots != null) { + snapshots.addAll(v); + } + }); + + return resultMap; + } + + private Map> createSnapshotsWithNewCommit(List viewDTOS, Map newCommitByPaletteId) { + return viewDTOS.stream() + .flatMap(dto -> saveAndConvert(dto, newCommitByPaletteId).stream()) + .map(this::convertToDTO) + .collect(Collectors.groupingBy(s -> s.getPaletteId(), Collectors.toList())); + } + + private Map> getDeletedSnapshots(List viewDTOS) { + return viewDTOS.stream() + .flatMap(dto -> dto.getSnapshots().stream() + .filter(this::isSnapshotDeleted) + .collect(Collectors.toList()) + .stream()) + .collect(Collectors.groupingBy(s -> s.getPaletteId(), Collectors.toList())); + } + + private List getPaletteIdsFromView(List viewDTOS) { + return viewDTOS.stream() + .flatMap(dto -> dto.getSnapshots().stream()) + .map(snapshot -> snapshot.getPaletteId()) + .distinct() + .collect(Collectors.toList()); + } + + private List saveAndConvert(SaveVariableDTO dto, Map commitByPaletteId) { + VariableEntity variableEntity = variableService.save(dto.getVariable()); + + return saveVariableSnapshots(dto, variableEntity, commitByPaletteId); + } + + private List saveVariableSnapshots(SaveVariableDTO dto, VariableEntity variableEntity, Map commitByPaletteId) { + return repository.save(dto.getSnapshots().stream() + .filter(s -> !isSnapshotEmpty(s)) + .map(s -> createNewEntity(s, variableEntity, commitByPaletteId.get(s.getPaletteId()))) + .collect(Collectors.toList()) + ); + } + + private VariableDTO getVariableDTO(Long variableId) { + if(variableId != null) { + return variableService.getById(variableId); + } + + return null; + } + + private List getVariableSnapshotsForAllPalettes(Long variableID, List palettes) { + + List lastCommitIds = commitService.getLastCommitIdsByPaletteIds(palettes.stream() + .map(PaletteDTO::getId) + .collect(Collectors.toList())); + + List snapshots = repository.findAllVariableSnapshotEntityByVariableEntityIdAndCommitEntityIdIn(variableID, lastCommitIds).stream() + .map(this::convertToDTO) + .collect(Collectors.toList()); + + Map snapshotsWithPaletteId = toMap(VariableSnapshotDTO::getPaletteId, snapshots); + + return palettes.stream() + .map(PaletteDTO::getId) + .map(paletteId -> snapshotsWithPaletteId.getOrDefault(paletteId, new VariableSnapshotDTO(null, paletteId, variableID, null, null))) + .collect(Collectors.toList()); + } + + private Boolean isEntityValid(VariableSnapshotEntity entity) { + Errors errors = new BindException(entity, entity.toString()); + validator.validate(entity, errors); + if (errors.getAllErrors().isEmpty()) { + return true; + } + errors.getAllErrors().forEach(error -> { + if (error.getClass() == FieldError.class) { + logger.error(validationErrorText.apply((FieldError) error)); + } else { + logger.error(error.toString()); + } + }); + return false; + } + + private VariableSnapshotEntity convertToEntity(VariableSnapshotDTO dto) { + VariableSnapshotEntity entity; + if (dto.getId() == null) { + entity = new VariableSnapshotEntity(); + } else { + entity = repository.getOne(dto.getId()); + PreconditionUtils.checkNotFound(entity, dto.getId()); + } + + if (dto.getVariableId() != null ) { + entity.setVariableEntity(variableService.getVariable(dto.getVariableId())); + } + + entity.setPaletteEntity(paletteService.getPalette(dto.getPaletteId())); + entity.setColor(dto.getColor()); + entity.setOpacity(percentToOpacity(dto.getOpacity()).orElse(null)); + + return entity; + } + + private VariableSnapshotEntity createNewEntity(VariableSnapshotDTO dto, VariableEntity variableEntity, CommitEntity commitEntity) { + VariableSnapshotEntity entity = new VariableSnapshotEntity(); + entity.setVariableEntity(variableEntity); + entity.setPaletteEntity(paletteService.getPalette(dto.getPaletteId())); + entity.setCommitEntity(commitEntity); + entity.setColor(dto.getColor()); + entity.setOpacity(percentToOpacity(dto.getOpacity()).orElse(null)); + + return entity; + } + + private VariableSnapshotDTO convertToDTO(VariableSnapshotEntity entity) { + return new VariableSnapshotDTO( + entity.getId(), + entity.getPaletteEntity().getId(), + entity.getVariableEntity().getId(), + opacityToPercent(entity.getOpacity()).orElse(null), + entity.getColor()); + } + + private List convertToDTO(List entities) { + return entities.stream() + .map(this::convertToDTO). + collect(Collectors.toList()); + } + + public Integer deleteByVariableId(Long variableId) { + List paletteIds = paletteService.findAll().stream() + .map(PaletteDTO::getId) + .collect(Collectors.toList()); + + List lastCommits = commitService.getLastCommitsByPaletteIds(paletteIds); + Map> changedSnapshots = getSnapshotsByPalette(variableId, lastCommits); + + List editedPaletteIds = new ArrayList<>(changedSnapshots.keySet()); + lastCommits.removeIf(lc -> !editedPaletteIds.contains(lc.getPaletteId())); + Map newCommitsByPaletteId = createNewCommitsMapByPalettes(editedPaletteIds); + + copyPreviousSnapshotsToNewSnapshots(lastCommits, newCommitsByPaletteId, changedSnapshots); + + return editedPaletteIds.size(); + } + + private Map> getSnapshotsByPalette(Long variableId, List lastCommits) { + return repository.findAllVariableSnapshotEntityByVariableEntityIdAndCommitEntityIdIn( + variableId, + lastCommits.stream().map(CommitDTO::getId).collect(Collectors.toList())).stream() + .map(this::convertToDTO) + .collect(Collectors.groupingBy(s -> s.getPaletteId(), Collectors.toList())); + } +} diff --git a/src/main/java/com/devexperts/chameleon/util/ConverterUtils.java b/src/main/java/com/devexperts/chameleon/util/ConverterUtils.java new file mode 100644 index 0000000..477f4ef --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/util/ConverterUtils.java @@ -0,0 +1,98 @@ +package com.devexperts.chameleon.util; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.util.collector.SameValueMapCollector; + +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.function.BiConsumer; +import java.util.function.BinaryOperator; +import java.util.function.Function; +import java.util.function.Supplier; +import java.util.stream.Collector; +import java.util.stream.Collectors; + +/** + * This class is used for converting purposes + * + */ +public class ConverterUtils { + + /** + * Converts percent to opacity in color information + * It needs to be convertded because backend stores opacity + * as float and frontend use percent representation + * + * @param percent percent + * @return opacity value + */ + public static Optional percentToOpacity(Integer percent) { + if(percent == null) { + return Optional.empty(); + } + return Optional.of(percent / 100f); + } + + /** + * Converts opacity in color information to percent + * It needs to be convertded because backend stores opacity + * as float and frontend use percent representation + * + * @param opacity opacity value + * @return percent + */ + public static Optional opacityToPercent(Float opacity) { + if(opacity == null) { + return Optional.empty(); + } + return Optional.of(Math.round(opacity * 100)); + } + + /** + * Create map from list. Result contains list's element as a value and key is a result of keyMapper invoke + * @param keyMapper key mapper + * @param values list of elements + * @param key type + * @param value type + * @return map + */ + public static Map toMap(Function keyMapper, List values) { + return values.stream().collect(Collectors.toMap(keyMapper, Function.identity())); + } + + /** + * Collector for create map from list. + * Result contains list's element as a value and key is a result of keyMapper invoke + * + * @param keyMapper key mapper + * @param + * @param + * @param + * @return + */ + public static Collector, Map> toSameValueMap(Function keyMapper) { + return new SameValueMapCollector(keyMapper); + } +} diff --git a/src/main/java/com/devexperts/chameleon/util/PreconditionUtils.java b/src/main/java/com/devexperts/chameleon/util/PreconditionUtils.java new file mode 100644 index 0000000..2c65f9e --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/util/PreconditionUtils.java @@ -0,0 +1,94 @@ +package com.devexperts.chameleon.util; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.exception.EntityNotFoundCustomException; + +import java.util.Arrays; +import java.util.List; + +import static com.devexperts.chameleon.exception.BaseCustomException.buildIllegalArgument; + +/** + * This class is used for checking preconditions during getting entities from database + * and chek for null or empty in case of fail checking custom exception will be thrown + * + */ +public class PreconditionUtils { + + /** + * Check not null object + * + * @param entity + */ + public static void checkNotNull(Object entity) { + checkNotFound(entity, 0L); + } + + /** + * Chech not found object with define id + * + * @param entity + * @param id + */ + public static void checkNotFound(Object entity, Long id) { + if (entity == null) { + throw new EntityNotFoundCustomException(id); + } + } + + /** + * Check not found object with define field + * + * @param entity + * @param field + */ + public static void checkNotFound(Object entity, String field) { + if (entity == null) { + throw new EntityNotFoundCustomException("Not found by field: " + field); + } + } + + /** + * Check is any not null from list + * + * @param enities + */ + public static void checkIsAnyNotNull(List enities) { + enities.forEach(PreconditionUtils::checkNotNull); + } + + /** + * Check is any string empty + * + * @param elements + */ + public static void checkIsAnyEmpty(String... elements) { + Arrays.stream(elements) + .filter(element -> element == null || element.isEmpty()) + .findAny() + .ifPresent(element -> { + throw buildIllegalArgument(element); + }); + } +} diff --git a/src/main/java/com/devexperts/chameleon/util/collector/SameValueMapCollector.java b/src/main/java/com/devexperts/chameleon/util/collector/SameValueMapCollector.java new file mode 100644 index 0000000..7e3f37f --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/util/collector/SameValueMapCollector.java @@ -0,0 +1,75 @@ +package com.devexperts.chameleon.util.collector; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; +import java.util.Set; +import java.util.function.BiConsumer; +import java.util.function.BinaryOperator; +import java.util.function.Function; +import java.util.function.Supplier; +import java.util.stream.Collector; + +public class SameValueMapCollector implements Collector, Map> { + + Function keyMapper; + + public SameValueMapCollector(Function keyMapper) { + this.keyMapper = keyMapper; + } + + @Override + public Supplier> supplier() { + return HashMap::new; + } + + @Override + public BiConsumer, T> accumulator() { + return (map, element) -> map.merge(keyMapper.apply(element), element, throwingMerger()); + } + + @Override + public BinaryOperator> combiner() { + return (m1, m2) -> { + for (Map.Entry e : m2.entrySet()) + m1.merge(e.getKey(), e.getValue(), throwingMerger()); + return m1; + }; + } + + @Override + public Function, Map> finisher() { + return i -> (Map) i; + } + + @Override + public Set characteristics() { + return Collections.singleton(Characteristics.IDENTITY_FINISH); + } + + private static BinaryOperator throwingMerger() { + return (u,v) -> { throw new IllegalStateException(String.format("Duplicate key %s", u)); }; + } +} diff --git a/src/main/java/com/devexperts/chameleon/validator/ColorOpacity.java b/src/main/java/com/devexperts/chameleon/validator/ColorOpacity.java new file mode 100644 index 0000000..4c47492 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/validator/ColorOpacity.java @@ -0,0 +1,48 @@ +package com.devexperts.chameleon.validator; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import javax.validation.Constraint; +import javax.validation.Payload; +import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * Constraint for color opacity validation + * + */ +@Target({ElementType.FIELD, ElementType.TYPE}) +@Retention(RetentionPolicy.RUNTIME) +@Constraint(validatedBy = ColorOpacityValidator.class) +@Documented +public @interface ColorOpacity { + + String message() default "Opacity value should be between 0 and 100"; + + Class[] groups() default {}; + + Class[] payload() default {}; +} diff --git a/src/main/java/com/devexperts/chameleon/validator/ColorOpacityValidator.java b/src/main/java/com/devexperts/chameleon/validator/ColorOpacityValidator.java new file mode 100644 index 0000000..57bdeb1 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/validator/ColorOpacityValidator.java @@ -0,0 +1,45 @@ +package com.devexperts.chameleon.validator; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.service.PaletteService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +import javax.validation.ConstraintValidator; +import javax.validation.ConstraintValidatorContext; + +/** + * Constraint validator for {@link ColorOpacity} + * + */ +@Component +public class ColorOpacityValidator implements ConstraintValidator { + + public void initialize(ColorOpacity colorOpacity) { + } + + public boolean isValid(Integer opacity, ConstraintValidatorContext constraintValidatorContext) { + return opacity == null ? true : opacity >= 0 && opacity <= 100; + } +} \ No newline at end of file diff --git a/src/main/java/com/devexperts/chameleon/validator/NotExistingComponentName.java b/src/main/java/com/devexperts/chameleon/validator/NotExistingComponentName.java new file mode 100644 index 0000000..14a22c5 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/validator/NotExistingComponentName.java @@ -0,0 +1,48 @@ +package com.devexperts.chameleon.validator; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import javax.validation.Constraint; +import javax.validation.Payload; +import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * Constraint for component name validation. Check if name exist before + * + */ +@Target({ElementType.FIELD, ElementType.TYPE}) +@Retention(RetentionPolicy.RUNTIME) +@Constraint(validatedBy = UiComponentNameValidator.class) +@Documented +public @interface NotExistingComponentName { + + String message() default "Component name already exist"; + + Class[] groups() default {}; + + Class[] payload() default {}; +} diff --git a/src/main/java/com/devexperts/chameleon/validator/NotExistingPaletteName.java b/src/main/java/com/devexperts/chameleon/validator/NotExistingPaletteName.java new file mode 100644 index 0000000..34ad894 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/validator/NotExistingPaletteName.java @@ -0,0 +1,44 @@ +package com.devexperts.chameleon.validator; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import javax.validation.Constraint; +import javax.validation.Payload; +import java.lang.annotation.*; + +/** + * Constraint for palette name validation. Check if name exist before + * + */ +@Target({ElementType.FIELD, ElementType.TYPE}) +@Retention(RetentionPolicy.RUNTIME) +@Constraint(validatedBy = PaletteNameValidator.class) +@Documented +public @interface NotExistingPaletteName { + + String message() default "Palette name already exist"; + + Class[] groups() default {}; + + Class[] payload() default {}; +} diff --git a/src/main/java/com/devexperts/chameleon/validator/NotExistingVariableName.java b/src/main/java/com/devexperts/chameleon/validator/NotExistingVariableName.java new file mode 100644 index 0000000..fbce5fa --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/validator/NotExistingVariableName.java @@ -0,0 +1,44 @@ +package com.devexperts.chameleon.validator; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import javax.validation.Constraint; +import javax.validation.Payload; +import java.lang.annotation.*; + +/** + * Constraint for variable name validation. Check if name exist before + * + */ +@Target({ElementType.FIELD, ElementType.TYPE}) +@Retention(RetentionPolicy.RUNTIME) +@Constraint(validatedBy = VariableNameValidator.class) +@Documented +public @interface NotExistingVariableName { + + String message() default "Variable name already exist"; + + Class[] groups() default {}; + + Class[] payload() default {}; +} diff --git a/src/main/java/com/devexperts/chameleon/validator/PaletteNameValidator.java b/src/main/java/com/devexperts/chameleon/validator/PaletteNameValidator.java new file mode 100644 index 0000000..6d97cde --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/validator/PaletteNameValidator.java @@ -0,0 +1,48 @@ +package com.devexperts.chameleon.validator; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.service.PaletteService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +import javax.validation.ConstraintValidator; +import javax.validation.ConstraintValidatorContext; + +/** + * Constraint validator for {@link NotExistingPaletteName}. Check if name exist before + * + */ +@Component +public class PaletteNameValidator implements ConstraintValidator { + + @Autowired + private PaletteService paletteService; + + public void initialize(NotExistingPaletteName notExistingPaletteName) { + } + + public boolean isValid(String paletteName, ConstraintValidatorContext constraintValidatorContext) { + return !paletteService.isNameExist(paletteName); + } +} \ No newline at end of file diff --git a/src/main/java/com/devexperts/chameleon/validator/UiComponentNameValidator.java b/src/main/java/com/devexperts/chameleon/validator/UiComponentNameValidator.java new file mode 100644 index 0000000..b1baa00 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/validator/UiComponentNameValidator.java @@ -0,0 +1,48 @@ +package com.devexperts.chameleon.validator; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.service.UiComponentService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +import javax.validation.ConstraintValidator; +import javax.validation.ConstraintValidatorContext; + +/** + * Constraint validator for {@link NotExistingComponentName}. Check if name exist before + * + */ +@Component +public class UiComponentNameValidator implements ConstraintValidator { + + @Autowired + private UiComponentService uiComponentService; + + public void initialize(NotExistingComponentName notExistingComponentName) { + } + + public boolean isValid(String uiComponentName, ConstraintValidatorContext constraintValidatorContext) { + return !uiComponentService.isNameExist(uiComponentName); + } +} \ No newline at end of file diff --git a/src/main/java/com/devexperts/chameleon/validator/VariableNameValidator.java b/src/main/java/com/devexperts/chameleon/validator/VariableNameValidator.java new file mode 100644 index 0000000..4d0dd3d --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/validator/VariableNameValidator.java @@ -0,0 +1,48 @@ +package com.devexperts.chameleon.validator; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.service.VariableService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +import javax.validation.ConstraintValidator; +import javax.validation.ConstraintValidatorContext; + +/** + * Constraint validator for {@link NotExistingVariableName}. Check if name exist before + * + */ +@Component +public class VariableNameValidator implements ConstraintValidator { + + @Autowired + private VariableService paletteService; + + public void initialize(NotExistingVariableName notExistingVariableName) { + } + + public boolean isValid(String variableName, ConstraintValidatorContext constraintValidatorContext) { + return !paletteService.isNameExist(variableName); + } +} \ No newline at end of file diff --git a/src/main/java/com/devexperts/chameleon/web/api/ErrorResponse.java b/src/main/java/com/devexperts/chameleon/web/api/ErrorResponse.java new file mode 100644 index 0000000..c6a5779 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/web/api/ErrorResponse.java @@ -0,0 +1,57 @@ +package com.devexperts.chameleon.web.api; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.exception.BaseCustomException; +import com.devexperts.chameleon.exception.ErrorCode; + +import java.util.List; + +/* + * A sample class for sending error information to frontend + */ +public class ErrorResponse { + private final String message; + + private final ErrorCode errorCode; + + private final List parameters; + + public ErrorResponse(BaseCustomException ex) { + this.message = ex.getMessage(); + this.errorCode = ex.getErrorCode(); + this.parameters = ex.getParameters(); + } + + public String getMessage() { + return message; + } + + public ErrorCode getErrorCode() { + return errorCode; + } + + public List getParameters() { + return parameters; + } +} diff --git a/src/main/java/com/devexperts/chameleon/web/controller/CommitController.java b/src/main/java/com/devexperts/chameleon/web/controller/CommitController.java new file mode 100644 index 0000000..a899b6b --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/web/controller/CommitController.java @@ -0,0 +1,65 @@ +package com.devexperts.chameleon.web.controller; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.service.CommitService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.http.HttpStatus; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import static org.springframework.web.bind.annotation.RequestMethod.GET; + +/** + * This class is used as rest service for the {@link CommitService}. + * Commit stores one version for defined palette + * + */ +@RestController +@RequestMapping(CommitController.COMMIT_PATH) +public class CommitController { + + public static final String COMMIT_PATH = "api/commits"; + + public static final String COMMIT_PALETTE_PATH = "palette"; + + private final CommitService commitService; + + @Autowired + public CommitController(CommitService commitService) { + this.commitService = commitService; + } + + /** + * Returns commits by palette id + * + * @param paletteId + * @return list of {@link com.devexperts.chameleon.dto.CommitDTO} + */ + @RequestMapping(path = COMMIT_PALETTE_PATH + "/{paletteId}", method = GET) + public ResponseEntity read(@PathVariable("paletteId") Long paletteId) { + return new ResponseEntity<>(commitService.getByPaletteId(paletteId), HttpStatus.OK); + } +} diff --git a/src/main/java/com/devexperts/chameleon/web/controller/ImportController.java b/src/main/java/com/devexperts/chameleon/web/controller/ImportController.java new file mode 100644 index 0000000..dcb1475 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/web/controller/ImportController.java @@ -0,0 +1,66 @@ +package com.devexperts.chameleon.web.controller; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.dto.AuthDTO; +import com.devexperts.chameleon.service.ConfluenceImportPaletteService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.http.HttpStatus; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.ResponseStatus; +import org.springframework.web.bind.annotation.RestController; + +import static org.springframework.web.bind.annotation.RequestMethod.POST; + +/** + * This class is used as rest service for the {@link ConfluenceImportPaletteService}. + * Import palettes from external source + */ +@RestController +@RequestMapping(ImportController.IMPORT_PATH) +public class ImportController { + public static final String IMPORT_PATH = "api/import"; + + private final ConfluenceImportPaletteService importPaletteService; + + @Autowired + public ImportController(ConfluenceImportPaletteService importPaletteService) { + this.importPaletteService = importPaletteService; + } + + /** + * Entry point for import process to confluence + * + * @param url color palette page url + * @param paletteName palette name + * @param authDTO authentication information + * @return import result message + */ + @RequestMapping(method = POST) + @ResponseStatus(HttpStatus.OK) + public String importPalette(@RequestParam String url, @RequestParam String paletteName, @RequestBody AuthDTO authDTO) { + return importPaletteService.importPalette(url, paletteName, authDTO.getUsername(), authDTO.getPassword()); + } +} diff --git a/src/main/java/com/devexperts/chameleon/web/controller/PaletteController.java b/src/main/java/com/devexperts/chameleon/web/controller/PaletteController.java new file mode 100644 index 0000000..294a281 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/web/controller/PaletteController.java @@ -0,0 +1,103 @@ +package com.devexperts.chameleon.web.controller; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.dto.PaletteDTO; +import com.devexperts.chameleon.dto.PaletteViewDTO; +import com.devexperts.chameleon.service.PaletteService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.http.HttpStatus; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import javax.validation.Valid; +import java.util.List; + +import static org.springframework.web.bind.annotation.RequestMethod.GET; +import static org.springframework.web.bind.annotation.RequestMethod.POST; + +/** + * This class is used as rest service for the {@link PaletteService}. + * Handle actions with palette + */ +@RestController +@RequestMapping(PaletteController.PALETTE_PATH) +public class PaletteController { + + public static final String PALETTE_PATH = "api/palettes"; + + public static final String PALETTE_VARIABLE_VIEW_PATH = "view/variables"; + + private final PaletteService paletteService; + + @Autowired + public PaletteController(PaletteService paletteService) { + this.paletteService = paletteService; + } + + /** + * Returns all palettes + * + * @return list of {@link PaletteDTO} + */ + @RequestMapping(method = GET) + public ResponseEntity> list() { + return new ResponseEntity<>(paletteService.findAll(), HttpStatus.OK); + } + + /** + * Returns palette by id + * + * @param id palette id + * @return {@link PaletteDTO} + */ + @RequestMapping(method = GET, value = "/{paletteId}") + public ResponseEntity read(@PathVariable("paletteId") Long id) { + return new ResponseEntity<>(paletteService.getById(id), HttpStatus.OK); + } + + /** + * Returns palette variable view by palette ids + * + * @param paletteIds palette ids + * @return {@link PaletteViewDTO} + */ + @RequestMapping(path = PALETTE_VARIABLE_VIEW_PATH + "/{paletteIds}", method = GET) + public ResponseEntity read(@PathVariable("paletteIds") List paletteIds) { + return new ResponseEntity<>(paletteService.buildVariableView(paletteIds), HttpStatus.OK); + } + + /** + * Create palette by paletteDTO + * @param paletteDTO palette DTO + * @return created palette id + */ + @RequestMapping(method = POST) + public ResponseEntity create(@RequestBody @Valid PaletteDTO paletteDTO) { + Long id = paletteService.save(paletteDTO); + return new ResponseEntity<>(id, HttpStatus.CREATED); + } +} diff --git a/src/main/java/com/devexperts/chameleon/web/controller/SwaggerController.java b/src/main/java/com/devexperts/chameleon/web/controller/SwaggerController.java new file mode 100644 index 0000000..836434d --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/web/controller/SwaggerController.java @@ -0,0 +1,43 @@ +package com.devexperts.chameleon.web.controller; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import springfox.documentation.annotations.ApiIgnore; + +import static org.springframework.web.bind.annotation.RequestMethod.GET; + +/** + * This class is used as rest service for the Swagger. + * + */ +@Controller +@ApiIgnore +public class SwaggerController { + + @RequestMapping(method = GET, path = "swagger") + public String getApi() { + return "redirect:swagger-ui.html"; + } +} diff --git a/src/main/java/com/devexperts/chameleon/web/controller/UiComponentController.java b/src/main/java/com/devexperts/chameleon/web/controller/UiComponentController.java new file mode 100644 index 0000000..5e59cf6 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/web/controller/UiComponentController.java @@ -0,0 +1,90 @@ +package com.devexperts.chameleon.web.controller; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.dto.UiComponentDTO; +import com.devexperts.chameleon.service.UiComponentService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.http.HttpStatus; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import javax.validation.Valid; +import java.util.List; + +import static org.springframework.web.bind.annotation.RequestMethod.GET; +import static org.springframework.web.bind.annotation.RequestMethod.POST; + +/** + * This class is used as rest service for the {@link UiComponentService}. + * Not currently used + */ +@RestController +@RequestMapping(UiComponentController.UICOMPONENT_PATH) +public class UiComponentController { + + public static final String UICOMPONENT_PATH = "api/uicomponents"; + + private final UiComponentService uiComponentService; + + @Autowired + public UiComponentController(UiComponentService uiComponentService) { + this.uiComponentService = uiComponentService; + } + + /** + * Returns all UI components + * + * @return {@link UiComponentDTO} + */ + @RequestMapping(method = GET) + public ResponseEntity> list() { + return new ResponseEntity<>(uiComponentService.findAll(), HttpStatus.OK); + } + + /** + * Returns component by id + * + * @param id component id + * @return {@link UiComponentDTO} + */ + @RequestMapping(method = GET, value="/{componentId}") + public ResponseEntity read(@PathVariable("componentId") Long id) { + return new ResponseEntity<>(uiComponentService.getById(id), HttpStatus.OK); + } + + /** + * Create UI component by uiComponentDTO + * + * @param uiComponentDTO UI component DTO + * @return created UI component id + */ + @RequestMapping(method = POST) + public ResponseEntity create(@RequestBody @Valid UiComponentDTO uiComponentDTO) { + Long id = uiComponentService.save(uiComponentDTO); + return new ResponseEntity<>(id, HttpStatus.CREATED); + } +} diff --git a/src/main/java/com/devexperts/chameleon/web/controller/VariableController.java b/src/main/java/com/devexperts/chameleon/web/controller/VariableController.java new file mode 100644 index 0000000..aa57467 --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/web/controller/VariableController.java @@ -0,0 +1,93 @@ +package com.devexperts.chameleon.web.controller; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.dto.VariableDTO; +import com.devexperts.chameleon.entity.VariableEntity; +import com.devexperts.chameleon.service.VariableService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.http.HttpStatus; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import javax.validation.Valid; + +import static org.springframework.web.bind.annotation.RequestMethod.GET; +import static org.springframework.web.bind.annotation.RequestMethod.POST; + +/** + * This class is used as rest service for the {@link VariableService}. + * Handle actions with variable + */ +@RestController +@RequestMapping(VariableController.PATH) +public class VariableController { + + public static final String PATH = "api/variables"; + + public static final String BY_NAME_PATH = "name"; + + private final VariableService variableService; + + @Autowired + public VariableController(VariableService variableService) { + this.variableService = variableService; + } + + /** + * Returns variable by name + * + * @param variableName variable name + * @return {@link VariableDTO} + */ + @RequestMapping(path = BY_NAME_PATH + "/{variableName}", method = GET) + public ResponseEntity getByName(@PathVariable("variableName") String variableName) { + return new ResponseEntity<>(variableService.getByName(variableName), HttpStatus.OK); + } + + /** + * Returns variable by id + * + * @param id variable id + * @return {@link VariableDTO} + */ + @RequestMapping(method = GET, value = "/{variableId}") + public ResponseEntity read(@PathVariable("variableId") Long id) { + return new ResponseEntity<>(variableService.getById(id), HttpStatus.OK); + } + + /** + * Create variable by variableDTO + * + * @param variableDTO variabel DTO + * @return created variable id + */ + @RequestMapping(method = POST) + public ResponseEntity create(@RequestBody @Valid VariableDTO variableDTO) { + VariableEntity variableEntity = variableService.save(variableDTO); + return new ResponseEntity<>(variableEntity.getId(), HttpStatus.CREATED); + } +} diff --git a/src/main/java/com/devexperts/chameleon/web/controller/VariableSnapshotController.java b/src/main/java/com/devexperts/chameleon/web/controller/VariableSnapshotController.java new file mode 100644 index 0000000..caac88c --- /dev/null +++ b/src/main/java/com/devexperts/chameleon/web/controller/VariableSnapshotController.java @@ -0,0 +1,151 @@ +package com.devexperts.chameleon.web.controller; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.dto.PaletteDiffViewDTO; +import com.devexperts.chameleon.dto.PaletteViewDTO; +import com.devexperts.chameleon.dto.SaveVariableDTO; +import com.devexperts.chameleon.dto.VariableSnapshotDTO; +import com.devexperts.chameleon.service.VariableSnapshotService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.http.HttpStatus; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import javax.validation.Valid; +import java.util.List; + +import static org.springframework.web.bind.annotation.RequestMethod.DELETE; +import static org.springframework.web.bind.annotation.RequestMethod.GET; +import static org.springframework.web.bind.annotation.RequestMethod.POST; +import static org.springframework.web.bind.annotation.RequestMethod.PUT; + +/** + * This class is used as rest service for the {@link VariableSnapshotService}. + * Handle actions with snapshots and build view for palettes and commits + */ +@RestController +@RequestMapping(VariableSnapshotController.PATH) +public class VariableSnapshotController { + + public static final String PATH = "api/variablesnapshots"; + + public static final String SAVE_CHANGES_PATH = "save"; + + public static final String COPY_PATH = "copy"; + + public static final String DIFF_PATH = "diff"; + + public static final String VIEW_PATH = "view"; + + public static final String DELETE_VARIABLE_PATH = "deletevariable"; + + private final VariableSnapshotService variableSnapshotService; + + @Autowired + public VariableSnapshotController(VariableSnapshotService variableSnapshotService) { + this.variableSnapshotService = variableSnapshotService; + } + + /** + * Retruns variable snapshot by id + * + * @param id variable snapshot id + * @return {@link VariableSnapshotDTO} + */ + @RequestMapping(method = GET, value = "/{variableSnapshotId}") + public ResponseEntity read(@PathVariable("variableSnapshotId") Long id) { + return new ResponseEntity<>(variableSnapshotService.getById(id), HttpStatus.OK); + } + + /** + * Copy snapshots from source palette to target palette + * + * @param sourcePaletteId source palette id + * @param targetPaletteId target palette id + * @return list ids of new snapshots + */ + @RequestMapping(path = COPY_PATH + "/{sourcePaletteId}/{targetPaletteId}", method = PUT) + public ResponseEntity copy(@PathVariable Long sourcePaletteId, @PathVariable Long targetPaletteId) { + List snapshotsIds = variableSnapshotService.copy(sourcePaletteId, targetPaletteId); + return new ResponseEntity<>(snapshotsIds, HttpStatus.OK); + } + + /** + * Return varible snapshot view by variable id + * + * @param variableId variable id + * @return {@link com.devexperts.chameleon.dto.VariableViewDTO} + */ + @RequestMapping(path = VIEW_PATH + "/{variableId}", method = GET) + public ResponseEntity getVariableSnapshotView(@PathVariable("variableId") Long variableId) { + return new ResponseEntity<>(variableSnapshotService.buildVariableSnapshotView(variableId), HttpStatus.OK); + } + + /** + * Get variable for add variable action + * + * @return {@link com.devexperts.chameleon.dto.VariableViewDTO} + */ + @RequestMapping(path = VIEW_PATH, method = GET) + public ResponseEntity getVariableSnapshotViewForAddVariable() { + return new ResponseEntity<>(variableSnapshotService.buildVariableSnapshotView(null), HttpStatus.OK); + } + + /** + * Delete variable by id + * + * @param variableId variable id + * @return count of palettes was contained this variable + */ + @RequestMapping(path = DELETE_VARIABLE_PATH + "/{variableId}", method = DELETE) + public ResponseEntity deleteByVariableId(@PathVariable("variableId") Long variableId) { + return new ResponseEntity<>(variableSnapshotService.deleteByVariableId(variableId), HttpStatus.OK); + } + + /** + * Save variables action + * + * @param variables list of {@link SaveVariableDTO} + * @return list of saved variable snapshot ids + */ + @RequestMapping(path = SAVE_CHANGES_PATH, method = POST) + public ResponseEntity saveVariablesWithVariableSnapshots(@RequestBody @Valid List variables) { + return new ResponseEntity<>(variableSnapshotService.save(variables), HttpStatus.OK); + } + + /** + * Return diff view of commits + * + * @param firstCommitId first commit id + * @param secondCommitId second commit id + * @return {@link PaletteDiffViewDTO} + */ + @RequestMapping(path = DIFF_PATH + "/{firstCommitId}/{secondCommitId}", method = GET) + public ResponseEntity diff(@PathVariable("firstCommitId") Long firstCommitId, @PathVariable("secondCommitId") Long secondCommitId) { + return new ResponseEntity<>(variableSnapshotService.buildPaletteDiffView(firstCommitId, secondCommitId), HttpStatus.OK); + } +} diff --git a/src/main/resources/ValidationMessages.properties b/src/main/resources/ValidationMessages.properties new file mode 100644 index 0000000..0c823e0 --- /dev/null +++ b/src/main/resources/ValidationMessages.properties @@ -0,0 +1,15 @@ +exception.uicomponent.color.notnull = Please provide a non-empty name for the color +exception.uicomponent.color.wrong = Please provide a correct color code +exception.uicomponent.name.notnull = Please provide a non-empty name for the component +exception.uicomponent.name.wrong = Please provide a non-empty name for the component +exception.uicomponent.name.existed = The component called ${validatedValue} already exists. Please provide a different name +exception.palette.name.notnull = Please provide a non-empty name for the paletteEntity +exception.palette.name.wrong = Please provide a non-empty name for the paletteEntity +exception.palette.name.existed = The paletteEntity called ${validatedValue} already exists. Please provide a different name +exception.variable.name.wrong = Please provide a non-empty name for the variableEntity +exception.variable.name.notnull = Please provide a non-empty name for the variableEntity +exception.variable.notnull = Please provide a non-empty variable +exception.variable.name.existed = The variableEntity called ${validatedValue} already exists. Please provide a different name +exception.variable.snapshot.color.wrong = Please provide a correct color code +exception.variable.snapshot.color.notnull = Please provide a correct color code +exception.variable.snapshot.opacity.wrong = Opacity value should be between 0 and 100 \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..c49a38a --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1,16 @@ +spring.datasource.url=jdbc:h2:./data/chameleon_db;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password= +spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +spring.jpa.hibernate.ddl-auto=none +spring.h2.console.enabled=true +spring.h2.console.path=/h2-console +liquibase.change-log=classpath:/db/changelog/db.changelog-master.xml +logging.file=log/chameleon.log +#import settings +confluence.loginPage=https://confluence.your-domain.com/login.action +confluence.username=os_username +confluence.password=os_password +confluence.usageParseField=USAGE +confluence.valueParseField=VALUE \ No newline at end of file diff --git a/src/main/resources/db/changelog/db.changelog-0.0.1-schema.xml b/src/main/resources/db/changelog/db.changelog-0.0.1-schema.xml new file mode 100644 index 0000000..6abb05d --- /dev/null +++ b/src/main/resources/db/changelog/db.changelog-0.0.1-schema.xml @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/db/changelog/db.changelog-0.0.4-data.xml b/src/main/resources/db/changelog/db.changelog-0.0.4-data.xml new file mode 100644 index 0000000..b87bf30 --- /dev/null +++ b/src/main/resources/db/changelog/db.changelog-0.0.4-data.xml @@ -0,0 +1,10 @@ + + + + add versioning + + INSERT INTO COMMIT (ID, UPDATE_TIME, VERSION, PALETTE_ID) SELECT ID, Getdate(), VERSION, ID FROM PALETTE; + UPDATE VARIABLE_SNAPSHOT SET COMMIT_ID = PALETTE_ID WHERE COMMIT_ID IS NULL; + + + diff --git a/src/main/resources/db/changelog/db.changelog-0.0.4-schema.xml b/src/main/resources/db/changelog/db.changelog-0.0.4-schema.xml new file mode 100644 index 0000000..cd66083 --- /dev/null +++ b/src/main/resources/db/changelog/db.changelog-0.0.4-schema.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/db/changelog/db.changelog-master.xml b/src/main/resources/db/changelog/db.changelog-master.xml new file mode 100644 index 0000000..a0947cf --- /dev/null +++ b/src/main/resources/db/changelog/db.changelog-master.xml @@ -0,0 +1,9 @@ + + + + + + diff --git a/src/main/resources/liquibase-task.properties b/src/main/resources/liquibase-task.properties new file mode 100644 index 0000000..4c8e6ec --- /dev/null +++ b/src/main/resources/liquibase-task.properties @@ -0,0 +1,2 @@ +liquibase.changelog.path=src/main/resources/db/changelog/ +liquibase.domain.package=com.devexperts.chameleon \ No newline at end of file diff --git a/src/main/resources/static/images/transparent.png b/src/main/resources/static/images/transparent.png new file mode 100644 index 0000000000000000000000000000000000000000..67dc3ffdec7fb710b0a0dec4a342a5169df3035e GIT binary patch literal 233 zcmeAS@N?(olHy`uVBq!ia0vp^Agsl~1|$_?dCY+nOR=(hRAB%B literal 0 HcmV?d00001 diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html new file mode 100644 index 0000000..f73dbcb --- /dev/null +++ b/src/main/resources/static/index.html @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
+ + + \ No newline at end of file diff --git a/src/main/resources/static/scripts/controller/diff.js b/src/main/resources/static/scripts/controller/diff.js new file mode 100644 index 0000000..34c8775 --- /dev/null +++ b/src/main/resources/static/scripts/controller/diff.js @@ -0,0 +1,81 @@ +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +app.controller('DiffController', + function ($http, $scope, $location, $uibModal, changesService, versionService) { + var $controller = this; + $controller.model= {}; + $controller.model.paletteName = ""; + $controller.model.commitsView = {} ; + + $controller.alerts = $scope.alerts; + $controller.closeAlert = function(index) { + $controller.alerts.splice(index, 1); + }; + + $controller.noDiffSelected = { + type : 'info', + msg: "Please select palette for diff" + }; + + if(versionService.getVersions() != null && versionService.getVersions().from != null && versionService.getVersions().to != null) { + getSelectedCommitsView(); + } else { + $scope.alerts.push($controller.noDiffSelected); + } + + $controller.showVariable = function (variable) { + $uibModal.open({ + animation: true, + templateUrl: 'templates/variable.html', + controller: 'VariableModalInstanceCtrl', + controllerAs: '$controller', + appendTo: undefined, + resolve: { + selectedPalettes: function () { + return $controller.model.selectedPalettes; + }, + variable: function () { + return variable; + } + } + }); + }; + + function getSelectedCommitsView() { + + var commitIds = '/'+versionService.getVersions().from.id+'/'+versionService.getVersions().to.id; + + $http.get(variableSnapshotPath + '/' + variableSnapshotDiffPath + '/' + commitIds + ).then(function(response) { + if ( response.status === HttpCodes.success ) { + $controller.model.commitsView = response.data; + $controller.model.paletteName = versionService.getVersions().palette_name; + } else { + $controller.errorMessage = "Something is wrong, status code:" + response.statusText; + } + }, function(exception) { + $controller.errorMessage = "Something is wrong, status code:" + exception.data.message; + }); + } + } +); diff --git a/src/main/resources/static/scripts/controller/header.js b/src/main/resources/static/scripts/controller/header.js new file mode 100644 index 0000000..0f7269d --- /dev/null +++ b/src/main/resources/static/scripts/controller/header.js @@ -0,0 +1,73 @@ +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +app.controller('HeaderController', + function ($http, $scope, $location, changesService, versionService) { + var $controller = this; + + $controller.unexpectedError = { + type : 'danger', + msg: "Save error, please try again later" + }; + + $scope.isActive = function (viewLocation) { + return viewLocation === $location.path(); + }; + + $controller.saveChanges = function () { + var changes = changesService.getChanges(); + Object.keys(changes).forEach(function(url) { + $http.post(url, changes[url] + ).then(function (response) { + if (response.status === HttpCodes.success) { + changesService.reset(); + $scope.alerts.push({ + type: 'success', + msg: "Save successful" + }); + } else { + $scope.alerts.push($controller.unexpectedError); + } + }, function (exception) { + console.log(exception.data.message);//TODO better error logging + $scope.alerts.push($controller.unexpectedError); + }); + }); + }; + + $controller.getChanges = function () { + return changesService.printChanges(); + }; + + $controller.getChangesCount = function () { + return changesService.getCount(); + }; + + $controller.getVersions = function () { + return versionService.getVersions; + }; + + $controller.hasVersions = function () { + return versionService.getVersions.length > 1; + }; + } +); \ No newline at end of file diff --git a/src/main/resources/static/scripts/controller/main.js b/src/main/resources/static/scripts/controller/main.js new file mode 100644 index 0000000..b2a0012 --- /dev/null +++ b/src/main/resources/static/scripts/controller/main.js @@ -0,0 +1,80 @@ +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +var app = angular.module('chameleon', ['ngAnimate', 'ngSanitize', 'ui.bootstrap', 'ngRoute']); + +var palettePath = '/api/palettes'; +var selectedPaletteViewPath = '/view/variables'; +var variablePath = '/api/variables'; +var variableSnapshotPath = '/api/variablesnapshots'; +var commitsPath = 'api/commits'; +var variableSnapshotDeleteVariablePath = '/deletevariable'; +var variableSnapshotViewPath = variableSnapshotPath + '/view'; +var variableSnapshotCopyPath = '/copy'; +var variableSnapshotDiffPath = '/diff'; +var variableNamePath = "/name"; +var variableSaveChangesPath = variableSnapshotPath + "/save"; +var commitsByPaletteIdPath = commitsPath + '/palette'; + +var HttpCodes = { + success : 200, + created : 201 +}; + +app.config(['$locationProvider', '$routeProvider', function($locationProvider, $routeProvider) { + $locationProvider.html5Mode(false); + $locationProvider.hashPrefix(''); + + $routeProvider + .when('/', { + templateUrl : 'templates/palettes.html' + }) + .when('/palettes', { + templateUrl : 'templates/palettes.html' + }) + .when('/diff', { + templateUrl : 'templates/diff.html' + }) + .otherwise({ + redirectTo: '/palettes' + }) + ; +}]); + +app.controller('MainController', + function ($uibModal, $document, $http, $scope) { + + const model = {}; + model.selectedPalettes = []; + model.palettes = []; + model.variablesView = {}; + model.variablesView.columns = {}; + model.variablesView.rows = {}; + $scope.model = model; + $scope.changes = []; + $scope.saveChangesPath = ""; + + $scope.alerts = []; + } +); + + diff --git a/src/main/resources/static/scripts/controller/palette.js b/src/main/resources/static/scripts/controller/palette.js new file mode 100644 index 0000000..ee1b104 --- /dev/null +++ b/src/main/resources/static/scripts/controller/palette.js @@ -0,0 +1,578 @@ +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +app.controller('AddPaletteModalInstanceCtrl', function ($uibModalInstance, $http) { + var $controller = this; + + $controller.name = null; + $controller.errorMessage = null; + + $controller.ok = function () { + var parameter = { + id: null, + name: $controller.name + }; + + $http.post(palettePath, parameter) + .then(function (response) { + if (response.status === HttpCodes.created) { + $uibModalInstance.close(); + } + }, function (exception) { + $controller.errorMessage = exception.data.message; + }); + }; + + $controller.cancel = function () { + $uibModalInstance.dismiss(); + }; +}); + +app.controller('VariableModalInstanceCtrl', function ($uibModalInstance, $http, $uibModal, selectedPalettes, variable, changesService) { + var $controller = this; + + $controller.errorMessage = null; + + $controller.view = {}; + $controller.view.variable = {}; + $controller.view.variable.id = null; + $controller.view.variable.name = null; + $controller.view.variable.usage = null; + $controller.view.palettes = []; + $controller.view.snapshots = []; + + setDialogMode(variable); + getAllPalettesWithSnapshots(variable); + + function getAllPalettesWithSnapshots(variable) { + $http.get(variableSnapshotViewPath + getVariablePath() + ).then(function (response) { + if (response.status === HttpCodes.success) { + $controller.view = response.data; + $controller.view.variable = $controller.view.variable == null ? variable : $controller.view.variable; + replaceByChanges(); + } else { + $controller.errorMessage = "Something is wrong, status code:" + response.statusText; + } + }, function (exception) { + $controller.errorMessage = "Something is wrong, status code:" + exception.data.message; + }); + + function getVariablePath() { + return (variable == null || variable.id == undefined ? '' : '/' + variable.id); + } + } + + function replaceByChanges() { + var changes = changesService.getChanges()[variableSaveChangesPath]; + if (changes != undefined && $controller.view) { + changes.forEach(function(element, index) { + if (compareVariableViews(element, $controller.view)) { + $controller.view.snapshots = changes[index].snapshots; + return; + } + }); + } + } + + function setDialogMode(variable) { + if (variable) { + $controller.dialogTitle = "Edit Variable"; + $controller.okButtonTitle = "Save"; + } else { + $controller.dialogTitle = "Add Variable"; + $controller.okButtonTitle = "Add"; + } + } + + $controller.getSnapshot = function(paletteId) { + return getSnapshot(paletteId, $controller.view.snapshots) + } + + $controller.checkVariableName = function () { + $http.get(variablePath + variableNamePath +'/'+ $controller.view.variable.name) + .then(function(response) { + if ( response.status === HttpCodes.success ) { + if (response.data) { + $controller.errorMessage = null; + } + } else { + $controller.errorMessage = "Something is wrong, status code:" + response.statusText; + } + + setDialogMode(response.data); + + if (response.data) { + getAllPalettesWithSnapshots(response.data); + } + + }, function(exception) { + $controller.errorMessage = "Something is wrong, status code:" + exception.data.message; + }); + }; + + $controller.ok = function () { + var validVariableView = {}; + validVariableView.variable = $controller.view.variable; + validVariableView.snapshots = $controller.view.snapshots.filter(function(x){return x.color != null}); + + changesService.addChanges(variableSaveChangesPath, validVariableView, + compareVariableViews, + function(element) { + return 'VariableView - id: ' + element.variable.id + ' name: ' + element.variable.name; + }); + $uibModalInstance.close(); + }; + + $controller.cancel = function () { + $uibModalInstance.dismiss(); + }; + + $controller.delete = function () { + var modalInstance = $uibModal.open({ + animation: true, + templateUrl: 'templates/variableDeleteConfirmation.html', + controller: 'DeleteVariableConfirmationModalInstanceCtrl', + controllerAs: '$controller', + appendTo: undefined, + size: 'md', + resolve: { + variable: function () { + return $controller.view.variable; + }, + snapshots: function () { + return $controller.view.snapshots; + } + } + }); + + modalInstance.result.then(function () { + $uibModalInstance.close(); + }, + angular.noop + ); + }; +}); + +app.controller('DeleteVariableConfirmationModalInstanceCtrl', function ($uibModalInstance, $http, variable, snapshots) { + var $controller = this; + + $controller.errorMessage = null; + $controller.snapshotsCount = snapshots.filter(function(x){return x.color != null}).length; + + $controller.ok = function () { + $http.delete(variableSnapshotPath + variableSnapshotDeleteVariablePath + '/' + variable.id + ).then(function(response) { + if ( response.status === HttpCodes.success ) { + $uibModalInstance.close(); + } else { + $controller.errorMessage = response.data; + } + }, function(exception) { + $controller.errorMessage = exception.data.message; + }); + }; + + $controller.cancel = function () { + $uibModalInstance.dismiss(); + }; +}); + +app.controller('CopyPaletteConfirmationModalInstanceCtrl', function ($uibModalInstance, $http, sourcePalette, targetPalette) { + var $controller = this; + + $controller.errorMessage = null; + $controller.sourcePalette = sourcePalette; + $controller.targetPalette = targetPalette; + + $controller.ok = function () { + $http.put(variableSnapshotPath + variableSnapshotCopyPath + '/' + sourcePalette.id + '/' + targetPalette.id + ).then(function(response) { + if ( response.status === HttpCodes.success ) { + $uibModalInstance.close(); + } else { + $controller.errorMessage = response.data; + } + }, function(exception) { + $controller.errorMessage = exception.data.message; + }); + }; + + $controller.cancel = function () { + $uibModalInstance.dismiss(); + }; +}); + +app.controller('SelectPalettesModalInstanceCtrl', function ($uibModalInstance, $http, selectedPalettes, $uibModal) { + var $controller = this; + + $controller.sourcePalette = null; + $controller.name = null; + $controller.errorMessage = null; + $controller.palettes = []; + $controller.selectedPalettes = selectedPalettes; + $controller.copyDialogIsOpen = []; + $controller.hover = []; + $controller.commits = []; + + getAllPalettes(); + + function getAllPalettes() { + $http.get(palettePath + ).then(function(response) { + if ( response.status === HttpCodes.success ) { + $controller.palettes = response.data; + $controller.copyDialogIsOpen.fill(false, 0, $controller.palettes - 1); + $controller.hover.fill(false, 0, $controller.palettes - 1 ); + $controller.sourcePalette = $controller.palettes[0]; + } else { + $controller.errorMessage = "Something is wrong, status code:" + response.statusText; + } + }, function(exception) { + $controller.errorMessage = "Something is wrong, status code:" + exception.data.message; + }); + } + + $controller.isSelectedPalette = function (palette) { + return $controller.selectedPalettes.some(function (selectedPalette) { + return palette.name === selectedPalette.name; + }) + }; + + function arrayObjectIndexOf(array, property, item) { + for(var i = 0, len = array.length; i < len; i++) { + if (array[i][property] === item[property]) + return i; + } + return -1; + } + + $controller.toggleSelection = function toggleSelection(palette) { + + var paletteIndex = arrayObjectIndexOf(selectedPalettes,"id", palette); + + if (paletteIndex > -1) { + $controller.selectedPalettes.splice(paletteIndex, 1); + } else { + $controller.selectedPalettes.push(palette); + } + + $controller.selectedPalettes.sort(function (a, b) { + if (a.name > b.name) { + return 1; + } + if (a.name < b.name) { + return -1; + } + return 0; + }); + }; + + $controller.ok = function () { + $uibModalInstance.close($controller.selectedPalettes) + }; + + $controller.cancel = function () { + $uibModalInstance.dismiss(); + }; + + $controller.copy = function (targetPaletteIndex) { + var modalInstance = $uibModal.open({ + animation: true, + templateUrl: 'templates/paletteCopyConfirmation.html', + controller: 'CopyPaletteConfirmationModalInstanceCtrl', + controllerAs: '$controller', + appendTo: undefined, + size: 'md', + resolve: { + sourcePalette: function () { + return $controller.sourcePalette; + }, + targetPalette: function () { + return $controller.palettes[targetPaletteIndex]; + } + } + }); + + modalInstance.result.then(function () { + $uibModalInstance.close($controller.selectedPalettes); + }, angular.noop); + }; + + $controller.cancelCopy = function (index) { + $controller.copyDialogIsOpen[index] = false; + $controller.hover[index] = false; + }; + + $controller.hoverIn = function(index){ + function isAllPopoversClosed() { + return $controller.copyDialogIsOpen.every(function (value) { + return !value; + }); + } + + if (isAllPopoversClosed()) { + $controller.hover[index] = true; + } + }; + + $controller.hoverOut = function(index){ + if (!$controller.copyDialogIsOpen.some(function (isOpen) {return isOpen})) { + $controller.hover[index] = false; + } + }; + + $controller.selectCommits = function (palette_id, palette_name) { + var modalInstance = $uibModal.open({ + animation: true, + templateUrl: 'templates/dialog/selectCommits.html', + controller: 'CommitController', + controllerAs: '$controller', + size: 'md', + appendTo: undefined, + resolve: { + palette_id: function() { + return palette_id; + }, + palette_name: function() { + return palette_name; + } + } + }); + + modalInstance.result.then(function () { + $uibModalInstance.dismiss(); + }, angular.noop); + }; +}); + +app.controller('CommitController', + function ($uibModalInstance, $http, $location, palette_id, palette_name, versionService) { + var $controller = this; + + $controller.commits = null; + $controller.fromCommit = null; + $controller.toCommit = null; + + recieveCommits(); + + function recieveCommits() { + $http.get(commitsByPaletteIdPath + '/' + palette_id + ).then(function(response) { + if ( response.status === HttpCodes.success ) { + $controller.commits = response.data; + } else { + $controller.errorMessage = "Something is wrong, status code:" + response.statusText; + } + }, function(exception) { + $controller.errorMessage = "Something is wrong, status code:" + exception.data.message; + }); + } + + $controller.save = function(){ + versionService.addVersion('from', $controller.fromCommit); + versionService.addVersion('to', $controller.toCommit); + versionService.addVersion('palette_name', palette_name); + $uibModalInstance.close(); + $location.path(variableSnapshotDiffPath); + }; + + $controller.cancel = function () { + $uibModalInstance.dismiss(); + }; + }); + +app.controller('PaletteController', + function ($uibModal, $http, $scope, changesService) { + var $controller = this; + $controller.model = $scope.model; + + $controller.errorMessage = null; + $controller.alerts = $scope.alerts; + $controller.onlyNumbers = /^\d+$/; + $controller.closeAlert = function(index) { + $controller.alerts.splice(index, 1); + }; + + $controller.addPalette = function () { + $uibModal.open({ + animation: true, + templateUrl: 'templates/addPalette.html', + controller: 'AddPaletteModalInstanceCtrl', + controllerAs: '$controller', + size: 'md', + appendTo: undefined + }); + }; + + $controller.showVariable = function (variable) { + var modalInstance = $uibModal.open({ + animation: true, + templateUrl: 'templates/variable.html', + controller: 'VariableModalInstanceCtrl', + controllerAs: '$controller', + appendTo: undefined, + resolve: { + selectedPalettes: function () { + return $controller.model.selectedPalettes; + }, + variable: function () { + return variable; + } + } + }); + + modalInstance.result.then(function () { + getSelectedPalettesView(); + }, + angular.noop + ); + }; + + $controller.selectPalettes = function () { + var modalInstance = $uibModal.open({ + animation: true, + templateUrl: 'templates/selectPalettes.html', + controller: 'SelectPalettesModalInstanceCtrl', + controllerAs: '$controller', + size: 'md', + appendTo: undefined, + resolve: { + selectedPalettes: function () { + return $controller.model.selectedPalettes; + } + } + }); + + modalInstance.result.then(function (selectedPalettes) { + $controller.model.selectedPalettes = selectedPalettes; + getSelectedPalettesView(); + }, + angular.noop + ); + }; + + function getPaletteId(palette) { + return palette.id; + } + + function getSelectedPalettesView() { + + if ($controller.model.selectedPalettes.length === 0) { + $controller.model.palettesView = {}; + return; + } + var palettesIds = $controller.model.selectedPalettes.map(getPaletteId).join(); + + $http.get(palettePath + selectedPaletteViewPath +'/'+ palettesIds + ).then(function(response) { + if ( response.status === HttpCodes.success ) { + $controller.model.palettesView = response.data; + replaceByChanges(); + } else { + $controller.errorMessage = "Something is wrong, status code:" + response.statusText; + } + }, function(exception) { + $controller.errorMessage = "Something is wrong, status code:" + exception.data.message; + }); + } + + function replaceByChanges() { + var changes = changesService.getChanges()[variableSaveChangesPath]; + if (changes) { + changes.forEach(function(changeElement, changeIndex) { + matchedSnapshots = filterSnapshotsByPalettes($controller.model.selectedPalettes, changeElement.snapshots); + + if (matchedSnapshots.length > 0) { + var found = false + $controller.model.palettesView.rows.forEach(function(dataElement, dataIndex) { + if (compareVariableViews(changeElement, dataElement)) { + $controller.model.palettesView.rows[dataIndex].snapshots = matchedSnapshots; + found = true; + } + }); + + if (!found) { + $controller.model.palettesView.rows.push({ + variable: changeElement.variable, + snapshots: matchedSnapshots + }) + } + } + }); + } + } + + function filterSnapshotsByPalettes(palettes, snapshots) { + var result = []; + var selectedPalettesIds = $controller.model.selectedPalettes.map(getPaletteId); + snapshots.forEach(function(snapshot, index) { + if (selectedPalettesIds.indexOf(snapshot.paletteId) >= 0) { + result.push(snapshot); + } + }); + return result; + } + + $controller.getSnapshot = function(paletteId, snapshots) { + return getSnapshot(paletteId, snapshots); + }; + + $controller.addChange = function (variable, snapshots) { + changesService.addChanges(variableSaveChangesPath, + { + variable: variable, + snapshots: snapshots + }, + compareVariableViews, + mergeVariableViews, + function(element) { + return 'VariableView - id: ' + element.variable.id + ' name: ' + element.variable.name; + }); + }; + } +); + +function getSnapshot(paletteId, snapshots) { + var result = null; + snapshots.forEach(function(snapshot, index) { + if (snapshot.paletteId == paletteId) { + result = snapshot; + } + }); + return result; +} + +function compareVariableViews(left, right) { + return left === right || left.variable.name == right.variable.name; +} + +function mergeVariableViews(oldValue, newValue) { + newValue.snapshots.forEach(function(element2){ + var isEquals = oldValue.snapshots.some(function(element1){ + return element1.paletteId === element2.paletteId; + }); + if(!isEquals){ + oldValue.snapshots.push(element2); + } + }); +} \ No newline at end of file diff --git a/src/main/resources/static/scripts/service/changes.js b/src/main/resources/static/scripts/service/changes.js new file mode 100644 index 0000000..8baf619 --- /dev/null +++ b/src/main/resources/static/scripts/service/changes.js @@ -0,0 +1,78 @@ +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +app.service('changesService', function () { + var changes = {}; + var changesCount = 0; + var prints = {}; + var changesPrint = ""; + + return { + getChanges:function() { + return changes; + }, + printChanges:function() { + return changesPrint; + }, + addChanges:function(url, value, compare, merge, printFunc) { + if (!Array.isArray(changes[url])) { + changes[url] = []; + } + if (!Array.isArray(prints[url])) { + prints[url] = []; + } + var values = changes[url]; + var valueIndex = -1; + values.forEach(function(element, index) { + if (compare(element, value)) { + valueIndex = index; + return; + } + }); + + if (valueIndex == -1) { + changes[url].push(value); + } else { + merge(changes[url][valueIndex], value); + } + + this.recalculate(); + }, + recalculate:function() { + changesCount = 0; + Object.keys(changes).forEach(function(url) { + changesCount += changes[url].length; + }); + changesPrint = ""; + Object.keys(prints).forEach(function(url) { + changesPrint += prints[url].join("\n") + "\n"; + }); + }, + getCount:function () { + return changesCount; + }, + reset:function() { + changes = {}; + changesCount = 0; + } + }; +}); \ No newline at end of file diff --git a/src/main/resources/static/scripts/service/versions.js b/src/main/resources/static/scripts/service/versions.js new file mode 100644 index 0000000..31c668a --- /dev/null +++ b/src/main/resources/static/scripts/service/versions.js @@ -0,0 +1,37 @@ +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +app.service('versionService', function () { + var versions = {}; + + return { + getVersions:function() { + return versions; + }, + addVersion:function (key, version) { + versions[key] = version; + }, + reset:function() { + versions = {}; + } + }; +}); \ No newline at end of file diff --git a/src/main/resources/static/styles/chameleon.css b/src/main/resources/static/styles/chameleon.css new file mode 100644 index 0000000..563aef1 --- /dev/null +++ b/src/main/resources/static/styles/chameleon.css @@ -0,0 +1,119 @@ +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +.header-with-padding-right { + padding-right: 30px; +} + +th { + background-color: #f8f8f8 !important; +} + +.modal-error-message { + display: flex; + align-items: center; + justify-content: center; + background-color: #e8b8b8; + min-height: 46px; +} + +.color-block { + width:40px; + height:34px; + display: inline-block; + margin: 0; +} + + +.label-as-badge { + border-radius: 1em; +} + +.col-xs-1.color-container { + padding-left: 0; + padding-right: 0; + margin-left: 0; + margin-right: 0; + width: 82px; + height: 36px; + border: 1px solid #E6E6E6; + border-radius: 3px; + background-image: url("../images/transparent.png"); +} + +.col-xs-1.input-group { + float: left; +} + +.row.no-gutter { + margin-left: 0; + margin-right: 0; +} + +.row.no-gutter [class*='col-']:not(:first-child), +.row.no-gutter [class*='col-']:not(:last-child) { + padding-left: 0; +} + +.fixed-column-width { + width: 350px; +} + +.popover{ + z-index:10; +} + +.select-source-palette-dialog { + width: 200px; +} + +.select-source-palette { + width: 200px; +} + +.gly-rotate-270-flip-vertical { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3, mirror=1); + -webkit-transform: scale(1, -1) rotate(270deg); + -moz-transform: scale(1, -1) rotate(270deg); + -ms-transform: scale(1, -1) rotate(270deg); + -o-transform: scale(1, -1) rotate(270deg); + transform: scale(1, -1) rotate(270deg); +} + +.fixed-column-usage-width { + width: 200px; +} + +.fixed-column-variable-width { + min-width: 100px; + max-width: none; +} + +.big-glyph { + padding-left: 8px; + padding-top: 8px; + -webkit-transform: scale(1.5, 1.5); + -moz-transform: scale(1.5, 1.5); + -ms-transform: scale(1.5, 1.5); + -o-transform: scale(1.5, 1.5); + transform: scale(1.5, 1.5); +} \ No newline at end of file diff --git a/src/main/resources/static/templates/addPalette.html b/src/main/resources/static/templates/addPalette.html new file mode 100644 index 0000000..ba619b8 --- /dev/null +++ b/src/main/resources/static/templates/addPalette.html @@ -0,0 +1,40 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/static/templates/dialog/selectCommits.html b/src/main/resources/static/templates/dialog/selectCommits.html new file mode 100644 index 0000000..d410a78 --- /dev/null +++ b/src/main/resources/static/templates/dialog/selectCommits.html @@ -0,0 +1,35 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/static/templates/diff.html b/src/main/resources/static/templates/diff.html new file mode 100644 index 0000000..d77f902 --- /dev/null +++ b/src/main/resources/static/templates/diff.html @@ -0,0 +1,67 @@ + + +
+
+

+ Diff for palette: {{controller.model.paletteName}} +

+
+
{{alert.msg}}
+ + + + + + + + + + + +
Variable NameUsage + Date: {{commit.updateTime}} Version:{{commit.id}} +
+ {{row.variable.name}} + {{row.variable.usage}} +
+
+
+ +
+
+
+ +
%
+
+
+ +
+ +
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/src/main/resources/static/templates/paletteCopyConfirmation.html b/src/main/resources/static/templates/paletteCopyConfirmation.html new file mode 100644 index 0000000..b2e3722 --- /dev/null +++ b/src/main/resources/static/templates/paletteCopyConfirmation.html @@ -0,0 +1,48 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/static/templates/palettes.html b/src/main/resources/static/templates/palettes.html new file mode 100644 index 0000000..9e0360c --- /dev/null +++ b/src/main/resources/static/templates/palettes.html @@ -0,0 +1,84 @@ + + +
+
+

+ Color Palettes + + {{palette_controller.model.selectedPalettes.length}} selected + +
+ + +
+ + +

+
+
{{alert.msg}}
+ + + + + + + + + + + +
Variable NameUsage + {{palette.name}} +
+ {{row.variable.name}} + {{row.variable.usage}} +
+
+
+ +
+
+
+ +
%
+
+
+ +
+ +
+
+
+
+
+
+ No selected palettes +
+
+
+
\ No newline at end of file diff --git a/src/main/resources/static/templates/popup/selectSourcePalette.html b/src/main/resources/static/templates/popup/selectSourcePalette.html new file mode 100644 index 0000000..d7abcdf --- /dev/null +++ b/src/main/resources/static/templates/popup/selectSourcePalette.html @@ -0,0 +1,34 @@ + + +
+
+ + +
+
+
+ + +
+
+
\ No newline at end of file diff --git a/src/main/resources/static/templates/selectPalettes.html b/src/main/resources/static/templates/selectPalettes.html new file mode 100644 index 0000000..bee8251 --- /dev/null +++ b/src/main/resources/static/templates/selectPalettes.html @@ -0,0 +1,59 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/static/templates/variable.html b/src/main/resources/static/templates/variable.html new file mode 100644 index 0000000..f12cda8 --- /dev/null +++ b/src/main/resources/static/templates/variable.html @@ -0,0 +1,84 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/static/templates/variableDeleteConfirmation.html b/src/main/resources/static/templates/variableDeleteConfirmation.html new file mode 100644 index 0000000..ed86c03 --- /dev/null +++ b/src/main/resources/static/templates/variableDeleteConfirmation.html @@ -0,0 +1,39 @@ + + + + + + \ No newline at end of file diff --git a/src/test/java/com/devexperts/chameleon/util/ConverterUtilsTest.java b/src/test/java/com/devexperts/chameleon/util/ConverterUtilsTest.java new file mode 100644 index 0000000..92e04a3 --- /dev/null +++ b/src/test/java/com/devexperts/chameleon/util/ConverterUtilsTest.java @@ -0,0 +1,41 @@ +package com.devexperts.chameleon.util; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.google.common.collect.ImmutableList; +import org.junit.Assert; +import org.junit.Test; + +import java.util.List; +import java.util.Map; + +public class ConverterUtilsTest { + + @Test + public void testToSameValueMap() { + List list = ImmutableList.of("aaa", "bbb", "ccc"); + Map stringMap = list.stream().collect(ConverterUtils.toSameValueMap(entry -> entry.substring(0, 1))); + Assert.assertTrue(stringMap.keySet().containsAll(ImmutableList.of("a", "b", "c"))); + Assert.assertTrue(stringMap.values().containsAll(ImmutableList.of("aaa", "bbb", "ccc"))); + } +} diff --git a/src/test/java/com/devexperts/chameleon/web/controller/UiComponentEntityControllerIntegrationTest.java b/src/test/java/com/devexperts/chameleon/web/controller/UiComponentEntityControllerIntegrationTest.java new file mode 100644 index 0000000..1795a38 --- /dev/null +++ b/src/test/java/com/devexperts/chameleon/web/controller/UiComponentEntityControllerIntegrationTest.java @@ -0,0 +1,176 @@ +package com.devexperts.chameleon.web.controller; + +/*- + * #%L + * Chameleon. Color Palette Management Tool + * %% + * Copyright (C) 2016 - 2017 Devexperts, LLC + * %% + * 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 3 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, see + * . + * #L% + */ + +import com.devexperts.chameleon.dto.UiComponentDTO; +import com.fasterxml.jackson.databind.ObjectMapper; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.http.MediaType; +import org.springframework.test.context.junit4.SpringRunner; +import org.springframework.test.web.servlet.MockMvc; +import org.springframework.test.web.servlet.MvcResult; +import org.springframework.test.web.servlet.setup.MockMvcBuilders; +import org.springframework.transaction.annotation.Transactional; +import org.springframework.web.context.WebApplicationContext; + +import static com.devexperts.chameleon.web.controller.UiComponentController.UICOMPONENT_PATH; +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.hasSize; +import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; +import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; + +@RunWith(SpringRunner.class) +@Transactional +@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) +public class UiComponentEntityControllerIntegrationTest { + + private static final Long NULL_ID = null; + + private static final String NAME_FIELD = "name"; + + private static final String COLOR_FIELD = "color"; + + private static final String ROOT_PATH = "/"; + + private final ObjectMapper mapper = new ObjectMapper(); + + @Autowired + private WebApplicationContext context; + + private MockMvc mvc; + + @Before + public void setUp() { + mvc = MockMvcBuilders.webAppContextSetup(context).build(); + } + + @Test + public void testEmptyComponentsList() throws Exception { + MvcResult result = mvc.perform(get(ROOT_PATH + UICOMPONENT_PATH)) + .andExpect(status().isOk()) + .andReturn(); + + Assert.assertEquals("[]", result.getResponse().getContentAsString()); + } + + @Test + public void testAddTwoDifferentComponentsAndGetList() throws Exception { + String componentName1 = "componentForList1"; + String componentName2 = "componentForList2"; + String colorCode1 = "123456"; + String colorCode2 = "654321"; + UiComponentDTO dto1 = new UiComponentDTO(NULL_ID, componentName1, colorCode1); + UiComponentDTO dto2 = new UiComponentDTO(NULL_ID, componentName2, colorCode2); + + mvc.perform(post(ROOT_PATH + UICOMPONENT_PATH) + .content(mapper.writeValueAsString(dto1)) + .contentType(MediaType.APPLICATION_JSON) + .accept(MediaType.APPLICATION_JSON)) + .andExpect(status().isCreated()); + + mvc.perform(post(ROOT_PATH + UICOMPONENT_PATH) + .content(mapper.writeValueAsString(dto2)) + .contentType(MediaType.APPLICATION_JSON) + .accept(MediaType.APPLICATION_JSON)) + .andExpect(status().isCreated()); + + mvc.perform(get(ROOT_PATH + UICOMPONENT_PATH)) + .andExpect(status().isOk()) + .andExpect(jsonPath("$", hasSize(2))); + } + + @Test + public void testAddOneComponentWithEmptyName() throws Exception { + String componentName = ""; + String colorCode = "123456"; + UiComponentDTO dto = new UiComponentDTO(NULL_ID, componentName, colorCode); + + mvc.perform(post(ROOT_PATH + UICOMPONENT_PATH) + .content(mapper.writeValueAsString(dto)) + .contentType(MediaType.APPLICATION_JSON) + .accept(MediaType.APPLICATION_JSON)) + .andExpect(status().isBadRequest()); + } + + @Test + public void testAddOneComponentWithWrongColorCode() throws Exception { + String componentName = "componentWithWrongColorCode"; + String wrongColorCode = "12345U"; + UiComponentDTO dto = new UiComponentDTO(NULL_ID, componentName, wrongColorCode); + + mvc.perform(post(ROOT_PATH + UICOMPONENT_PATH) + .content(mapper.writeValueAsString(dto)) + .contentType(MediaType.APPLICATION_JSON) + .accept(MediaType.APPLICATION_JSON)) + .andExpect(status().isBadRequest()); + } + + @Test + public void testAddOneComponentAndGetIt() throws Exception { + String componentName = "component1"; + String colorCode = "123456"; + UiComponentDTO dto = new UiComponentDTO(NULL_ID, componentName, colorCode); + + MvcResult result = mvc.perform(post(ROOT_PATH + UICOMPONENT_PATH) + .content(mapper.writeValueAsString(dto)) + .contentType(MediaType.APPLICATION_JSON) + .accept(MediaType.APPLICATION_JSON)) + .andExpect(status().isCreated()) + .andReturn(); + + String id = result.getResponse().getContentAsString(); + + mvc.perform(get(ROOT_PATH + UICOMPONENT_PATH + "/" + id)) + .andExpect(status().isOk()) + .andExpect(jsonPath(NAME_FIELD, equalTo(componentName))) + .andExpect(jsonPath(COLOR_FIELD, equalTo(colorCode))); + } + + @Test + public void testAddTwoComponentWithTheSameName() throws Exception { + String componentName = "componentWithTheSameName"; + String colorCode = "123456"; + UiComponentDTO dto = new UiComponentDTO(NULL_ID, componentName, colorCode); + + ObjectMapper mapper = new ObjectMapper(); + + mvc.perform(post(ROOT_PATH + UICOMPONENT_PATH) + .content(mapper.writeValueAsString(dto)) + .contentType(MediaType.APPLICATION_JSON) + .accept(MediaType.APPLICATION_JSON)) + .andExpect(status().isCreated()); + + mvc.perform(post(ROOT_PATH + UICOMPONENT_PATH) + .content(mapper.writeValueAsString(dto)) + .contentType(MediaType.APPLICATION_JSON) + .accept(MediaType.APPLICATION_JSON)) + .andExpect(status().isBadRequest()); + } +} diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties new file mode 100644 index 0000000..e0d61d5 --- /dev/null +++ b/src/test/resources/application.properties @@ -0,0 +1,11 @@ +spring.datasource.url=jdbc:h2:mem:chameleon_test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password= +spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +spring.jpa.hibernate.ddl-auto=none +liquibase.change-log=classpath:/db/changelog/db.changelog-master.xml +#import settings +confluence.loginPage=blank +confluence.usageParseField=blank +confluence.valueParseField=blank \ No newline at end of file