1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-06-07 02:40:51 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
Florian
ec7b9f9b1a Add metadata Servlet
- add new servlet to get meta data from PlantUML diagram
- meta data get not only be requested as text but also as json if you set the `Accept`-header to json
- add `metadata` servlet tests
- GET: like the Proxy where you can pass a URL which the servlet will use to fetch the diagram image
- POST: file upload
2023-05-11 21:34:32 +02:00
Florian
e5d11fb89a update all dependencies (maven artifacts)
- PDF dependency was missing in the pom file the JDK8
  * We should think about creating a parent pom - in that case all plantuml dependencies could be in the parent pom and we would only the mantain one pom file.
    (It is also possible to drop the Java 8 support.)
  * Why do we not have any PDF tests?
- add rule to ignore version update hint with `-dev` followed by a dot and date (e.g. `0.37.0-dev.20230308`)
- migration from JUnit4 to JUnit5
2023-05-05 17:33:39 -04:00
Florian
e6566b58bd 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
2023-05-04 18:30:58 -04:00
Arnaud Roques
20468f5bd9 Temporary remove tests 2022-12-06 19:18:43 +01:00
Arnaud Roques
10dd88714a test 2022-12-06 19:12:57 +01:00
Florian
8d5be87f03 update junit test classes and there dependencies 2021-10-11 18:43:18 +02:00
maximesinclair
1111c69cf7 [BUGFIX] Image check is more accurate 2014-05-14 23:52:41 +02:00
Maxime Sinclair
fd2b6e7c02 [TASK] Checkstyle report and mvn site configuration 2014-02-06 18:28:06 +01:00
Maxime Sinclair
4c845a5dcd [FEATURE] Proxy returns the correct Content-type 2013-12-02 12:45:11 +01:00
Maxime Sinclair
b9d71300df [FEATURE] First HTTPS support 2013-11-29 15:58:23 +01:00
maximesinclair
7c8f361826 [FEATURE] Proxy redesign, first step 2013-11-25 22:35:58 +01:00
Maxime Sinclair
ce168633ad [TASK] Full coding style clean up 2013-07-10 17:07:24 +02:00
maximesinclair
cbb6eb0ac2 Testcases are coming back ! 2013-07-01 22:40:14 +02:00
Maxime Sinclair
ad6a00fdf0 Normalization of the format for the proxy feature.
New syntax is : plantuml/proxy/[id/][format/]remoteURL
where id is a number identifying the diagram definition
when the remote URL contains more than one diagram,
and format specify the output : img, txt or svg.
2011-11-14 17:22:16 +01:00
Pablo Lalloni
e1cc14c6a3 Changed TestProxy png image expected size to be between 1500 and 1700. 2011-11-12 22:00:30 -03:00
Pablo Lalloni
89c4d91b41 Project fully mavenized with functionality exceeding previous Ant build.xml implemented (except deployment to servlet container, which can be easily added).
Improved unit tests to be independent of externally running servlet container, now every test runs its own embedded jetty server (and stops it afterward).

Removed all eclipse artifacts (.project, .classpath, .settings, etc.) and added to .gitignore to be independent of development environment (can be autogenerated by maven, or better yet use m2eclipse).

Removed embedded dependency jars since they are handled automatically by maven.
2011-11-02 19:11:52 -03:00