-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathService.lddl
More file actions
53 lines (44 loc) · 1.04 KB
/
Service.lddl
File metadata and controls
53 lines (44 loc) · 1.04 KB
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
/*
* Service meta-attributes and types.
*/
include 'Common'
include 'Database'
def LANG='service.meta.lang'
def TYPE='service.meta.type'
serviceMetaAttribute {
id LANG
name 'Service language'
domain DOMAIN
//type SERVICE
type SERVICE
description 'The language(s) the service is able to process.'
}
serviceMetaAttribute {
id TYPE
name 'Service type'
domain DOMAIN
type SERVICE
description 'The type of service (POS tagger, sentence splitter, etc.)'
}
serviceType {
id DATASOURCE
name 'LAPPS Datasource'
domain DOMAIN
description 'Services that provide data to other services.'
attributes LANG, TYPE
}
serviceType {
id SERVICE
name 'LAPPS Web Service'
domain DOMAIN
description 'LAPPS web services.'
attributes LANG, TYPE
}
/**
sql """
insert into servicetype_servicemetaattribute
(servicetype_domainid, servicetype_servicetypeid, metaattributes_attributeid, metaattributes_domainid)
values ('${DOMAIN}', 'service.type.processor', 'service.meta.lang', '${DOMAIN}')
"""
**/
news 'LAPPS service types and attributes have been registered.'