profile
viewpoint
Alessandro Falappa AlexFalappa Translated Rome, Italy Fell in love with computers at 12 on a Commodore 64, got into information technology since then...

AlexFalappa/nb-springboot 95

NetBeans IDE plugin supporting programming with Spring Boot

AlexFalappa/hcc-old 1

HMA Catalogue Client (before mavenization)

AlexFalappa/MateCat-Filters 1

Convert any file to XLIFF and back with perfectly preserved formatting! Super easy API, plenty of supported formats and advanced segmentation.

AlexFalappa/comicat 0

A comic collection cataloguing software.

AlexFalappa/Darcula 0

Darcula Look and Feel

AlexFalappa/doxygen 0

Official doxygen git repository

AlexFalappa/gitway 0

Learning git ...

AlexFalappa/gmltool 0

A visualizer of shapes in GML fragments

AlexFalappa/hcc 0

HMA Catalogue Client

AlexFalappa/hmagen 0

HMA Catalogue Metadata Generator

create barnchAlexFalappa/MateCat-Win-Converter

branch : retire-statement

created branch time in 3 days

fork AlexFalappa/MateCat-Win-Converter

Helps MateCat Filters supporting more formats doing some auxiliary file conversions.

http://filters.matecat.com

fork in 3 days

PR opened matecat/MateCat-Filters

Reviewers
README.md updated for closing sources.

Also updated links to hosted API site (ex Mashape).

Proper retirement will need modifications to GitHub wiki and maybe updates to API documentation on RapidAPI.

+19 -17

0 comment

1 changed file

pr created time in 4 days

create barnchAlexFalappa/MateCat-Filters

branch : repo-archiving-statement

created branch time in 4 days

delete branch AlexFalappa/monolog-mdc

delete branch : patch-1

delete time in 5 days

pull request commentstevenrombauts/monolog-mdc

Fix use of non existing $data member variable

Perfect @stevenrombauts

Thank you for your library.

AlexFalappa

comment created time in 5 days

pull request commentstevenrombauts/monolog-mdc

Fix use of non existing $data member variable

You are welcome @stevenrombauts.

When are you planning to publish a new version on Packagist ? It would be best for me to depend on a stable version.

AlexFalappa

comment created time in 5 days

push eventAlexFalappa/MateCat-Filters

Alessandro Falappa

commit sha 79372bf65ab80cc8c482de1de575cd234b1e07ad

Request outcome is now always logged.

view details

Alessandro Falappa

commit sha 45891b325095a64f1dab9a26223612ea692c6b80

Harmonize exception management. In all resources exceptions are now stored in the MDC and the error message is built by chaining the causes of the exception.

view details

Alessandro Falappa

commit sha 06697a0097ae7d4acc00a531a898428ced1e395c

Revisited request id generation. Use local IP address instead of hour and minute. Improved local IP retrieval. Moved server port validation to Config class. Some reformatting and cleanup.

view details

Alessandro Falappa

commit sha daec867e2534dc8775739cf86202f5394216715e

Further checks on server port. Removed second MatecatConverterServer constructor. Had to tweak tests and add test specific config.properties. Also added test specific logging configuration. Small tweaks to pom.xml.

view details

Domenico Lupinetti

commit sha 96320fc73e2a733fd5cd8bf86df768c0a8eb7401

Merge pull request #46 from AlexFalappa/revisit-req-id Revisited request id generation.

view details

Alessandro Falappa

commit sha 47b975f85111a7db89a8819a06c39c2f052eec64

Merge pull request #45 from AlexFalappa/harmonize-exception-management Harmonize exception management.

view details

Alessandro Falappa

commit sha 68fec402b413af1ddedf1e16096764e81d00c67f

Merge pull request #44 from AlexFalappa/fix-req-outcome Request outcome is now always logged.

view details

push time in 5 days

delete branch AlexFalappa/MateCat-Filters

delete branch : fix-req-outcome

delete time in 5 days

push eventmatecat/MateCat-Filters

Alessandro Falappa

commit sha 79372bf65ab80cc8c482de1de575cd234b1e07ad

Request outcome is now always logged.

view details

Alessandro Falappa

commit sha 68fec402b413af1ddedf1e16096764e81d00c67f

Merge pull request #44 from AlexFalappa/fix-req-outcome Request outcome is now always logged.

view details

push time in 5 days

delete branch AlexFalappa/MateCat-Filters

delete branch : harmonize-exception-management

delete time in 5 days

push eventmatecat/MateCat-Filters

Alessandro Falappa

commit sha 45891b325095a64f1dab9a26223612ea692c6b80

Harmonize exception management. In all resources exceptions are now stored in the MDC and the error message is built by chaining the causes of the exception.

view details

Alessandro Falappa

commit sha 47b975f85111a7db89a8819a06c39c2f052eec64

Merge pull request #45 from AlexFalappa/harmonize-exception-management Harmonize exception management.

view details

push time in 5 days

PR merged matecat/MateCat-Filters

Reviewers
Harmonize exception management.

In all resources exceptions are now stored in the MDC and the error message is built by chaining the causes of the exception.

+36 -16

0 comment

4 changed files

AlexFalappa

pr closed time in 5 days

delete branch AlexFalappa/MateCat-Filters

delete branch : revisit-req-id

delete time in 5 days

push eventAlexFalappa/MateCat-Filters

Alessandro Falappa

commit sha daec867e2534dc8775739cf86202f5394216715e

Further checks on server port. Removed second MatecatConverterServer constructor. Had to tweak tests and add test specific config.properties. Also added test specific logging configuration. Small tweaks to pom.xml.

view details

push time in 5 days

Pull request review commentmatecat/MateCat-Filters

Revisited request id generation.

 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader;-import java.net.BindException;-import java.net.InetAddress;-import java.net.URL;+import java.net.*;   /**  * Matecat converter server  */ public class MatecatConverterServer { -    // Logger     private static final Logger LOGGER = LoggerFactory.getLogger(MatecatConverterServer.class);--    // Used port-    private int serverPort;--    // Server     private Server server;-    private String localIP, externalIP;+    private final int serverPort;+    private static String localIP, externalIP;       /**      * Constructor which will use the default port      */     public MatecatConverterServer() {-        try {-            int port = Config.serverPort;-            if (port <= 0)-                throw new Exception();-            this.serverPort = port;-            init();-        }-        catch (Exception e) {-            throw new RuntimeException("There is no default port specified in the configuration");-        }+        this.serverPort = Config.serverPort;+        init();     }       /**      * Constructor admitting a configured port+     *      * @param serverPort Port to use      */     public MatecatConverterServer(int serverPort) {         if (serverPort < 0)

I will see what I could do but please note that this constructor is only used in tests.

AlexFalappa

comment created time in 5 days

Pull request review commentmatecat/MateCat-Filters

Revisited request id generation.

             LOGGER.debug("Loaded configuration:");              serverPort = Integer.parseInt(props.getProperty("server-port"));+            if (serverPort <= 0) {+                throw new RuntimeException("The server port specified in the configuration must be positive");

OK, I wil add more checks and cross-cheks.

When, and if, we will move to containers this won't necessarily be a problem because of how docker works (the docker daemon runs as root). The MateCat Filters Proxy works this way, it is a container and binds to port 80.

AlexFalappa

comment created time in 5 days

PR opened matecat/MateCat-Filters

Revisited request id generation.

Use local IP address instead of hour and minute. Improved local IP retrieval. Moved server port validation to Config class. Some reformatting and cleanup.

+43 -46

0 comment

4 changed files

pr created time in 6 days

PR closed AlexFalappa/MateCat-Filters

Revisited request id generation.

Use local IP address instead of hour and minute. Improved local IP retrieval. Moved server port validation to Config class. Some reformatting and cleanup.

+43 -46

0 comment

4 changed files

AlexFalappa

pr closed time in 6 days

PR opened AlexFalappa/MateCat-Filters

Revisited request id generation.

Use local IP address instead of hour and minute. Improved local IP retrieval. Moved server port validation to Config class. Some reformatting and cleanup.

+43 -46

0 comment

4 changed files

pr created time in 6 days

delete branch matecat/MateCat-Filters

delete branch : revisit-req-id

delete time in 6 days

PR closed AlexFalappa/MateCat-Filters

Revisited request id generation.

Use local IP address instead of hour and minute. Improved local IP retrieval. Moved server port validation to Config class. Some reformatting and cleanup.

+43 -46

0 comment

4 changed files

AlexFalappa

pr closed time in 6 days

PR opened AlexFalappa/MateCat-Filters

Revisited request id generation.

Use local IP address instead of hour and minute. Improved local IP retrieval. Moved server port validation to Config class. Some reformatting and cleanup.

+43 -46

0 comment

4 changed files

pr created time in 6 days

create barnchmatecat/MateCat-Filters

branch : revisit-req-id

created branch time in 6 days

create barnchAlexFalappa/MateCat-Filters

branch : revisit-req-id

created branch time in 6 days

PR opened matecat/MateCat-Filters

Reviewers
Harmonize exception management.

In all resources exceptions are now stored in the MDC and the error message is built by chaining the causes of the exception.

+36 -16

0 comment

4 changed files

pr created time in 9 days

create barnchtranslated/monolog-mdc

branch : mdc-get-fix

created branch time in 10 days

push eventAlexFalappa/monolog-mdc

Alessandro Falappa

commit sha 74293fac1296515e1dc8ecaaabb3bf85efaa264f

Fix use of non existing $data member variable Closes #1

view details

push time in 10 days

fork AlexFalappa/monolog-mdc

A Monolog processor to use mapped diagnostic context (MDC) with your logging

fork in 10 days

issue openedstevenrombauts/monolog-mdc

MDC::get function bugged

Access to non existing member variable $data is performed here:

https://github.com/stevenrombauts/monolog-mdc/blob/75ae205977b3bc79a35b892f0f70b31119e2195e/src/MDC.php#L28

You probably meant to access $_store instead

created time in 10 days

create barnchAlexFalappa/MateCat-Filters

branch : fix-req-outcome

created branch time in 10 days

push eventAlexFalappa/MateCat-Filters

Alessandro Falappa

commit sha 5c47df2122d8de6decfdeafc72892833636e514d

Removed printStackTraces. Replaced some printStackTraces rethrow of a wrapped exception. Also stored the exception message into the MDC.

view details

Alessandro Falappa

commit sha 02d68475dd68f705787c9cf61243ddcb6e4ba69d

Improved request tracing. Forgot to clear the MDC at each request. Introduced LogstashEncoder to have log events formatted as JSON objects. Added tracing of caller IP address. The request id may now be taken from an HTTP header (will be put there by the filters proxy).

view details

Domenico Lupinetti

commit sha 8eaf1ef3aa8ec666c32788dda74b6f6f7f4ea03e

Merge pull request #43 from AlexFalappa/improve-request-tracing Improved request tracing.

view details

Domenico Lupinetti

commit sha 2c861b817cd2c52757551187a2a7fe883fbb4e56

Merge pull request #42 from AlexFalappa/remove-printstacktraces Removed printStackTraces.

view details

push time in 16 days

delete branch AlexFalappa/MateCat-Filters

delete branch : remove-printstacktraces

delete time in 16 days

delete branch AlexFalappa/MateCat-Filters

delete branch : improve-request-tracing

delete time in 16 days

startedelastic/ecs-logging-java

started time in 16 days

PR opened matecat/MateCat-Filters

Improved request tracing.

Forgot to clear the MDC at each request. Introduced LogstashEncoder to have log events formatted as JSON objects. Added tracing of caller IP address. The request id may now be taken from an HTTP header (will be put there by the filters proxy).

+24 -8

0 comment

3 changed files

pr created time in 16 days

PR opened matecat/MateCat-Filters

Reviewers
Removed printStackTraces.

Replaced some printStackTraces rethrow of a wrapped exception.

Also stored the exception message into the MDC.

+86 -73

0 comment

4 changed files

pr created time in 16 days

create barnchAlexFalappa/MateCat-Filters

branch : remove-printstacktraces

created branch time in 16 days

create barnchAlexFalappa/MateCat-Filters

branch : improve-request-tracing

created branch time in 16 days

push eventAlexFalappa/MateCat-Filters

Alessandro Falappa

commit sha 1a2f5604f574796c732cabc7b84dfe7f317ed8ee

Made loggers final.

view details

Alessandro Falappa

commit sha 2505769b439384bba3aef313cbde20c20f8f551b

Added request tracing. Extracted base resource class with common logic. A try/finally enclosing logic allows to capture more problems and correctly trace failing requests. A specific appender for req-tracing log events is used in logback configuration. Routed Jersey logging trough SLF4J adding java.util.logging redirector dependency. Fixed again resource classes logger names.

view details

Domenico Lupinetti

commit sha 68429f8b57458adf804f0200f12c510601d9c723

Merge pull request #39 from matecat/final-loggers Made loggers final.

view details

Alessandro Falappa

commit sha 467984e8e381e96280dc7cd539ebacd4b890f0ed

Merge branch 'dev' into request-tracing

view details

Domenico Lupinetti

commit sha a89ccd95a882cb8e2f21acf925d99f9ee6cd7750

Merge pull request #41 from AlexFalappa/request-tracing Added request tracing.

view details

push time in 17 days

delete branch AlexFalappa/MateCat-Filters

delete branch : final-loggers

delete time in 17 days

delete branch AlexFalappa/MateCat-Filters

delete branch : request-tracing

delete time in 17 days

push eventAlexFalappa/MateCat-Filters

Alessandro Falappa

commit sha 1a2f5604f574796c732cabc7b84dfe7f317ed8ee

Made loggers final.

view details

Domenico Lupinetti

commit sha 68429f8b57458adf804f0200f12c510601d9c723

Merge pull request #39 from matecat/final-loggers Made loggers final.

view details

Alessandro Falappa

commit sha 467984e8e381e96280dc7cd539ebacd4b890f0ed

Merge branch 'dev' into request-tracing

view details

push time in 17 days

delete branch matecat/MateCat-Filters

delete branch : final-loggers

delete time in 17 days

PR opened matecat/MateCat-Filters

Added request tracing.

Extracted base resource class with common logic. A try/finally enclosing logic allows to capture more problems and correctly trace failing requests. A specific appender for req-tracing log events is used in logback configuration.

Routed Jersey logging trough SLF4J adding java.util.logging redirector dependency.

Fixed again resource classes logger names.

+370 -234

0 comment

10 changed files

pr created time in 17 days

push eventAlexFalappa/MateCat-Filters

Alessandro Falappa

commit sha 2505769b439384bba3aef313cbde20c20f8f551b

Added request tracing. Extracted base resource class with common logic. A try/finally enclosing logic allows to capture more problems and correctly trace failing requests. A specific appender for req-tracing log events is used in logback configuration. Routed Jersey logging trough SLF4J adding java.util.logging redirector dependency. Fixed again resource classes logger names.

view details

push time in 17 days

startedAlexFalappa/MateCat-Filters

started time in 17 days

create barnchAlexFalappa/MateCat-Filters

branch : request-tracing

created branch time in 17 days

delete branch AlexFalappa/MateCat-Filters

delete branch : request-tracing

delete time in 17 days

PR closed matecat/MateCat-Filters

Reviewers
Added request tracing and Sentry.

Extracted base resource class with common logic. A try/finally enclosing logic allows to capture more problems and correctly trace failing requests. A specific appender for req-tracing log events is used in logback configuration.

Introduced use of Sentry with sentry.properties config file.

Routed Jersey logging trough SLF4J adding java.util.logging redirector dependency.

Fixed again resource classes logger names.

+388 -234

0 comment

11 changed files

AlexFalappa

pr closed time in 17 days

Pull request review commentmatecat/MateCat-Filters

Made loggers final.

 public class XliffBuilder {      // Logger-    private static Logger LOGGER = LoggerFactory.getLogger(XliffBuilder.class);+    private static final Logger LOGGER = LoggerFactory.getLogger(XliffBuilder.class);

The loggers were already static I made them final to prevent unintented modifications.

Having private static final loggers is a common practice so there will be one logger object instance per class shared by all objects of that class (loggers are inherently thread safe).

The only case where I choose not to have static loggers is in object hierarchies when the logger object is declared in the parent class, in that case it is better to have it non static so that it is different in each derived class.

AlexFalappa

comment created time in 17 days

PR opened matecat/MateCat-Filters

Added request tracing and Sentry.

Extracted base resource class with common logic. A try/finally enclosing logic allows to capture more problems and correctly trace failing requests. A specific appender for req-tracing log events is used in logback configuration.

Introduced use of Sentry with sentry.properties config file.

Routed Jersey logging trough SLF4J adding java.util.logging redirector dependency.

Fixed again resource classes logger names.

+388 -234

0 comment

11 changed files

pr created time in 17 days

create barnchAlexFalappa/MateCat-Filters

branch : request-tracing

created branch time in 17 days

PR opened matecat/MateCat-Filters

Made loggers final.

Made loggers in all classes final beside static.

+13 -13

0 comment

7 changed files

pr created time in 17 days

create barnchmatecat/MateCat-Filters

branch : final-loggers

created branch time in 17 days

create barnchAlexFalappa/MateCat-Filters

branch : final-loggers

created branch time in 17 days

push eventAlexFalappa/MateCat-Filters

Alessandro Falappa

commit sha 3423cb8eb4a127ccc0e80cbef2aa6dcd0590aa58

Revisited WinConverter configuration. Dropped use of Consul, simplified configuration of WinConverter instances now taken from two properties in config.properties assumed in proximity order. WinConverterRouter does not take into account anymore the '/etc/localIpAddresses' file for sorting the converters in order of proximity. Removed two unused exception classes.

view details

Domenico Lupinetti

commit sha e6b170d70cddb153759eb686084777309c1a7de0

Merge pull request #38 from AlexFalappa/winconverter-port Revisited WinConverter configuration.

view details

push time in 19 days

delete branch AlexFalappa/MateCat-Filters

delete branch : winconverter-port

delete time in 19 days

push eventAlexFalappa/MateCat-Filters

Alessandro Falappa

commit sha 2599acd4adc5281d33cd94883ec692a8562cb0f9

Upgraded jetty to 9.4.28

view details

Alessandro Falappa

commit sha e10a78fc085f8301b11f04eee6dc1525c496fefa

Refactored Okapi pack extract method. The method previously in DefaultFilter class is also used in custom filters implementations.

view details

Domenico Lupinetti

commit sha 8223e846f6be4adc948f3253e169caf30dbe883d

Merge pull request #36 from AlexFalappa/jetty-upgrade Upgraded jetty to 9.4.28

view details

Domenico Lupinetti

commit sha 4ccadbf90d112bb6251bc8109c20596aa2ea374b

Merge pull request #37 from AlexFalappa/refactor-pack-extraction Refactored Okapi pack extract method.

view details

push time in 19 days

delete branch AlexFalappa/MateCat-Filters

delete branch : refactor-pack-extraction

delete time in 19 days

delete branch AlexFalappa/MateCat-Filters

delete branch : jetty-upgrade

delete time in 19 days

PR opened matecat/MateCat-Filters

Revisited WinConverter configuration.

Dropped use of Consul, simplified configuration of WinConverter instances now taken from two properties in config.properties assumed in proximity order.

WinConverterRouter does not take into account anymore the /etc/localIpAddresses file for sorting the converters in order of proximity (they are already assumed sorted).

Removed two unused exception classes.

+139 -267

0 comment

6 changed files

pr created time in 20 days

PR opened matecat/MateCat-Filters

Refactored Okapi pack extract method.

The method previously in DefaultFilter class is also used in custom filters implementations.

+55 -23

0 comment

2 changed files

pr created time in 20 days

create barnchAlexFalappa/MateCat-Filters

branch : winconverter-port

created branch time in 20 days

create barnchAlexFalappa/MateCat-Filters

branch : refactor-pack-extraction

created branch time in 20 days

delete branch AlexFalappa/MateCat-Filters

delete branch : debug-mode

delete time in 20 days

push eventAlexFalappa/MateCat-Filters

Alessandro Falappa

commit sha 00596fe0a9655fe2b86e1baa5924ad0a69b8c41f

Added debug mode to all resources. When debugMode POST parameter is set to true (default false) a custom appender is temporarily added to the root logger to capture all the log events raised while serving the request. The resulting capture is then returned in a JSON field of the response. Changed the logging library from slf4j-simple to logback. The factory of the JSON responses now writes the field in a fixed order. Added unit tests of the feature. Modified the web interface to ask for debug mode and show resulting logs.

view details

Domenico Lupinetti

commit sha 351a7d8b1c8971f3b7c802117e6b4d2d79c5ed94

Merge pull request #35 from AlexFalappa/debug-mode Added debug mode to all resources.

view details

push time in 20 days

PR opened matecat/MateCat-Filters

Upgraded jetty to 9.4.28

This should deal with vulnerabilities discovered in Jetty and affecting the previous version.

+2 -2

0 comment

1 changed file

pr created time in 20 days

create barnchAlexFalappa/MateCat-Filters

branch : jetty-upgrade

created branch time in 20 days

PR opened matecat/MateCat-Filters

Added debug mode to all resources.

When debugMode POST parameter is set to true (default false) a custom appender is temporarily added to the root logger to capture all the log events raised while serving the request. The resulting capture is then returned in a JSON field of the response.

Changed the logging library from slf4j-simple to logback.

The factory of the JSON responses now writes the field in a fixed order.

Added unit tests of the feature.

Modified the web interface to ask for debug mode and show resulting logs.

+913 -389

0 comment

12 changed files

pr created time in 23 days

create barnchAlexFalappa/MateCat-Filters

branch : debug-mode

created branch time in 23 days

push eventAlexFalappa/MateCat-Filters

Alessandro Falappa

commit sha f096108271921e92ba792ff696055bbba3a6bc38

Reorganized maven modules for new development cycle. Increased version. Removed parent pom coalescing it with the filters module pom. Introduced properties for version of coordinated dependencies.

view details

Alessandro Falappa

commit sha 80d25a0a0bbf90e71b0f4dd8b4a3999631693170

Tweaked git ignore and attributes

view details

Alessandro Falappa

commit sha 926656d331067c2ce9bc4e12030e18d13bf3b521

Added editorconfig file.

view details

Alessandro Falappa

commit sha ba7b27e626e1cd1f3381c28fed46a85d7b7b657f

Added test HTTP requests. The .http file is used with JetBrains IDEs to make requests to REST APIs.

view details

Alessandro Falappa

commit sha 76d471952a10b4542b7474a443cba1a2a029aa5b

Added code style settings for Intellij IDEA.

view details

Alessandro Falappa

commit sha 621db4e9f59b3d228708dd67caa9ec740aaf8ac4

Typos, comments, javadocs. Also fixed some unneeded casts and printouts. Optimized imports and used Charset constant for UTF-8

view details

Alessandro Falappa

commit sha b4f2fc119e095145ac323d6107af99030436e548

Corrected loggers in resource classes. Made them final, in two resource classes they were wrong.

view details

Domenico Lupinetti

commit sha 70dfc126970deacfa823c477b279543ef77522ba

Merge pull request #34 from AlexFalappa/new-development-cycle New development cycle

view details

push time in 24 days

delete branch AlexFalappa/MateCat-Filters

delete branch : new-development-cycle

delete time in 24 days

PR opened matecat/MateCat-Filters

New development cycle
  • Bumped version to 1.2.6-SNAPSHOT
  • Maven modules restructuring
  • General cleanup
  • Typos and javadoc fixes
  • Organize imports
  • Intellij REST request file
  • Intellij code style files
+1817 -399

0 comment

21 changed files

pr created time in a month

create barnchAlexFalappa/MateCat-Filters

branch : new-development-cycle

created branch time in a month

issue commentparadoxxxzero/gnome-shell-system-monitor-applet

Disk is Nan after last Update...

Already reported in #594

farhadinima75

comment created time in a month

issue commentparadoxxxzero/gnome-shell-system-monitor-applet

Not a number

Can confirm this after update on 27 Apr 2020.

vladimirnewissue

comment created time in a month

issue commentspring-projects/spring-boot

Actuator health endpoint could accept any media type

Found the reason.

This is the main class:

@SpringBootApplication
public class EchoApplication implements WebMvcConfigurer {

    public static void main(String[] args) {
        SpringApplication.run(EchoApplication.class, args);
    }

    @Override
    public void configureContentNegotiation(ContentNegotiationConfigurer configurer) {
        configurer.defaultContentType(MediaType.TEXT_PLAIN);
    }

}

Setting the default content type to MediaType.TEXT_PLAIN interferes with selection of media type for actuator responses.

Can the actuator endpoints be shielded from such configurations by default? Can I have the default media type specified for application @Controller beans only?

Given that my request is a bit borderline I think you can close the issue as not designed/supported.

AlexFalappa

comment created time in 2 months

issue commentspring-projects/spring-boot

Actuator health endpoint could accept any media type

A freshly generated project on start.spring.io does not exhibit the wrong behaviour.

Investigating...

AlexFalappa

comment created time in 2 months

issue commentspring-projects/spring-boot

Actuator health endpoint could accept any media type

@wilkinsona I am using 2.2.6.RELEASE on Linux, the application has spring-boot-starter-actuator, spring-boot-starter-thymeleaf and spring-boot-starter-web dependencies, the problem shows up using curl as well: actuator-406

AlexFalappa

comment created time in 2 months

issue openedspring-projects/spring-boot

Actuator heallth endpoint could accept any media type

Faced this need while deploying a simple Spring Boot application with actuator on a container AWS Elastic Container Service and exposing it through an Elastic Load Balancer: the container was failing the load balancer health checks and was continuously restarted.

I had configurred the health check as HTTP GET on /actuator/health giving 200 OK. A look at the log revealed the health check getting instead HTTP 406.

I replicated this behaviour locally with Postman (which sends Accept:*/* by default) and looked at the Actuator code where I found that application/json is the only accepted media type.

Relaxing the media type requirement (but I don't know if this was a design choice), possibly only on the health check, could make the actuator health endpoint usable even in this scenario.

Of course defining a custom SpringMVC endpoint would be another solution for my use case.

created time in 2 months

issue commentmatecat/MateCat-Filters

Exception running the command: java -cp ".:filters-1.2.5.jar" com.matecat.converter.Main

Hi @stevennt the stack trace you posted is usually shown when config.properties file is not found.

You should put the config.properties file in the same folder as the jar file and issue the launch command from there.

You can use filters/src/main/resources/config.sample.properties sample file as a start to create your own config.properties

stevennt

comment created time in 2 months

startedjnsh/arc-theme

started time in 2 months

fork AlexFalappa/MateCat-Filters

Convert any file to XLIFF and back with perfectly preserved formatting! Super easy API, plenty of supported formats and advanced segmentation.

http://filters.matecat.com

fork in 2 months

issue commentopenjfx/javafx-maven-plugin

Unable to run JavaFX via Maven

@daniel-shuy isn't Maven using the JDK pointed to by JAVA_HOME?

HenryDeLange

comment created time in 3 months

more