Skip to content

Commit

Permalink
remove upload.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
siers committed Nov 4, 2024
1 parent 15e7c75 commit 7fe1865
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 25 deletions.
12 changes: 12 additions & 0 deletions docs/05-internals/design/api-v2/sipi.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@ The other contents of the expected tokens are described below.

### upload.lua

############
############
############
############
############
############
############
############
############
############
############

The `upload.lua` script is available at Sipi's `upload` route. It processes one
or more file uploads submitted to Sipi. It converts uploaded images to JPEG 2000
format, and stores them in Sipi's `tmp` directory. The usage of this script is described in
Expand Down
5 changes: 0 additions & 5 deletions integration/src/test/resources/sipi.docker-config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,6 @@ fileserver = {
-- Custom routes. Each route is an URL path associated with a Lua script.
--
routes = {
{
method = 'POST',
route = '/upload',
script = 'upload.lua'
},
{
method = 'POST',
route = '/store',
Expand Down
5 changes: 0 additions & 5 deletions sipi/config/sipi.docker-config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,6 @@ fileserver = {
-- Custom routes. Each route is an URL path associated with a Lua script.
--
routes = {
{
method = 'POST',
route = '/upload',
script = 'upload.lua'
},
{
method = 'POST',
route = '/store',
Expand Down
5 changes: 0 additions & 5 deletions sipi/config/sipi.docker-no-auth-config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,6 @@ routes = {
route = '/test_knora_session_cookie',
script = 'test_knora_session_cookie.lua'
},
{
method = 'POST',
route = '/upload',
script = 'upload.lua'
},
{
method = 'POST',
route = '/store',
Expand Down
5 changes: 0 additions & 5 deletions sipi/config/sipi.docker-test-config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,6 @@ routes = {
route = '/admin_upload',
script = 'admin_upload.lua'
},
{
method = 'POST',
route = '/upload',
script = 'upload.lua'
},
{
method = 'POST',
route = '/store',
Expand Down
5 changes: 0 additions & 5 deletions sipi/config/sipi.local-config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,6 @@ fileserver = {
-- executes the given script defined below
--
routes = {
{
method = 'POST',
route = '/upload',
script = 'upload.lua'
},
{
method = 'POST',
route = '/store',
Expand Down

0 comments on commit 7fe1865

Please sign in to comment.