18 Jun, 2015
3 commits
-
Replace the field request with some getter/setter that delegates to the put/get methods from the Map interface. git-svn-id: https://svn.forgerock.org/openig/trunk@1052 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Make the field Exchange.parent final and add a getter. git-svn-id: https://svn.forgerock.org/openig/trunk@1051 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Replace the field session with some getter/setter that delegates to the put/get methods from the Map interface. git-svn-id: https://svn.forgerock.org/openig/trunk@1050 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
17 Jun, 2015
3 commits
-
We were wondering how the `final` fields were handled when the object was "converted" to a `Map`. And it appears that the final semantic is respected: you cannot change (even through the `Map` view of the object) a final field value. git-svn-id: https://svn.forgerock.org/openig/trunk@1044 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
Add public getter/setter Reduce visibility from public to protected for the fields logger and storage. git-svn-id: https://svn.forgerock.org/openig/trunk@1043 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@1042 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
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
11 Jun, 2015
2 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
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
13 May, 2015
3 commits
-
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
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
1 commit
-
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
1 commit
-
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
16 Apr, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@967 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
01 Apr, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@961 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@887 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
05 Feb, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/openig/trunk@883 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
04 Feb, 2015
2 commits
-
git-svn-id: https://svn.forgerock.org/openig/trunk@879 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
The correct way to handle the \\ in the JUEL expressions is to write it like that : ${'\\\\'}. git-svn-id: https://svn.forgerock.org/openig/trunk@878 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
03 Feb, 2015
2 commits
-
This tests was expecting a NPE that was thrown by `new StringReader()`. We were never going into the `readJson()` method... git-svn-id: https://svn.forgerock.org/openig/trunk@874 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
-
git-svn-id: https://svn.forgerock.org/openig/trunk@873 dbb9e58e-28e6-4ce0-90e8-f11d9605b710