vmware / vmware-aria-operations-integration-sdk

The VMware Aria Operations Integration SDK contains libraries, tools, and documentation for developing Management Packs for VMware Aria Operations. It is intended to make creating a Management Pack simple and fast, while allowing developers to use the language of their choice.
https://vmware.github.io/vmware-aria-operations-integration-sdk/
Apache License 2.0
13 stars 6 forks source link

REST Template MP #235

Closed kjrokos closed 11 months ago

kjrokos commented 11 months ago

Creates a Template MP for starting a project with a REST API. Uses the Pypi API as a starting point/example.

Resolves #228

Example Collection:

{
    "nonExistingObjects": [],
    "relationships": [],
    "result": [
        {
            "events": [],
            "key": {
                "adapterKind": "RESTTemplateMP",
                "identifiers": [],
                "name": "vmware-aria-operations-integration-sdk",
                "objectKind": "project"
            },
            "metrics": [
                {
                    "key": "vulnerability_count",
                    "numberValue": 0.0,
                    "timestamp": 1689626512599
                }
            ],
            "properties": [
                {
                    "key": "summary",
                    "stringValue": "A set of tools to help users create, test, and build containerized management packs for VMware Aria Operations",
                    "timestamp": 1689626512599
                },
                {
                    "key": "version",
                    "stringValue": "0.5.1",
                    "timestamp": 1689626512599
                }
            ]
        },
        {
            "events": [],
            "key": {
                "adapterKind": "RESTTemplateMP",
                "identifiers": [],
                "name": "vmware-aria-operations-integration-sdk-lib",
                "objectKind": "project"
            },
            "metrics": [
                {
                    "key": "vulnerability_count",
                    "numberValue": 0.0,
                    "timestamp": 1689626512677
                }
            ],
            "properties": [
                {
                    "key": "summary",
                    "stringValue": "Object model for interacting with the VMware Aria Operations Containerized API",
                    "timestamp": 1689626512677
                },
                {
                    "key": "version",
                    "stringValue": "0.7.3",
                    "timestamp": 1689626512677
                }
            ]
        }
    ]
}
Collection summary:

Table cell format is: 'total (min/median/max)'

Object Type             | Count | Metrics        | Properties     | Events | Parents | Children
------------------------+-------+----------------+----------------+--------+---------+---------
RESTTemplateMP::project | 2     | 2 (1 /1.0 /1 ) | 4 (2 /2.0 /2 ) | 0      | 0       | 0

Parent Type | Child Type | Count
------------+------------+------

Avg CPU %                     | Avg Memory Usage %         | Memory Limit | Network I/O          | Block I/O
------------------------------+----------------------------+--------------+----------------------+--------------
31.3 % (0.0% / 31.3% / 62.7%) | 4.0 % (4.0% / 4.0% / 4.0%) | 1.0 GiB      | 49.04 KiB / 9.05 KiB | 0.0 B / 0.0 B

Collection completed in 0.77 seconds.

All validation logs written to '/Users/kylerokos/Code/rest-template-mp/logs/validation.log'
Validation passed with no errors