Basic structure changes to run K2 in N1

This commit is contained in:
Karim Hamidou 2016-11-22 14:10:21 -08:00
parent 0c5dd6ded7
commit 4d91dcd3a3
11 changed files with 32 additions and 107 deletions

4
.arcconfig Normal file
View file

@ -0,0 +1,4 @@
{
"project_id" : "K2",
"conduit_uri" : "https://phab.nylas.com/"
}

View file

@ -1,4 +1,4 @@
const Metrics = require(`nylas-metrics`)
const Metrics = require(`../nylas-metrics`)
Metrics.startCapturing('nylas-k2-api')
const Hapi = require('hapi');

View file

@ -1,24 +0,0 @@
{
"name": "nylas-api",
"version": "0.0.1",
"description": "Nylas API",
"scripts": {
"start": "node app.js"
},
"author": "Nylas",
"license": "ISC",
"dependencies": {
"googleapis": "9.0.0",
"hapi": "13.4.1",
"hapi-auth-basic": "4.2.0",
"hapi-boom-decorators": "1.1.3",
"hapi-swagger": "6.1.0",
"inert": "4.0.0",
"joi": "8.4.2",
"nodemailer": "2.5.0",
"nylas-core": "0.x.x",
"nylas-metrics": "0.x.x",
"nylas-sync": "0.x.x",
"vision": "4.1.0"
}
}

View file

@ -1,4 +1,4 @@
const Metrics = require(`nylas-metrics`)
const Metrics = require(`../nylas-metrics`)
Metrics.startCapturing('nylas-k2-dashboard')
const fs = require('fs');

View file

@ -1,18 +0,0 @@
{
"name": "nylas-dashboard",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"hapi": "13.4.1",
"hapi-plugin-websocket": "0.9.2",
"inert": "4.0.0",
"nylas-core": "0.x.x",
"nylas-metrics": "0.x.x"
}
}

View file

@ -1,4 +1,4 @@
const Metrics = require(`nylas-metrics`)
const Metrics = require(`../nylas-metrics`)
Metrics.startCapturing('nylas-k2-message-processor')
const {PubsubConnector, DatabaseConnector, Logger} = require(`nylas-core`)

View file

@ -1,30 +0,0 @@
{
"name": "nylas-message-processor",
"version": "0.0.1",
"description": "Message processing pipeline",
"main": "index.js",
"author": "Nylas",
"license": "ISC",
"scripts": {
"test": "babel-node spec/run.js"
},
"dependencies": {
"babel-cli": "6.10.1",
"babel-preset-es2015": "6.9.0",
"jasmine": "2.4.1",
"mailparser": "0.6.0",
"mimelib": "0.2.19",
"nylas-core": "0.x.x",
"nylas-metrics": "0.x.x"
},
"devDependencies": {
"babel-cli": "^6.10.1",
"babel-preset-es2015": "^6.9.0",
"jasmine": "^2.4.1"
},
"babel": {
"presets": [
"es2015"
]
}
}

View file

@ -1,12 +0,0 @@
{
"name": "nylas-metrics",
"version": "0.0.1",
"description": "Metrics package",
"main": "index.js",
"dependencies": {
"newrelic": "1.34.0",
"signalfx": "3.0.1"
},
"author": "Nylas",
"license": "ISC"
}

View file

@ -1,4 +1,4 @@
const Metrics = require('nylas-metrics')
const Metrics = require('../nylas-metrics')
Metrics.startCapturing('nylas-k2-sync')
const {DatabaseConnector, Logger} = require('nylas-core')

View file

@ -1,16 +0,0 @@
{
"name": "nylas-sync",
"version": "0.0.1",
"description": "Nylas Sync Engine",
"dependencies": {
"nylas-core": "0.x.x",
"nylas-message-processor": "0.x.x",
"nylas-metrics": "0.x.x",
"xoauth2": "1.1.0"
},
"scripts": {
"start": "node app.js"
},
"author": "Nylas",
"license": "ISC"
}

View file

@ -19,8 +19,29 @@
"rx": "4.x.x",
"sequelize": "3.x.x",
"underscore": "1.x.x",
"utf7": "https://github.com/truebit/utf7/archive/1f753bac59b99d93b17a5ef11681e232465e2558.tar.gz"
"sqlite3": "https://github.com/bengotow/node-sqlite3/archive/bengotow/usleep-v3.1.4.tar.gz"
"utf7": "https://github.com/truebit/utf7/archive/1f753bac59b99d93b17a5ef11681e232465e2558.tar.gz",
"sqlite3": "https://github.com/bengotow/node-sqlite3/archive/bengotow/usleep-v3.1.4.tar.gz",
"nylas-core": "0.x.x",
"xoauth2": "1.1.0",
"newrelic": "1.34.0",
"signalfx": "3.0.1",
"babel-cli": "6.10.1",
"babel-preset-es2015": "6.9.0",
"jasmine": "2.4.1",
"mailparser": "0.6.0",
"mimelib": "0.2.19",
"hapi": "13.4.1",
"hapi-plugin-websocket": "0.9.2",
"inert": "4.0.0",
"googleapis": "9.0.0",
"hapi": "13.4.1",
"hapi-auth-basic": "4.2.0",
"hapi-boom-decorators": "1.1.3",
"hapi-swagger": "6.1.0",
"inert": "4.0.0",
"joi": "8.4.2",
"nodemailer": "2.5.0",
"vision": "4.1.0"
},
"repository": {
"type": "git",
@ -37,5 +58,5 @@
"windowTypes": {
"sync": true
},
"homepage": "https://github.com/nylas/K2#readme",
"homepage": "https://github.com/nylas/K2#readme"
}