• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Sync Branch_2_6 with trunk

Servlet wrapper / JSF isolation

Splitting wrsp service and wsrp admin portlet

  1. … 83 more files in changeset.
- JBPORTAL-1565: Fixed issue with refresh not taking registration refresh result into account.

- JBPORTAL-1508: Correctly un/register with federated portlet invoker and removed cache of markup on admin portlet.

  1. … 3 more files in changeset.
- Delegated error handling and parameter retrieval methods from ConsumerBean to new BeanContext class to allow behavior to be JSF-independent. This allows for testing of JSF managed beans outside of a JSF environment.

- Improved ConsumerBean handling of modified state. Correct handling will require a new value change event listener which might not be the right way to go (i.e. is that level of complexity required in terms of 80/20).

- Added JSFBeanContext to implement BeanContext in a JSF context.

- Updated faces-config to use BeanContext.

- Added ConsumerBeanTestCase.

    • -0
    • +78
    ./ui/BeanContext.java
    • -0
    • +68
    ./ui/JSFBeanContext.java
  1. … 4 more files in changeset.
- Implemented access to modifyRegistration.
  1. … 2 more files in changeset.
- Made activate call refresh to make sure that the consumer information is valid.
- Validating registration should now be properly displayed when needed.
  1. … 1 more file in changeset.
- JBPORTAL-1395: Delay synchronization of values from ConsumerBean to persisted consumer.

- Check that given values are well-formed URLs.

  1. … 1 more file in changeset.
- Fixed incorrect mapping of registration properties which wouldn't be properly updated when the parent RegistrationInfo was modified.

- JBPORTAL-715: more work on modifyRegistration (detection of when calling modifyRegistration is not properly done yet).

- Added RegistrationInfo.isConsistentWithProducerExpectations and improved computing of whether a Registration is valid or not (replaced incorrect state).

- ServiceDescription is now computed on each request in ProducerInfo since it wasn't worth maintaining a state for it.

- Added more test cases.

  1. … 5 more files in changeset.
- JBPORTAL-715: Initial support for modifyRegistration (still buggy).

- RegistrationInfo.refresh now maintains a status of whether the registration is valid or not.

- ProducerInfo.refresh can force refreshing the registration information from the producer.

- Removed WSRPConsumer.refreshRegistrationInfo.

- Better updating of Producer state in DB.

  1. … 6 more files in changeset.
- JBPORTAL-715: Improved layout, behavior and information reporting

+ Fixed display of registration information

+ Moved refresh functionality to ConsumerManagerBean

+ Better display of consumer status

+ Can refresh from consumer list

+ Still needs work and testing.

  1. … 6 more files in changeset.
- JBPORTAL-715:

+ Improved layout, behavior and information reporting.

+ Implemented refresh functionality.

+ Still needs work and testing.

- Renamed RegistrationInfo.refreshRegistrationRequirementsFor to refresh.

- Refresh methods return more detailed information.

  1. … 9 more files in changeset.
- JBPORTAL-715: Better exception handling, in particular when an error occured that rendered the Consumer unavailable. FederatedPortletInvoker is not always in synch though so needed to account for that. A better solution will be needed at some point.

- Added isActive method on WSRPConsumer.

- Made lang property required on RegistrationProperty but handling is not perfect (i.e. a language is not always readily available when a property is created...). RegistrationPropertyDescription tries to determine the language of the associated property...

- ConsumerRegistryService now ignores exceptions during start and stop to be able to process all the Consumers if one fails.

- Fixed error in RegistrationInfo.initialize (where local data was reset).

- RegistrationInfo.refreshRegistrationRequirementsFor now adds description to local properties when refresh occurs.

- Correctly set resource name when present in WSRPUtils.convertToLocalizedString.

- Updated and improved test cases.

  1. … 14 more files in changeset.
- JBPORTAL-1370: handle null consumer id gracefully.

- Better error handling and messages.

- Make sure that Consumer is marked as non-active if an error occurs during activation process.

  1. … 2 more files in changeset.
- JBPORTAL-715: Initial support for validating/replacing local registration properties by producer values and improved status reporting.

- Added WSRPConsumer.refreshRegistrationInfo method and implementation.

- Renamed ProducerInfo.requiresRegistration to isRegistrationRequired.

- Fixed isRegistered implementation.

  1. … 8 more files in changeset.
- JBPORTAL-715:

+ Re-activated immediate status of useWSDL.

+ More error messages.

+ ConsumerBean is now session-scoped and properly refreshes.

    • -0
    • +70
    ./ui/ManagedBean.java
  1. … 7 more files in changeset.
- JBPORTAL-715:

+ Update consumer now works (was missing setter on ConsumerBean)

+ Added error messages support.

    • -45
    • +103
    ./ui/ConsumerManagerBean.java
  1. … 5 more files in changeset.
- Removed use of ConsumerRegistry.getDefaultRegistration as ProducerInfo should now properly deal with not having a RegistrationInfo.

- RegistrationInfo is now again a one-to-one association to ProducerInfo.

- JBPORTAL-715: better handling of RegistrationInfo makes destroyConsumer work :)

- Minimize reliance on external visibility of RegistrationInfo by having getRegistrationContext method public on ProducerInfo.

  1. … 7 more files in changeset.
- Added ConsumerRegistry.destroyConsumer method (not tested).

- Improved support for releasing sessions on WSRPConsumer and ProducerSessionInformation. Issue exists to retrieve the appropriate ProducerSessionInformation without an invocation...

- JBPORTAL-715: started adding support for destroying a consumer.

  1. … 8 more files in changeset.
- JBPORTAL-715:

- Started support for updating consumer state.

- Started support for creating new consumers.

- Introduced ConsumerBean in hope it would help with updating the consumer state and for easier referencing in JSF.

- This solution is currently not working properly but I want to commit a version of it for reference purpose... it might get reverted to just using ConsumerManagerBean.

    • -0
    • +178
    ./ui/ConsumerBean.java
  1. … 3 more files in changeset.
- Now properly reset useWSDL status.
- Started to add support for choosing between using WSDL or not.

- Buttons on editConsumer don't work for some reasons... and styling is messed up. :(

  1. … 2 more files in changeset.
- More consumer configuration GUI: fixed de/activate and back button on consumer configuration page.

- Fixed ConsumerRegistryService.startOrStopConsumer.

  1. … 4 more files in changeset.
- More WSRP consumer UI: register/deregister seem to work, activate/deactivate doesn't.

- Need to find a way to return properly to the list view.

- Added registerOrDeregisterConsumerWith method on ConsumerRegistry.

  1. … 6 more files in changeset.
- Beginning of consumer configuration.
  1. … 5 more files in changeset.
- Started JSF implementation of WSRP Consumers configuration.

- Renamed portal.wsrp:service=ConsumersRegistry service to portal.wsrp:service=ConsumerRegistry.

- Added ProducerInfo.isRegistered method.

    • -0
    • +73
    ./ui/ConsumerManagerBean.java
  1. … 12 more files in changeset.