• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- Producer can now validate registration properties. Of course, current implementation of acceptValueFor is no-op, so...
- 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).

  1. … 3 more files in changeset.
Inlined 2 methods that were only used once and were one-liners
- JBPORTAL-2229: Check that portal dir exists in JBoss data dir, if not create it.

- JBPORTAL-2231: Updated schema version.

    • -7
    • +29
    ./config/impl/ProducerConfigurationServiceImpl.java
- request context is not used anymore.
- Also set the navigational state if it exists.
- 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. … 3 more files in changeset.
- JBPORTAL-2183: Properly remember the listeners when reloading a producer configuration.

Something is still not quite right with how the producer deals with configuration changes.

    • -0
    • +5
    ./config/ProducerRegistrationRequirements.java
    • -0
    • +5
    ./config/impl/ProducerConfigurationImpl.java
    • -2
    • +53
    ./config/impl/ProducerConfigurationServiceImpl.java
    • -1
    • +10
    ./config/impl/ProducerRegistrationRequirementsImpl.java
  1. … 1 more file in changeset.
- JBPORTAL-2068:

+ Should now properly throw InvalidRegistrationFault when registration is required and none is provided.

+ Note that this doesn't affect getServiceDescription.

+ Added test cases.

- Found an issue with V1ProducerBaseTest.configureRegistrationSettings which was not configuring registration settings properly.

This resulted in incorrect tests and not properly handling the case where registration was required to access the full service

description.

    • -42
    • +41
    ./ServiceDescriptionHandler.java
  1. … 6 more files in changeset.
- JBPORTAL-2073: Properly reset the registration properties.
    • -0
    • +6
    ./config/impl/ProducerRegistrationRequirementsImpl.java
- JBPORTAL-2067: Fixed several issues, added more tests.
    • -5
    • +26
    ./AbsoluteURLReplacementGenerator.java
    • -23
    • +16
    ./WSRPPortletInvocationContext.java
  1. … 12 more files in changeset.
- JBPORTAL-2067: retrieve the HttpServletRequest properly.
- JBPORTAL-2067: Added more rewriting of URLs on both Consumer and Producer.
    • -0
    • +62
    ./AbsoluteURLReplacementGenerator.java
    • -21
    • +8
    ./WSRPPortletInvocationContext.java
  1. … 2 more files in changeset.
- Encapsulated access to default locales and MIME types and return copies on WSRPConstants to prevent client-side modification.

- Encapsulated validation mode handling in WSRPValidator class.

    • -0
    • +49
    ./WSRPValidator.java
  1. … 5 more files in changeset.
- JBPORTAL-2048: Allow extra URL parameters in relaxed validation mode. Added appropriate tests.

- Some generification and documentation.

- Removed unused WSRPPortletURL(Map) constructor.

  1. … 5 more files in changeset.
- Fix PortletManagement tests.

- More generification.

Portlet Container 2.0.0

Common 1.2.0

Web 1.2.0

  1. … 78 more files in changeset.
- JBPORTAL-857: Setting strict mode relaxes language code validation. Should probably be implemented as

an interceptor to actually replace the in-out values before they make it to the Producer.

  1. … 5 more files in changeset.
- Minor.
    • -12
    • +4
    ./config/impl/ProducerRegistrationRequirementsImpl.java
  1. … 2 more files in changeset.
- Improved robustness of WSRPPortletURLs (more error checking) in particular with respect to resource URLs.

- Added test cases and activated RenderHandlerTestCase.

- Minor improvements.

  1. … 6 more files in changeset.
- Updated producer configuration schema to add strict mode and support for property description description to a new 2.7 version of the schema.

- JBPORTAL-1964:

+ Use producer configuration instead of jboss-service.xml for strict mode.

+ Added GUI configuration for producer. Needs more testing.

+ This won't be backported to 2.6 (which will keep using configuration via MBeans and won't provide a GUI interface to it).

- Use WSRPConstants.DEFAULT_LOCALES in Producer as well.

- Added more tests.

    • -0
    • +32
    ./config/ProducerConfigurationChangeListener.java
    • -15
    • +36
    ./config/ProducerConfigurationFactory.java
    • -1
    • +15
    ./config/ProducerConfigurationProvider.java
    • -0
    • +39
    ./config/impl/ProducerConfigurationImpl.java
    • -0
    • +1
    ./config/impl/ProducerConfigurationServiceImpl.java
  1. … 9 more files in changeset.
- Multiple cookies were not properly escaped (used ';' instead of ',').

- WSRPConstants.DEFAULT_LOCALES now uses the default locale instead of hardcoding en-US.

- JBPORTAL-1963: Added support for multiple Set-Cookie headers. Needs more testing.

- JBPORTAL-1964: Added strict mode on producer configuration. Need to work on GUI and consumer configuration.

  1. … 7 more files in changeset.
JBPORTAL-1959: Migrate isRemotable to a WSRPInfo attachment
  1. … 21 more files in changeset.
- Improved locale support in WSRP:

+ Fixed an issue with the proper locale not being requested

+ Added more tests

- Improved support for multiple portlet per portlet-app in tests (NeedPortletHandledTest.getPortletHandleFrom)

- Added supported-locale elements in portlet descriptors in test portlets.

  1. … 15 more files in changeset.
- Fixed a bug in WSRPPortletInvocationContext: hidden NPE due to auto-boxing...

- Added missing information on portlet invocation in RequestProcessor.

- Test re-wiring.

- More generification.

- All WSRP tests now run and pass pending update of portlet and common module in thirdparty.

    • -14
    • +10
    ./ServiceDescriptionHandler.java
  1. … 5 more files in changeset.
Rollbacked changes on generated sources.
  1. … 7 more files in changeset.
Use new MediaType

  1. … 31 more files in changeset.
- Fixed PortletAppDeploymentFactory (AbstractDeploymentFactory was causing an infinite loop)

- Started working on WSRP tests

- More generification

  1. … 10 more files in changeset.
- Adapted to changes in PC 2.0: should compile in isolation for now but not tested at all since need to wait for rest of update:

+ Renamed ActionContextRequestContext to RequestContextWrapper

+ Removed ThreadLocal handling of rewriters in RenderHandler (make code more complex for no reason)

+ RequestProcessor.initInvocation now returns the created invocation object and move some more common code to prepareInvocation

+ Moved code that used to be in WSRPActionContext to WSRPRequestContext (with adaptations)

+ Removed now useless WSRPActionContext and WSRPRenderContext

+ Now create OpaqueStateString directly as former factory method on StateString does not exist anymore

    • -23
    • +34
    ./WSRPPortletInvocationContext.java
  1. … 11 more files in changeset.
Started to move to the new API.

Build is *broken* it is expected

  1. … 33 more files in changeset.