revert missing tests + small fixes
- revert the 4 missing tests, e.g. proxy test from commit 20468f5
- add virtual host name `test.localhost` to embedded jetty server
(JUnit Tests) since localhost and IP-Addresses are no longer
supported by the proxy and use this address inside proxy `src`
- add `test-localhost` support for the docker tests. To support
this the docker hostname need to be set to test.localhost by:
`--hostname=test.localhost` (only for the docker tests)
- proxy: add file format support for PDF
- proxy: add error messages on "bad request" response
- proxy: remove dead code
- old proxy: add error messages on "bad request" response
- fix incorrect README link to docs
- add `HTTP_PROXY_READ_TIMEOUT` option -- close #240
This commit is contained in:
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@@ -93,7 +93,7 @@ jobs:
|
||||
|
||||
- name: Lifecycle - Step 2/8 - mvn validate
|
||||
run: mvn --batch-mode validate
|
||||
|
||||
|
||||
- name: Lifecycle - Step 3/8 - mvn compile
|
||||
run: mvn --batch-mode compile
|
||||
|
||||
@@ -111,7 +111,7 @@ jobs:
|
||||
|
||||
- name: Lifecycle - Step 8/8 - mvn site
|
||||
run: mvn --batch-mode site
|
||||
|
||||
|
||||
test-embedded:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test-mvn-livecycle
|
||||
@@ -217,7 +217,7 @@ jobs:
|
||||
- name: Build the jetty docker stack
|
||||
run: |
|
||||
docker image build -f Dockerfile.jetty -t plantuml-server:local .
|
||||
docker run -d -p 8080:8080 -e BASE_URL=plantuml plantuml-server:local
|
||||
docker run -d --hostname=test.localhost -p 8080:8080 -e BASE_URL=plantuml plantuml-server:local
|
||||
|
||||
- name: Check running containers
|
||||
run: docker ps
|
||||
@@ -249,7 +249,7 @@ jobs:
|
||||
- name: Build the tomcat docker stack
|
||||
run: |
|
||||
docker image build -f Dockerfile.tomcat -t plantuml-server:local .
|
||||
docker run -d -p 8080:8080 -e BASE_URL=plantuml plantuml-server:local
|
||||
docker run -d --hostname=test.localhost -p 8080:8080 -e BASE_URL=plantuml plantuml-server:local
|
||||
|
||||
- name: Check running containers
|
||||
run: docker ps
|
||||
|
||||
Reference in New Issue
Block a user