Skip to content

Commit

Permalink
kamctl: regenerated mongodb json spec files for db tables
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Jun 2, 2017
1 parent 3733f00 commit d04fb42
Show file tree
Hide file tree
Showing 17 changed files with 340 additions and 22 deletions.
12 changes: 11 additions & 1 deletion utils/kamctl/mongodb/kamailio/active_watchers.json
@@ -1,6 +1,6 @@
{
"name": "active_watchers",
"version": 11,
"version": 12,
"columns": [
"id": {
"type": "int",
Expand Down Expand Up @@ -126,6 +126,16 @@
"type": "int",
"default": null,
"null": false
},
"flags": {
"type": "int",
"default": 0,
"null": false
},
"user_agent": {
"type": "string",
"default": "",
"null": false
}
]
}
2 changes: 1 addition & 1 deletion utils/kamctl/mongodb/kamailio/aliases.json
Expand Up @@ -59,7 +59,7 @@
},
"last_modified": {
"type": "datetime",
"default": "1900-01-01 00:00:01",
"default": "2000-01-01 00:00:01",
"null": false
},
"flags": {
Expand Down
2 changes: 1 addition & 1 deletion utils/kamctl/mongodb/kamailio/domain.json
Expand Up @@ -19,7 +19,7 @@
},
"last_modified": {
"type": "datetime",
"default": "1900-01-01 00:00:01",
"default": "2000-01-01 00:00:01",
"null": false
}
]
Expand Down
2 changes: 1 addition & 1 deletion utils/kamctl/mongodb/kamailio/domain_attrs.json
Expand Up @@ -29,7 +29,7 @@
},
"last_modified": {
"type": "datetime",
"default": "1900-01-01 00:00:01",
"default": "2000-01-01 00:00:01",
"null": false
}
]
Expand Down
2 changes: 1 addition & 1 deletion utils/kamctl/mongodb/kamailio/grp.json
Expand Up @@ -24,7 +24,7 @@
},
"last_modified": {
"type": "datetime",
"default": "1900-01-01 00:00:01",
"default": "2000-01-01 00:00:01",
"null": false
}
]
Expand Down
2 changes: 1 addition & 1 deletion utils/kamctl/mongodb/kamailio/location.json
Expand Up @@ -59,7 +59,7 @@
},
"last_modified": {
"type": "datetime",
"default": "1900-01-01 00:00:01",
"default": "2000-01-01 00:00:01",
"null": false
},
"flags": {
Expand Down
2 changes: 1 addition & 1 deletion utils/kamctl/mongodb/kamailio/location_attrs.json
Expand Up @@ -39,7 +39,7 @@
},
"last_modified": {
"type": "datetime",
"default": "1900-01-01 00:00:01",
"default": "2000-01-01 00:00:01",
"null": false
}
]
Expand Down
31 changes: 31 additions & 0 deletions utils/kamctl/mongodb/kamailio/rtpengine.json
@@ -0,0 +1,31 @@
{
"name": "rtpengine",
"version": 1,
"columns": [
"setid": {
"type": "int",
"default": 0,
"null": false
},
"url": {
"type": "string",
"default": null,
"null": false
},
"weight": {
"type": "int",
"default": 1,
"null": false
},
"disabled": {
"type": "int",
"default": 0,
"null": false
},
"stamp": {
"type": "datetime",
"default": "1900-01-01 00:00:01",
"null": false
}
]
}
7 changes: 6 additions & 1 deletion utils/kamctl/mongodb/kamailio/sca_subscriptions.json
@@ -1,6 +1,6 @@
{
"name": "sca_subscriptions",
"version": 1,
"version": 2,
"columns": [
"id": {
"type": "int",
Expand Down Expand Up @@ -66,6 +66,11 @@
"type": "int",
"default": null,
"null": false
},
"server_id": {
"type": "int",
"default": 0,
"null": false
}
]
}
2 changes: 1 addition & 1 deletion utils/kamctl/mongodb/kamailio/sip_trace.json
Expand Up @@ -9,7 +9,7 @@
},
"time_stamp": {
"type": "datetime",
"default": "1900-01-01 00:00:01",
"default": "2000-01-01 00:00:01",
"null": false
},
"time_us": {
Expand Down
12 changes: 6 additions & 6 deletions utils/kamctl/mongodb/kamailio/subscriber.json
@@ -1,6 +1,6 @@
{
"name": "subscriber",
"version": 6,
"version": 7,
"columns": [
"id": {
"type": "int",
Expand All @@ -22,11 +22,6 @@
"default": "",
"null": false
},
"email_address": {
"type": "string",
"default": "",
"null": false
},
"ha1": {
"type": "string",
"default": "",
Expand All @@ -37,6 +32,11 @@
"default": "",
"null": false
},
"email_address": {
"type": "string",
"default": null,
"null": true
},
"rpid": {
"type": "string",
"default": null,
Expand Down
126 changes: 126 additions & 0 deletions utils/kamctl/mongodb/kamailio/topos_d.json
@@ -0,0 +1,126 @@
{
"name": "topos_d",
"version": 1,
"columns": [
"id": {
"type": "int",
"default": null,
"null": false
},
"rectime": {
"type": "datetime",
"default": null,
"null": false
},
"s_method": {
"type": "string",
"default": "",
"null": false
},
"s_cseq": {
"type": "string",
"default": "",
"null": false
},
"a_callid": {
"type": "string",
"default": "",
"null": false
},
"a_uuid": {
"type": "string",
"default": "",
"null": false
},
"b_uuid": {
"type": "string",
"default": "",
"null": false
},
"a_contact": {
"type": "string",
"default": "",
"null": false
},
"b_contact": {
"type": "string",
"default": "",
"null": false
},
"as_contact": {
"type": "string",
"default": "",
"null": false
},
"bs_contact": {
"type": "string",
"default": "",
"null": false
},
"a_tag": {
"type": "string",
"default": "",
"null": false
},
"b_tag": {
"type": "string",
"default": "",
"null": false
},
"a_rr": {
"type": "text",
"default": null,
"null": true
},
"b_rr": {
"type": "text",
"default": null,
"null": true
},
"s_rr": {
"type": "text",
"default": null,
"null": true
},
"iflags": {
"type": "int",
"default": 0,
"null": false
},
"a_uri": {
"type": "string",
"default": "",
"null": false
},
"b_uri": {
"type": "string",
"default": "",
"null": false
},
"r_uri": {
"type": "string",
"default": "",
"null": false
},
"a_srcaddr": {
"type": "string",
"default": "",
"null": false
},
"b_srcaddr": {
"type": "string",
"default": "",
"null": false
},
"a_socket": {
"type": "string",
"default": "",
"null": false
},
"b_socket": {
"type": "string",
"default": "",
"null": false
}
]
}

0 comments on commit d04fb42

Please sign in to comment.