Kai Moritz [Fri, 22 Nov 2019 06:04:07 +0000 (07:04 +0100)]
WIP: WebClient
Kai Moritz [Fri, 22 Nov 2019 05:34:56 +0000 (06:34 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 21:26:21 +0000 (22:26 +0100)]
WIP: Clearified intend...
Kai Moritz [Thu, 21 Nov 2019 21:24:12 +0000 (22:24 +0100)]
WIP: Clearified intend...
Kai Moritz [Thu, 21 Nov 2019 21:10:29 +0000 (22:10 +0100)]
WIP: Clearified intend...
Kai Moritz [Thu, 21 Nov 2019 21:02:09 +0000 (22:02 +0100)]
WIP: Clearified intend...
Kai Moritz [Thu, 21 Nov 2019 20:21:13 +0000 (21:21 +0100)]
Clearified intend in GraphApiErrorResponseErrorHandlerIntegrationTest
Kai Moritz [Thu, 21 Nov 2019 20:12:42 +0000 (21:12 +0100)]
WIP: WebClient -- DIE LÖSUNG! -- Feinschliff...
Kai Moritz [Thu, 21 Nov 2019 20:07:09 +0000 (21:07 +0100)]
WIP: WebClient -- DIE LÖSUNG! -- Feinschliff...
Kai Moritz [Thu, 21 Nov 2019 20:06:20 +0000 (21:06 +0100)]
WIP: WebClient -- DIE LÖSUNG!
Kai Moritz [Thu, 21 Nov 2019 20:02:47 +0000 (21:02 +0100)]
WIP: WebClient -- Syntax vereinfacht
Kai Moritz [Thu, 21 Nov 2019 20:00:42 +0000 (21:00 +0100)]
WIP: WebClient -- Syntax angeglichen
Kai Moritz [Thu, 21 Nov 2019 19:56:19 +0000 (20:56 +0100)]
WIP: WebClient -- Methode benutzt, anstatt Funktion zu übergeben
Kai Moritz [Thu, 21 Nov 2019 19:42:52 +0000 (20:42 +0100)]
WIP: WebClient -- ExchangeFilterFunction.ofResponseProcessor() ersetzt
Kai Moritz [Thu, 21 Nov 2019 19:34:38 +0000 (20:34 +0100)]
WIP: WebClient - DIE LÖSUNG
--
Guckst du hier: https://stackoverflow.com/a/
48984852/247276
Die spannende Frage ist noch: was macht der anders...?
Kai Moritz [Thu, 21 Nov 2019 19:30:51 +0000 (20:30 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 16:12:18 +0000 (17:12 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 15:55:29 +0000 (16:55 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 15:31:18 +0000 (16:31 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 15:29:10 +0000 (16:29 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 14:31:39 +0000 (15:31 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 14:28:19 +0000 (15:28 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 14:21:18 +0000 (15:21 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 13:57:25 +0000 (14:57 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 13:47:37 +0000 (14:47 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 13:47:29 +0000 (14:47 +0100)]
WIP: TMP - WebClient
Kai Moritz [Thu, 21 Nov 2019 13:00:38 +0000 (14:00 +0100)]
WIP: TMP - WebClient
Kai Moritz [Thu, 21 Nov 2019 12:59:34 +0000 (13:59 +0100)]
WIP: TMP - WebClient
Kai Moritz [Thu, 21 Nov 2019 12:55:46 +0000 (13:55 +0100)]
WIP: TMP - WebClient
Kai Moritz [Thu, 21 Nov 2019 12:24:39 +0000 (13:24 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 09:01:49 +0000 (10:01 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 08:36:45 +0000 (09:36 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 08:35:13 +0000 (09:35 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 08:28:24 +0000 (09:28 +0100)]
Removed redundant logging-messages in test-cases
Kai Moritz [Thu, 21 Nov 2019 08:28:04 +0000 (09:28 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 08:27:20 +0000 (09:27 +0100)]
WIP: WebClient
Kai Moritz [Thu, 21 Nov 2019 07:48:45 +0000 (08:48 +0100)]
Fixed bug / refined GraphApiErrorResponseErrorHandler
If the response is not a client-error (4xx) or can not be parsed as a
Graph-API error, the handler should behave identical to its parent.
Kai Moritz [Wed, 20 Nov 2019 23:47:13 +0000 (00:47 +0100)]
Refined the test-cases and fixed a bug in GraphApiErrorResponseErrorHandler
* Fixed naming of test-case for the GraphApiErrorResponseErrorHandler
* Moved cases, that test GraphApiException into a separate class
* Do not test cases, that are coverd in unit-tests in integration-tests
* Instead, do test cases, that can only happen in the integrated environment
* GraphApiErrorResponseErrorHandler must only handle 4xx-responses
Kai Moritz [Wed, 20 Nov 2019 22:09:52 +0000 (23:09 +0100)]
200: The user hasn't authorized the application to perform this action
Kai Moritz [Wed, 20 Nov 2019 15:02:48 +0000 (16:02 +0100)]
WIP: WebClient
Kai Moritz [Wed, 20 Nov 2019 14:23:05 +0000 (15:23 +0100)]
The log-statement for unmapped exceptions really prints the unmapped error
Kai Moritz [Wed, 20 Nov 2019 13:16:14 +0000 (14:16 +0100)]
Errors during parsing of the error-message are wrapped
* GraphApiException.create() catches any exceptions, thrown during parsing
* Catched exceptions are wrapped with ErrorResponseParsingErrorException
* This exception is then returned as the result of the translation-attempt
* Adjusted GraphApiErrorHandlerTest accordingly
Kai Moritz [Tue, 29 Oct 2019 18:18:53 +0000 (19:18 +0100)]
190: Access token expired
Kai Moritz [Tue, 29 Oct 2019 16:54:03 +0000 (17:54 +0100)]
WIP: Spring-Upgrade... TMP
Kai Moritz [Tue, 29 Oct 2019 16:46:58 +0000 (17:46 +0100)]
WIP: Released version 4.0.0 -- TODO
Kai Moritz [Tue, 29 Oct 2019 16:17:55 +0000 (17:17 +0100)]
WIP: Spring-Upgrade auf 2.2.0
Kai Moritz [Tue, 29 Oct 2019 15:31:36 +0000 (16:31 +0100)]
WIP: Spring-Upgrade auf 2.2.0
* Added support for Spring-Security 5.2.0
* Removed support for Spring-Social
Kai Moritz [Tue, 29 Oct 2019 11:12:19 +0000 (12:12 +0100)]
WIP: Spring-Upgrade auf 2.2.0
Kai Moritz [Tue, 29 Oct 2019 08:49:28 +0000 (09:49 +0100)]
WIP: Spring-Upgrade auf 2.2.0
Kai Moritz [Tue, 29 Oct 2019 08:32:43 +0000 (09:32 +0100)]
WIP: Spring-Upgrade auf 2.2.0
Kai Moritz [Tue, 29 Oct 2019 08:03:46 +0000 (09:03 +0100)]
WIP: Spring-Upgrade auf 2.2.0
Kai Moritz [Wed, 11 Jul 2018 11:46:54 +0000 (13:46 +0200)]
WIP: Released version 3.0.0 NONSONA
Kai Moritz [Tue, 29 Oct 2019 15:28:19 +0000 (16:28 +0100)]
WIP: Fixed SSH for builds -- TODO: Tuts noch?
Kai Moritz [Tue, 29 Oct 2019 15:26:20 +0000 (16:26 +0100)]
Enabled SSH-wagon for builds
Kai Moritz [Tue, 29 Oct 2019 15:25:52 +0000 (16:25 +0100)]
Renamed exception for rate-limit-exceeded
Kai Moritz [Mon, 9 Jul 2018 19:01:27 +0000 (21:01 +0200)]
Released version 3.0.0 (corresponds to v3.0 of the Graph-API)
Kai Moritz [Mon, 9 Jul 2018 19:00:42 +0000 (21:00 +0200)]
The exception stores the HttpStatus and HttpHeaders of the failed request
Kai Moritz [Mon, 9 Jul 2018 18:59:34 +0000 (20:59 +0200)]
Added/Renamed the exceptions, that are thrown, if the rate-limit is exceeded
* Added new exceptions, that were introduced with version 3.0 of the
Facebook Graph-API (or maybe with another version since 2.5).
* Renamed the exceptions, that handle the rate-limiting, according to the
terms used in the current documentation.
Kai Moritz [Mon, 9 Jul 2018 18:58:13 +0000 (20:58 +0200)]
The body is printed out readable, if an exception occures during parsing
Kai Moritz [Mon, 9 Jul 2018 18:57:29 +0000 (20:57 +0200)]
Excluded empty fields, during marshalling of error-messages
Kai Moritz [Mon, 9 Jul 2018 18:56:16 +0000 (20:56 +0200)]
Prepared for next development iteration (3.0-SNAPSHOT)
Kai Moritz [Mon, 4 Sep 2017 15:15:15 +0000 (17:15 +0200)]
Released version 2.5.0
Kai Moritz [Fri, 2 Jun 2017 11:15:38 +0000 (13:15 +0200)]
WIP: site + wagon
Kai Moritz [Tue, 23 Aug 2016 18:26:17 +0000 (20:26 +0200)]
Added an exception for error 12: X field is deprecated vor version vY.Z and higher
Kai Moritz [Fri, 8 Jul 2016 16:39:52 +0000 (18:39 +0200)]
WIP
Kai Moritz [Sun, 12 Jun 2016 17:39:30 +0000 (19:39 +0200)]
Added settings from sonatype-parent by hand
Kai Moritz [Sun, 12 Jun 2016 15:27:27 +0000 (17:27 +0200)]
Implemented exceptions for the error-codes, mentioned in the API-docs
Kai Moritz [Fri, 15 Jan 2016 14:39:37 +0000 (15:39 +0100)]
Added an exception for error 102: user access token required
Kai Moritz [Tue, 7 Jun 2016 13:52:40 +0000 (15:52 +0200)]
Added a readme with links to resources, explaining the facebook-error-codes
Kai Moritz [Sun, 12 Jun 2016 12:31:42 +0000 (14:31 +0200)]
Enabled autoconfiguration for Spring-Social and Spring-Security-OAuth2
Kai Moritz [Sun, 12 Jun 2016 12:26:26 +0000 (14:26 +0200)]
Cleand up dependencies
Kai Moritz [Sun, 12 Jun 2016 12:20:47 +0000 (14:20 +0200)]
Switched the compiler to Java 8.0
Kai Moritz [Tue, 7 Jun 2016 18:29:19 +0000 (20:29 +0200)]
Switched to version-management by Spring-Boot
Kai Moritz [Tue, 7 Jun 2016 18:32:24 +0000 (20:32 +0200)]
Managing compiler-version through maven.compiler.*-settings
Like recommended on:
https://maven.apache.org/plugins/maven-pmd-plugin/examples/targetJdk.html
Kai Moritz [Sun, 12 Jun 2016 12:17:51 +0000 (14:17 +0200)]
Refactoring: generalized the GraphApiErrorHandler
Kai Moritz [Sun, 12 Jun 2016 10:21:57 +0000 (12:21 +0200)]
Refactoring: renamed package to de.juplo:facebook-errors
Kai Moritz [Sun, 12 Jun 2016 10:18:40 +0000 (12:18 +0200)]
Refactoring: removed classes, that are not needed for error-handling
Kai Moritz [Tue, 7 Jun 2016 13:10:08 +0000 (15:10 +0200)]
Refactoring: renamed package de.juplo.facebook.exceptions to errors
Kai Moritz [Tue, 7 Jun 2016 13:05:11 +0000 (15:05 +0200)]
Refactoring: moved all code concerned with error-handling in one package
Kai Moritz [Tue, 7 Jun 2016 13:03:31 +0000 (15:03 +0200)]
Refactoring: moved FacebookErrorMessage in its own file/class
Kai Moritz [Tue, 10 Nov 2015 14:55:20 +0000 (15:55 +0100)]
[maven-release-plugin] prepare for next development iteration
Kai Moritz [Tue, 10 Nov 2015 14:55:18 +0000 (15:55 +0100)]
[maven-release-plugin] prepare release facebook-utils-2.5.0
Kai Moritz [Tue, 10 Nov 2015 10:46:25 +0000 (11:46 +0100)]
The types of the exeptions are now mapped to an enum
Unknown types will result in an IllegalArgumentException when accessing the
method GraphApiException.getType() of the parsed exception.
Kai Moritz [Tue, 10 Nov 2015 10:23:11 +0000 (11:23 +0100)]
Removed unused exception
Kai Moritz [Sat, 7 Nov 2015 19:04:10 +0000 (20:04 +0100)]
Implemented new exception CallbackVerificationFailedException
Kai Moritz [Sat, 7 Nov 2015 18:56:39 +0000 (19:56 +0100)]
Implemented new exception AccessTokenRequiredException
Kai Moritz [Sat, 7 Nov 2015 15:07:09 +0000 (16:07 +0100)]
Added helpful logging-statements to GraphApiErrorHandler
Kai Moritz [Sat, 7 Nov 2015 14:48:37 +0000 (15:48 +0100)]
GraphApiErrorHandler only handles status-code 400 BAD REQUEST
Alle error-responses of the Facebook Graph-API are send with the
HTTP-status-code 400 BAD REQUEST. 401 UNAUTHORIZED and 403 FORBIDDEN are
not used.
Kai Moritz [Sat, 7 Nov 2015 14:44:04 +0000 (15:44 +0100)]
Unparsable page-migration errors are logged at level ERROR
Kai Moritz [Sat, 7 Nov 2015 14:40:05 +0000 (15:40 +0100)]
GraphApiException.create() logs unmapped errors on log-level INFO
Kai Moritz [Sat, 7 Nov 2015 13:46:44 +0000 (14:46 +0100)]
Reworked handling of error-responses from the Graph-API
* The parsing of the response is done by the ObjectMapper from Jackson.
* Unmapped exceptions are returned as such, instead of handing the handling
to the parent.
Kai Moritz [Sat, 7 Nov 2015 10:14:16 +0000 (11:14 +0100)]
Added JSON-mapping for responses from the Graph-API
Take a look at the Graph-API documentation:
https://developers.facebook.com/docs/graph-api/using-graph-api/v2.5#errors
Kai Moritz [Tue, 3 Nov 2015 12:42:34 +0000 (13:42 +0100)]
Changed Version to 2.5, to show compatibility with the Graph-API version
Kai Moritz [Sun, 11 Oct 2015 13:42:13 +0000 (15:42 +0200)]
Added spring-security-core as real dependency
Kai Moritz [Thu, 8 Oct 2015 07:14:20 +0000 (09:14 +0200)]
Implemented aspect to deal with long/bad data in Facebook-Entries
Kai Moritz [Thu, 8 Oct 2015 07:12:49 +0000 (09:12 +0200)]
Refactored classes in thematically packages
Kai Moritz [Tue, 6 Oct 2015 16:30:51 +0000 (18:30 +0200)]
Removed unnecessary classes and code
Kai Moritz [Wed, 30 Jul 2014 17:08:36 +0000 (19:08 +0200)]
Upgraded all dependencies
Kai Moritz [Tue, 6 Oct 2015 08:10:47 +0000 (10:10 +0200)]
[maven-release-plugin] prepare for next development iteration
Kai Moritz [Tue, 6 Oct 2015 08:10:46 +0000 (10:10 +0200)]
[maven-release-plugin] prepare release facebook-utils-1.0