spec/fixtures/fake_cc_events.json in cfoundry-4.3.9 vs spec/fixtures/fake_cc_events.json in cfoundry-4.3.10
- old
+ new
@@ -1,279 +1,449 @@
{
- "total_results": 11,
- "total_pages": 1,
- "prev_url": null,
- "next_url": null,
- "resources": [
- {
- "metadata": {
- "guid": "event-1"
- },
- "entity": {
- "organization_guid": "organization-id-1",
- "type": "audit.app.update",
- "actor": "user-id",
- "actor_type": "user",
- "actee": "application-id-1",
- "actee_type": "app",
- "timestamp": "2012-11-01T12:00:00+00:00",
- "metadata": {
- "changes": {
- "state": [
- "STOPPED",
- "STARTED"
- ]
- },
- "footprints": {
- "memory": 1024,
- "instances": 2
- }
- },
- "space_guid": "space-id-1"
- }
+ "total_results": 11,
+ "total_pages": 1,
+ "prev_url": null,
+ "next_url": null,
+ "resources": [
+ {
+ "metadata": {
+ "guid": "event-1"
+ },
+ "entity": {
+ "organization_guid": "organization-id-1",
+ "type": "audit.app.update",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-1",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:00:00+00:00",
+ "metadata": {
+ "changes": {
+ "state": [
+ "STOPPED",
+ "STARTED"
+ ]
+ },
+ "footprints": {
+ "memory": 1024,
+ "instances": 2
+ }
},
- {
- "metadata": {
- "guid": "event-2"
- },
- "entity": {
- "organization_guid": "organization-id-2",
- "type": "audit.app.update",
- "actor": "user-id",
- "actor_type": "user",
- "actee": "application-id-2",
- "actee_type": "app",
- "timestamp": "2012-11-01T12:01:22+00:00",
- "metadata": {
- "changes": {
- "state": [
- "STOPPED",
- "STARTED"
- ]
- },
- "footprints": {
- "memory": 2048,
- "instances": 1
- }
- },
- "space_guid": "space-id-2"
- }
+ "space_guid": "space-id-1"
+ }
+ },
+ {
+ "metadata": {
+ "guid": "event-2"
+ },
+ "entity": {
+ "organization_guid": "organization-id-2",
+ "type": "audit.app.update",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-2",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:01:22+00:00",
+ "metadata": {
+ "changes": {
+ "state": [
+ "STOPPED",
+ "STARTED"
+ ]
+ },
+ "footprints": {
+ "memory": 2048,
+ "instances": 1
+ }
},
- {
- "metadata": {
- "guid": "event-3"
- },
- "entity": {
- "organization_guid": "organization-id-1",
- "type": "audit.app.update",
- "actor": "user-id",
- "actor_type": "user",
- "actee": "application-id-1",
- "actee_type": "app",
- "timestamp": "2012-11-01T12:03:00+00:00",
- "metadata": {
- "changes": {
- },
- "footprints": {
- "memory": 1024,
- "instances": 2
- }
- },
- "space_guid": "space-id-1"
- }
+ "space_guid": "space-id-2"
+ }
+ },
+ {
+ "metadata": {
+ "guid": "event-3"
+ },
+ "entity": {
+ "organization_guid": "organization-id-1",
+ "type": "audit.app.update",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-1",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:03:00+00:00",
+ "metadata": {
+ "changes": {
+ },
+ "footprints": {
+ "memory": 1024,
+ "instances": 2
+ }
},
- {
- "metadata": {
- "guid": "event-4"
- },
- "entity": {
- "organization_guid": "organization-id-1",
- "type": "audit.app.update",
- "actor": "user-id",
- "actor_type": "user",
- "actee": "application-id-1",
- "actee_type": "app",
- "timestamp": "2012-11-01T12:04:00+00:00",
- "metadata": {
- "changes": {
- "state": [
- "STARTED",
- "STOPPED"
- ]
- },
- "footprints": {
- "memory": 1024,
- "instances": 2
- }
- },
- "space_guid": "space-id-1"
- }
+ "space_guid": "space-id-1"
+ }
+ },
+ {
+ "metadata": {
+ "guid": "event-4"
+ },
+ "entity": {
+ "organization_guid": "organization-id-1",
+ "type": "audit.app.update",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-1",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:04:00+00:00",
+ "metadata": {
+ "changes": {
+ "state": [
+ "STARTED",
+ "STOPPED"
+ ]
+ },
+ "footprints": {
+ "memory": 1024,
+ "instances": 2
+ }
},
- {
- "metadata": {
- "guid": "event-6"
- },
- "entity": {
- "organization_guid": "organization-id-1",
- "type": "audit.app.update",
- "actor": "user-id",
- "actor_type": "user",
- "actee": "application-id-1",
- "actee_type": "app",
- "timestamp": "2012-11-01T12:05:00+00:00",
- "metadata": {
- "changes": {
- "state": [
- "STOPPED",
- "STARTED"
- ]
- },
- "footprints": {
- "memory": 1024,
- "instances": 2
- }
- },
- "space_guid": "space-id-1"
- }
+ "space_guid": "space-id-1"
+ }
+ },
+ {
+ "metadata": {
+ "guid": "event-6"
+ },
+ "entity": {
+ "organization_guid": "organization-id-1",
+ "type": "audit.app.update",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-1",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:05:00+00:00",
+ "metadata": {
+ "changes": {
+ "state": [
+ "STOPPED",
+ "STARTED"
+ ]
+ },
+ "footprints": {
+ "memory": 1024,
+ "instances": 2
+ }
},
- {
- "metadata": {
- "guid": "event-7"
- },
- "entity": {
- "organization_guid": "organization-id-1",
- "type": "audit.app.update",
- "actor": "user-id",
- "actor_type": "user",
- "actee": "application-id-1",
- "actee_type": "app",
- "timestamp": "2012-11-01T12:06:00+00:00",
- "metadata": {
- "changes": {
- "state": [
- "STARTED",
- "STOPPED"
- ]
- },
- "footprints": {
- "memory": 1024,
- "instances": 2
- }
- },
- "space_guid": "space-id-1"
- }
+ "space_guid": "space-id-1"
+ }
+ },
+ {
+ "metadata": {
+ "guid": "event-7"
+ },
+ "entity": {
+ "organization_guid": "organization-id-1",
+ "type": "audit.app.update",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-1",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:06:00+00:00",
+ "metadata": {
+ "changes": {
+ "state": [
+ "STARTED",
+ "STOPPED"
+ ]
+ },
+ "footprints": {
+ "memory": 1024,
+ "instances": 2
+ }
},
- {
- "metadata": {
- "guid": "event-8"
- },
- "entity": {
- "organization_guid": "organization-id-3",
- "type": "audit.app.update",
- "actor": "user-id",
- "actor_type": "user",
- "actee": "application-id-3",
- "actee_type": "app",
- "timestamp": "2012-11-01T12:07:00+00:00",
- "metadata": {
- "changes": {
- "state": [
- "STOPPED",
- "STARTED"
- ]
- },
- "footprints": {
- "memory": 1024,
- "instances": 2
- }
- },
- "space_guid": "space-id-3"
- }
+ "space_guid": "space-id-1"
+ }
+ },
+ {
+ "metadata": {
+ "guid": "event-8"
+ },
+ "entity": {
+ "organization_guid": "organization-id-3",
+ "type": "audit.app.update",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-3",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:07:00+00:00",
+ "metadata": {
+ "changes": {
+ "state": [
+ "STOPPED",
+ "STARTED"
+ ]
+ },
+ "footprints": {
+ "memory": 1024,
+ "instances": 2
+ }
},
- {
- "metadata": {
- "guid": "event-9"
- },
- "entity": {
- "organization_guid": "organization-id-3",
- "type": "audit.app.update",
- "actor": "user-id",
- "actor_type": "user",
- "actee": "application-id-3",
- "actee_type": "app",
- "timestamp": "2012-11-01T12:07:30+00:00",
- "metadata": {
- "changes": {
- "state": [
- "STARTED",
- "STOPPED"
- ]
- },
- "footprints": {
- "memory": 1024,
- "instances": 2
- }
- },
- "space_guid": "space-id-3"
- }
+ "space_guid": "space-id-3"
+ }
+ },
+ {
+ "metadata": {
+ "guid": "event-9"
+ },
+ "entity": {
+ "organization_guid": "organization-id-3",
+ "type": "audit.app.update",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-3",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:07:30+00:00",
+ "metadata": {
+ "changes": {
+ "state": [
+ "STARTED",
+ "STOPPED"
+ ]
+ },
+ "footprints": {
+ "memory": 1024,
+ "instances": 2
+ }
},
- {
- "metadata": {
- "guid": "event-10"
- },
- "entity": {
- "organization_guid": "organization-id-3",
- "type": "audit.app.delete",
- "actor": "user-id",
- "actor_type": "user",
- "actee": "application-id-3",
- "actee_type": "app",
- "timestamp": "2012-11-01T12:08:00+00:00",
- "metadata": {},
- "space_guid": "space-id-3"
- }
+ "space_guid": "space-id-3"
+ }
+ },
+ {
+ "metadata": {
+ "guid": "event-10"
+ },
+ "entity": {
+ "organization_guid": "organization-id-3",
+ "type": "audit.app.delete",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-3",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:08:00+00:00",
+ "metadata": {},
+ "space_guid": "space-id-3"
+ }
+ },
+ {
+ "metadata": {
+ "guid": "event-11"
+ },
+ "entity": {
+ "organization_guid": "organization-id-4",
+ "type": "audit.app.update",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-4",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:09:00+00:00",
+ "metadata": {
+ "changes": {
+ "state": [
+ "STOPPED",
+ "STARTED"
+ ]
+ },
+ "footprints": {
+ "memory": 1024,
+ "instances": 2
+ }
},
- {
- "metadata": {
- "guid": "event-11"
- },
- "entity": {
- "organization_guid": "organization-id-4",
- "type": "audit.app.update",
- "actor": "user-id",
- "actor_type": "user",
- "actee": "application-id-4",
- "actee_type": "app",
- "timestamp": "2012-11-01T12:09:00+00:00",
- "metadata": {
- "changes": {
- "state": [
- "STOPPED",
- "STARTED"
- ]
- },
- "footprints": {
- "memory": 1024,
- "instances": 2
- }
- },
- "space_guid": "space-id-4"
- }
+ "space_guid": "space-id-4"
+ }
+ },
+ {
+ "metadata": {
+ "guid": "event-12"
+ },
+ "entity": {
+ "organization_guid": "organization-id-4",
+ "type": "audit.app.delete",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-4",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:10:00+00:00",
+ "metadata": {},
+ "space_guid": "space-id-4"
+ }
+ },
+ {
+ "metadata": {
+ "guid": "event-13"
+ },
+ "entity": {
+ "organization_guid": "organization-id-2",
+ "type": "audit.app.update",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-2",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:11:00+00:00",
+ "metadata": {
+ "changes": {
+ "instances": [
+ 1,
+ 2
+ ]
+ },
+ "footprints": {
+ "memory": 2048,
+ "instances": 2
+ }
},
- {
- "metadata": {
- "guid": "event-12"
- },
- "entity": {
- "organization_guid": "organization-id-4",
- "type": "audit.app.delete",
- "actor": "user-id",
- "actor_type": "user",
- "actee": "application-id-4",
- "actee_type": "app",
- "timestamp": "2012-11-01T12:10:00+00:00",
- "metadata": {},
- "space_guid": "space-id-4"
- }
- }
- ]
+ "space_guid": "space-id-2"
+ }
+ },
+ {
+ "metadata": {
+ "guid": "event-14"
+ },
+ "entity": {
+ "organization_guid": "organization-id-2",
+ "type": "audit.app.update",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-2",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:11:30+00:00",
+ "metadata": {
+ "changes": {
+ "memory": [
+ 2048,
+ 1024
+ ]
+ },
+ "footprints": {
+ "memory": 1024,
+ "instances": 2
+ }
+ },
+ "space_guid": "space-id-2"
+ }
+ },
+ {
+ "metadata": {
+ "guid": "event-15"
+ },
+ "entity": {
+ "organization_guid": "organization-id-2",
+ "type": "audit.app.update",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-2",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:11:40+00:00",
+ "metadata": {
+ "changes": {
+ "instances": [
+ 2,
+ 1
+ ],
+ "memory": [
+ 1024,
+ 2048
+ ]
+ },
+ "footprints": {
+ "memory": 2048,
+ "instances": 1
+ }
+ },
+ "space_guid": "space-id-2"
+ }
+ },
+ {
+ "metadata": {
+ "guid": "event-16"
+ },
+ "entity": {
+ "organization_guid": "organization-id-5",
+ "type": "audit.app.update",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-5",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:12:00+00:00",
+ "metadata": {
+ "changes": {
+ "instances": [
+ 1,
+ 2
+ ]
+ },
+ "footprints": {
+ "memory": 2048,
+ "instances": 2
+ }
+ },
+ "space_guid": "space-id-5"
+ }
+ },
+ {
+ "metadata": {
+ "guid": "event-17"
+ },
+ "entity": {
+ "organization_guid": "organization-id-5",
+ "type": "audit.app.update",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-5",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:13:00+00:00",
+ "metadata": {
+ "changes": {
+ "memory": [
+ 2048,
+ 1024
+ ]
+ },
+ "footprints": {
+ "memory": 1024,
+ "instances": 2
+ }
+ },
+ "space_guid": "space-id-5"
+ }
+ },
+ {
+ "metadata": {
+ "guid": "event-18"
+ },
+ "entity": {
+ "organization_guid": "organization-id-5",
+ "type": "audit.app.update",
+ "actor": "user-id",
+ "actor_type": "user",
+ "actee": "application-id-5",
+ "actee_type": "app",
+ "timestamp": "2012-11-01T12:14:00+00:00",
+ "metadata": {
+ "changes": {
+ "instances": [
+ 2,
+ 1
+ ],
+ "memory": [
+ 1024,
+ 2048
+ ]
+ },
+ "footprints": {
+ "memory": 2048,
+ "instances": 1
+ }
+ },
+ "space_guid": "space-id-5"
+ }
+ }
+ ]
}