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
19 Feb, 2015
1 commit
-
Implement the destroy method that closes the HTTPConnectionManager of our HTTPClient, in order to release the connections when the configuration is reloaded. git-svn-id: https://svn.forgerock.org/openig/trunk@903 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
18 Feb, 2015
2 commits
-
In order to match the classname to test, I rename the class FunctionTest to FunctionsTest. git-svn-id: https://svn.forgerock.org/openig/trunk@901 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
This patch adds a handler to generate a DES key. By using the handler, the reader can avoid the convoluted steps for generating a key with OpenAM. Applied review suggestions from Guillaume git-svn-id: https://svn.forgerock.org/openig/trunk@900 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
17 Feb, 2015
2 commits
-
Add a convenient method to evaluate an Expression that do not require any scope. git-svn-id: https://svn.forgerock.org/openig/trunk@898 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
The type of an Expression is now given at the creation time, which means we do not provide it anymore for the evaluation. Furthermore, it helps the developper as it knows the expected type of an Expression. git-svn-id: https://svn.forgerock.org/openig/trunk@897 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
09 Feb, 2015
3 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@890 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@889 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@888 dbb9e58e-28e6-4ce0-90e8-f11d9605b710