forked from mangOH/SocialService
-
Notifications
You must be signed in to change notification settings - Fork 0
/
socialService.adef
62 lines (54 loc) · 1.08 KB
/
socialService.adef
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: 1.1
sandboxed: true
start: auto
executables:
{
socialService = ( social json http )
twitterClient = ( twitterClient )
}
requires:
{
configTree:
{
[w] .
}
}
processes:
{
run:
{
( socialService )
}
}
bundles:
{
file:
{
[x] scripts/twitter /bin/
}
}
extern:
{
twitter = socialService.social.twitter
}
bindings:
{
twitterClient.twitterClient.serviceConfig -> socialService.social.serviceConfig
twitterClient.twitterClient.twitter -> socialService.social.twitter
}
//--------------------------------------------------------------------------------------------------
/*
* If you a the socialService application to your sdef, you can enable the twitter command line
* tool to your commands section:
*
* commands:
* {
* twitter = socialService:/bin/twitter
* }
*
*
* Otherwise the twitter command will be available under:
*
* /legato/systems/current/apps/socialService/read-only/bin/twitter
*/
//--------------------------------------------------------------------------------------------------