forked from mauritslamers/OrionNodeRiak
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DIRTY DIRTY CODE that responds to a contacts and login request
- Loading branch information
Alex Percsi
committed
Sep 1, 2010
1 parent
adbb497
commit 0d1bc5d
Showing
8 changed files
with
136 additions
and
21 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
exports.contacts = [ | ||
{ | ||
id: '1', | ||
type: 'Contact', | ||
firstName: 'Sean', | ||
lastName: 'Eidemiller', | ||
emailAddress: 'sean.eidemiller@eloqua.com', | ||
subscribed: 'false', | ||
bounceback: 'false', | ||
accountName: 'Eloqua Limited', | ||
title: 'Software Engineer', | ||
activityDelta: 10 | ||
}, | ||
{ | ||
id: '2', | ||
type: 'Contact', | ||
firstName: 'Mike', | ||
lastName: 'Ball', | ||
emailAddress: 'mike.ball@eloqua.com', | ||
subscribed: 'false', | ||
bounceback: 'false', | ||
accountName: 'Eloqua Limited', | ||
title: 'Software Engineer', | ||
activityDelta: 3 | ||
}, | ||
{ | ||
id: '3', | ||
type: 'Contact', | ||
firstName: 'Evin', | ||
lastName: 'Grano', | ||
emailAddress: 'evin.grano@eloqua.com', | ||
subscribed: 'false', | ||
bounceback: 'false', | ||
accountName: 'Eloqua Limited', | ||
title: 'Software Engineer', | ||
activityDelta: -3 | ||
} | ||
]; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
exports.paths = [ | ||
{ "file": "users", "resourcePath": "user", "pluralResourcePath": "users"}, | ||
{ "file": "contacts", "resourcePath": "contact", "pluralResourcePath": "contacts"} | ||
] |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
/* | ||
let's do this as a kind of node module, because it saves a lot on difficult file reading stuff | ||
let"s do this as a kind of node module, because it saves a lot on difficult file reading stuff | ||
*/ | ||
|
||
exports.users = { | ||
'root': { passwd: 'password', role: 'admin'}, | ||
'test': { passwd: 'test', role:'user' } | ||
"root": { passwd: "password", role: "admin"}, | ||
"test": { passwd: "test", role:"user" }, | ||
"Alexandru.Percsi": {id: 1, loginName: "Alexandru.Percsi", passwd: "Password1234", company: "Eloqua", role: "user"} | ||
}; |
Submodule riak-js
updated
from 7f0f39 to 672ac0