Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add some log messages in case controller failed to add connected node.
[controller.git]
/
opendaylight
/
md-sal
/
sal-binding-broker
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
sal
/
binding
/
codegen
/
RuntimeCodeSpecification.xtend
diff --git
a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/codegen/RuntimeCodeSpecification.xtend
b/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/codegen/RuntimeCodeSpecification.xtend
index c6e76c2907730df0a26d369089fa96f345b7cb31..c5648adaa53af7cb6b25e4584eb49b5861aab126 100644
(file)
--- a/
opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/codegen/RuntimeCodeSpecification.xtend
+++ b/
opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/codegen/RuntimeCodeSpecification.xtend
@@
-17,11
+17,11
@@
import org.opendaylight.yangtools.yang.binding.NotificationListener
*/
class RuntimeCodeSpecification {
*/
class RuntimeCodeSpecification {
- public static val PACKAGE_PREFIX = "_gen.";
+
//
public static val PACKAGE_PREFIX = "_gen.";
public static val DIRECT_PROXY_SUFFIX = "DirectProxy";
public static val ROUTER_SUFFIX = "Router";
public static val DIRECT_PROXY_SUFFIX = "DirectProxy";
public static val ROUTER_SUFFIX = "Router";
- public static val INVOKER_SUFFIX = "Invoker";
+ public static val INVOKER_SUFFIX = "
Listener
Invoker";
public static val DELEGATE_FIELD = "_delegate"
public static val ROUTING_TABLE_FIELD_PREFIX = "_routes_"
public static val DELEGATE_FIELD = "_delegate"
public static val ROUTING_TABLE_FIELD_PREFIX = "_routes_"
@@
-52,7
+52,7
@@
class RuntimeCodeSpecification {
*
*/
public static def getGeneratedName(Class<?> cls, String suffix) {
*
*/
public static def getGeneratedName(Class<?> cls, String suffix) {
- '''«
PACKAGE_PREFIX»«cls.package.name».«cls.simpleName»
$«suffix»'''.toString()
+ '''«
cls.name»$$Broker
$«suffix»'''.toString()
}
/**
}
/**