0.24.0 • Published 27 days ago

usy_initdata_loaderg01 v0.24.0

Weekly downloads
85
License
Licence Commercia...
Repository
-
Last release
27 days ago

This tool allows to load init data to any uuApp.

How to install and update ?

npm install --registry "https://repo.plus4u.net/repository/npm/" -g usy_initdata_loaderg01

How to install beta version ?

Use usy_initdata_loaderg01@beta instead of usy_initdata_loaderg01 in previous command calls.

How to use ?

  • usy_initdata_loaderg01 --help

Release notes

0.24.0

  • add support for specify alias in identityMap to use instead of uid when obtaining credentials from vault

0.23.2

  • extension for testrunnerg01: loadScripts function support dataset array

0.23.1

  • hotfix: add support for global scripts (_before and _after) didnot use dirname of dataset
  • bugfix: actAs in command.authorization does not require uid
  • bugfix: logging actAs

0.23.0

  • add support for global scripts (_before and _after)

0.22.0

  • Bugfix: Removed custom cache for user sessions to rely on authentication service cache, which handles token expiration (gets new token before the current one expires).
  • Add support for browser strategy in identityMap

0.21.2

  • Bugfix: Support for dev OIDC. For each user initial scope can be defined.

0.21.1

  • Bugfix: Support single non-array value of allowedErrorCode

0.21.0

  • Feature: add suport to actAs different identity(enabled by authorization.actAs at each commmand)

0.20.2

  • Bugfix: waitFor with anyValue = true and result of path expression = undefined has been incorrectly evaluated as true

0.20.1

  • Bugfix: all error were allowed

0.20.0

  • add suport for nested allowedErrorCodes

0.19.2

  • bug fix: do not have undefined context in included dataset
  • bug fix: ensure that result into context is set only when contextKey is set

0.19.1

  • bug fix: _before scripts did not work on Windows

0.19.0

  • add support for _before scripts

0.18.0

0.17.1

  • use https in repository url in README

0.17.0

  • support gateway override per subApp

0.16.0

  • dataset coul contain more datasets as array (see usy_initdata_loaderg01/test/jokes/0001-multipleDatasetsInOne/001-createJoke.js)

0.15.1

  • remove hardcoded scope for OIDC token. Rely on uu_app_oidc_providers_<%name%>_default_call_token_scope_mode property.

0.15.0

  • add to metacommand posibility ro specify subAppUri in executCommandCallback ( see usy_initdata_loaderg01/test/testSets/metacommands/metacommand_proxy.js)

0.14.1

  • hotfix in lazy authentication

0.14.0

  • support for getting token (useful for schedulling jobs)

0.13.0

  • support dataset as function (see usy_initdata_test-runnerg01/jokes-test/datasetAsFunction)
  • support dtoOut transformation (see usy_initdata_test-runnerg01/jokes-test/tests/uu-jokes-maing01/getProductLogo/hds)

0.12.3

  • fix token scope
  • fix command execution, so it waits for the result and does assert correctly

0.12.2

  • fix loading of optional parameters in expect

0.12.1

  • add support for run: "always" at command to cleanup after errors
  • add fail-on-error cli option to control error handling strategy

0.11.0

  • expect
    • put only filled parameters to expect
    • allow recursive paths (path as array)

0.10.0

  • add possibility to store dtoIn and dtoOut to context(using attribute contextKey) to be used in other datasets

0.9.0

  • support for asserts using "expect" or "validationSchema"
  • add support for dataset embedding using "dataSets" attribute

0.7.3

  • added option to override product code in the inventory using productCode key under the subApp. By default, productCode = subApp name, i.e. no change needed to existing inventories.

0.7.2

  • use path.resolve instead of path.join to support absolute path

0.7.1

  • Verbose flag set log_level for InitData logger to DEBUG
  • Add context parameter for meta-commands

0.7.0

  • Bugfix: fix "retry call for statuses 502, 404 and 503"
  • Add parameter --always-retry to retry command call in case of any errors (even the accepted errors)

0.6.4

  • Bugfix: fix "cannot read property verbose of undefined"

0.6.3

  • add retry call for statuses 502, 404 and 503

0.6.2

  • add verbose cli option

0.6.1

  • add support for metaCommands

0.6.0

  • add support waitFor condition in command call
  • add new version notifier
  • add options for excel file parser

0.5.0

  • update to excel-as-json2
  • support promise functions for *.js inventories and datasets

How to develop ?

Publish to npmjs:

npm publish --registry https://registry.npmjs.com

0.24.0

27 days ago

0.23.2

2 months ago

0.23.1

2 months ago

0.23.0

2 months ago

0.22.0

2 months ago

0.22.0-beta.0

11 months ago

0.21.0

1 year ago

0.21.2

1 year ago

0.21.1

1 year ago

0.20.1

1 year ago

0.20.0

1 year ago

0.20.2

1 year ago

0.19.2

2 years ago

0.19.0

2 years ago

0.19.1

2 years ago

0.17.0

2 years ago

0.18.0

2 years ago

0.17.1

2 years ago

0.16.0

3 years ago

0.15.1

3 years ago

0.15.0

3 years ago

0.14.1

3 years ago

0.14.0

3 years ago

0.13.0

3 years ago

0.11.0

3 years ago

0.12.0

3 years ago

0.12.1

3 years ago

0.12.2

3 years ago

0.12.3

3 years ago

0.10.0

3 years ago

0.9.0

3 years ago

0.9.0-beta.0

3 years ago

0.8.0-beta.0

3 years ago

0.7.3

3 years ago

0.7.2

3 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.4

4 years ago

0.6.3

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.5.0-beta.1

4 years ago

0.5.0-beta.0

4 years ago

0.5.0-beta.2

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago