-
Bug
-
Resolution: Done
-
Major
-
None
-
CF 5.0
-
None
- Adding on /hawkular/inventory/import
with
{"types": [], "resources": [{"typeId": "Application", "name": "New Application", "feedId": "feed-8b315061-d5aa-4ce9-ae56-4859ff5ace84", "id": "feed-8b315061-d5aa-4ce9-ae56-4859ff5ace84-NewApp.war", "metrics": [{"type": "TypeA", "name": "MetricA", "unit": "BYTES"}, {"type": "TypeB", "name": "MetricB", "unit": "BYTES"}], "config": {"confProp2": "confValue2", "confProp1": "confValue1"}, "properties": {"prop1": "val1", "prop2": "val2", "description": "This is a description for New Application"}}]}
results on
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "type" (class org.hawkular.inventory.api.model.Metric), not marked as ignorable (6 known properties: "properties", "family", "expression", "displayName", "labels", "unit"])\n at [Source: io.undertow.servlet.spec.ServletInputStreamImpl@3b330d4d; line: 1, column: 264] (through reference chain: org.hawkular.inventory.api.model.Inventory["resources"]->java.util.ArrayList[0]->org.hawkular.inventory.api.model.RawResource["metrics"]->java.util.ArrayList[0]->org.hawkular.inventory.api.model.Metric["type"])'
- blocks
-
HAWKULAR-1278 Test scalability with the new inventory
- Closed