mdsal.git
10 years agoRefresh topology models and make them build
Robert Varga [Wed, 27 Nov 2013 10:18:35 +0000 (11:18 +0100)]
Refresh topology models and make them build

Change-Id: Id967846cc94e23b42b52df198fcb60a0704e27a7
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFixed bug in generating code for augment.
Martin Vitez [Wed, 27 Nov 2013 12:00:36 +0000 (13:00 +0100)]
Fixed bug in generating code for augment.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoFixed handling null parameter while printing tree in GeneratorImpl.xtend
Martin Vitez [Tue, 26 Nov 2013 12:19:30 +0000 (13:19 +0100)]
Fixed handling null parameter while printing tree in GeneratorImpl.xtend

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoBump topology model versions
Robert Varga [Mon, 25 Nov 2013 19:45:23 +0000 (20:45 +0100)]
Bump topology model versions

Change-Id: Ifbc2c52ceb85177558e64a0a8bc98800e7a5dd41
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFixed bug in generated types storing in TypeProviderImpl.
Martin Vitez [Tue, 26 Nov 2013 10:21:48 +0000 (11:21 +0100)]
Fixed bug in generated types storing in TypeProviderImpl.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge "Added path to child nodes in documentation generator."
Tony Tkacik [Mon, 25 Nov 2013 18:32:17 +0000 (18:32 +0000)]
Merge "Added path to child nodes in documentation generator."

10 years agoAdded getTypeDefaultConstruction method to TypeProvider.
Martin Vitez [Mon, 25 Nov 2013 16:55:00 +0000 (17:55 +0100)]
Added getTypeDefaultConstruction method to TypeProvider.

Method can be used in code generation to create construction for new type with default value. Added tests.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoAdded path to child nodes in documentation generator.
Martin Vitez [Fri, 22 Nov 2013 08:53:07 +0000 (09:53 +0100)]
Added path to child nodes in documentation generator.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoAdd a few useful utilities to InstanceIdentifier
Robert Varga [Tue, 19 Nov 2013 16:37:41 +0000 (17:37 +0100)]
Add a few useful utilities to InstanceIdentifier

Change-Id: Ia31f2a41d346b52e0426d20f0c790e404e319e21
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdded toString method to generated inner implementation in builder classes.
Martin Vitez [Tue, 19 Nov 2013 15:45:32 +0000 (16:45 +0100)]
Added toString method to generated inner implementation in builder classes.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge "Added export of augmentation schemas to Binding Context"
Tony Tkacik [Tue, 19 Nov 2013 13:56:40 +0000 (13:56 +0000)]
Merge "Added export of augmentation schemas to Binding Context"

10 years agoAdded export of augmentation schemas to Binding Context
Tony Tkacik [Tue, 19 Nov 2013 13:47:05 +0000 (14:47 +0100)]
Added export of augmentation schemas to Binding Context

Change-Id: I881fcf83ec76639fa0c37c272e84a9866fe03ce9
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Fix for Bug 134: added restriction check to classes wrapping int and uint...
Tony Tkacik [Tue, 19 Nov 2013 13:43:53 +0000 (13:43 +0000)]
Merge "Fix for Bug 134: added restriction check to classes wrapping int and uint values."

10 years agoMerge "Implemented typedef units statement in generated code."
Tony Tkacik [Tue, 19 Nov 2013 13:43:19 +0000 (13:43 +0000)]
Merge "Implemented typedef units statement in generated code."

10 years agoMerge "Make builder typesafe by default and deprecate type-unsafe interfaces"
Tony Tkacik [Tue, 19 Nov 2013 13:42:51 +0000 (13:42 +0000)]
Merge "Make builder typesafe by default and deprecate type-unsafe interfaces"

10 years agoFix for Bug 134: added restriction check to classes wrapping int and uint values.
Martin Vitez [Tue, 19 Nov 2013 09:27:36 +0000 (10:27 +0100)]
Fix for Bug 134: added restriction check to classes wrapping int and uint values.

Fixed min and max value for Int64 class.
Implemented error log in parser if string token has missing starting quotation.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoImplemented typedef units statement in generated code.
Martin Vitez [Mon, 18 Nov 2013 10:54:39 +0000 (11:54 +0100)]
Implemented typedef units statement in generated code.

Added _UNITS constant to classes generated from typedefs with units statement (except typedef with enumeration as base type).
Updated tests.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoEnhancement of documentation generator.
Martin Vitez [Fri, 15 Nov 2013 11:56:45 +0000 (12:56 +0100)]
Enhancement of documentation generator.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoAdded initial version of documentation generator.
Martin Vitez [Thu, 14 Nov 2013 16:40:15 +0000 (17:40 +0100)]
Added initial version of documentation generator.

Fixed bug in code generator imports.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMake builder typesafe by default and deprecate type-unsafe interfaces
Robert Varga [Thu, 14 Nov 2013 10:21:32 +0000 (11:21 +0100)]
Make builder typesafe by default and deprecate type-unsafe interfaces

This concludes the conversion to typesafe builders, by introducing two
new factory methods which can be used with top-level containers,
resulting in a type-initialized container, on which child() and
augmentation() methods work as expected.

Since using this instantiation guides the developer and provides useful
compile-time feedback on what constitutes a valid InstanceIdentifier,
deprecate the old, unsafe interface.

Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdd augmentation() method
Robert Varga [Wed, 13 Nov 2013 20:52:08 +0000 (21:52 +0100)]
Add augmentation() method

This is a safer alternative to node(). With this, we are almost able to
deprecate node() from the public API, providing type-safe alternatives
to all operations.

Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoRemove unnecessary warning suppression
Robert Varga [Wed, 13 Nov 2013 20:39:09 +0000 (21:39 +0100)]
Remove unnecessary warning suppression

Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Bugfix in CompositeNode implementation, InstanceIdentifier builder."
Robert Varga [Wed, 13 Nov 2013 16:49:08 +0000 (16:49 +0000)]
Merge "Bugfix in CompositeNode implementation, InstanceIdentifier builder."

10 years agoAdded Codec concepts to the binding,
Tony Tkacik [Wed, 13 Nov 2013 14:17:38 +0000 (15:17 +0100)]
Added Codec concepts to the binding,
QNAME helper, data-dom also accessible as Map<QName,Object>

Change-Id: I37ceef6e6c7a29293e1c4c557c52df852c65b90f
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoFixed bug in constructor of list implementation.
Martin Vitez [Wed, 13 Nov 2013 11:03:49 +0000 (12:03 +0100)]
Fixed bug in constructor of list implementation.

Properties of list implementation are filled from properties of list key, if available.
Changed name of list key properties: name start with lower case instead of upper case.
Updated tests.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoBugfix in CompositeNode implementation, InstanceIdentifier builder.
Tony Tkacik [Tue, 12 Nov 2013 18:52:40 +0000 (19:52 +0100)]
Bugfix in CompositeNode implementation, InstanceIdentifier builder.

Change-Id: I546219be7348da37bb4a35d4cda208942b155b18
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded serialVersionUID field to classes generated from list key.
Martin Vitez [Tue, 12 Nov 2013 13:00:20 +0000 (14:00 +0100)]
Added serialVersionUID field to classes generated from list key.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoAdded check for valid length to typedef constructors.
Martin Vitez [Tue, 12 Nov 2013 08:56:25 +0000 (09:56 +0100)]
Added check for valid length to typedef constructors.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoAdded getLength method to classes generated from typedef statement.
Martin Vitez [Mon, 11 Nov 2013 15:39:17 +0000 (16:39 +0100)]
Added getLength method to classes generated from typedef statement.

Fixed generated classes from typedef with union base type.
Added more tests.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoAdded QName.create(), fixed Path generic in YANG binding.
Tony Tkacik [Sun, 10 Nov 2013 19:11:13 +0000 (20:11 +0100)]
Added QName.create(), fixed Path generic in YANG binding.

Change-Id: I3f67cd3fae95efb9725d0b16a252446049d13159
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoFix for Bug 140.
Martin Vitez [Fri, 8 Nov 2013 08:27:29 +0000 (09:27 +0100)]
Fix for Bug 140.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoOptimized method "fieldsFrom" in builder classes.
Martin Vitez [Thu, 7 Nov 2013 14:11:48 +0000 (15:11 +0100)]
Optimized method "fieldsFrom" in builder classes.

Added javadoc to method. Added throw clause if given argument is none of valid types.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoImplemented length statement. Added new method to Builder classes.
Martin Vitez [Wed, 6 Nov 2013 14:26:02 +0000 (15:26 +0100)]
Implemented length statement. Added new method to Builder classes.

 - Implemented type length restriction in generated code (Bug 93).
 - Setters for binary and string fields contains check for valid length.

 - Added new "fieldsFrom(DataObject arg)" method to Builder classes.
 - Method accepts class generated from grouping and serves as setter of properties based on grouping type.

Change-Id: I402ef1d76a68cdde3f4a8a8c74d2100ac38a6487
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoImplemented use of ChildOf interface in generated classes.
Martin Vitez [Thu, 31 Oct 2013 11:43:00 +0000 (12:43 +0100)]
Implemented use of ChildOf interface in generated classes.

Change-Id: I4795dde99f562258e7bc9670fe418c432aeccc5c
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge "Extended builders constructors."
Tony Tkacik [Tue, 29 Oct 2013 07:02:01 +0000 (07:02 +0000)]
Merge "Extended builders constructors."

10 years agoMerge "Fixed dependent artifacts version in poms."
Tony Tkacik [Mon, 28 Oct 2013 18:51:21 +0000 (18:51 +0000)]
Merge "Fixed dependent artifacts version in poms."

10 years agoExtended builders constructors.
Martin Vitez [Mon, 28 Oct 2013 14:13:48 +0000 (15:13 +0100)]
Extended builders constructors.

Constructors are generated also for implemented types from uses of nested nodes.

Change-Id: I7591c6124706b7104bcafec6d70cce16309bede4
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoFixed dependent artifacts version in poms.
Martin Vitez [Mon, 28 Oct 2013 12:53:20 +0000 (13:53 +0100)]
Fixed dependent artifacts version in poms.

Unified versions with controller project. Removed unused declarations.
Removed unused imports.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoFix for Bug 125.
Martin Vitez [Mon, 28 Oct 2013 09:55:43 +0000 (10:55 +0100)]
Fix for Bug 125.

Fixed bug in grouping definitions sort.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoFix for Bug 123.
Martin Vitez [Fri, 25 Oct 2013 13:28:54 +0000 (15:28 +0200)]
Fix for Bug 123.

Added more tests.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoAdded constructors to builder classes based on implemented interfaces from uses nodes.
Martin Vitez [Thu, 24 Oct 2013 16:22:19 +0000 (18:22 +0200)]
Added constructors to builder classes based on implemented interfaces from uses nodes.

Added more tests.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge "Added more Rpc markers to yang-binding."
Tony Tkacik [Wed, 23 Oct 2013 16:04:10 +0000 (16:04 +0000)]
Merge "Added more Rpc markers to  yang-binding."

10 years agoAdded more Rpc markers to yang-binding.
Tony Tkacik [Wed, 23 Oct 2013 15:46:59 +0000 (17:46 +0200)]
Added more Rpc markers to  yang-binding.

Change-Id: I7a0344382b7308cc5884e32682499527808773c5
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded getParent() method to DataSchemaNode and DataNodeContainer. Fixed Bugs.
Martin Vitez [Tue, 22 Oct 2013 20:54:19 +0000 (22:54 +0200)]
Added getParent() method to DataSchemaNode and DataNodeContainer. Fixed Bugs.

Fix for Bug 119.
Fix for Bug 120.
Fix for Bug 121.

Added more tests.

Change-Id: I7a88a1dc4b0ff8c277afab0560c89e91c8ff1a21
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoFixed utility method to validate java package name.
Martin Vitez [Fri, 18 Oct 2013 11:08:52 +0000 (13:08 +0200)]
Fixed utility method to validate java package name.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMinor code refactoring.
Martin Vitez [Mon, 14 Oct 2013 16:03:00 +0000 (18:03 +0200)]
Minor code refactoring.

 - fixed code formatting
 - removed redundant code
 - replaced explicitly defined generic type parameters with Java 7 diamond type '<>'
 - replaced too complex if/else statements with switch where possible
 - updated javadocs

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge "Extended compilation test."
Tony Tkacik [Mon, 14 Oct 2013 13:36:20 +0000 (13:36 +0000)]
Merge "Extended compilation test."

10 years agoExtended compilation test.
Martin Vitez [Mon, 14 Oct 2013 12:28:23 +0000 (14:28 +0200)]
Extended compilation test.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoAdded support for yang-ext:context-reference extension.
Martin Vitez [Fri, 11 Oct 2013 17:02:52 +0000 (19:02 +0200)]
Added support for yang-ext:context-reference extension.

Change-Id: I32edf7c80016cd46af07b65f6c4577aa6188a0f7
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoUpdated signature of getImplementedInterface
Tony Tkacik [Fri, 11 Oct 2013 14:58:52 +0000 (16:58 +0200)]
Updated signature of getImplementedInterface

Change-Id: If8f26aacfc10abfa31c6c5daccb1188dd21e7647
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoFixed incorect placement of getImplementedInterfaces()
Tony Tkacik [Fri, 11 Oct 2013 14:18:09 +0000 (16:18 +0200)]
Fixed incorect placement of getImplementedInterfaces()

Change-Id: Ia9ce65f066d2e7503f10316818448b9ece5814cc
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded supported for returning class object of implemented contract
Tony Tkacik [Fri, 11 Oct 2013 12:43:51 +0000 (14:43 +0200)]
Added supported for returning class object of implemented contract

Change-Id: I4203c50cb5f58f86a3e789d1ed653cce4d7314ee
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Improved generation of hashCode and equals."
Tony Tkacik [Thu, 10 Oct 2013 11:50:44 +0000 (11:50 +0000)]
Merge "Improved generation of hashCode and equals."

10 years agoImproved generation of hashCode and equals.
Martin Vitez [Thu, 10 Oct 2013 10:59:17 +0000 (12:59 +0200)]
Improved generation of hashCode and equals.

Fix for Bug 103.
Fixed generation of hashCode and equals for array variables using Arrays.hashCode and Arrays.equals.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge changes I14f284cc,I65bfdb56
Tony Tkacik [Thu, 10 Oct 2013 10:21:54 +0000 (10:21 +0000)]
Merge changes I14f284cc,I65bfdb56

* changes:
  Added support for identity statement.
  Fixed bug in resolving refine statement. (Bug 111)

10 years agoMerge "public modifier added"
Tony Tkacik [Wed, 9 Oct 2013 16:21:24 +0000 (16:21 +0000)]
Merge "public modifier added"

10 years agoAdded support for identity statement.
Martin Vitez [Wed, 9 Oct 2013 16:06:49 +0000 (18:06 +0200)]
Added support for identity statement.

Implemented enhancement Bug 102.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agopublic modifier added
Jozef Gloncak [Wed, 9 Oct 2013 14:22:56 +0000 (16:22 +0200)]
public modifier added

Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoMerge "Added generated code compilation test."
Tony Tkacik [Wed, 9 Oct 2013 11:13:47 +0000 (11:13 +0000)]
Merge "Added generated code compilation test."

10 years agoAdded generated code compilation test.
Martin Vitez [Wed, 9 Oct 2013 09:11:50 +0000 (11:11 +0200)]
Added generated code compilation test.

Added allGroupings method to DataNodeIterator. Updated grouping handling in BindingGeneratorImpl.xtend.

Change-Id: Ia2e720d2741169e59bce7a4079cfd6813a76409a
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoFixed bug in generating code for augments defined in uses.
Martin Vitez [Tue, 8 Oct 2013 13:47:51 +0000 (15:47 +0200)]
Fixed bug in generating code for augments defined in uses.

Fix for Bug 106.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoUpdated Concepts & YANG Binding
Tony Tkacik [Tue, 8 Oct 2013 06:53:57 +0000 (08:53 +0200)]
Updated Concepts & YANG Binding

  - Added Path concept
  - Updated InstanceIdentifier
     - implements Path
     - Generic parameter T which represents Target Type
  - Added ChildOf Marker interface
  - Added DataContainer marker interface

Change-Id: I3875de61add780803b7cf89d4c6789bb345bd409
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoFixed bug in generating code for rpc statement. (Bug 107)
Martin Vitez [Mon, 7 Oct 2013 15:56:11 +0000 (17:56 +0200)]
Fixed bug in generating code for rpc statement. (Bug 107)

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoFixed bug in augment parsing.
Martin Vitez [Mon, 7 Oct 2013 07:22:09 +0000 (09:22 +0200)]
Fixed bug in augment parsing.

Bug appears when two augments point to same target node which was added by uses statement.

Change-Id: I92a9d0586c9c94cd92a929a492272cdbd54be492
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoFixed bug in augmentation of choice nodes.
Martin Vitez [Fri, 4 Oct 2013 07:13:29 +0000 (09:13 +0200)]
Fixed bug in augmentation of choice nodes.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoAdded sorting of constructor arguments.
Martin Vitez [Thu, 3 Oct 2013 13:36:46 +0000 (15:36 +0200)]
Added sorting of constructor arguments.

Fix for Bug 101.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge "Added documentation to yang-binding, updated dependencies."
Robert Varga [Wed, 2 Oct 2013 19:23:27 +0000 (19:23 +0000)]
Merge "Added documentation to yang-binding, updated dependencies."

10 years agoAdded documentation to yang-binding, updated dependencies.
Tony Tkacik [Wed, 2 Oct 2013 17:52:57 +0000 (19:52 +0200)]
Added documentation to yang-binding, updated dependencies.

Change-Id: I1ed36c8539b496a44595f8895737accc7c77d8b8
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoFixed generated code for augmented nodes.
Martin Vitez [Wed, 2 Oct 2013 14:16:11 +0000 (16:16 +0200)]
Fixed generated code for augmented nodes.

Fix for Bug 92.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge "Fix for bug Bug 100 and Bug 87"
Martin Vitez [Wed, 2 Oct 2013 14:07:50 +0000 (14:07 +0000)]
Merge "Fix for bug Bug 100 and Bug 87"

10 years agoFix for bug Bug 100 and Bug 87
Tony Tkacik [Wed, 2 Oct 2013 13:59:40 +0000 (15:59 +0200)]
Fix for bug Bug 100 and Bug 87

Bug 87 Reworked imports such offending import statements are not present anymore.
Bug 100 Added missing call for Choice nodes.

Change-Id: Iea57338bfc19b1071a3cf6525616422e68c75e52
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Fixed bug with Key generation with fields added from grouping"
Tony Tkacik [Wed, 2 Oct 2013 12:42:10 +0000 (12:42 +0000)]
Merge "Fixed bug with Key generation with fields added from grouping"

10 years agoFixed bug with Key generation with fields added from grouping
Tony Tkacik [Wed, 2 Oct 2013 12:25:09 +0000 (14:25 +0200)]
Fixed bug with Key generation with fields added from grouping

Change-Id: Id631663eb02d9816c92829e6f3fe0f0e10a0d358
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Bumped code generator version for model project."
Tony Tkacik [Wed, 2 Oct 2013 11:42:05 +0000 (11:42 +0000)]
Merge "Bumped code generator version for model project."

10 years agoMerge "Updated Concepts descriptions"
Tony Tkacik [Wed, 2 Oct 2013 10:54:55 +0000 (10:54 +0000)]
Merge "Updated Concepts descriptions"

10 years agoUpdated Concepts descriptions
Tony Tkacik [Wed, 2 Oct 2013 10:06:57 +0000 (12:06 +0200)]
Updated Concepts descriptions

Added fluent builder to the instance identifier.

Change-Id: Icd28833f53a8365ec1d6e00b075db003dd421098
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoBumped code generator version for model project.
Martin Vitez [Tue, 1 Oct 2013 14:50:16 +0000 (16:50 +0200)]
Bumped code generator version for model project.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoAdded equals and hashcode to builder implementations.
Martin Vitez [Tue, 1 Oct 2013 12:07:36 +0000 (14:07 +0200)]
Added equals and hashcode to builder implementations.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoPromoted yang syntactic error handling.
Martin Vitez [Mon, 30 Sep 2013 10:37:53 +0000 (12:37 +0200)]
Promoted yang syntactic error handling.

When antlr parser encounters syntactic error, it throws an exception instead of log.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMoved TypeProviderImpl from binding-generator-impl to binding-type-provider.
Martin Vitez [Thu, 26 Sep 2013 12:07:45 +0000 (14:07 +0200)]
Moved TypeProviderImpl from binding-generator-impl to binding-type-provider.

Change-Id: Iaee1162a6113dd95c6e3a854cda2e65ea4553186
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoFixed toString bug. Fixed yang versions used in tests.
Martin Vitez [Mon, 30 Sep 2013 09:41:07 +0000 (11:41 +0200)]
Fixed toString bug. Fixed yang versions used in tests.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge "Bumped version of binding-generator to 0.6.0-SNAPSHOT."
Robert Varga [Sat, 28 Sep 2013 08:22:29 +0000 (08:22 +0000)]
Merge "Bumped version of binding-generator to 0.6.0-SNAPSHOT."

10 years ago[maven-release-plugin] prepare for next development iteration
Tony Tkacik [Fri, 27 Sep 2013 14:16:11 +0000 (16:16 +0200)]
[maven-release-plugin] prepare for next development iteration

Change-Id: Id76c931a0206738de2edc68b5997f13e5cab42cd
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years ago[maven-release-plugin] Prepare release yangtools-0.1.0
Tony Tkacik [Fri, 27 Sep 2013 14:07:27 +0000 (16:07 +0200)]
[maven-release-plugin] Prepare release yangtools-0.1.0

Change-Id: Ie3fc3f25604b45518a8c21c4dc39dfac64d16d9e
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Updated pom files for release preparation"
Tony Tkacik [Fri, 27 Sep 2013 12:52:35 +0000 (12:52 +0000)]
Merge "Updated pom files for release preparation"

10 years agoUpdated pom files for release preparation
Tony Tkacik [Fri, 27 Sep 2013 11:48:32 +0000 (13:48 +0200)]
Updated pom files for release preparation

Change-Id: Ib991a5998659cae451d2ff3b924f475ff7fbc39f
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Updated pom files, added concepts component"
Tony Tkacik [Fri, 27 Sep 2013 11:45:28 +0000 (11:45 +0000)]
Merge "Updated pom files, added concepts component"

10 years agoUpdated pom files, added concepts component
Tony Tkacik [Fri, 27 Sep 2013 11:38:22 +0000 (13:38 +0200)]
Updated pom files, added concepts component

Change-Id: Id7e0b320b8edbe89c52220c13b1b0d70bf7d1e30
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoBumped version of binding-generator to 0.6.0-SNAPSHOT.
Martin Vitez [Thu, 26 Sep 2013 10:36:45 +0000 (12:36 +0200)]
Bumped version of binding-generator to 0.6.0-SNAPSHOT.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge changes Ifb4a8c9e,I9ef1fb78
Tony Tkacik [Wed, 25 Sep 2013 16:53:50 +0000 (16:53 +0000)]
Merge changes Ifb4a8c9e,I9ef1fb78

* changes:
  Added new parse method to YangModelParser.
  Improved generation of toString() method.

10 years agoImproved generation of toString() method.
Martin Vitez [Wed, 25 Sep 2013 11:03:45 +0000 (13:03 +0200)]
Improved generation of toString() method.

If property from toStringProperties is an array, it will be printed using 'Arrays.toString(<property>)'.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoRefine test refined
Jozef Gloncak [Tue, 24 Sep 2013 13:55:13 +0000 (15:55 +0200)]
Refine test refined

Change-Id: I7df61166dc755e7eb9c50bc01f2a3d4cca1642e5
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoMinor code refactoring.
Martin Vitez [Wed, 18 Sep 2013 11:24:16 +0000 (13:24 +0200)]
Minor code refactoring.

Added javadocs. Fixed tests.

Change-Id: I0fe31f714e9ae22d1cdd99601fa479fcd9a018dd
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoFix warnings reported by maven
Ladislav Borak [Mon, 23 Sep 2013 10:29:38 +0000 (12:29 +0200)]
Fix warnings reported by maven

Change-Id: I89ff9867d7e843ba34e78ea1592cf27ad0c14dbd

Signed-off-by: Ladislav Borak <lborak@cisco.com>
10 years agoRemoved Export-Package declaration from maven-bundle-plugin. Fixed some maven warnings.
Martin Vitez [Fri, 20 Sep 2013 08:01:59 +0000 (10:01 +0200)]
Removed Export-Package declaration from maven-bundle-plugin. Fixed some maven warnings.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoRefactored OSGi metadata declaration.
Martin Vitez [Thu, 19 Sep 2013 15:26:42 +0000 (17:26 +0200)]
Refactored OSGi metadata declaration.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoFixed OSGi metadata for binding-generator-api module.
Martin Vitez [Thu, 19 Sep 2013 13:27:56 +0000 (15:27 +0200)]
Fixed OSGi metadata for binding-generator-api module.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoAdded OSGi metadata to yangtools artifacts.
Martin Vitez [Tue, 17 Sep 2013 14:37:21 +0000 (16:37 +0200)]
Added OSGi metadata to yangtools artifacts.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge "Added RoutingContext annotation, updated InstanceIdentifier"
Tony Tkacik [Tue, 17 Sep 2013 13:51:55 +0000 (13:51 +0000)]
Merge "Added RoutingContext annotation, updated InstanceIdentifier"

10 years agoAdded RoutingContext annotation, updated InstanceIdentifier
Tony Tkacik [Tue, 17 Sep 2013 12:55:40 +0000 (14:55 +0200)]
Added RoutingContext annotation, updated InstanceIdentifier

Change-Id: I16b1c56d632bdc5b871fa4aa2f09dfbe229c85de
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>