yangtools.git
10 years agoMerge changes I6265d077,I0be9473e,If481ebdb
Robert Varga [Fri, 24 Jan 2014 14:17:39 +0000 (14:17 +0000)]
Merge changes I6265d077,I0be9473e,If481ebdb

* changes:
  Add copyright headers to pom.xml files
  Add copyright headers to xtend files
  Add copything headers to java files

10 years agoAdded implementation of getQName for Identity classes 95/4695/1
Tony Tkacik [Fri, 24 Jan 2014 11:08:10 +0000 (12:08 +0100)]
Added implementation of getQName for Identity classes

Change-Id: I469717a4602e34327dec8a9fa95deedd7037b1c3
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdd copyright headers to pom.xml files 82/4682/1
Robert Varga [Fri, 24 Jan 2014 08:31:32 +0000 (09:31 +0100)]
Add copyright headers to pom.xml files

Change-Id: I6265d077f47223d76da6ce08102024a8ab3e871e
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdd copyright headers to xtend files 81/4681/1
Robert Varga [Fri, 24 Jan 2014 08:26:26 +0000 (09:26 +0100)]
Add copyright headers to xtend files

Change-Id: I0be9473e63200367539a5ed34d53756f54d05a19
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdd copything headers to java files 80/4680/1
Robert Varga [Fri, 24 Jan 2014 08:25:56 +0000 (09:25 +0100)]
Add copything headers to java files

Change-Id: If481ebdbad101ebaa7f1de7edb3d824ea978cc9f
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "introducing general purpose websocket client"
Tony Tkacik [Fri, 24 Jan 2014 07:44:20 +0000 (07:44 +0000)]
Merge "introducing general purpose websocket client"

10 years agointroducing general purpose websocket client 47/4647/2
Martin Bobak [Thu, 23 Jan 2014 13:56:15 +0000 (14:56 +0100)]
introducing general purpose websocket client

Signed-off-by: Martin Bobak <mbobak@cisco.com>
Change-Id: I3c07d67572263b46bb02f0a58716e461606442c6

10 years agoMerge "Move RuntimeGeneratedMappingService from md-sal to yang-data-impl(codecs ...
Tony Tkacik [Fri, 24 Jan 2014 07:08:07 +0000 (07:08 +0000)]
Merge "Move RuntimeGeneratedMappingService from md-sal to yang-data-impl(codecs + apis) and binding-generator-impl(service implementation)"

10 years agoFix for Bug 294. 46/4646/1
Martin Vitez [Thu, 23 Jan 2014 13:36:49 +0000 (14:36 +0100)]
Fix for Bug 294.

Added lookup of rpc statements when searching by augment target path.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMove RuntimeGeneratedMappingService from md-sal to yang-data-impl(codecs + apis)... 31/4631/2
Maros Marsalek [Thu, 23 Jan 2014 09:01:05 +0000 (10:01 +0100)]
Move RuntimeGeneratedMappingService from md-sal to yang-data-impl(codecs + apis) and binding-generator-impl(service implementation)

Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Change-Id: I44b19aa5221baf8e954553789e96f0cb662703d9

10 years agoFixed NPE in URLSchemaContextResolver. 26/4626/1
Tony Tkacik [Thu, 23 Jan 2014 08:49:20 +0000 (09:49 +0100)]
Fixed NPE in URLSchemaContextResolver.

Change-Id: Ia2dce65ea980d66503dd686a4c61a14466588914
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Fix bugs in yang files."
Tony Tkacik [Wed, 22 Jan 2014 21:25:45 +0000 (21:25 +0000)]
Merge "Fix bugs in yang files."

10 years agoMerge "Added URL based Schema Context resolver, which tracks source URLs and their...
Tony Tkacik [Wed, 22 Jan 2014 21:23:07 +0000 (21:23 +0000)]
Merge "Added URL based Schema Context resolver, which tracks source URLs and their dependencies to parse."

10 years agoAdded URL based Schema Context resolver, which tracks source URLs and their dependenc... 07/4607/2
Tony Tkacik [Wed, 22 Jan 2014 20:35:57 +0000 (21:35 +0100)]
Added URL based Schema Context resolver, which tracks source URLs and their dependencies to parse.

Change-Id: Iecc04104a7193f1badaffdd082006c9c44da1f7b
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Improved parsing of key in list schema node."
Tony Tkacik [Wed, 22 Jan 2014 15:38:52 +0000 (15:38 +0000)]
Merge "Improved parsing of key in list schema node."

10 years agoImproved parsing of key in list schema node. 90/4590/1
Martin Vitez [Wed, 22 Jan 2014 15:28:46 +0000 (16:28 +0100)]
Improved parsing of key in list schema node.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoFix bugs in yang files. 84/4584/1
Tomas Olvecky [Wed, 22 Jan 2014 14:57:23 +0000 (15:57 +0100)]
Fix bugs in yang files.

Fix typo in ospf-topology and wrong prefix in isis-topology.

Change-Id: Ie40272b82bb2e210ee030cddf52faa9106d31bed
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoMerge "Refactored parsing of key in list schema node."
Tony Tkacik [Wed, 22 Jan 2014 12:39:31 +0000 (12:39 +0000)]
Merge "Refactored parsing of key in list schema node."

10 years agoRefactored parsing of key in list schema node. 69/4569/1
Martin Vitez [Wed, 22 Jan 2014 11:22:50 +0000 (12:22 +0100)]
Refactored parsing of key in list schema node.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoBump model versions to prevent clash with nexus 65/4565/1
Robert Varga [Wed, 22 Jan 2014 10:00:01 +0000 (11:00 +0100)]
Bump model versions to prevent clash with nexus

It turns out the current -SNAPSHOT version were release on 9/30 into
nexus, but their versions were not bumpted. The released version does
not carry the latest generation rules, most notably DTO range checks and
it is tied to a historic (0.1.1) version of model parent.

This means we need to fix the historic mistake and do a fresh release.

Change-Id: Ia15862d880833bfc49cb42dd298a45c9b252fb32
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Fix for bug : 234 Have made changes in controller-openflow.yang"
Robert Varga [Tue, 21 Jan 2014 22:10:16 +0000 (22:10 +0000)]
Merge "Fix for bug : 234 Have made changes in controller-openflow.yang"

10 years agoRemove references to controller.git 13/4513/1
Robert Varga [Tue, 21 Jan 2014 17:21:33 +0000 (18:21 +0100)]
Remove references to controller.git

Change-Id: I2b455485c0ca940d878a5ffb40be667a337227e8
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Revert "Make distributionManagement reference groups""
Robert Varga [Tue, 21 Jan 2014 16:12:58 +0000 (16:12 +0000)]
Merge "Revert "Make distributionManagement reference groups""

10 years agoRevert "Make distributionManagement reference groups" 11/4511/1
Robert Varga [Tue, 21 Jan 2014 16:11:57 +0000 (17:11 +0100)]
Revert "Make distributionManagement reference groups"

This reverts commit 312ee2144e8cff81d9e8ace96413870c213bd4ab.

Change-Id: I7a78d194151d1b0f566fa349b335db4630e6ede8
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Revert "Make distributionManagement reference groups""
Martin Vitez [Tue, 21 Jan 2014 16:07:30 +0000 (16:07 +0000)]
Merge "Revert "Make distributionManagement reference groups""

10 years agoRevert "Make distributionManagement reference groups" 10/4510/1
Tony Tkacik [Tue, 21 Jan 2014 15:44:41 +0000 (15:44 +0000)]
Revert "Make distributionManagement reference groups"

This reverts commit 312ee2144e8cff81d9e8ace96413870c213bd4ab.

Change-Id: Id6da0eb93cb10d81cda9fbc3f581b17cef2aa5e6
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoFix a logic mistake 08/4508/1
Robert Varga [Tue, 21 Jan 2014 14:54:46 +0000 (15:54 +0100)]
Fix a logic mistake

Change-Id: Id034f54bb3873d0d6f2fca3ee3ba0c9ad7eca1a3
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Fix network-topology yang files xpath syntax."
Martin Vitez [Tue, 21 Jan 2014 15:31:20 +0000 (15:31 +0000)]
Merge "Fix network-topology yang files xpath syntax."

10 years agoMerge "Improve generated toString() methods to skip null fields"
Tony Tkacik [Tue, 21 Jan 2014 15:24:23 +0000 (15:24 +0000)]
Merge "Improve generated toString() methods to skip null fields"

10 years agoMerge "Fixed bug in copying unknown nodes."
Tony Tkacik [Tue, 21 Jan 2014 15:23:30 +0000 (15:23 +0000)]
Merge "Fixed bug in copying unknown nodes."

10 years agoMerge "Fix for Bug 308."
Tony Tkacik [Tue, 21 Jan 2014 15:23:17 +0000 (15:23 +0000)]
Merge "Fix for Bug 308."

10 years agoFixed bug in copying unknown nodes. 99/4499/2
Tony Tkacik [Tue, 21 Jan 2014 13:39:25 +0000 (14:39 +0100)]
Fixed bug in copying unknown nodes.

Change-Id: I83325e5e11f77c4ac1ca92d15a76cc983b2ae893
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoImprove generated toString() methods to skip null fields 07/4507/1
Robert Varga [Tue, 21 Jan 2014 14:54:46 +0000 (15:54 +0100)]
Improve generated toString() methods to skip null fields

This checks if the field is set to null and if it is, it does not add it
to the resulting string.

Change-Id: If3e88f0ce1f73d1ca2cbc38cecfaf1f7a64d108a
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Point to HEAD of the repository"
Tony Tkacik [Tue, 21 Jan 2014 13:29:57 +0000 (13:29 +0000)]
Merge "Point to HEAD of the repository"

10 years agoMerge "Make distributionManagement reference groups"
Tony Tkacik [Tue, 21 Jan 2014 13:29:37 +0000 (13:29 +0000)]
Merge "Make distributionManagement reference groups"

10 years agoMerge "Make sure a logger is available during tests"
Tony Tkacik [Tue, 21 Jan 2014 13:26:22 +0000 (13:26 +0000)]
Merge "Make sure a logger is available during tests"

10 years agoForce maven release plugin to install our plugin 68/4468/2
Robert Varga [Mon, 20 Jan 2014 23:53:11 +0000 (00:53 +0100)]
Force maven release plugin to install our plugin

Change-Id: Iaaee56e60c04f2faec9d31ed71ddd745bff695e2
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Add test verifying parser's ability to read module with two revisions at same...
Martin Vitez [Tue, 21 Jan 2014 09:45:33 +0000 (09:45 +0000)]
Merge "Add test verifying parser's ability to read module with two revisions at same time."

10 years agoFix network-topology yang files xpath syntax. 87/4487/1
Tomas Olvecky [Tue, 21 Jan 2014 09:17:32 +0000 (10:17 +0100)]
Fix network-topology yang files xpath syntax.

Add braces to XPath in order for yuma to parse configuration.

Change-Id: I6919a10ad4436a154975fdd2c3c9e1a6bf7f0e54
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoFix for Bug 308. 86/4486/2
Martin Vitez [Tue, 21 Jan 2014 09:08:25 +0000 (10:08 +0100)]
Fix for Bug 308.

Fixed searching in context by qname instead of local name.
Fixed SchemaNodeComparator.
Updated child nodes storing in implementations.

Change-Id: I5c47fea79b227b3351ab558fca93671308af566c
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoAdd test verifying parser's ability to read module with two revisions at same time. 85/4485/1
Tomas Olvecky [Tue, 21 Jan 2014 08:55:57 +0000 (09:55 +0100)]
Add test verifying parser's ability to read module with two revisions at same time.

Change-Id: I5434d0908164cf705fe81f589fa85d47d32120e3
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoFixed bug in yangtools grammar for extensions. 82/4482/1
Martin Vitez [Tue, 21 Jan 2014 07:49:02 +0000 (08:49 +0100)]
Fixed bug in yangtools grammar for extensions.

Fixed bug in grammar for extensions with structured arguments.

Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoFix for bug : 234 77/4477/1
deepankar [Tue, 21 Jan 2014 07:26:48 +0000 (12:56 +0530)]
Fix for bug : 234
Have made changes in controller-openflow.yang

Change-Id: Ia68a062934ffaca9eefcb9ba1f1457b76f83d1d3
Signed-off-by: deepankar <deepankar.gupta@tcs.com>
10 years agoPoint to HEAD of the repository 75/4475/1
Robert Varga [Tue, 21 Jan 2014 07:08:26 +0000 (08:08 +0100)]
Point to HEAD of the repository

Change-Id: If8b0ef08975dad5507cf559b0d268bd9819cf0b5
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMake distributionManagement reference groups 69/4469/1
Robert Varga [Mon, 20 Jan 2014 23:49:32 +0000 (00:49 +0100)]
Make distributionManagement reference groups

Change-Id: I387977f65de9dce6bf9b3956fb188d109f437ce5
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Propagate version from integration test pom into test resources"
Robert Varga [Mon, 20 Jan 2014 23:01:10 +0000 (23:01 +0000)]
Merge "Propagate version from integration test pom into test resources"

10 years agoMake sure a logger is available during tests 17/4417/3
Robert Varga [Sun, 19 Jan 2014 21:03:47 +0000 (22:03 +0100)]
Make sure a logger is available during tests

Change-Id: I0a9b5537452209846e7696f15ed9c6e9207570f0
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoPropagate version from integration test pom into test resources 58/4458/2
Robert Varga [Mon, 20 Jan 2014 19:28:40 +0000 (20:28 +0100)]
Propagate version from integration test pom into test resources

Change-Id: I7f3e46840f89b901d147b35457da01cfbff93dac
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoCorrected log message 52/4452/1
Martin Sunal [Mon, 20 Jan 2014 16:23:21 +0000 (17:23 +0100)]
Corrected log message

Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoNPE prevention in log 40/4440/1
Martin Sunal [Mon, 20 Jan 2014 12:12:20 +0000 (13:12 +0100)]
NPE prevention in log

- potential BUG 326

Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoMerge "Changed generation of POST operation block"
Tony Tkacik [Mon, 20 Jan 2014 08:46:57 +0000 (08:46 +0000)]
Merge "Changed generation of POST operation block"

10 years agoMerge "BUG-326: quickfix: Log offending type and fallback to strings"
Tony Tkacik [Sun, 19 Jan 2014 20:35:16 +0000 (20:35 +0000)]
Merge "BUG-326: quickfix: Log offending type and fallback to strings"

10 years agoRevert "Revert "Bump all artifacts to 0.6.0-SNAPSHOT"" 09/4409/2
Robert Varga [Sun, 19 Jan 2014 20:22:23 +0000 (21:22 +0100)]
Revert "Revert "Bump all artifacts to 0.6.0-SNAPSHOT""

This reverts commit e83067e904d17644813311d6b184aaa9acfa93f8.

The controller is now ready to receive the revved-up version, except it
fails on a fix which is already present in the repository. Re-bump the
revision such that the controller-side patch
(https://git.opendaylight.org/gerrit/#/c/4298/) can succeed.

Change-Id: Ieca16ad1393d534791643942aeee593e15188802
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBUG-326: quickfix: Log offending type and fallback to strings 03/4403/1
Robert Varga [Sun, 19 Jan 2014 14:43:41 +0000 (15:43 +0100)]
BUG-326: quickfix: Log offending type and fallback to strings

This expands the NPE site to log the base type for which we failed to
find the codec and fallback to string.

Change-Id: I9d22fb1cc8402a3cc41c2907660b9343ad4feff2
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoUpdate failsafe plugin to 2.15 to match controller 97/4397/1
Robert Varga [Sun, 19 Jan 2014 12:23:52 +0000 (13:23 +0100)]
Update failsafe plugin to 2.15 to match controller

Change-Id: I8208eb390b2b20d6f8b96e9cfa6e6f1428c734fb
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoUse java versions inherited from parent POM 96/4396/1
Robert Varga [Sun, 19 Jan 2014 12:16:34 +0000 (13:16 +0100)]
Use java versions inherited from parent POM

Change-Id: I2816ab11068248b8368bb435a113ed1008370919
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBump findbugs-maven-plugin to 2.5.3 95/4395/1
Robert Varga [Sun, 19 Jan 2014 12:15:13 +0000 (13:15 +0100)]
Bump findbugs-maven-plugin to 2.5.3

Change-Id: I1eabecac9502d960af1077b5806c581e8ef2540e
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBump maven-clean-plugin version to 2.5 94/4394/1
Robert Varga [Sun, 19 Jan 2014 12:13:29 +0000 (13:13 +0100)]
Bump maven-clean-plugin version to 2.5

Change-Id: Ic3287796ce08a55f132f873b3a3183e94a2a7b32
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoSpecify minimum maven version to 3.0.4 93/4393/1
Robert Varga [Sun, 19 Jan 2014 12:11:12 +0000 (13:11 +0100)]
Specify minimum maven version to 3.0.4

Change-Id: I4c72bd39553d89d6739236397d9b883658651d45
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBump build helper plugin version to 1.8 92/4392/1
Robert Varga [Sun, 19 Jan 2014 11:59:57 +0000 (12:59 +0100)]
Bump build helper plugin version to 1.8

Change-Id: Ibc436b49809b171602f1a593c2d293254defe928
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoEnsure all pom.xml files have UNIX encoding 89/4389/1
Robert Varga [Sun, 19 Jan 2014 11:14:39 +0000 (12:14 +0100)]
Ensure all pom.xml files have UNIX encoding

Change-Id: I799a155c6e4a33bbb0acc5164c9e94dc143a1671
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFix maven release plugin version 88/4388/1
Robert Varga [Sun, 19 Jan 2014 10:50:24 +0000 (11:50 +0100)]
Fix maven release plugin version

Change-Id: Id89f947206b008350e4b06f0e2d0cff69ba07da0
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoUse opendaylight nexus for any dependencies 87/4387/1
Robert Varga [Sun, 19 Jan 2014 10:15:00 +0000 (11:15 +0100)]
Use opendaylight nexus for any dependencies

Change-Id: Ifadbfc8c7ad3f6f9b9dd85e4cc8441b810171f2c
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdd missing copyright headers 86/4386/1
Robert Varga [Sun, 19 Jan 2014 10:07:47 +0000 (11:07 +0100)]
Add missing copyright headers

Change-Id: I5562ff8eb78c200652a96fd506c8c96d50ec4d5d
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdd project-wide license file 85/4385/1
Robert Varga [Sun, 19 Jan 2014 10:01:41 +0000 (11:01 +0100)]
Add project-wide license file

Change-Id: I8689bf401c16b4b06b02ce08c27953f9befeadde
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoRemove unused imports 82/4382/1
Robert Varga [Sun, 19 Jan 2014 09:48:11 +0000 (10:48 +0100)]
Remove unused imports

Change-Id: I14939b41b5f902df838665897a8d077b31428e63
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBUG-305: remove the use of System.out 81/4381/1
Robert Varga [Sun, 19 Jan 2014 09:54:34 +0000 (10:54 +0100)]
BUG-305: remove the use of System.out

Change-Id: Id1975d58a432223666ac57b15bd1753cdba27996
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "SchemaContext extends ContainerSchemaNode"
Tony Tkacik [Fri, 17 Jan 2014 13:19:10 +0000 (13:19 +0000)]
Merge "SchemaContext extends ContainerSchemaNode"

10 years agoSchemaContext extends ContainerSchemaNode 54/4354/1
Martin Sunal [Fri, 17 Jan 2014 11:31:56 +0000 (12:31 +0100)]
SchemaContext extends ContainerSchemaNode

Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoIntroduce mockito-configuration from bgpcep 16/4316/3
Robert Varga [Thu, 16 Jan 2014 15:33:58 +0000 (16:33 +0100)]
Introduce mockito-configuration from bgpcep

Change-Id: Id454e3ae9d121f2f75f7c9036c0042280ab6c6c9
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdding support for the git-review command line tool 75/3975/2
Colin McNamara [Mon, 30 Dec 2013 03:29:47 +0000 (19:29 -0800)]
Adding support for the git-review command line tool

The OpenStack doc workflow (and entire gerrit workflow) has the
option of using a tool called git-review that automates ChangeID:
creation and management,automates rebasing of local commits
as well as simplifies submiting to gerrit and pulling and
pushing reviews.

Usage of the tool is entirely optional, however it does require
a pointer file named .gitreview in the root of the repository
that is referenced.

I am totally new to this project, if you guys don't want to merge
this then no big deal. However I think this will help with dev's
coming over from OpenStack as it will provide a optional workflow
that is closer to the OpenStack workflow.

It is necessary to run git review -s to append the change-id into
git-hooks the first time you use the tool

Change-Id: I37499ba4e316b93dceba2c112f62263a36e8ccf4
Signed-off-by: Colin McNamara <colin@2cups.com>
10 years agoChanged generation of POST operation block 76/4176/2
Martin Sunal [Mon, 13 Jan 2014 11:34:22 +0000 (12:34 +0100)]
Changed generation of POST operation block

- POST block was changed according to changes in RESTCONF https://git.opendaylight.org/gerrit/#/c/4081/
- added block for DELETE operation
- refactoring

Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoMerge "Fixed schema resolution strategy"
Tony Tkacik [Thu, 16 Jan 2014 17:47:26 +0000 (17:47 +0000)]
Merge "Fixed schema resolution strategy"

10 years agoFixed schema resolution strategy 27/4327/1
Tony Tkacik [Thu, 16 Jan 2014 17:05:11 +0000 (18:05 +0100)]
Fixed schema resolution strategy

Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded augment sorting before resolving process. 00/4200/2
Martin Vitez [Tue, 14 Jan 2014 09:29:14 +0000 (10:29 +0100)]
Added augment sorting before resolving process.

Change-Id: I51ca3a9618c71b37f776e886c41e70ba4cb10f84
Signed-off-by: Martin Vitez <mvitez@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Fixed potential NPEs in yang-data-impl."
Tony Tkacik [Thu, 16 Jan 2014 15:03:37 +0000 (15:03 +0000)]
Merge "Fixed potential NPEs in yang-data-impl."

10 years agoFixed potential NPEs in yang-data-impl. 07/4307/1
Tony Tkacik [Thu, 16 Jan 2014 13:04:10 +0000 (14:04 +0100)]
Fixed potential NPEs in yang-data-impl.

Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoRevert "Bump all artifacts to 0.6.0-SNAPSHOT" 94/4294/1
Tony Tkacik [Thu, 16 Jan 2014 09:43:09 +0000 (09:43 +0000)]
Revert "Bump all artifacts to 0.6.0-SNAPSHOT"

This reverts commit f5e9689b95d945c22c7a38870681cab899326de9.

Change-Id: I5ca4ae9c8a46b5af8244780cb04ec568b30335d3
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoBump all artifacts to 0.6.0-SNAPSHOT 81/4281/1
Robert Varga [Wed, 15 Jan 2014 21:44:31 +0000 (22:44 +0100)]
Bump all artifacts to 0.6.0-SNAPSHOT

Change-Id: Ie5a279943f7db817af7c94b017103bd7e6fd1d84
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Added codec for w3c.Document to yang-data-api with schema support"
Tony Tkacik [Wed, 15 Jan 2014 13:06:11 +0000 (13:06 +0000)]
Merge "Added codec for w3c.Document to yang-data-api with schema support"

10 years agoMerge "Fixed bug when getter for YANG leaf named class colided with getClass()"
Tony Tkacik [Wed, 15 Jan 2014 13:05:59 +0000 (13:05 +0000)]
Merge "Fixed bug when getter for YANG leaf named class colided with getClass()"

10 years agoMerge "Added support for parsing submodules & added dependency utility parser"
Tony Tkacik [Wed, 15 Jan 2014 12:40:29 +0000 (12:40 +0000)]
Merge "Added support for parsing submodules & added dependency utility parser"

10 years agoAdded codec for w3c.Document to yang-data-api with schema support 57/4257/2
Tony Tkacik [Wed, 15 Jan 2014 10:58:15 +0000 (11:58 +0100)]
Added codec for w3c.Document to yang-data-api with schema support

   - Added headers

Change-Id: I6b16652a0c9510463488eefe7786866391bde16e
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoFixed bug when getter for YANG leaf named class colided with getClass() 55/4255/2
Tony Tkacik [Wed, 15 Jan 2014 10:55:29 +0000 (11:55 +0100)]
Fixed bug when getter for YANG leaf named class colided with getClass()

  - Updated imports generation to explicitly import also files from same
    package.

Change-Id: Iadbdb2322b50e1b25c9be632960f6298bb654192
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded support for parsing submodules & added dependency utility parser 53/4253/1
Martin Vitez [Mon, 13 Jan 2014 10:06:22 +0000 (11:06 +0100)]
Added support for parsing submodules & added dependency utility parser

All nodes defined in submodule are added to module to which submodule belongs.

Dependency utility parser is small YANG parser which extracts module identifier
(module name,revision) and all imports / includes, so it is easier for
implementations using YANG parser to check if all dependencies are available.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoRevert "Added w3c Document to yang-data-api codec with schema support" 30/4230/2
Tony Tkacik [Tue, 14 Jan 2014 16:00:17 +0000 (16:00 +0000)]
Revert "Added w3c Document to yang-data-api codec with schema support"

This reverts commit 5a53f88da0e878808be2698827842038aefbaa71.

Change-Id: Ic14f16f81b69294d49c0b34d96a98618f5906558
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Revert "Added support for parsing submodules & added dependency utility parser""
Tony Tkacik [Tue, 14 Jan 2014 15:38:46 +0000 (15:38 +0000)]
Merge "Revert "Added support for parsing submodules & added dependency utility parser""

10 years agoRevert "Added support for parsing submodules & added dependency utility parser" 29/4229/1
Tony Tkacik [Tue, 14 Jan 2014 15:31:21 +0000 (15:31 +0000)]
Revert "Added support for parsing submodules & added dependency utility parser"

This change breaked transient dependencies in other projects.

Change-Id: I61ffac622ba14fa113389164f5f2cd350f41818e
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded YangModuleInfo interface. 08/4208/1
Tony Tkacik [Tue, 14 Jan 2014 11:43:45 +0000 (12:43 +0100)]
Added YangModuleInfo interface.

Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded w3c Document to yang-data-api codec with schema support 07/4207/1
Tony Tkacik [Tue, 14 Jan 2014 11:26:21 +0000 (12:26 +0100)]
Added w3c Document to yang-data-api codec with schema support

Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded support for parsing submodules & added dependency utility parser 70/4170/2
Martin Vitez [Mon, 13 Jan 2014 10:06:22 +0000 (11:06 +0100)]
Added support for parsing submodules & added dependency utility parser

All nodes defined in submodule are added to module to which submodule belongs.

Dependency utility parser is small YANG parser which extracts module identifier
(module name,revision) and all imports / includes, so it is easier for
implementations using YANG parser to check if all dependencies are available.

Change-Id: If1c4c5544aaf54e9ba7d8000a6f31cce83a7f9f1
Signed-off-by: Martin Vitez <mvitez@cisco.com>
Signed-off-by: Tony Tkaciik <ttkacik@cisco.com>
10 years agoMerge "Added module sorting to SchemaContext."
Tony Tkacik [Tue, 14 Jan 2014 09:36:33 +0000 (09:36 +0000)]
Merge "Added module sorting to SchemaContext."

10 years agoMerge "Fix for Bug 280."
Tony Tkacik [Tue, 14 Jan 2014 09:36:11 +0000 (09:36 +0000)]
Merge "Fix for Bug 280."

10 years agoAdded module sorting to SchemaContext. 87/4187/1
Martin Vitez [Mon, 13 Jan 2014 16:03:39 +0000 (17:03 +0100)]
Added module sorting to SchemaContext.

Added test.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge "Introduce RESTCONF Client API"
Robert Varga [Mon, 13 Jan 2014 14:50:10 +0000 (14:50 +0000)]
Merge "Introduce RESTCONF Client API"

10 years agoFix for Bug 280. 73/4173/2
Martin Vitez [Mon, 13 Jan 2014 10:15:41 +0000 (11:15 +0100)]
Fix for Bug 280.

Allowed to augment node with same name as existing node but with different namespace.

Change-Id: I5430eb85a42d30f0b3a4185c4a6b9c958e3b9cdd
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge "Add copyright header"
Robert Varga [Mon, 13 Jan 2014 12:01:59 +0000 (12:01 +0000)]
Merge "Add copyright header"

10 years agoMerge "Modified parser to return modules sorted by dependencies."
Tony Tkacik [Mon, 13 Jan 2014 09:52:46 +0000 (09:52 +0000)]
Merge "Modified parser to return modules sorted by dependencies."

10 years agoMerge "Yang parser refactoring."
Tony Tkacik [Mon, 13 Jan 2014 09:52:30 +0000 (09:52 +0000)]
Merge "Yang parser refactoring."

10 years agoIntroduce RESTCONF Client API 62/4062/5
Tony Tkacik [Wed, 8 Jan 2014 10:07:34 +0000 (11:07 +0100)]
Introduce RESTCONF Client API

Change-Id: Ibc90532eea3f200acf726a7f8eabae4ac6877aa5
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>