Skip to content

HTTP create document doesn't insert properties #67

Description

@lvca

ArcadeDB Version: 21.9.1-SNAPSHOT

JDK Version: 11

OS: MacOSX

This issue was originally reported on the ArcadeDB Discord channel.

Expected behavior

The document is correctly inserted and all the properties are stored

Actual behavior

Steps to reproduce

Call POST /document/db with the following payload, no properties are saved.

{"alert_severity": 5, "alert_group": "monitor:mail-antispam", "agent": "E", "agent_location": "Mail-antispam", "alert_id": 1950007447, "alert_count": 2, "alert_custom_info": {"colo": "west1", "alert_workflow": "EMAIL", "company": {"colo": "", "monitor": {"component": "abacainbound", "chefenvironment": "abacainbound-prod-west1", "_threshold_name": "host_life", "namespace": "Mail-antispam", "hostgroup": "abaca_inbound", "id": "host_life: component:abacainbound chefenvironment:abacainbound-prod-west1 _threshold_name:host_life namespace:Mail-antispam hostgroup:abaca_inbound env:prod", "env": "prod", "version": "2"}, "agent": "monitor", "recover": "1", "flags": 0, "alertKey": "host_life", "type": "live", "runbook_id": "KB0022158", "context": "live", "property": "Mail-ASD/GLB", "farm": "monitor2-west", "alertGroup": "monitor:Mail-antispam", "mysig": "cee04eaa6c1500493db765f0c50270ed", "display_count": "1", "event_time": 1601489288, "LamInstanceName": "monitor", "dashboard_id": "https://olympus.monitor.ourcompany.com/v1/graph/new?start=1601481600&end=1601488800&_t.component=abacainbound&_t.chefenvironment=abacainbound-prod-west1&_t.host=eval101.asd.mail.west1.company.com&_t.namespace=Mail-antispam&_t.hostgroup=abaca_inbound&_t.env=prod&_s.s0._m.m0.name=Mail-antispam.host_life.status_ok&_s.s0._m.m1.name=Mail-antispam.host_life.status_bad&_s.s0._t._threshold_name=host_life", "customer": "connections"}, "cookbook": "EMAIL", "s_host": "eval", "mysig": "cee04eaa6c1500493db765f0c50270ed", "dashboard": "https://olympus.monitor.ourcompany.com/v1/graph/new?start=1601481600&end=1601488800&_t.component=abacainbound&_t.chefenvironment=abacainbound-prod-west1&_t.host=eval101.asd.mail.west1.company.com&_t.namespace=Mail-antispam&_t.hostgroup=abaca_inbound&_t.env=prod&_s.s0._m.m0.name=Mail-antispam.host_life.status_ok&_s.s0._m.m1.name=Mail-antispam.host_life.status_bad&_s.s0._t._threshold_name=host_life"}, "alert_description": "host_life -> Missing Data ", "alert_entropy": 1.0, "alert_external_id": "Mail-antispam", "alert_first_event_time": 1601485329, "alert_int_last_event_time": 1601489290, "alert_last_event_time": 1601489289, "alert_last_state_change": 1601490932, "alert_manager": "alertcons-2.yms.west1", "alert_signature": "cee04eaa6c1500493db765f0c50270ed:1950007447", "alert_source": "eval101.asd.mail.west1.company.com", "alert_source_id": "Mail-ASD/GLB", "sig_id": 13200498, "sig_category": "Closed", "sig_created_at": 1601485329, "sig_custom_info": {"mooghandling": {"situationTemplate": "$UNIQUE(custom_info.company.alertKey) Alerts.  Location: $UNIQUE(custom_info.colo).  From $UNIQUE(external_id), $UNIQUE(source_id) Property(s) and Agent $UNIQUE(custom_info.company.LamInstanceName). $MAP[ $UNIQ(source, hosts) $UNIQ(custom_info.company.alertKey, impacted_procs) ]"}, "impact_start": 1601485329, "hosts": ["eval101.asd.mail.west1.company.com"], "situationClass": "EMAIL.EMAIL SafetyNet", "impacted_procs": ["host_life"]}, "sig_description": "host_life Alerts.  Location: west1.  From Mail-antispam, Mail-ASD/GLB Property(s) and Agent E. ", "sig_first_event_time": 1601485329, "sig_last_event_time": 1601485329, "sig_last_state_change": 1601490932, "sig_story_id": 13200498, "sig_queue": "Investigated", "sig_teamname": "Cloud DevOps", "sig_owner": "user", "sig_owner_fullname": "users name"}

Response [200]

{"result": "#2:2933"}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions