usy_initdata_loaderg01
v0.24.0
Published
Initial data loader for uuApp.
Downloads
77
Readme
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
incommand.authorization
does not requireuid
- 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
- add support for specification
retryPolicy
in configuration and at command level (https://uuapp.plus4u.net/uu-bookkit-maing01/2590bf997d264d959b9d6a88ee1d0ff5/book/page?code=uuAppClientReferenceDocumentation_00)
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 ofpath.join
to support absolute path
0.7.1
- Verbose flag set log_level for
InitData
logger toDEBUG
- 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