diff --git a/header.txt b/header.txt new file mode 100644 index 0000000..534ee98 --- /dev/null +++ b/header.txt @@ -0,0 +1,13 @@ +Copyright 2022 evgeniycheban + +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/pom.xml b/pom.xml index 8d50ca3..4fa6aec 100644 --- a/pom.xml +++ b/pom.xml @@ -4,9 +4,47 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.springframework.data + + org.sonatype.oss + oss-parent + 9 + + + io.github.evgeniycheban spring-data-reindexer 1.0-SNAPSHOT + jar + + spring-data-reindexer + Provides Spring Data approach to work with Reindexer database + + https://github.com/evgeniycheban/spring-data-reindexer + + + + The Apache Software License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + evgeniycheban + Evgeniy Cheban + mister.cheban@gmail.com + UTC+3 + + + + + https://github.com/evgeniycheban/spring-data-reindexer + scm:git:https://github.com/evgeniycheban/spring-data-reindexer + + + scm:git:https://github.com/evgeniycheban/spring-data-reindexer.git + + 1.8 @@ -19,6 +57,94 @@ 5.8.2 + + + sign-artifacts + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + sign-artifacts + verify + + sign + + + + --pinentry-mode + loopback + + + + + + + + + + + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + package + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9 + + + attach-javadocs + package + + jar + + + + + + com.mycila + license-maven-plugin + 3.0 + +
${basedir}/header.txt
+ + src/** + + + **/*.yml + **/*.yaml + + + SLASHSTAR_STYLE + +
+ + + + check + + + +
+
+
+ @@ -38,7 +164,7 @@ ${spring.version} - ${project.groupId} + org.springframework.data spring-data-commons ${spring-data-commons.version} diff --git a/src/main/java/org/springframework/data/reindexer/core/mapping/Namespace.java b/src/main/java/org/springframework/data/reindexer/core/mapping/Namespace.java index 8f63c5a..36e9086 100644 --- a/src/main/java/org/springframework/data/reindexer/core/mapping/Namespace.java +++ b/src/main/java/org/springframework/data/reindexer/core/mapping/Namespace.java @@ -1,3 +1,18 @@ +/* + * Copyright 2022 evgeniycheban + * + * 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. + */ package org.springframework.data.reindexer.core.mapping; import java.lang.annotation.ElementType; diff --git a/src/main/java/org/springframework/data/reindexer/core/mapping/Query.java b/src/main/java/org/springframework/data/reindexer/core/mapping/Query.java index b35feab..f51e79e 100644 --- a/src/main/java/org/springframework/data/reindexer/core/mapping/Query.java +++ b/src/main/java/org/springframework/data/reindexer/core/mapping/Query.java @@ -1,3 +1,18 @@ +/* + * Copyright 2022 evgeniycheban + * + * 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. + */ package org.springframework.data.reindexer.core.mapping; import java.lang.annotation.Documented; diff --git a/src/main/java/org/springframework/data/reindexer/repository/ReindexerRepository.java b/src/main/java/org/springframework/data/reindexer/repository/ReindexerRepository.java index 9a0117e..53a9dac 100644 --- a/src/main/java/org/springframework/data/reindexer/repository/ReindexerRepository.java +++ b/src/main/java/org/springframework/data/reindexer/repository/ReindexerRepository.java @@ -1,3 +1,18 @@ +/* + * Copyright 2022 evgeniycheban + * + * 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. + */ package org.springframework.data.reindexer.repository; import java.util.List; diff --git a/src/main/java/org/springframework/data/reindexer/repository/config/EnableReindexerRepositories.java b/src/main/java/org/springframework/data/reindexer/repository/config/EnableReindexerRepositories.java index 2f46684..303a486 100644 --- a/src/main/java/org/springframework/data/reindexer/repository/config/EnableReindexerRepositories.java +++ b/src/main/java/org/springframework/data/reindexer/repository/config/EnableReindexerRepositories.java @@ -1,3 +1,18 @@ +/* + * Copyright 2022 evgeniycheban + * + * 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. + */ package org.springframework.data.reindexer.repository.config; import java.lang.annotation.Documented; diff --git a/src/main/java/org/springframework/data/reindexer/repository/config/ReindexerRepositoriesRegistrar.java b/src/main/java/org/springframework/data/reindexer/repository/config/ReindexerRepositoriesRegistrar.java index 33db69c..701a9cf 100644 --- a/src/main/java/org/springframework/data/reindexer/repository/config/ReindexerRepositoriesRegistrar.java +++ b/src/main/java/org/springframework/data/reindexer/repository/config/ReindexerRepositoriesRegistrar.java @@ -1,3 +1,18 @@ +/* + * Copyright 2022 evgeniycheban + * + * 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. + */ package org.springframework.data.reindexer.repository.config; import java.lang.annotation.Annotation; diff --git a/src/main/java/org/springframework/data/reindexer/repository/config/ReindexerRepositoryConfigurationExtension.java b/src/main/java/org/springframework/data/reindexer/repository/config/ReindexerRepositoryConfigurationExtension.java index d8dce9e..585f0a9 100644 --- a/src/main/java/org/springframework/data/reindexer/repository/config/ReindexerRepositoryConfigurationExtension.java +++ b/src/main/java/org/springframework/data/reindexer/repository/config/ReindexerRepositoryConfigurationExtension.java @@ -1,3 +1,18 @@ +/* + * Copyright 2022 evgeniycheban + * + * 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. + */ package org.springframework.data.reindexer.repository.config; import java.lang.annotation.Annotation; diff --git a/src/main/java/org/springframework/data/reindexer/repository/query/ReindexerEntityInformation.java b/src/main/java/org/springframework/data/reindexer/repository/query/ReindexerEntityInformation.java index 3b93705..e2eb2b3 100644 --- a/src/main/java/org/springframework/data/reindexer/repository/query/ReindexerEntityInformation.java +++ b/src/main/java/org/springframework/data/reindexer/repository/query/ReindexerEntityInformation.java @@ -1,3 +1,18 @@ +/* + * Copyright 2022 evgeniycheban + * + * 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. + */ package org.springframework.data.reindexer.repository.query; import ru.rt.restream.reindexer.NamespaceOptions; diff --git a/src/main/java/org/springframework/data/reindexer/repository/support/MappingReindexerEntityInformation.java b/src/main/java/org/springframework/data/reindexer/repository/support/MappingReindexerEntityInformation.java index b1fe6ab..68dc490 100644 --- a/src/main/java/org/springframework/data/reindexer/repository/support/MappingReindexerEntityInformation.java +++ b/src/main/java/org/springframework/data/reindexer/repository/support/MappingReindexerEntityInformation.java @@ -1,3 +1,18 @@ +/* + * Copyright 2022 evgeniycheban + * + * 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. + */ package org.springframework.data.reindexer.repository.support; import java.lang.reflect.Field; diff --git a/src/main/java/org/springframework/data/reindexer/repository/support/ReindexerQueryMethod.java b/src/main/java/org/springframework/data/reindexer/repository/support/ReindexerQueryMethod.java index b4cb10e..6f6728d 100644 --- a/src/main/java/org/springframework/data/reindexer/repository/support/ReindexerQueryMethod.java +++ b/src/main/java/org/springframework/data/reindexer/repository/support/ReindexerQueryMethod.java @@ -1,3 +1,18 @@ +/* + * Copyright 2022 evgeniycheban + * + * 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. + */ package org.springframework.data.reindexer.repository.support; import java.lang.reflect.Method; diff --git a/src/main/java/org/springframework/data/reindexer/repository/support/ReindexerRepositoryFactory.java b/src/main/java/org/springframework/data/reindexer/repository/support/ReindexerRepositoryFactory.java index 7e29460..f70b05e 100644 --- a/src/main/java/org/springframework/data/reindexer/repository/support/ReindexerRepositoryFactory.java +++ b/src/main/java/org/springframework/data/reindexer/repository/support/ReindexerRepositoryFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright 2022 evgeniycheban + * + * 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. + */ package org.springframework.data.reindexer.repository.support; import java.io.Serializable; diff --git a/src/main/java/org/springframework/data/reindexer/repository/support/ReindexerRepositoryFactoryBean.java b/src/main/java/org/springframework/data/reindexer/repository/support/ReindexerRepositoryFactoryBean.java index 3503a5b..63206fc 100644 --- a/src/main/java/org/springframework/data/reindexer/repository/support/ReindexerRepositoryFactoryBean.java +++ b/src/main/java/org/springframework/data/reindexer/repository/support/ReindexerRepositoryFactoryBean.java @@ -1,3 +1,18 @@ +/* + * Copyright 2022 evgeniycheban + * + * 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. + */ package org.springframework.data.reindexer.repository.support; import java.io.Serializable; diff --git a/src/main/java/org/springframework/data/reindexer/repository/support/ReindexerRepositoryQuery.java b/src/main/java/org/springframework/data/reindexer/repository/support/ReindexerRepositoryQuery.java index b91d6e3..ba4208b 100644 --- a/src/main/java/org/springframework/data/reindexer/repository/support/ReindexerRepositoryQuery.java +++ b/src/main/java/org/springframework/data/reindexer/repository/support/ReindexerRepositoryQuery.java @@ -1,3 +1,18 @@ +/* + * Copyright 2022 evgeniycheban + * + * 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. + */ package org.springframework.data.reindexer.repository.support; import java.util.Iterator; diff --git a/src/main/java/org/springframework/data/reindexer/repository/support/SimpleReindexerRepository.java b/src/main/java/org/springframework/data/reindexer/repository/support/SimpleReindexerRepository.java index 728e326..ec74fed 100644 --- a/src/main/java/org/springframework/data/reindexer/repository/support/SimpleReindexerRepository.java +++ b/src/main/java/org/springframework/data/reindexer/repository/support/SimpleReindexerRepository.java @@ -1,3 +1,18 @@ +/* + * Copyright 2022 evgeniycheban + * + * 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. + */ package org.springframework.data.reindexer.repository.support; import java.util.ArrayList; diff --git a/src/main/java/org/springframework/data/reindexer/repository/support/StringBasedReindexerRepositoryQuery.java b/src/main/java/org/springframework/data/reindexer/repository/support/StringBasedReindexerRepositoryQuery.java index ae9be94..47a2b9a 100644 --- a/src/main/java/org/springframework/data/reindexer/repository/support/StringBasedReindexerRepositoryQuery.java +++ b/src/main/java/org/springframework/data/reindexer/repository/support/StringBasedReindexerRepositoryQuery.java @@ -1,3 +1,18 @@ +/* + * Copyright 2022 evgeniycheban + * + * 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. + */ package org.springframework.data.reindexer.repository.support; import ru.rt.restream.reindexer.Namespace; diff --git a/src/test/java/org/springframework/data/reindexer/repository/ReindexerRepositoryTests.java b/src/test/java/org/springframework/data/reindexer/repository/ReindexerRepositoryTests.java index 3a86a5d..3fe2abc 100644 --- a/src/test/java/org/springframework/data/reindexer/repository/ReindexerRepositoryTests.java +++ b/src/test/java/org/springframework/data/reindexer/repository/ReindexerRepositoryTests.java @@ -1,3 +1,18 @@ +/* + * Copyright 2022 evgeniycheban + * + * 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. + */ package org.springframework.data.reindexer.repository; import java.util.ArrayList;