Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
N
node-bigstream
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bs
node-bigstream
Commits
21b60db9
Commit
21b60db9
authored
Jan 07, 2017
by
project
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
88b0e602
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
amqp.json
conf/amqp.json
+1
-1
bsdata.js
lib/util/bsdata.js
+13
-0
test_rpsserv.js
test/test_rpsserv.js
+1
-1
No files found.
conf/amqp.json
View file @
21b60db9
{
{
"type"
:
"rabbitmq"
,
"type"
:
"rabbitmq"
,
"url"
:
"amqp://
bigmaster
.igridproject.info"
"url"
:
"amqp://
lab1
.igridproject.info"
}
}
lib/util/bsdata.js
0 → 100644
View file @
21b60db9
module
.
exports
.
create
=
function
(
data
)
{
var
tpy
=
"object"
;
return
new
BSData
(
data
,
tpy
);
}
function
BSData
(
data
,
type
)
{
this
.
type
=
type
;
this
.
data
=
data
;
}
test/test_rpsserv.js
View file @
21b60db9
...
@@ -4,7 +4,7 @@ var amqp_cfg = ctx.config.amqp;
...
@@ -4,7 +4,7 @@ var amqp_cfg = ctx.config.amqp;
var
rpcserver
=
ctx
.
getLib
(
'lib/amqp/rpcserver'
);
var
rpcserver
=
ctx
.
getLib
(
'lib/amqp/rpcserver'
);
var
server
=
new
rpcserver
({
var
server
=
new
rpcserver
({
url
:
"amqp://bigmaster.igridproject.info"
,
url
:
amqp_cfg
.
url
,
});
});
server
.
set_remote_function
(
function
(
req
,
callback
){
server
.
set_remote_function
(
function
(
req
,
callback
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment