plugin-spaceone-inven-collector is an Inventory Collector Plugin for SpaceONE, designed to collect resources from Github. This plugin has been developed with a new plugin framework.
Since the current spaceone-inventory package is in a pre-release state, follow the steps below to configure the package.
Set up a virtual environment using the venv library.
python3 -m venv venvsource venv/bin/activateInstall the package with the following commands in the created virtual environment.
pip3 install -r pkg/pip_requirements.txt
pip3 install --pre spaceone-inventoryIf you are using PyCharm, configure the virtual environment as the interpreter.

After following the above steps, run the Plugin Server.

After running the Plugin Server, perform tests for each method with the following commands.
spacectl api-resourcesspacectl exec init inventory.Collector -f test/init.yml
spacectl exec verify inventory.Collector -f test/verify.ymlspacectl exec collect inventory.Collector -f test/collect.ymlMetadata will be defined as a dictionary and will be converted to YAML.
The spaceone-inventory package is in a pre-release state, so the --pre option must be added when using pip install.