| 1 | { |
| 2 | "description": "Monitoring a discovered standalone connection", |
| 3 | "uri": "mongodb://a:27017/?directConnection=false", |
| 4 | "phases": [ |
| 5 | { |
| 6 | "responses": [ |
| 7 | [ |
| 8 | "a:27017", |
| 9 | { |
| 10 | "ok": 1, |
| 11 | "helloOk": true, |
| 12 | "isWritablePrimary": true, |
| 13 | "minWireVersion": 0, |
| 14 | "maxWireVersion": 4 |
| 15 | } |
| 16 | ] |
| 17 | ], |
| 18 | "outcome": { |
| 19 | "events": [ |
| 20 | { |
| 21 | "topology_opening_event": { |
| 22 | "topologyId": "42" |
| 23 | } |
| 24 | }, |
| 25 | { |
| 26 | "topology_description_changed_event": { |
| 27 | "topologyId": "42", |
| 28 | "previousDescription": { |
| 29 | "topologyType": "Unknown", |
| 30 | "servers": [] |
| 31 | }, |
| 32 | "newDescription": { |
| 33 | "topologyType": "Unknown", |
| 34 | "servers": [ |
| 35 | { |
| 36 | "address": "a:27017", |
| 37 | "arbiters": [], |
| 38 | "hosts": [], |
| 39 | "passives": [], |
| 40 | "type": "Unknown" |
| 41 | } |
| 42 | ] |
| 43 | } |
| 44 | } |
| 45 | }, |
| 46 | { |
| 47 | "server_opening_event": { |
| 48 | "topologyId": "42", |
| 49 | "address": "a:27017" |
| 50 | } |
| 51 | }, |
| 52 | { |
| 53 | "server_description_changed_event": { |
| 54 | "topologyId": "42", |
| 55 | "address": "a:27017", |
| 56 | "previousDescription": { |
| 57 | "address": "a:27017", |
| 58 | "arbiters": [], |
| 59 | "hosts": [], |
| 60 | "passives": [], |
| 61 | "type": "Unknown" |
| 62 | }, |
| 63 | "newDescription": { |
| 64 | "address": "a:27017", |
| 65 | "arbiters": [], |
| 66 | "hosts": [], |
| 67 | "passives": [], |
| 68 | "type": "Standalone" |
| 69 | } |
| 70 | } |
| 71 | }, |
| 72 | { |
| 73 | "topology_description_changed_event": { |
| 74 | "topologyId": "42", |
| 75 | "previousDescription": { |
| 76 | "topologyType": "Unknown", |
| 77 | "servers": [ |
| 78 | { |
| 79 | "address": "a:27017", |
| 80 | "arbiters": [], |
| 81 | "hosts": [], |
| 82 | "passives": [], |
| 83 | "type": "Unknown" |
| 84 | } |
| 85 | ] |
| 86 | }, |
| 87 | "newDescription": { |
| 88 | "topologyType": "Single", |
| 89 | "servers": [ |
| 90 | { |
| 91 | "address": "a:27017", |
| 92 | "arbiters": [], |
| 93 | "hosts": [], |
| 94 | "passives": [], |
| 95 | "type": "Standalone" |
| 96 | } |
| 97 | ] |
| 98 | } |
| 99 | } |
| 100 | } |
| 101 | ] |
| 102 | } |
| 103 | } |
| 104 | ] |
| 105 | } |