Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Startup archetype: remove 'Impl' from config subsystem Module name.
[controller.git]
/
opendaylight
/
archetypes
/
opendaylight-startup
/
src
/
main
/
resources
/
archetype-resources
/
impl
/
src
/
main
/
yang
/
__artifactId__-impl.yang
diff --git
a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/src/main/yang/__artifactId__-impl.yang
b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/src/main/yang/__artifactId__-impl.yang
index 7b00b849a1771b50baea20008454e1ad5c979bd1..41a74b3f1ae62cf9a3e42487a6f77d51fed8acea 100644
(file)
--- a/
opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/src/main/yang/__artifactId__-impl.yang
+++ b/
opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/src/main/yang/__artifactId__-impl.yang
@@
-14,14
+14,14
@@
module ${artifactId}-impl {
"Initial revision";
}
"Initial revision";
}
- identity ${artifactId}
-impl
{
+ identity ${artifactId} {
base config:module-type;
base config:module-type;
- config:java-name-prefix ${classPrefix}
Impl
;
+ config:java-name-prefix ${classPrefix};
}
augment "/config:modules/config:module/config:configuration" {
}
augment "/config:modules/config:module/config:configuration" {
- case ${artifactId}
-impl
{
- when "/config:modules/config:module/config:type = '${artifactId}
-impl
'";
+ case ${artifactId} {
+ when "/config:modules/config:module/config:type = '${artifactId}'";
container broker {
uses config:service-ref {
refine type {
container broker {
uses config:service-ref {
refine type {