Skip to content

Sensor "list_values" method limited to 100 keystore values #5097

@jamesdreid

Description

@jamesdreid

SUMMARY

The ST2 common "list_

STACKSTORM VERSION

st2 3.2.0, on Python 3.6.8

OS, environment, install method

Post what OS you are running this on, along with any other relevant information/

Centos8 - one-liner install

Steps to reproduce the problem

Implement a simple sensor that calls the "list_values(local=True, prefix=None)" method to retrieve the data from a keystore that contains more than 100 items.

Expected Results

Method should return all values from the keystore, regardless of the number of items or should include a limit option to select the number of results to be returned.

Actual Results

List of values returned by the method is limited to 100 due to the default value applied by the API.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions