Copy utils from cytube-common and remove dep

The `cytube-common` module was created as part of a now-defunct
experiment and since then has just remained a crufty container for a few
utils.  Moved the utils to the main repo and removed the dependency.
This commit is contained in:
Calvin Montgomery 2017-07-19 20:47:02 -07:00
parent e780e7dadb
commit ff3ececc36
13 changed files with 358 additions and 9 deletions

View file

@ -1,6 +1,6 @@
import Promise from 'bluebird';
import uuid from 'uuid';
import { runLuaScript } from 'cytube-common/lib/redis/lualoader';
import { runLuaScript } from '../redis/lualoader';
import path from 'path';
const LOGGER = require('@calzoneman/jsli')('partitionchannelindex');

View file

@ -1,8 +1,8 @@
import { loadFromToml } from 'cytube-common/lib/configuration/configloader';
import { loadFromToml } from '../configuration/configloader';
import { PartitionConfig } from './partitionconfig';
import { PartitionDecider } from './partitiondecider';
import { PartitionClusterClient } from '../io/cluster/partitionclusterclient';
import RedisClientProvider from 'cytube-common/lib/redis/redisclientprovider';
import RedisClientProvider from '../redis/redisclientprovider';
import LegacyConfig from '../config';
import path from 'path';
import { AnnouncementRefresher } from './announcementrefresher';