15 Jun, 2015
3 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1039 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1038 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1037 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
12 Jun, 2015
1 commit
-
…or scripting purposes git-svn-id: https://svn.forgerock.org/openig/trunk@1036 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
11 Jun, 2015
3 commits
-
* Diamond operator * Try with resources * Multi-catch git-svn-id: https://svn.forgerock.org/openig/trunk@1035 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1034 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Provide through the global heap an instance of the TimeService, thus that can be shared between all the heap objects. git-svn-id: https://svn.forgerock.org/openig/trunk@1033 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
02 Jun, 2015
1 commit
-
`Handler` and `Filter` are now returning `Promises` (thus are non blocking from an API point of view). The CHF `Client` SPI also supports non-blocking calls. But all elements of the processing chain need to support this in order to really gain something out of the `Promises`. The `HttpClient` was not offering such support, so the OpenIG `ClientHandler` could not take advantage of it. git-svn-id: https://svn.forgerock.org/openig/trunk@1031 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
26 May, 2015
3 commits
-
is unchecked exception. git-svn-id: https://svn.forgerock.org/openig/trunk@1027 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
'shouldFailWithNullExpression' as per Guillaume's suggestion. git-svn-id: https://svn.forgerock.org/openig/trunk@1023 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Refactoring 'baseuri_decorator_error_cases'. git-svn-id: https://svn.forgerock.org/openig/trunk@1022 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
18 May, 2015
1 commit
-
Seems the `HttpContext` attributes Map is only needed by AM. So it's quite harmless to clear its content (that contains self-referencing objects) before usage. Over-the-shoulder reviewed by Matt git-svn-id: https://svn.forgerock.org/openig/trunk@1010 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
13 May, 2015
4 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1009 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
This change is a follow-up on CHF-34 change (`Promise<Response, NeverThrowsException>`). There is no more any exception to use in the `ExceptionFilter`. In other words, `ExceptionFilter` is useless in this new context. User of `ExceptionFilter` are encouraged to use a `SwitchFilter` instead (leveraging the response status in the condition expression): ``` { "name": string, "type": "SwitchFilter", "config": { "onResponse": [ { "condition": "exchange.response.status.code == 500", "handler": Handler reference, }, ... ] } } ``` Documentation has been cleaned out too. git-svn-id: https://svn.forgerock.org/openig/trunk@1008 dbb9e58e-28e6-4ce0-90e8-f11d9605b710 -
git-svn-id: https://svn.forgerock.org/openig/trunk@1007 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1006 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
05 May, 2015
2 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1001 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1000 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
04 May, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@999 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
03 May, 2015
1 commit
-
…ion which are now in forgerock-util 2.0.0 git-svn-id: https://svn.forgerock.org/openig/trunk@998 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
01 May, 2015
1 commit
-
As a best practice and as response.getStatus() may return null, it is better to swap the operand when testing equality. git-svn-id: https://svn.forgerock.org/openig/trunk@996 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
30 Apr, 2015
2 commits
-
There is no reason anymore to separate the code and the reason in StaticResponseHandler, so we now use an attribute of type Status. git-svn-id: https://svn.forgerock.org/openig/trunk@995 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Since we introduce the class Status in forgerock-http-framework, some code's modifications have to be done : - To get the code of the status we now have to do response.getStatus().getCode() into of response.getStatus(). (in the Groovy script or EL expression that means we'll have to write response.status.code. - Furthermore, the attribute reason in Response does not exist any more, so it is not possible anymore to assign a custom reason phrase, as it is set to standardized reason phrase through the constants defined in the class Status. - Any status code has to be in the range [100,1000[ git-svn-id: https://svn.forgerock.org/openig/trunk@994 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
27 Apr, 2015
6 commits
-
visibility to package private. git-svn-id: https://svn.forgerock.org/openig/trunk@989 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@988 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@987 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Here we were logging all non-2xx responses, that is un-needed since they are valid HTTP responses. So, by filtering out the exceptions that has no parent cause, we only select exceptions from the "transport layer". git-svn-id: https://svn.forgerock.org/openig/trunk@986 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@985 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
to HeapUtilsTest class. git-svn-id: https://svn.forgerock.org/openig/trunk@984 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
25 Apr, 2015
1 commit
-
* Fix the build * Upgrade to new `Promise` API * `json-fluent` also updated because it also has a dependency on forgerock-util:2.0 (`Function`) git-svn-id: https://svn.forgerock.org/openig/trunk@983 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
24 Apr, 2015
2 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@982 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
This patch aligns the response in the ScriptableHandler with the previous patch for OPENIG-490. git-svn-id: https://svn.forgerock.org/openig/trunk@981 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
23 Apr, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@977 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
17 Apr, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@968 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
16 Apr, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@967 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
01 Apr, 2015
2 commits
-
This complement the fix for OPENIG-500, because file in use under Windows cannot be deleted. git-svn-id: https://svn.forgerock.org/openig/trunk@962 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@961 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
20 Mar, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@920 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
25 Feb, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@910 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
24 Feb, 2015
1 commit
-
Add a new function array that allows to create an array of String through an EL expression. git-svn-id: https://svn.forgerock.org/openig/trunk@908 dbb9e58e-28e6-4ce0-90e8-f11d9605b710