Skip to content

WIP: TIKA-3082 OpenAPI for tika-server #358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d9851cc
First pass at OpenAPI specification for tika-server
lewismc Apr 6, 2020
8dde541
First pass at OpenAPI specification for tika-server
lewismc Apr 6, 2020
db066a4
Updated OpenAPI Spec
kaitlyn-liao Jul 8, 2020
688dc9f
Merge pull request #1 from kaitlyn-liao/patch-1
lewismc Jul 9, 2020
69f00ed
Resolved Errors in OpenAPI Spec
kaitlyn-liao Jul 13, 2020
9f766d3
Merge pull request #2 from kaitlyn-liao/patch-2
lewismc Jul 13, 2020
dc56449
Initial pass at project setup and TikaResourceApiServiceImpl.java
lewismc Aug 8, 2020
4b3c34a
Merge branch 'main' into openapi_tika_server
lewismc Aug 8, 2020
d3acf70
Initial pass at project setup and TikaResourceApiServiceImpl.java and…
lewismc Aug 8, 2020
8c8efea
Merge branch 'openapi_tika_server' of https://github.com/lewismc/tika…
Sep 2, 2020
7ed3fec
Merge branch 'TIKA-3082' of https://github.com/aditishankar/tika into…
lewismc Sep 9, 2020
443d493
Address new enforcer plugin dependency conflicts
lewismc Sep 10, 2020
65cf8b9
Merge branch 'TIKA-3082' of https://github.com/lewismc/tika into TIKA…
Sep 10, 2020
584bd88
add implementations for tika-server
Sep 10, 2020
f6aeac7
updated implementations and api tests
Sep 17, 2020
b2cb03d
Merge branch 'main' into TIKA-3082
lewismc Sep 17, 2020
116e122
Remove 'legacy' entry from tika-server artifactId in tika-server/pom.xml
lewismc Sep 17, 2020
3ad25bb
Dependency management exclusions in tika-parser-modules/tika-parser-c…
lewismc Sep 17, 2020
707cbe2
Remove <repositories> from server/pom.xml
lewismc Sep 17, 2020
a807207
Update langdetect to tika-langdetect-optimaize
lewismc Sep 17, 2020
b919c96
Re-sync server/pom.xml with tika-server/pom.xml
lewismc Sep 17, 2020
660d040
Update groupId of org.apache.commons commons-lang3
lewismc Sep 17, 2020
8615e66
Exclude jakarta.activation-api from jackson-jaxrs-json-provider
lewismc Sep 17, 2020
b2b6921
changed tika-sever artifact id to tika-server
Sep 18, 2020
a8683f9
copying over and refactoring resource and server files
Sep 18, 2020
d056a49
reverted tika-server to tika-sever
Sep 22, 2020
e32f459
Copied over remaining test files and refactored
Sep 22, 2020
739aeaf
Copied over remaining test files and refactored
Sep 22, 2020
89a5651
removed tika-sever from pom
Sep 23, 2020
15a2b92
Resolve NPE resulting from tika-config-for-server-tests.xml being loa…
lewismc Sep 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
573 changes: 573 additions & 0 deletions openapi.yaml

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
<module>tika-batch</module>
<module>tika-langdetect</module>
<module>tika-app</module>
<module>tika-server</module>
<!--module>tika-server</module-->
<module>server</module>
<module>tika-fuzzing</module>
<module>tika-translate</module>
<module>tika-example</module>
Expand Down
25 changes: 25 additions & 0 deletions server/.openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# OpenAPI Generator Ignore
# Generated by openapi-generator https://github.com/openapitools/openapi-generator

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md

**/impl/*
1 change: 1 addition & 0 deletions server/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.3.1
46 changes: 46 additions & 0 deletions server/assembly.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You 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.
-->
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>bin</id>
<baseDirectory>${project.build.finalName}-bin</baseDirectory>
<formats>
<format>tgz</format>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>${project.basedir}</directory>
<outputDirectory></outputDirectory>
<includes>
<include>README*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/bin</directory>
<outputDirectory>bin</outputDirectory>
</fileSet>
</fileSets>
<files>
<file>
<source>${project.build.directory}/tika-server-${project.version}.jar</source>
<outputDirectory/>
<destName>tika-server.jar</destName>
</file>
</files>
</assembly>
Loading