• last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
- JBPORTAL-2425:

+ WSRPPortletURL.create is now able to handle extra characters in an uninterpreted way to allow for concatenation

+ Adapted toString methods.

- Fixed a bug in WSRPResourceURL.dealWithSpecificParams that wasn't properly removing consumed parameters.

    • -17
    • +58
- Added timeout on WS operations so that we don't deadlock anymore when trying to access a service that's not answering.

    • -0
    • +5
- Minor: use safe cast.
    • -22
    • +23
- Producer can now validate registration properties. Of course, current implementation of acceptValueFor is no-op, so...
- Adapted test cases to change in behavior with & encoding. Note that & should still be encoded as & when going through the WS stack (which is not the case for the tests).
    • -13
    • +13
  1. … 1 more file in changeset.
- JBPORTAL-2367: should solve the infinite loop issue.
- JBPORTAL-2366:

+ RequestProcessor.initInvocation now takes a more specific WSRPPortletInvocationContext as parameter for downstream processing of WindowContext.

+ RequestProcessor.createNavigationalState now uses StateString factory method as it should (which should lead to less duplicated processing).

+ RenderRequestProcessor.initInvocation now remembers which namespace is used for this invocation so that it can be re-written when the markup is processed

without having to bracket it with marker strings.

+ WSRPPortletInvocationContext now provides access to WindowContext so that request processors can know what the namespace is.

+ Use safer namespace generation algorithm.

- Use StateString.JBPNS_PREFIX since it's where the constant is instead of ParametersStateString.

- ActionRequestProcessor.initInvocation doesn't deal with navigational state anymore since it's dealt with in RequestProcessor (less duplicated processing).

    • -4
    • +2
    • -11
    • +9
- JBPORTAL-2355:

+ Do no use & in URLs anymore, use &.

+ Now throws an exception in case a doubly encoded & is ever detected again (so that we can detect them better)

+ Adapted test to change of behavior.

- JBPORTAL-2355: Do not encode & in URLs as contract for toString is supposed to be non-XML encoded URLs... Needs more testing in particular with other WSRP consumers.
- JBPORTAL-2306: Fixed WSRPPortletURL.toString() method to properly add WSRP end rewriting token.

- Added test case.

"Fix" the serialization issue

- JBPORTAL-2287: Added possibility to reload the consumers from the database.
  1. … 4 more files in changeset.
- JBPORTAL-2284: Fixed error in eraseRegistrationInfo, removed checks for null RegistrationInfo as it never is null now.
    • -40
    • +17
- JBPORTAL-2284: ProducerInfo are now created with a RegistrationInfo that's marked as undetermined instead of null.
    • -18
    • +20
- JBPORTAL-2205: use proper mode and window state names...
- JBPORTAL-2244: Test was bad (relying on order where none actually exists)
- Improved output.
Inlined 2 methods that were only used once and were one-liners
- JBPORTAL-2233:

+ Re-wrote traversal logic of WSRPExtensionHandler to traverse the whole tree.

+ Added test case.

+ Removed dependency on DOMUtils.

    • -0
    • +57
    • -1
    • +20
    • -0
    • +239
    • -49
    • +32
- JBPORTAL-2229: Check that portal dir exists in JBoss data dir, if not create it.

- JBPORTAL-2231: Updated schema version.

- JBPORTAL-2208: quick fix, real issue here is that we should have a concept of "WSRP transaction" so

that multiple WSRP calls can share information and avoid going to the producer even without cache.

    • -2
    • +1
- JBPORTAL-2201: Remove extra separator: rewrite token should be replaced by the namespace and nothing else!
    • -8
    • +8
- Added debugging output.
- Replaced "magic" numbers for better robustness.
- request context is not used anymore.
- Also set the navigational state if it exists.
- JBPORTAL-1726: there were still some issues if a producer was configured with a

non-reachable URL and then switched to a valid one. In particular, refreshing

producer with unreachable URL led to infinite loop.

- JBPORTAL-2185: return empty NavigationInfo and EventingInfo instead of null as it'd cause an NPE otherwise.
- JBPORTAL-2183: do not keep a local copy of the configuration in producer but retrieve it from

configuration service to avoid de-synchronization of state.

- Changed property name generation algorithm to avoid collisions.

  1. … 1 more file in changeset.
- Sort registration properties before displaying them, based on the natural ordering of their name.

- Added toString to RegistrationStatus for easier debugging.

  1. … 2 more files in changeset.