diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2016-04-10 23:45:43 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2016-04-12 11:00:37 +0200 |
commit | ac1fa871f050c36b798047fe7e93718d4681996a (patch) | |
tree | 85a4af6a8303582a4f0cf82ec4f69b38c04d4844 /v3po/data-api | |
parent | 6dcea1de979536dbe0478e31f17191bcfae92f3c (diff) |
HONEYCOMB-34: Configurable ConfigDataTree dependency
Change-Id: I17a93835541e66835398391e2a127b25767b774a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/data-api')
-rw-r--r-- | v3po/data-api/pom.xml | 4 | ||||
-rw-r--r-- | v3po/data-api/src/main/yang/data-api.yang | 30 |
2 files changed, 12 insertions, 22 deletions
diff --git a/v3po/data-api/pom.xml b/v3po/data-api/pom.xml index 846498c28..9ecbe80cb 100644 --- a/v3po/data-api/pom.xml +++ b/v3po/data-api/pom.xml @@ -18,9 +18,9 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <groupId>io.fd.honeycomb.common</groupId> - <artifactId>api-parent</artifactId> + <artifactId>impl-parent</artifactId> <version>1.0.0-SNAPSHOT</version> - <relativePath>../../common/api-parent</relativePath> + <relativePath>../../common/impl-parent</relativePath> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/v3po/data-api/src/main/yang/data-api.yang b/v3po/data-api/src/main/yang/data-api.yang index 28d969378..0a01a4242 100644 --- a/v3po/data-api/src/main/yang/data-api.yang +++ b/v3po/data-api/src/main/yang/data-api.yang @@ -1,37 +1,27 @@ -module translate-api { +module data-api { yang-version 1; - namespace "urn:honeycomb:params:xml:ns:yang:translate:api"; - prefix "tapi"; + namespace "urn:honeycomb:params:xml:ns:yang:data:api"; + prefix "dapi"; import config { prefix config; revision-date 2013-04-05; } description - "This module contains the base YANG definitions for - readers/writers plugged into a honeycomb"; + "This module contains the base YANG data tree definitions + for data store modeling"; - revision "2016-04-06" { + revision "2016-04-11" { description "Initial revision."; } - identity honeycomb-reader { + identity honeycomb-readable-data-tree { base "config:service-type"; - config:java-class io.fd.honeycomb.v3po.translate.read.Reader; + config:java-class io.fd.honeycomb.v3po.data.ReadableDataTree; } - identity honeycomb-reader-registry { + identity honeycomb-modifiable-data-tree { base "config:service-type"; - config:java-class io.fd.honeycomb.v3po.translate.read.ReaderRegistry; - } - - identity honeycomb-writer { - base "config:service-type"; - config:java-class io.fd.honeycomb.v3po.translate.write.Writer; - } - - identity honeycomb-writer-registry { - base "config:service-type"; - config:java-class io.fd.honeycomb.v3po.translate.write.WriterRegistry; + config:java-class io.fd.honeycomb.v3po.data.ModifiableDataTree; } }
\ No newline at end of file |