Skip to content

Commit

Permalink
Removed cube references. Thank you cube, but there is almost no code …
Browse files Browse the repository at this point in the history
…left :D
  • Loading branch information
Mircea Danila Dumitrescu committed May 16, 2014
1 parent c22a5d3 commit e1c0d61
Show file tree
Hide file tree
Showing 23 changed files with 13 additions and 11,104 deletions.
6 changes: 3 additions & 3 deletions bin/aggregator.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use strict";
var options = require("./aggregator-config.js"),
cube = require("../"),
server = cube.server(options);
analytics = require("../"),
server = analytics.server(options);

server.register = function (dbs, endpoints, options) {
cube.aggregator.register(dbs, endpoints, options);
analytics.aggregator.register(dbs, endpoints, options);
};

server.start();
6 changes: 3 additions & 3 deletions bin/collector.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use strict";
var options = require("./collector-config.js"),
cube = require("../"),
server = cube.server(options);
analytics = require("../"),
server = analytics.server(options);

server.register = function (dbs, endpoints, options) {
cube.collector.register(dbs, endpoints, options);
analytics.collector.register(dbs, endpoints, options);
};

server.start();
8 changes: 4 additions & 4 deletions bin/databases-config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
module.exports = {
events: {
"mongo-host": "192.168.56.101",
"mongo-host": "localhost",
"mongo-port": 27017,
"mongo-database": "shopcade_cube_events",
"mongo-database": "events",
"mongo-username": null,
"mongo-password": null
},
aggregations: {
"mongo-host": "192.168.56.101",
"mongo-host": "localhost",
"mongo-port": 27017,
"mongo-database": "shopcade_cube_aggregations",
"mongo-database": "aggregations",
"mongo-username": null,
"mongo-password": null,
"collectionSize": 256 * 1024 * 1024
Expand Down
6 changes: 3 additions & 3 deletions bin/disperser.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use strict";
var options = require("./disperser-config.js"),
cube = require("../"),
server = cube.server(options);
analytics = require("../"),
server = analytics.server(options);

server.register = function (dbs, endpoints, options) {
cube.disperser.register(dbs, endpoints, options);
analytics.disperser.register(dbs, endpoints, options);
};

server.start();
8 changes: 0 additions & 8 deletions lib/cube/aggregation.js

This file was deleted.

476 changes: 0 additions & 476 deletions lib/cube/aggregator.js

This file was deleted.

44 changes: 0 additions & 44 deletions lib/cube/collector.js

This file was deleted.

43 changes: 0 additions & 43 deletions lib/cube/database.js

This file was deleted.

86 changes: 0 additions & 86 deletions lib/cube/disperser.js

This file was deleted.

25 changes: 0 additions & 25 deletions lib/cube/endpoint.js

This file was deleted.

96 changes: 0 additions & 96 deletions lib/cube/event.js

This file was deleted.

Loading

0 comments on commit e1c0d61

Please sign in to comment.