v1.8.0 (August 23, 2021)
- Support the language
javascript-node14
- Update access token handling
v1.7.5 (June 10, 2021)
- Add the property
extra-headers
in.flexer.yaml
to specify additional headers. - Add
--extra-header
param toflexer config add-region
to specify the above.
v1.7.4 (July 30, 2020)
- Fixed bug causing the message
execute() got an unexpected keyword argument 'async'
v1.7.3 (Feb 14, 2020)
- Testing credential validation now allows exception to be returned
v1.7.2 (Nov 05, 2019)
- Add support for handlers file on flexer upload
v1.7.1 (Oct 02, 2019)
- Print the payload of API error responses in the CLI tool
v1.7.0 (Sep 27, 2019)
- Remove result validation
v1.6.11 (Sep 04, 2019)
- Update
event_sources
,languages
andsync
parameters.
v1.6.10 (Aug 12, 2019)
- Update metric pattern to allow specialisations
v1.6.9 (Aug 12, 2019)
- Update requirements.txt
v1.6.8 (Aug 12, 2019)
- Only import MongoClient from pymongo
v1.6.7 (Aug 12, 2019)
- Pinning pymongo version to 3.6.0 (@surbias)
v1.6.6 (Aug 9, 2019)
v1.6.5 (Apr 26, 2019)
- Use new PyYAML 5.1 loader method to remove warning #72 (@lukewallis)
v1.6.4 (Apr 18, 2019)
- Add a new
resource-action
event source #70 (@ka0riito) - Pin jsonschema to the last working version before the major version jump #71 (@twosevenska)
v1.6.3 (Feb 09, 2019)
- Add user_name to the Context object
v1.6.2 (Dec 04, 2018)
- Send a useful User-Agent header from the CMP client #69 (@benpaxton-hf)
v1.6.1 (Oct 29, 2018)
- Rename async variables to prevent invalid syntax in Python3 #67 (@lcayolap)
- Fixed issue with filter len for Python3 #68 (@lcayolap)
v1.6.0 (Sep 06, 2018)
- Change the rest-api response header values validation from a list of strings to a string
v1.5.2 (Aug 08, 2018)
v1.5.1 (July 24, 2018)
- Unpin jsonschema
v1.5.0 (June 29, 2018)
- Add region, platform and version (flexer version) fields to the Context object
- Add customer_id and user_id fields to the Context object from the module execution request
v1.4.3 (June 18, 2018)
- Remove validation of resource_type
v1.4.2 (May 23, 2018)
v1.4.1 (Apr 30, 2018)
- Do not use parse_requirements from pip as its no longer exposed after version 10 #63 (@praveenabraham)
v1.4.0 (Feb 21, 2018)
- Add validation for the MongoDB connection strings in the
context.database
method
v1.3.31 (Jan 30, 2018)
v1.3.30 (Jan 29, 2018)
v1.3.29 (Jan 25, 2018)
v1.3.28 (Jan 25, 2018)
v1.3.27 (Dec 22, 2017)
- Add validation for currencies in the spend connectors #58 (@praveenabraham)
v1.3.26 (Nov 22, 2017)
- Update the expected level values for status connectors
- Run the validators for connector result payload in the base tests
v1.3.25 (Nov 22, 2017)
- Update the expected format of the metrics, logs and status connectors event
v1.3.24 (Oct 24, 2017)
- Add a new
cmp-connector.status
event source and base connector tests for it - Add a new
rest-api
event source
v1.3.23 (Oct 11, 2017)
- Don't require the
body
field in the result ofrest-api
modules if thestatus_code
is 204
v1.3.22 (Oct 10, 2017)
- Change
last_update
field in the logs connector result to be either a timestamp or a number
v1.3.21 (Oct 5, 2017)
- Fix spend validation schemas #53 (@praveenabraham)
v1.3.20 (Sep 29, 2017)
- Add an
--event-source
parameter toflexer run
and update the spend validation #52 (@praveenabraham)
v1.3.19 (Sep 22, 2017)
- Make
expected_metrics
andexpected_logs
config fields optional #49 (@k-yoshihara) - Simplify the assertions in the logs and metrics connector tests #50 (@k-yoshihara)
- Support the
--auth
parameter in thetest
command
v1.3.18 (Sep 22, 2017)
- Add
amount_accumulative
into the spend schema and test it #46 (@victorliun)
v1.3.17 (Sep 20, 2017)
v1.3.16 (Sep 19, 2017)
- Add spend JSON schema validator #44 (@victorliun)
v1.3.15 (Sep 19, 2017)
v1.3.14 (Sep 15, 2017)
- Add support to test
get_logs
in multiple regions.resource
andlogs_resource
are now optional #41 (@Surbias)
v1.3.13 (Sep 13, 2017)
- Add validation for the serverity key in the
get_logs
result #39 (@k-yoshihara)
v1.3.12 (Sep 11, 2017)
- Add base connector tets for the
get_logs
handler #38 (@k-yoshihara)
v1.3.11 (Sep 05, 2017)
- Add SSL and timeout options to the pymongo client (context.database)
- Fix the context.log error handling #36 (@Surbias)
- Add
original_metric
property to the metrics connector results #37 (@Surbias)
v1.3.10 (Aug 30, 2017)
v1.3.9 (Aug 29, 2017)
- Add support for NflexDB, via context.database method
v1.3.8 (Aug 25, 2017)
- Support multiple resources in config.yaml #34 (@SafariMonkey)
v1.3.7 (Aug 24, 2017)
- Add --keywords option to flexer test command to allow selecting which test cases to run
- Send a
nosync=true
parameter when patching zip modules as uploading the zip file will trigger a notification anyway
v1.3.6 (Aug 07, 2017)
- Relax timestamp validation for
get_logs()
v1.3.5 (Aug 07, 2017)
- Add
context.state.delete
andcontext.state.delete_multi
methods to clean up keys from the module state
v1.3.4 (Aug 01, 2017)
v1.3.3 (Jul 28, 2017)
- Add validation for rest-api modules
- Fix the runner to return a null value if there are validation errors
v1.3.2 (Jul 28, 2017)
v1.3.1 (Jul 26, 2017)
- Add CLI tool support for go (Go 1.8.3)
v1.3.0 (Jul 21, 2017)
- Add support for python3
v1.2.10 (Jul 20, 2017)
- Added circuit resource type to flexer #31 (@emlynfelix)
v1.2.9 (Jul 12, 2017)
v1.2.8 (Jul 03, 2017)
- Fix the error handling in the FlexerRemoteState object
v1.2.7 (Jun 29, 2017)
- Added dummy resource information
v1.2.6 (Jun 29, 2017)
- Exit with 1 error code if there are any test failures
- Add Hush parameters to flexer test
- Add Hush parameters to flexer run cli
v1.2.5 (Jun 08, 2017)
- Added more connector credentials validation tests
- Moved module lib path before system lib when running the flexer cli
v1.2.4 (Jun 01, 2017)
- Automatically generate a config file with no credentials if not present
v1.2.3 (Jun 01, 2017)
- Add a
flexer config add-region
sub-command - Add a
--version
parameter
- Print the results from executions to stdout instead of stderr
- Add the six requirement so the tool can be successfully installed in a virtual environment with setuptools>=34.0.0
- Fix a typo in the module update command output
v1.2.2 (May 31, 2017)
- Update the config cmp credentials keys in the base connector tests
v1.2.1 (May 31, 2017)
- Run
flexer config
if a config file is not found
v1.2.0 (May 31, 2017)
- BREAKING: Add support for multiple CMP regions to the config file and change the format to YAML. This requires running
flexer config
again - Add a
flexer delete
command for deleting modules from nFlex - Add a
flexer show
command for showing nFlex module details - Add a
flexer logs
command for showing nFlex module execution logs - Add a
flexer build
command for building module zip files from requirements.txt files - Add a
flexer execute
command for running nFlex modules remotely on a CMP region - Add a
flexer test
command to run base connector tests against a connector in development - Update the list of allowed event sources
- Allow updating module descriptions with the
flexer update
command - Redirect any output from the tool or the local module execution to stderr
- Redirect the return value of a module execution to stdout, useful for piping to curl and similar commands
- Display the module description in the
flexer list
output - Update the help messages for all flexer commands
- Fix the error handling for failed API requests to CMP
- Fix the
context.mail
method crashing when an exception is raised
v1.1.7 (Apr 24, 2017)
- Fix the nFlex client _post_file method to properly handle zip file uploads
v1.1.6 (Apr 18, 2017)
- Add an optional resource_id to the get_metrics validation schema #16 (@ukinau)
- Update the get_resources validation
v1.1.5 (Apr 12, 2017)
- Add resource_id to the context.log request payload so logs would appear in the module details page
- Add context.api.put_file method and rename the context.api.post_file method parameters
v1.1.4 (Mar 22, 2017)
- Add locations to get_resources validation #15 (@freewilll)
v1.1.3 (Mar 20, 2017)
- Add support for CMP access tokens to the CMP client
v1.1.2 (Mar 16, 2017)
- Update the validation for data returned from the get_resources handler of cmp-connectors #13 (@prav-ab)
v1.1.1 (Mar 16, 2017)
- Add feature: --config parameter to "flexer run"
- Update the list of supported event sources
v1.1.0 (Feb 15, 2017)
v1.0.13 (Jan 25, 2017)
- Add client for new nFlex state API, falling back to a local dictionary if not running via nFlex
v1.0.12 (Jan 19, 2017)
- Add "application/json" Content-Type to the CMP client
v1.0.11 (Jan 18, 2017)
- Fix for Windows
v1.0.10 (Jan 17, 2017)
- Fix the module upload command
v1.0.9 (Jan 17, 2017)
- Add validation for data returned from metrics connectors and monitors
- Add a config field to the flexer context so local executions don't fail
v1.0.8 (Jan 12, 2017)
- Update the list of supported event sources
- Update the module list view to display the owner and the language of the modules
- Rename the cmp_username and cmp_password keys in the config file to cmp_api_key and cmp_api_secret respectively (Breaking change! You will have to modify the keys in the ~/.flexer.json config file or re-run the config command)
- Fix the list command to show all modules using the nFlex API pagination
v1.0.7 (Jan 12, 2017)
- Add colo to get_resources validation #5 (@freewilll)
v1.0.6 (Jan 09, 2017)
v1.0.5 (Dec 12, 2016)
- Add state for nFlex modules
v1.0.4 (Oct 26, 2016)
- Add delete method to the CMP client #1 (@shin-chang)
- Add examples for cmp-connectors
v1.0.3 (Oct 13, 2016)
- Fix the default CMP URL to use the https scheme
v1.0.2 (Oct 13, 2016)
- Remove the pager from the print_modules method
- Disable SSL warnings of the urllib3 library
- Add README.md to the MANIFEST.in file
v1.0.1 (Oct 13, 2016)
- Fix the upload Make target