This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
DocumentRoot c:\wamp\www\Portal\HomesCom | |
ServerName ebbersj.homes.com | |
Include C:\wamp\www\Portal\serverConfig\rewrites | |
setEnv ENVIRONMENT_LEVEL development | |
setEnv DEVELOPER ebbersj | |
</VirtualHost> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by ebbersj on 5/22/14. | |
*/ | |
var createOrderLineItem = require("../../lib/service/order/createOrderLineItem"), | |
proxyquire = require("proxyquire"), | |
should = require("should"), | |
sinon = require("sinon"); | |
var testData = { | |
"order_id" : 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by ebbersj on 5/20/14. | |
*/ | |
module.exports = function(req, res, next){ | |
if(req.get("Content-Type") != "application/json" && req.get("content-type") != "application/json"){ | |
next({"responseCode" : 406, "responseMessage" : "Not Acceptable", "message" : "Not Acceptable"}); | |
} else { | |
next(); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by ebbersj on 5/13/14. | |
*/ | |
var async = require("async"), | |
dataModel = require("../../dataModel/order/orderUser"), | |
orderUserDAO = require("../../dao/order/orderUser"), | |
validate = require("../../dataModel/validate"); | |
var orderUserInstance = new orderUserDAO(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by jason on 4/25/14. | |
*/ | |
"use strict"; | |
var async = require("async"), | |
oracle = require("oracle"); | |
function orderDAO(){ | |
var _self = {}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by jason on 4/22/14. | |
*/ | |
var async = require("async"); | |
module.exports = function(app){ | |
app.get('/test/oracle',function(req,res,next){ | |
app.logger.info("Start Test route"); | |
async.waterfall([ | |
function(callback){ |