summaryrefslogtreecommitdiffstats
path: root/v3po/translate-api/src/main/yang/translate-api.yang
blob: 796632dd2b81a49897fc121f9645a4f9fc047072 (plain)
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
module translate-api {
    yang-version 1;
    namespace "urn:honeycomb:params:xml:ns:yang:translate:api";
    prefix "tapi";

    import config { prefix config; revision-date 2013-04-05; }

    description
        "This module contains the base YANG definitions for
         readers/writers plugged into a honeycomb";

    revision "2016-04-06" {
        description
            "Initial revision.";
    }

    identity honeycomb-reader-factory {
        base "config:service-type";
        config:java-class io.fd.honeycomb.v3po.translate.read.ReaderFactory;
    }

    identity honeycomb-reader-registry {
        base "config:service-type";
        config:java-class io.fd.honeycomb.v3po.translate.read.registry.ModifiableReaderRegistryBuilder;
    }

    identity honeycomb-reader-registry-builder {
        base "config:service-type";
        config:java-class io.fd.honeycomb.v3po.translate.read.registry.ReaderRegistryBuilder;
    }

    identity honeycomb-writer-factory {
        base "config:service-type";
        config:java-class io.fd.honeycomb.v3po.translate.write.WriterFactory;
    }

    identity honeycomb-writer-registry {
        base "config:service-type";
        config:java-class io.fd.honeycomb.v3po.translate.write.registry.ModifiableWriterRegistryBuilder;
    }

    identity honeycomb-writer-registry-builder {
        base "config:service-type";
        config:java-class io.fd.honeycomb.v3po.translate.write.registry.WriterRegistryBuilder;
    }

    identity honeycomb-mapping-context {
        base "config:service-type";
        config:java-class io.fd.honeycomb.v3po.translate.MappingContext;
    }

}