Changelog base-components

Filter x

2021.2.1 (2021-06-08)

Fixed

  • Fixed issue where AccessInfoInterceptor would reject saveDetails actions when the user has modify rights, but not create rights.
  • Fixed ParamTargetValueBean#setParamTargetValue not updating existing values
  • Fixed ExecutorServiceTaskProcessor getting stuck when completionService.submit() throws an exception (e.g. when the executorService queue is too small)

2021.2.0 (2021-05-07)

Added

  • Added ExecutorServiceTaskProcessor, which uses an ExecutorService to perform tasks

2021.1.0 (2021-03-10)

Added

  • Added base-components-model:jar:model-components classifier containing only pure NS model (without harvest/etc.)

2021.0.1 (2021-01-18)

Fixed

  • EngineNodeUpdater now automatically removes EngineNodes with duplicate names during startup.

2021.0.0 (2021-01-14)

Fixed

  • Updated custom code in base-components to use most recent finders

2020.12.2 (2020-12-04)

Fixed

  • ParamTargetValueAgent.setParamTargetValue() now correctly sets the param field instead of the name to the given paramName.

2020.12.1 (2020-11-24)

Fixed

  • Fixed EmbeddedAssetUpload feature to work with change in expanders 4.11.1

2020.12.0 (2020-11-24)

Added

  • Added PTV support to configure a default user timeout value for accounts with Google authentication.

2020.11.3 (2020-11-10)

Fixed

  • Fixed issue with Register external asset button on Assets page.
  • Reverted implementation of LoginValidatorAction to proxy the login call though the Authentication element’s task, instead of calling the authentication pipeline in User directly.
  • Removed transaction from run-workflow methods

2020.11.2 (2020-10-23)

Fixed

  • Fixed an issue in the TimerHandlerBean where the timer would get stuck if the database failed when trying to retrieve the details projection of the EngineService.

2020.11.1 (2020-10-09)

Updated

  • Updated nsx-parent 2020.5 -> 2020.9.1

2020.11.0 (2020-09-24)

Added

  • A workflow can now be triggered with a POST request to /workflow/workflow-run-json.
    • to run it based on an engineService; You must define a dataRef engineService. E.g. http://localhost:9400/messageApp/workflow/workflow-run-json?engineService.name=MessageImportEngineService
    • to run it with a set of targetInstance; You must define a dataRef workflow and an array of dataRefs targetInstances. E.g. http://localhost:9400/messageApp/workflow/workflow-run-json with body:
      {
          "workflow": {
              "name": "MessageImportService"
          },
          "targetInstances": [
              {
                  "id": 351
              }
          ]
      }
      
  • In addition, the WorkflowAgent has new methods runWorkflowWithEngineService(DataRef engineService) and runWorkflowWithTargets(DataRef workflow, List<DataRef> targetInstances) that will trigger a workflow.

2020.10.0 (2020-07-16)

Added

  • [account] Added support for Google authentication. This is enabled by adding the ApplicationInstance option baseComponents.authentication.enableGoogleAuth. The value of this option should be the client ID that can be obtained from the Google API console. For more information refer to https://developers.google.com/identity/one-tap/web/guides/get-google-api-clientid.
  • [account] Added an ApplicationInstance option to disable the internal password authentication baseComponents.authentication.disableInternalAuth. This will not remove the mechanism to authenticate, but rather remove the login form from the UI and disable login in the struts action that processes the login.
  • [account] Added a new expanded authentication pipeline in the User element. This pipeline passes through the entire stack and ends up in its own new UserAuthenticationBean in the logic layer. This new bean class can be used to add additional authentication methods through expander features. Similar to finders and other pipelines, the type of the POJO sent through the pipeline determines the implication called.

Changed

  • [account] The internal password authentication implementation has moved to the new UserAuthenticationBean. The previous authentication system using the authentication TaskElement is still present and behaves the same as previously, but now serves as a proxy to the authentication pipeline.

2020.9.1 (2020-07-09)

  • Fixed issue in TimerHandlerBean that would set busy flag to false after any timer tick

2020.9.0 (2020-05-29)

  • Updated dependencies

2020.8.0 (2020-05-26)

Added

  • Support for external asset types defined in other components. These are represented by DataElements marked with the assets.implementsCustomAsset option. The value of this option is used as the name of the new asset type, or the name of the DataElement is used if no value is given in the option. An implementation stub is generated in the logic layer for the DataElement, where an AssetStream has to be provided upon retrieval or persisted when uploading.
  • Struts actions now enforce their specific http methods (same as if globalOptionSettings.enforceHttpMethod was always enabled)

2020.7.0 (2020-05-07)

Added

  • Added submodule base-components-model providing just the model resource without expanders

Changed

  • Renamed standard dependency from baseComponents to base-components

Removed

  • Removed cocoon ext code

2020.6.1 (2020-04-24)

Fixed

  • Store result of EngineNode name to prevent the name changing due to a changing hostname
  • Fix customizations for option jpa.entity.name.format

2020.6.0 (2020-04-10)

Fixed

  • Wrong class was used to check for TaskParameterContext constructors, resulting in context not being passed through as intended.

2020.5.0 (2020-03-19)

Fixed

  • AccessInfoRetrieverAction is now compatible with both struts 2.3 and 2.5

2020.4.0 (2020-03-06)

Added

  • Build baseComponents as expansion resource

2020.3.0 (2020-02-27)

Fixed

  • Fix issues with threading and create engineNodeService if missing

2020.2.0 (2020-02-07)

Changed

  • Updated AccessInfoRetrieveAction for struts 2.5

Removed

  • dependency jar files are no longer packaged

2020.1.0 (2020-01-22)

Added

  • WorkflowParameterContextFactory and StateTaskParameterContextFactory now pass the context through to parameterContext. The factories first check if the correct constructor is present, in case the application is expanded with an earlier expander version and thus a nsx-runtime version < 2019.7.1
  • Modified the label of workflow::Workflow::className to ‘Flow element name’ to better represent how the actual value is used.
  • Added clearer error message if workflow::Workflow::className is not correctly defined