mkjsf-moved-to-github.git
11 years agoMakes all stats ints (except progress)
Niels Erik G. Nielsen [Tue, 30 Apr 2013 17:25:10 +0000 (13:25 -0400)]
Makes all stats ints (except progress)

11 years agoAdds support for show-block
Niels Erik G. Nielsen [Tue, 30 Apr 2013 17:24:37 +0000 (13:24 -0400)]
Adds support for show-block

11 years agoTweaks IP authentication
Niels Erik G. Nielsen [Tue, 30 Apr 2013 15:45:25 +0000 (11:45 -0400)]
Tweaks IP authentication

11 years agoAdds support for record checksum
Niels Erik G. Nielsen [Tue, 30 Apr 2013 15:44:50 +0000 (11:44 -0400)]
Adds support for record checksum

11 years agoMakes init doc debug response optional
Niels Erik G. Nielsen [Tue, 30 Apr 2013 15:44:14 +0000 (11:44 -0400)]
Makes init doc debug response optional

11 years agoAdds option to configure multiple SP URLs
Niels Erik G. Nielsen [Sat, 27 Apr 2013 23:57:54 +0000 (19:57 -0400)]
Adds option to configure multiple SP URLs

For selecting an SP runtime from pre-configured list.

11 years agoAdds support for offset and binary parameters
Niels Erik G. Nielsen [Sat, 27 Apr 2013 23:56:09 +0000 (19:56 -0400)]
Adds support for offset and binary parameters

Thus support for handling unknow document types. Still lacks option to
show binary response.

11 years agoClears user info when changing service URL
Niels Erik G. Nielsen [Thu, 25 Apr 2013 16:33:31 +0000 (12:33 -0400)]
Clears user info when changing service URL

11 years agoAdds to debug info regarding activeclients
Niels Erik G. Nielsen [Thu, 25 Apr 2013 16:32:17 +0000 (12:32 -0400)]
Adds to debug info regarding activeclients

11 years agoAdds support for 'acefilter' parameter to record command
Niels Erik G. Nielsen [Thu, 25 Apr 2013 16:29:21 +0000 (12:29 -0400)]
Adds support for 'acefilter' parameter to record command

11 years agoDo record despite no previous search IF it has recordquery.
Niels Erik G. Nielsen [Wed, 24 Apr 2013 21:13:04 +0000 (17:13 -0400)]
Do record despite no previous search IF it has recordquery.

And defaults UI accessible serviceProxyUrl from config

11 years agoAdds SP extensions to Pazpar2 commands and parameters
Niels Erik G. Nielsen [Wed, 24 Apr 2013 21:10:05 +0000 (17:10 -0400)]
Adds SP extensions to Pazpar2 commands and parameters

11 years agoAdds remaining command parameters ref. Pazpar2 protocol doc.
Niels Erik G. Nielsen [Mon, 22 Apr 2013 20:50:15 +0000 (16:50 -0400)]
Adds remaining command parameters ref. Pazpar2 protocol doc.

11 years agoAdds error listener to alert user. Formats code.
Niels Erik G. Nielsen [Mon, 22 Apr 2013 17:15:25 +0000 (13:15 -0400)]
Adds error listener to alert user. Formats code.

11 years agoFixes NPE causing page to fail on facet being absent
Niels Erik G. Nielsen [Sun, 21 Apr 2013 13:21:28 +0000 (09:21 -0400)]
Fixes NPE causing page to fail on facet being absent

11 years agoAttempts to avoid passivation errors due to http-client
Niels Erik G. Nielsen [Sun, 21 Apr 2013 13:20:12 +0000 (09:20 -0400)]
Attempts to avoid passivation errors due to http-client

11 years agoAdds some debug log statements for target filter
Niels Erik G. Nielsen [Sun, 21 Apr 2013 13:19:23 +0000 (09:19 -0400)]
Adds some debug log statements for target filter

11 years agoAdds IP authentication to SP client
Niels Erik G. Nielsen [Sun, 21 Apr 2013 13:18:30 +0000 (09:18 -0400)]
Adds IP authentication to SP client

11 years agoChanges project title and description.
Niels Erik G. Nielsen [Wed, 17 Apr 2013 16:35:02 +0000 (12:35 -0400)]
Changes project title and description.

11 years agoAdds demo auth method. Tweaks polling & state fields setup.
Niels Erik G. Nielsen [Wed, 17 Apr 2013 16:28:39 +0000 (12:28 -0400)]
Adds demo auth method. Tweaks polling & state fields setup.

Adds a method for automatic authentication from demo.

Tweaks naming and location for specialty fields for pazpar2 polling
and browser history handling.

11 years agoRenames pz2utils4jsf package to mkjsf
Niels Erik G. Nielsen [Mon, 15 Apr 2013 23:31:43 +0000 (19:31 -0400)]
Renames pz2utils4jsf package to mkjsf

11 years agoRenames project from pz2utils4jsf to mkjsf
Niels Erik G. Nielsen [Mon, 15 Apr 2013 23:21:31 +0000 (19:21 -0400)]
Renames project from pz2utils4jsf to mkjsf

11 years agoSets up error central. Lets page author decide to show.
Niels Erik G. Nielsen [Mon, 15 Apr 2013 22:14:11 +0000 (18:14 -0400)]
Sets up error central. Lets page author decide to show.

Creates a separate error container, exposed to the Faces pages as 'errors'.

The page author decides whether and where to show errors, which so
far come in two categories: configuration errors and request errors.

11 years agoVarious fixes, clean-up, logs, documentation
Niels Erik G. Nielsen [Mon, 15 Apr 2013 19:37:12 +0000 (15:37 -0400)]
Various fixes, clean-up, logs, documentation

 Reinstates error helper that went missing during refactoring

 Removes XML declaration from pazpar2 error responses in order to
 inject the XML itself into an application error XML document.

 Straightens some log statements

 Moves WELD-001303 error documentation aside (as it is not relevant
 with current approach)

11 years agoFixes error object reference
Niels Erik G. Nielsen [Mon, 15 Apr 2013 19:27:14 +0000 (15:27 -0400)]
Fixes error object reference

11 years agoSimplifies state handling further
Niels Erik G. Nielsen [Mon, 15 Apr 2013 13:22:09 +0000 (09:22 -0400)]
Simplifies state handling further

Postpones cloning of a command to the time when it's actually modified,
then pushes it to the state handler transparently.
Obviates the need to checkout a command for modification vs.
getting it read-only.
Recently introduced CommandReadOnly interface is consequently dropped again.

11 years agoAmmends some fringe scenarios with state keys and states
Niels Erik G. Nielsen [Mon, 15 Apr 2013 01:37:14 +0000 (21:37 -0400)]
Ammends some fringe scenarios with state keys and states

.. also makes state key a hashcode - to shorten it and because the
   textual key would often not seem quite accurate - even though it
   would accurately fetch the correct state -- and thus could cause
   confusion for one inspecting it

11 years agoFixes missing subscription to state changes by SP bean
Niels Erik G. Nielsen [Mon, 15 Apr 2013 01:29:46 +0000 (21:29 -0400)]
Fixes missing subscription to state changes by SP bean

11 years agoFixes resetting of commands on login (SP)
Niels Erik G. Nielsen [Sun, 14 Apr 2013 23:55:47 +0000 (19:55 -0400)]
Fixes resetting of commands on login (SP)

.. enables resetting of commands without state changing

11 years agoAdds space between debug messages
Niels Erik G. Nielsen [Sun, 14 Apr 2013 23:31:10 +0000 (19:31 -0400)]
Adds space between debug messages

11 years agoAvoids state changes on cascading command updates
Niels Erik G. Nielsen [Sun, 14 Apr 2013 23:30:27 +0000 (19:30 -0400)]
Avoids state changes on cascading command updates

.. when a new query changes the state, and the record command
   is reset due to the new search, the reset process should not
   trigger yet another state change

11 years agoAdds more parameters to commands
Niels Erik G. Nielsen [Sun, 14 Apr 2013 20:19:29 +0000 (16:19 -0400)]
Adds more parameters to commands

To extend the Pazpar2 protocol support in form of named methods. It's possible,
though, to set 'unsupported' parameters with the generic
setParameter("command","param",param) method

11 years agoRenames pz2 response object in pager too
Niels Erik G. Nielsen [Sun, 14 Apr 2013 13:48:05 +0000 (09:48 -0400)]
Renames pz2 response object in pager too

11 years agoRenames pz2 requests,responses to pzreq,pzresp throughout
Niels Erik G. Nielsen [Sun, 14 Apr 2013 13:42:17 +0000 (09:42 -0400)]
Renames pz2 requests,responses to pzreq,pzresp throughout

11 years agoMoves parameter expression class to commands package
Niels Erik G. Nielsen [Sun, 14 Apr 2013 13:11:43 +0000 (09:11 -0400)]
Moves parameter expression class to commands package

11 years agoMoves response objects from pz2 bean to dedicated bean
Niels Erik G. Nielsen [Sun, 14 Apr 2013 04:51:32 +0000 (00:51 -0400)]
Moves response objects from pz2 bean to dedicated bean

... like commands were factored out of the main bean, so are
response data objects now

... this commit also drops the distinction between bean and session,
    all session methods (that are not commands or response methods)
    moved to the bean and the session object dropped

11 years agoMoves single-target-filter class to commands package
Niels Erik G. Nielsen [Sat, 13 Apr 2013 20:04:14 +0000 (16:04 -0400)]
Moves single-target-filter class to commands package

11 years agoMoves filter settings from pz2 bean to search command
Niels Erik G. Nielsen [Sat, 13 Apr 2013 19:53:44 +0000 (15:53 -0400)]
Moves filter settings from pz2 bean to search command

11 years agoMoves record parameter settings from pz2 bean to record cmd
Niels Erik G. Nielsen [Sat, 13 Apr 2013 18:41:29 +0000 (14:41 -0400)]
Moves record parameter settings from pz2 bean to record cmd

11 years agoMoves more search and show methods
Niels Erik G. Nielsen [Sat, 13 Apr 2013 18:13:06 +0000 (14:13 -0400)]
Moves more search and show methods

.. out of general the pz2 bean and into the respective pz2
   command objects

11 years agoCreates read-only command for optimization
Niels Erik G. Nielsen [Sat, 13 Apr 2013 17:18:09 +0000 (13:18 -0400)]
Creates read-only command for optimization

When a class retrieves a command, it's 'checked out' from the state
manager, meaning that it is cloned as to not mutate the current state
in case the command has it's parameters modified.

Oftentimes cloning is obsolete however - when the client only wants to
read the values - ie. for log statements or for actual execution.

11 years agoSets all auth params at once to avoid state proliferation
Niels Erik G. Nielsen [Sat, 13 Apr 2013 12:20:03 +0000 (08:20 -0400)]
Sets all auth params at once to avoid state proliferation

11 years agoFixes scope for sp session bean. Fixes log statements.
Niels Erik G. Nielsen [Sat, 13 Apr 2013 12:17:14 +0000 (08:17 -0400)]
Fixes scope for sp session bean. Fixes log statements.

11 years agoMore work on commands, statemgmt, EL references
Niels Erik G. Nielsen [Sat, 13 Apr 2013 05:30:35 +0000 (01:30 -0400)]
More work on commands, statemgmt, EL references

Attempts to make state management still more transparent to
the logic of setting command parameters - basically in order
to allow command parameter settings to get arbitrarily complex
without having to worry more than necessary about state handling

Extracts commands to a separate class for EL access (from pages) -
Can thus be referenced like, say, req.search.query for setting the query
parameter of the search command. Attempts to reduce the number of
methods on the pz2 object, which was gradually becoming less
manageable.

Creates a dedicated class for each pazpar2 command for type-safe
setting of parameters and to manage complexity.

Fixes missing faces-config.xml (might have caused the CDI
framework to NOT scan the pz2utils4jsf jar for all annotations).

Uses listener pattern to alert the session object about state
changes.

11 years agoDo some resetting of session on login
Niels Erik G. Nielsen [Fri, 12 Apr 2013 02:46:43 +0000 (22:46 -0400)]
Do some resetting of session on login

11 years agoDocumentation
Niels Erik G. Nielsen [Thu, 11 Apr 2013 17:54:25 +0000 (13:54 -0400)]
Documentation

11 years agoAdds Ajax listener to detect view expirations
Niels Erik G. Nielsen [Thu, 11 Apr 2013 15:56:55 +0000 (11:56 -0400)]
Adds Ajax listener to detect view expirations

.. and reload page, stripped of its jsessionid and hash content

11 years agoCosmetic
Niels Erik G. Nielsen [Thu, 11 Apr 2013 15:55:01 +0000 (11:55 -0400)]
Cosmetic

11 years agoSome javadoc
Niels Erik G. Nielsen [Wed, 10 Apr 2013 17:25:00 +0000 (13:25 -0400)]
Some javadoc

11 years agoRefactors state management
Niels Erik G. Nielsen [Wed, 10 Apr 2013 17:05:59 +0000 (13:05 -0400)]
Refactors state management

.. with the intend to decouple the complexities of setting up
commands and parameters from the maintenance of state (before
the state manager was involved in every setting of parameters,
in order to detect and record the change of state. Now it
just recieves a copy of the complete command after the fact, and
doesn't need to know about command parameters.

11 years agoCleans up obsolete methods
Niels Erik G. Nielsen [Tue, 9 Apr 2013 21:20:44 +0000 (17:20 -0400)]
Cleans up obsolete methods

11 years agoDowngrades class to Java 1.6, reduces logging
Niels Erik G. Nielsen [Tue, 9 Apr 2013 21:20:01 +0000 (17:20 -0400)]
Downgrades class to Java 1.6, reduces logging

11 years agoAdditional downgrade details (1.7 to 1.6)
Niels Erik G. Nielsen [Fri, 5 Apr 2013 21:58:18 +0000 (17:58 -0400)]
Additional downgrade details (1.7 to 1.6)

11 years agoDowngrades to Java 1.6 to run demo on Debian Wheezy
Niels Erik G. Nielsen [Fri, 5 Apr 2013 21:44:54 +0000 (17:44 -0400)]
Downgrades to Java 1.6 to run demo on Debian Wheezy

11 years agoAdds support for supplying SP init doc as byte array
Niels Erik G. Nielsen [Fri, 5 Apr 2013 16:25:34 +0000 (12:25 -0400)]
Adds support for supplying SP init doc as byte array

11 years agoFixes npe when changing SP URL on the fly
Niels Erik G. Nielsen [Fri, 5 Apr 2013 16:20:52 +0000 (12:20 -0400)]
Fixes npe when changing SP URL on the fly

11 years agoSupport for posting init doc to SP
Niels Erik G. Nielsen [Thu, 4 Apr 2013 19:59:17 +0000 (15:59 -0400)]
Support for posting init doc to SP

11 years agoAdds option to return Pazpar2/SP response XML
Niels Erik G. Nielsen [Thu, 4 Apr 2013 19:57:31 +0000 (15:57 -0400)]
Adds option to return Pazpar2/SP response XML

11 years agoAdds filter attribute, renames target id filter attribute
Niels Erik G. Nielsen [Thu, 4 Apr 2013 19:56:23 +0000 (15:56 -0400)]
Adds filter attribute, renames target id filter attribute

11 years agoMinor clean up
Niels Erik G. Nielsen [Thu, 4 Apr 2013 19:40:04 +0000 (15:40 -0400)]
Minor clean up

11 years agoExposing configuration for use in upper layers
Niels Erik G. Nielsen [Thu, 4 Apr 2013 18:35:33 +0000 (14:35 -0400)]
Exposing configuration for use in upper layers

11 years agoAdds polling for record command (WiP)
Niels Erik G. Nielsen [Sat, 30 Mar 2013 06:59:00 +0000 (23:59 -0700)]
Adds polling for record command (WiP)

11 years agoAmmends record command logic
Niels Erik G. Nielsen [Sat, 30 Mar 2013 01:27:24 +0000 (18:27 -0700)]
Ammends record command logic

11 years agoInit doc test page refresh
Niels Erik G. Nielsen [Mon, 25 Mar 2013 14:16:33 +0000 (10:16 -0400)]
Init doc test page refresh

11 years agoAdds option to post sp init doc, see xml, change sp url
Niels Erik G. Nielsen [Sun, 24 Mar 2013 05:35:12 +0000 (01:35 -0400)]
Adds option to post sp init doc, see xml, change sp url

11 years agoAligns naming. Moves most SP classes to sp package.
Niels Erik G. Nielsen [Thu, 21 Mar 2013 00:29:02 +0000 (20:29 -0400)]
Aligns naming. Moves most SP classes to sp package.

11 years agoGeneralizes and distinguishes - pz2 and sp. Adds auth.
Niels Erik G. Nielsen [Thu, 21 Mar 2013 00:12:27 +0000 (20:12 -0400)]
Generalizes and distinguishes - pz2 and sp. Adds auth.

Work in progress on class structure for pazpar2 and SP sessions
respectively. Currently based on injecting either Pz2Bean or SpBean
as Alternative's.

11 years agoPuts error reports back in place
Niels Erik G. Nielsen [Sat, 16 Mar 2013 01:31:55 +0000 (21:31 -0400)]
Puts error reports back in place

11 years agoFixes config file path resolution issues
Niels Erik G. Nielsen [Sat, 16 Mar 2013 00:57:50 +0000 (20:57 -0400)]
Fixes config file path resolution issues

11 years agoDocumentation
Niels Erik G. Nielsen [Sat, 16 Mar 2013 00:56:14 +0000 (20:56 -0400)]
Documentation

11 years agoService proxy client and configuration schemes
Niels Erik G. Nielsen [Fri, 15 Mar 2013 20:12:02 +0000 (16:12 -0400)]
Service proxy client and configuration schemes

SP client almost functionable.

Also refactoring of configuration scheme - loosens tie to MasterKey
configuration scheme and to any particular configurable modules.

11 years agoMaking room for a Service Proxy client
Niels Erik G. Nielsen [Thu, 14 Mar 2013 17:11:09 +0000 (13:11 -0400)]
Making room for a Service Proxy client

Work in progress for building in SP support alongside straight
Pazpar2 support, generalizing a 'SearchClient' for the purpose

11 years agoSanitary
Niels Erik G. Nielsen [Thu, 14 Mar 2013 01:27:38 +0000 (21:27 -0400)]
Sanitary

11 years agoAdding errors to be handled. Organizing error handling.
Niels Erik G. Nielsen [Wed, 13 Mar 2013 15:09:17 +0000 (11:09 -0400)]
Adding errors to be handled. Organizing error handling.

11 years agoCatches and reports missing web.xml init parameter
Niels Erik G. Nielsen [Wed, 13 Mar 2013 11:14:27 +0000 (07:14 -0400)]
Catches and reports missing web.xml init parameter

11 years agoMore on branching builds by servers
Niels Erik G. Nielsen [Wed, 13 Mar 2013 11:13:11 +0000 (07:13 -0400)]
More on branching builds by servers

11 years agoAttempts to solve some Eclipse/Maven discrepancy
Niels Erik G. Nielsen [Tue, 12 Mar 2013 20:39:56 +0000 (16:39 -0400)]
Attempts to solve some Eclipse/Maven discrepancy

11 years ago-
Niels Erik G. Nielsen [Tue, 12 Mar 2013 20:39:17 +0000 (16:39 -0400)]
-

11 years agoMerge branch 'temp'
Niels Erik G. Nielsen [Tue, 12 Mar 2013 20:38:03 +0000 (16:38 -0400)]
Merge branch 'temp'

Conflicts:
src/main/java/com/indexdata/pz2utils4jsf/config/Pz2Config.java

11 years agoAvoids npe when no config file path
Niels Erik G. Nielsen [Tue, 12 Mar 2013 20:22:59 +0000 (16:22 -0400)]
Avoids npe when no config file path

11 years agoExperimenting with tomcat/jboss/glassfish
Niels Erik G. Nielsen [Tue, 12 Mar 2013 19:06:31 +0000 (15:06 -0400)]
Experimenting with tomcat/jboss/glassfish

11 years agoWork on error handling
Niels Erik G. Nielsen [Mon, 11 Mar 2013 11:01:24 +0000 (07:01 -0400)]
Work on error handling

Fix throw of missing mandatory parameter and write suggestion
Documentation
Some renaming

11 years agoAvoids npe in case of main config file missing
Niels Erik G. Nielsen [Sat, 9 Mar 2013 04:56:33 +0000 (23:56 -0500)]
Avoids npe in case of main config file missing

.. and diagnose the scenario for troubleshooting

11 years agoEmbeds pz2 error XML, if any, in the app error XML
Niels Erik G. Nielsen [Sat, 9 Mar 2013 04:20:18 +0000 (23:20 -0500)]
Embeds pz2 error XML, if any, in the app error XML

11 years agoWork in progress on error detect,report,troubleshoot
Niels Erik G. Nielsen [Fri, 8 Mar 2013 22:38:11 +0000 (17:38 -0500)]
Work in progress on error detect,report,troubleshoot

Adds configuration errors (had command errors)
Resolves more errors
Adds more suggestions

11 years agoWork on error reporting. Adds troubleshooter.
Niels Erik G. Nielsen [Fri, 8 Mar 2013 17:44:32 +0000 (12:44 -0500)]
Work on error reporting. Adds troubleshooter.

11 years agoPackaging pazpar2/io error messages in response objects
Niels Erik G. Nielsen [Thu, 7 Mar 2013 17:07:49 +0000 (12:07 -0500)]
Packaging pazpar2/io error messages in response objects

For return to and display in the UI

11 years agoDebug stmts and fix for double object instantiation
Niels Erik G. Nielsen [Wed, 6 Mar 2013 23:12:01 +0000 (18:12 -0500)]
Debug stmts and fix for double object instantiation

Spurious objects created by CDI due to the way some of the
pz2 bean and config constructors where written.

11 years agoFixes support for posting pz2 service definition xml
Niels Erik G. Nielsen [Tue, 5 Mar 2013 16:41:26 +0000 (11:41 -0500)]
Fixes support for posting pz2 service definition xml

11 years agoAdds another config option (by MasterKey config)
Niels Erik G. Nielsen [Mon, 4 Mar 2013 21:56:57 +0000 (16:56 -0500)]
Adds another config option (by MasterKey config)

11 years agoAdds injectable pazpar2 client configs
Niels Erik G. Nielsen [Mon, 4 Mar 2013 18:12:03 +0000 (13:12 -0500)]
Adds injectable pazpar2 client configs

To allow users of the toolkit a freedom of choice regarding
configuration scheme (ie web.xml, property file, masterkey configuration
scheme, etc)

11 years agoWork-in-progress on interchangeable config mechanisms
Niels Erik G. Nielsen [Fri, 1 Mar 2013 17:26:31 +0000 (12:26 -0500)]
Work-in-progress on interchangeable config mechanisms

11 years agoRenames "controls" to "pz2widgets"
Niels Erik G. Nielsen [Fri, 1 Mar 2013 00:46:09 +0000 (19:46 -0500)]
Renames "controls" to "pz2widgets"

11 years agoRemoves non-generic elements from utility package
Niels Erik G. Nielsen [Fri, 1 Mar 2013 00:45:49 +0000 (19:45 -0500)]
Removes non-generic elements from utility package

11 years agoAdds beans and configs
Niels Erik G. Nielsen [Thu, 28 Feb 2013 21:51:52 +0000 (16:51 -0500)]
Adds beans and configs

11 years agoAdds Weld (CDI) dependency
Niels Erik G. Nielsen [Thu, 28 Feb 2013 21:51:22 +0000 (16:51 -0500)]
Adds Weld (CDI) dependency

11 years agoAdds pazpar2 listeners
Niels Erik G. Nielsen [Thu, 28 Feb 2013 02:12:45 +0000 (21:12 -0500)]
Adds pazpar2 listeners