Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
memoriav
M
Memobase 2020
S
services
elastic-services
Search Doc Service
Commits
85165cad
Commit
85165cad
authored
Dec 08, 2020
by
Jonas Waeber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add license headers.
parent
8ed07b40
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
274 additions
and
2 deletions
+274
-2
src/main/kotlin/InvalidInputException.kt
src/main/kotlin/InvalidInputException.kt
+17
-0
src/main/kotlin/KafkaTopology.kt
src/main/kotlin/KafkaTopology.kt
+1
-1
src/main/kotlin/Service.kt
src/main/kotlin/Service.kt
+1
-1
src/main/kotlin/builders/DateContainerBuilder.kt
src/main/kotlin/builders/DateContainerBuilder.kt
+17
-0
src/main/kotlin/helpers/AspectRatio.kt
src/main/kotlin/helpers/AspectRatio.kt
+17
-0
src/main/kotlin/helpers/Date.kt
src/main/kotlin/helpers/Date.kt
+17
-0
src/main/kotlin/helpers/DocumentTypeMapper.kt
src/main/kotlin/helpers/DocumentTypeMapper.kt
+17
-0
src/main/kotlin/helpers/ElasticSearchWrapper.kt
src/main/kotlin/helpers/ElasticSearchWrapper.kt
+17
-0
src/main/kotlin/helpers/JSON.kt
src/main/kotlin/helpers/JSON.kt
+17
-0
src/main/kotlin/helpers/LoadFile.kt
src/main/kotlin/helpers/LoadFile.kt
+17
-0
src/main/kotlin/helpers/Meta.kt
src/main/kotlin/helpers/Meta.kt
+17
-0
src/main/kotlin/model/EnrichedDigitalMetadata.kt
src/main/kotlin/model/EnrichedDigitalMetadata.kt
+17
-0
src/main/kotlin/model/EnrichedFacetContainer.kt
src/main/kotlin/model/EnrichedFacetContainer.kt
+17
-0
src/main/kotlin/model/InstitutionSearchDoc.kt
src/main/kotlin/model/InstitutionSearchDoc.kt
+17
-0
src/main/kotlin/model/IntegerRange.kt
src/main/kotlin/model/IntegerRange.kt
+17
-0
src/main/kotlin/model/RecordSetSearchDoc.kt
src/main/kotlin/model/RecordSetSearchDoc.kt
+17
-0
src/main/kotlin/model/Schema.kt
src/main/kotlin/model/Schema.kt
+17
-0
src/main/kotlin/model/TimePeriod.kt
src/main/kotlin/model/TimePeriod.kt
+17
-0
No files found.
src/main/kotlin/InvalidInputException.kt
View file @
85165cad
/*
* search-doc-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org.memobase
class
InvalidInputException
(
message
:
String
)
:
Exception
(
message
)
\ No newline at end of file
src/main/kotlin/KafkaTopology.kt
View file @
85165cad
/*
*
Table Data Import S
ervice
*
search-doc-s
ervice
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
...
...
src/main/kotlin/Service.kt
View file @
85165cad
/*
*
Table Data Import S
ervice
*
search-doc-s
ervice
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
...
...
src/main/kotlin/builders/DateContainerBuilder.kt
View file @
85165cad
/*
* search-doc-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org.memobase.builders
import
ch.memobase.rdf.NS
...
...
src/main/kotlin/helpers/AspectRatio.kt
View file @
85165cad
/*
* search-doc-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org.memobase.helpers
import
java.lang.NumberFormatException
...
...
src/main/kotlin/helpers/Date.kt
View file @
85165cad
/*
* search-doc-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org.memobase.helpers
import
java.time.LocalDateTime
...
...
src/main/kotlin/helpers/DocumentTypeMapper.kt
View file @
85165cad
/*
* search-doc-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org.memobase.helpers
import
org.memobase.model.FacetContainer
...
...
src/main/kotlin/helpers/ElasticSearchWrapper.kt
View file @
85165cad
/*
* search-doc-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org.memobase.helpers
import
java.net.SocketTimeoutException
...
...
src/main/kotlin/helpers/JSON.kt
View file @
85165cad
/*
* search-doc-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org.memobase.helpers
import
ch.memobase.rdf.NS
...
...
src/main/kotlin/helpers/LoadFile.kt
View file @
85165cad
/*
* search-doc-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org.memobase.helpers
import
com.github.doyaaaaaken.kotlincsv.dsl.csvReader
...
...
src/main/kotlin/helpers/Meta.kt
View file @
85165cad
/*
* search-doc-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org.memobase.helpers
import
ch.memobase.rdf.NS
...
...
src/main/kotlin/model/EnrichedDigitalMetadata.kt
View file @
85165cad
/*
* search-doc-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org.memobase.model
import
com.fasterxml.jackson.annotation.JsonInclude
...
...
src/main/kotlin/model/EnrichedFacetContainer.kt
View file @
85165cad
/*
* search-doc-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org.memobase.model
import
com.fasterxml.jackson.annotation.JsonInclude
...
...
src/main/kotlin/model/InstitutionSearchDoc.kt
View file @
85165cad
/*
* search-doc-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org.memobase.model
import
com.fasterxml.jackson.annotation.JsonIgnore
...
...
src/main/kotlin/model/IntegerRange.kt
View file @
85165cad
/*
* search-doc-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org.memobase.model
data class
IntegerRange
(
...
...
src/main/kotlin/model/RecordSetSearchDoc.kt
View file @
85165cad
/*
* search-doc-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org.memobase.model
import
com.fasterxml.jackson.annotation.JsonIgnore
...
...
src/main/kotlin/model/Schema.kt
View file @
85165cad
/*
* search-doc-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org.memobase.model
import
com.fasterxml.jackson.annotation.JsonInclude
...
...
src/main/kotlin/model/TimePeriod.kt
View file @
85165cad
/*
* search-doc-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org.memobase.model
import
com.fasterxml.jackson.annotation.JsonInclude
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment