• last updated a few seconds ago
Constraints
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
    ./main/org/jboss/portal/wsrp/WSRPPortletURL.java
    • -6
    • +18
    ./main/org/jboss/portal/wsrp/WSRPResourceURL.java
- Added timeout on WS operations so that we don't deadlock anymore when trying to access a service that's not answering.

- Minor: use safe cast.
- 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).
  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).

- 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.

    • -2
    • +8
    ./main/org/jboss/portal/wsrp/WSRPPortletURL.java
- 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.
    • -5
    • +5
    ./main/org/jboss/portal/wsrp/WSRPPortletURL.java
- JBPORTAL-2306: Fixed WSRPPortletURL.toString() method to properly add WSRP end rewriting token.

- Added test case.

    • -1
    • +2
    ./main/org/jboss/portal/wsrp/WSRPActionURL.java
    • -7
    • +7
    ./main/org/jboss/portal/wsrp/WSRPPortletURL.java
"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.
- JBPORTAL-2284: ProducerInfo are now created with a RegistrationInfo that's marked as undetermined instead of null.
- JBPORTAL-2205: use proper mode and window state names...
    • -2
    • +2
    ./main/org/jboss/portal/wsrp/WSRPPortletURL.java
- 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
- Switch to use processContents=skip as it can help with extension processing... though it needs to be checked!
    • -6
    • +6
    ./resources/webservice/wsrp_v1_types.xsd
- JBPORTAL-2233:

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

+ Added test case.

+ Removed dependency on DOMUtils.

    • -0
    • +57
    ./main/org/jboss/portal/test/wsrp/handler/MockSOAPBody.java
- 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.

- JBPORTAL-2201: Remove extra separator: rewrite token should be replaced by the namespace and nothing else!
- Added debugging output.
    • -0
    • +12
    ./main/org/jboss/portal/wsrp/WSRPPortletURL.java
- Replaced "magic" numbers for better robustness.
    • -9
    • +9
    ./main/org/jboss/portal/wsrp/WSRPPortletURL.java
- 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.