yangtools.git
6 years agoRename recursive INode methods 38/63338/2
Robert Varga [Wed, 20 Sep 2017 15:10:03 +0000 (17:10 +0200)]
Rename recursive INode methods

Change names to conform to Java standards:
- rec_insert -> recInsert
- rec_insertif -> recInsertIf
- rec_lookup -> recLookup
- rec_remove -> recRemove

Change-Id: Ic11da9ac2ae96d8029d0bb08464033bfe027ee0b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoRemove BasicNode.string() 37/63337/2
Robert Varga [Wed, 20 Sep 2017 15:03:30 +0000 (17:03 +0200)]
Remove BasicNode.string()

This method is not used anywhere, remove it and take all commented-out
support code with it.

Change-Id: I24720c16f562fd391894484566903f1a526ad202
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoRemove trailing spaces in resource files 03/63403/1
David Suarez [Thu, 21 Sep 2017 12:35:49 +0000 (14:35 +0200)]
Remove trailing spaces in resource files

Remove trailing spaces to pass the checkstyle rules included in [1].

[1] https://git.opendaylight.org/gerrit/#/c/48710/

Change-Id: I2a6ec71294ee9b8e8720393c1867d36df4e29b01
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
6 years agoRemove yang.parser.util.ModuleDependencySort 23/63223/4
Robert Varga [Mon, 18 Sep 2017 11:06:36 +0000 (13:06 +0200)]
Remove yang.parser.util.ModuleDependencySort

This class has been moved to yang.model.util, remove it from its old
place. Also removes YangValidationException.

Change-Id: Ic30985769d486720f971a9a70422b62e9ceb00bb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoRemove NodeWrappedType and TopologicalSort 98/63198/2
Robert Varga [Sun, 17 Sep 2017 08:08:43 +0000 (10:08 +0200)]
Remove NodeWrappedType and TopologicalSort

These have been migrated to utilities, remove them from parser proper.

Change-Id: I543c06ee36fe92b1f0570b781b3581b253802c4f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoThrow SourceException instead of invalid fraction-digits 90/63190/3
Robert Varga [Sat, 16 Sep 2017 11:08:47 +0000 (13:08 +0200)]
Throw SourceException instead of invalid fraction-digits

We have a source reference, hence use SourceException.throwIf() instead
of Preconditions.checkArgument().

Change-Id: I0e41ad3b6069dfd4801ca645c54682cbd442f58b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoThrow InferenceException on invalid identity reference 91/63191/3
Robert Varga [Sat, 16 Sep 2017 11:14:59 +0000 (13:14 +0200)]
Throw InferenceException on invalid identity reference

We have source context available, hence use InferenceException.throwIfNull()
instead of Preconditions.checkArgument().

Change-Id: I12034275f9a6a4e4bb6e53f58ef111d5129edf1b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoAnother round of checkstyle fixes 97/63197/1
Robert Varga [Sun, 17 Sep 2017 08:03:45 +0000 (10:03 +0200)]
Another round of checkstyle fixes

Brings down the number of violations to under 700.

Change-Id: I8da94e59b13fa109832b6d903045c352ad47786c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoNext round of checkstyle fixes in yang-parser-impl 92/63192/2
Robert Varga [Sat, 16 Sep 2017 11:09:41 +0000 (13:09 +0200)]
Next round of checkstyle fixes in yang-parser-impl

Another batch, bringing the number of violation to under 800.

Change-Id: I2d39b73747c952f07f633822d46f79326f9355e0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoNext round of yang-parser-impl checkstyle fixes 87/63187/3
Robert Varga [Sat, 16 Sep 2017 02:21:54 +0000 (04:21 +0200)]
Next round of yang-parser-impl checkstyle fixes

This patch fixes up more violations.

Change-Id: I4aed5811d3118229a8275f053dc3e4aa5538f2a3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoCleanup some checkstyle warnings 82/63182/1
Robert Varga [Fri, 15 Sep 2017 20:39:51 +0000 (22:39 +0200)]
Cleanup some checkstyle warnings

This is incremental improvement so we start converging on being able
to enforce checkstyle.

Change-Id: I0870f80407fe54000be34bbfc8e41c15e7ce087a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBug 7437: Fix yang-system-test logging without the --verbose option 30/63130/2
Igor Foltin [Thu, 14 Sep 2017 09:41:40 +0000 (11:41 +0200)]
Bug 7437: Fix yang-system-test logging without the --verbose option

yang-system-test artifact has the --verbose option which provides
more detailed logging output of the parsing process. However,
the logging ouput is full of DEBUG level messages coming from
the YANG statement parser even without the --verbose option.

This happens because the yang-system-test uses java.util.logging for
logging events and sets the level of logging only for that Logger.
However, the YANG statement parser uses ch.qos.logback backend for
logging, so we need to set the log level for that instead.

Therefore, replace the java.util.logging in yang-system-test with
ch.qos.logback backend.

Change-Id: I14ac775228506e4ed22cd1b55e7efec1898fa27f
Signed-off-by: Igor Foltin <igor.foltin@pantheon.tech>
6 years agoCleanup YangToSourceProcessor 33/62733/5
Robert Varga [Tue, 5 Sep 2017 22:15:50 +0000 (00:15 +0200)]
Cleanup YangToSourceProcessor

Use java.util.Objects.requireNonNull() instead of
Preconditions.checkNotNull().

Simplify and speed up delta change detection.

Change-Id: I3c41d3245554ac41127042c8285c03c5a5666865
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoFix checkstyle in yang-parser-spi 64/63064/3
Robert Varga [Tue, 12 Sep 2017 18:38:11 +0000 (20:38 +0200)]
Fix checkstyle in yang-parser-spi

This is public contract, clean up checkstyle issues and expand documentation a bit.

Change-Id: Iead665f037bb0396bd0ff294d54c427a0e82168c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoFix yang-common/pom.xml whitespace 63/63063/2
Robert Varga [Tue, 12 Sep 2017 18:16:18 +0000 (20:16 +0200)]
Fix yang-common/pom.xml whitespace

This corrects whitespace to 4 spaces as needed.

Change-Id: I9f8764385ee953cf17b48a1a6edc64815df78ab4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-7052: split out yang-parser-spi 43/63043/6
Robert Varga [Tue, 12 Sep 2017 14:29:58 +0000 (16:29 +0200)]
BUG-7052: split out yang-parser-spi

Parser SPI classes have no further dependencies on other parser
components. Split them out into a separate artifact so we do not
accidentaly re-introduce an inappropriate dependency.

Change-Id: I56ea4ed1962d898c807203a2b82d048c0200548c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoMake SimpleDateFormatUtil non-lenient 31/62731/4
Robert Varga [Tue, 5 Sep 2017 21:33:30 +0000 (23:33 +0200)]
Make SimpleDateFormatUtil non-lenient

Converting an illegal revision, like 2017-16-05, results in incorrect
results in that the resulting Date will reflect 2018-04-05, which is
no a reversible transformation -- leading to hard to fix issues when
a String and Date representation meet.

Make sure we do not allow such invalid revisions through and fixup
bad test models.

Change-Id: I138cb5357cd6898bd64b745fbfed5d05b593e1e1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoGet rid of commons-io 07/62707/4
Robert Varga [Tue, 5 Sep 2017 14:31:15 +0000 (16:31 +0200)]
Get rid of commons-io

Java 8 gives us everything we need to search for files, hence there
is no need to use commons-io, remove it.

Change-Id: I034ba44936c97929c7c72d8e2725acacc0fa131f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-7568: Use YangTextSchemaSource to emit schema files 06/62706/4
Robert Varga [Tue, 5 Sep 2017 14:31:14 +0000 (16:31 +0200)]
BUG-7568: Use YangTextSchemaSource to emit schema files

To properly address the issue of META-INF/yang files not having their
revisions we need to encapsulate minimal project initialization state,
which gives us properly-resolved revisions.

We then refactor the execution flow to first inspect files to
determine whan needs to happen and then execute.

Change-Id: Icdf8069c72b24ad4cb196ebd79de194023eba9e4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoAvoid module namespace/submodule name conflict when using lib sources 34/63034/2
Igor Foltin [Tue, 12 Sep 2017 12:34:12 +0000 (14:34 +0200)]
Avoid module namespace/submodule name conflict when using lib sources

The issue comes up when using yang-system-test artifact as a single
YANG file validator:

A parent module or a submodule is specified as its argument
and the same directory is specified as one of the library dirs
using the -p option.

The parent module/submodule ends up being added twice to the parsed
sources which causes a module namespace/submodule name collision later
in the parsing process.

Therefore remove the conflicting lib sources from the collection of
required lib sources before they cause any trouble.

Change-Id: Id41d9f57006adec7ff658904792f9bc319b8c11e
Signed-off-by: Igor Foltin <igor.foltin@pantheon.tech>
6 years agoOverride toString() in Yang/YinStatementStreamSource 61/62961/3
Igor Foltin [Mon, 11 Sep 2017 11:04:07 +0000 (13:04 +0200)]
Override toString() in Yang/YinStatementStreamSource

Yang/YinStatementStreamSource objects are used in log messages
within the YANG statement parser. In order to provide useful
information they need to have the toString() method overridden.

Change-Id: I2bfdda8a6a58256e6f4e1e113b4a5a8174c73ef7
Signed-off-by: Igor Foltin <igor.foltin@pantheon.tech>
6 years agoBUG-7568: refactor yang-maven-plugin 05/62705/3
Robert Varga [Tue, 5 Sep 2017 14:31:12 +0000 (16:31 +0200)]
BUG-7568: refactor yang-maven-plugin

Refactor the plugin to not use named input streams, but rather
instantiate YangTextSchemaSources. Along with the use of
YangTextSchemaContextResolver this eliminates the need for weird
path-based tricks to get local modules.

Change-Id: Ifa1139e867b773662be64ee51bf85a46be7ea619
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBug 7051 - Refactoring of UnknownStatements handling 32/63032/2
Peter Kajsa [Tue, 12 Sep 2017 12:39:19 +0000 (14:39 +0200)]
Bug 7051 - Refactoring of UnknownStatements handling

Refactoring of UknownStatements handling due to undesired
dependecies of StatementSupport on stmt.reactor package.

Change-Id: Ic58dbe4cdda5f7252e4e17a11173a57ad5ad1db6
Signed-off-by: Peter Kajsa <pkajsa@cisco.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBug 7051 - Refactoring of implicit case statements creation 20/63020/2
Peter Kajsa [Tue, 12 Sep 2017 08:18:28 +0000 (10:18 +0200)]
Bug 7051 - Refactoring of implicit case statements creation

Refactoring of implicit case statements creation due to
undesired dependencies of StatementSupport on stmt.reactor
package.

Change-Id: I306c33ad284dd2aeeb551b72ba0fd795a0761d9e
Signed-off-by: Peter Kajsa <pkajsa@cisco.com>
6 years agoAdd the parent module of a submodule to the set of required lib sources 33/62833/2
Igor Foltin [Thu, 7 Sep 2017 11:41:55 +0000 (13:41 +0200)]
Add the parent module of a submodule to the set of required lib sources

This issue is related to the following use case of YANG statement parser:
If we add a YANG submodule as a main source and its parent module
as a library source, YANG statement parser does not add the parent module
to the set of requires lib sources. This causes an Exception as the parser
cannot resolve belongs-to statement in the submodule.

This patch fixes the issue.

Change-Id: Icbfddbbbecec310f0f7de17456e6a12dab8167d6
Signed-off-by: Igor Foltin <igor.foltin@pantheon.tech>
6 years agoBug 8713 - BGP models not compatible with leafref context 32/62832/2
Peter Kajsa [Thu, 7 Sep 2017 11:18:22 +0000 (13:18 +0200)]
Bug 8713 - BGP models not compatible with leafref context

Lookup of parent module should be performed based on the first path
argument from root not the last one.

Change-Id: Ic8e0dc901056caf93e4fc5266334434bd067d9ab
Signed-off-by: Peter Kajsa <pkajsa@cisco.com>
6 years agoRevert "Cleanup old concepts" 48/62748/1
Robert Varga [Wed, 6 Sep 2017 10:10:00 +0000 (10:10 +0000)]
Revert "Cleanup old concepts"

This reverts commit a54529b3f105d0a51343f746d3a03ede31958f40.

Change-Id: I4cb084c7f2081b78a96e9a134222f468f750c8f6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoCleanup old concepts 06/40006/9
Robert Varga [Mon, 2 Feb 2015 19:26:52 +0000 (20:26 +0100)]
Cleanup old concepts

RpcResult is in a rather bad place, as it should be part of mdsal.
Deprecate it and mark SimpleDataFormatUtil for migration.

Change-Id: Id7b8752cbe54c4bd332b146df6e278c6f8cee545
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoRevert "BUG-7568: refactor yang-maven-plugin" 02/62702/1
Robert Varga [Tue, 5 Sep 2017 14:14:31 +0000 (16:14 +0200)]
Revert "BUG-7568: refactor yang-maven-plugin"

This reverts commit ab09dfe2691b4ab5d5937b124ae3afc199a561b7.

Change-Id: Idb128323149613fae8d06298b39cdcf40b0ca690
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoRevert "BUG-7568: Use YangTextSchemaSource to emit schema files" 01/62701/1
Robert Varga [Tue, 5 Sep 2017 14:10:19 +0000 (16:10 +0200)]
Revert "BUG-7568: Use YangTextSchemaSource to emit schema files"

This reverts commit bc1c0861e1c229cfee7465b84b5fd15eb462a3bf.

Change-Id: I7b35dd553f181382ac587ee335dafddeb5807ebd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoRevert "Get rid of commons-io" 00/62700/1
Robert Varga [Tue, 5 Sep 2017 14:10:17 +0000 (16:10 +0200)]
Revert "Get rid of commons-io"

This reverts commit e8ac56902440704082470574abf0cd159f66293b.

Change-Id: Iffb89d4c9f0572ead4c64e5249844eb875a93824
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoGet rid of commons-io 86/52086/16
Robert Varga [Mon, 20 Feb 2017 21:07:22 +0000 (22:07 +0100)]
Get rid of commons-io

Java 8 gives us everything we need to search for files, hence there
is no need to use commons-io, remove it.

Change-Id: Ieab83e52189992f68616e8246320ca7685a87cd5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-7568: Use YangTextSchemaSource to emit schema files 85/52085/31
Robert Varga [Mon, 20 Feb 2017 20:46:34 +0000 (21:46 +0100)]
BUG-7568: Use YangTextSchemaSource to emit schema files

To properly address the issue of META-INF/yang files not having their
revisions we need to encapsulate minimal project initialization state,
which gives us properly-resolved revisions.

We then refactor the execution flow to first inspect files to
determine whan needs to happen and then execute.

Change-Id: I3257475f0b267adf0e4d5cd469829a267cfc68aa
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-7568: refactor yang-maven-plugin 56/52056/34
Robert Varga [Sun, 19 Feb 2017 23:49:40 +0000 (00:49 +0100)]
BUG-7568: refactor yang-maven-plugin

Refactor the plugin to not use named input streams, but rather
instantiate YangTextSchemaSources. Along with the use of
YangTextSchemaContextResolver this eliminates the need for weird
path-based tricks to get local modules.

Change-Id: I27403270cbacf567ad2182b60f265cc6bb3f83e7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-8043: eliminate ConstraintFactory 43/62443/3
Robert Varga [Tue, 29 Aug 2017 08:28:56 +0000 (10:28 +0200)]
BUG-8043: eliminate ConstraintFactory

This factory is getting in the way and it really is a useless abstraction,
as we can achieve the same with simple subclass contract.

Change-Id: I3fb50c4bcce08ec79ac710d2ca0bb9e4292ffc53
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-8043: eliminate LenghtStatement.getValue() 42/62442/3
Robert Varga [Mon, 28 Aug 2017 14:46:41 +0000 (16:46 +0200)]
BUG-8043: eliminate LenghtStatement.getValue()

DeclaredStatement.argument() is an alias, no need have another method
for the same thing.

Change-Id: I9d6da9d640165a286f5c7ffdd30b20b019d0635a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoFix benchmark compilation and runtime 00/62600/3
Robert Varga [Mon, 4 Sep 2017 07:51:29 +0000 (09:51 +0200)]
Fix benchmark compilation and runtime

Benchmark has been broken for some time, fix it up.

Change-Id: If2e1f3292a110947a1428a096de20e90591b0f6d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-8043: introduce RangeRestrictedTypeDefinition 79/62279/9
Robert Varga [Thu, 24 Aug 2017 14:41:54 +0000 (16:41 +0200)]
BUG-8043: introduce RangeRestrictedTypeDefinition

{Decimal,Integer,UnsignedInteger}TypeDefinition share the same method
and semantics, capture them in RangeRestrictedTypeDefinition.

Change-Id: I5fa6dbf5efdcc3797abc628a98e034602b8285ad
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-8043: introduce LengthRestrictedTypeDefinition 78/62278/6
Robert Varga [Thu, 24 Aug 2017 14:32:05 +0000 (16:32 +0200)]
BUG-8043: introduce LengthRestrictedTypeDefinition

{Binary,String}TypeDefinition share the same method and semantics,
capture them in LengthRestrictedTypeDefinition.

Change-Id: Id913e79e2d2c9a2090721c1ed6e5bee8f309051c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoKill websocket-client 79/62579/2
Robert Varga [Sat, 2 Sep 2017 13:06:30 +0000 (15:06 +0200)]
Kill websocket-client

This artifact is a useless experiment, which we do not package
for a long time. Kill it finally.

Change-Id: I9c0fe90065a75809b715606ce857856bd568af42
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoEnable checkstyle on yang-data-codec-gson 76/62576/2
Robert Varga [Sat, 2 Sep 2017 12:25:23 +0000 (14:25 +0200)]
Enable checkstyle on yang-data-codec-gson

Gneeral cleanup and enable checkstyle.

Change-Id: Ib63901ef099b1b457504e2b8e11341ab357a394a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoRemove antlr version override 45/62545/2
Robert Varga [Fri, 1 Sep 2017 13:29:10 +0000 (15:29 +0200)]
Remove antlr version override

antlr is pre-configured from odlparent, no need to override its
version.

Change-Id: I86a83c22bea34f95688c63141a30454dd82b4a96
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoActivate checkstyle in yang-system-test 78/62578/1
Robert Varga [Sat, 2 Sep 2017 12:57:53 +0000 (14:57 +0200)]
Activate checkstyle in yang-system-test

Fix a few offences and flip the switch.

Change-Id: I0c0601d3db712b3d9ae8dd6ca53195885d7d81ab
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoEnforce checkstyle on yang-test-util 77/62577/1
Robert Varga [Sat, 2 Sep 2017 12:53:54 +0000 (14:53 +0200)]
Enforce checkstyle on yang-test-util

Fixup a few warnings and flip the switch.

Change-Id: If82a193f6c3287edb24ef6e19ed78c823d48f736
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBug 7246 - Fix of SchemaTracker initialization and lookup of schema nodes 12/61712/11
Peter Kajsa [Mon, 14 Aug 2017 17:35:33 +0000 (19:35 +0200)]
Bug 7246 - Fix of SchemaTracker initialization and lookup of schema nodes

SchemaUtils methods perform lookup in both the namespace of groupings and
the namespace of all leafs, leaf-lists, lists, containers, choices, rpcs,
actions, notifications, anydatas, and anyxmls. In consequence, performed
lookups are ambiguous due to possible name conflicts between these namespaces.

Change-Id: Icd3e141b21d0adaf0126b539454e640c0ea0b5a6
Signed-off-by: Peter Kajsa <pkajsa@cisco.com>
6 years agoCleanup SystemTestUtils 89/61289/4
Robert Varga [Mon, 7 Aug 2017 17:56:13 +0000 (19:56 +0200)]
Cleanup SystemTestUtils

Remove use of deprecated class. Also convert to using collections.

Change-Id: I15eeee89628dfedb2ca0baf9a9b4f318801daddb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoThrow SourceException instead of IllegalArgumentException 41/62341/2
Robert Varga [Sat, 26 Aug 2017 16:50:55 +0000 (18:50 +0200)]
Throw SourceException instead of IllegalArgumentException

TypeUtils already considers StatementSourceReference, so instead
of home-grown format use SourceException.throwIf().

Change-Id: Ifc81db735d72bb7c98b94c66ac013f8dcc47413c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoMark getIdentity() as deprecated 83/62283/2
Robert Varga [Thu, 24 Aug 2017 15:19:09 +0000 (17:19 +0200)]
Mark getIdentity() as deprecated

Super interface marks this as deprecated, implementations should do
the same.

Change-Id: Ic48fe6064e2f0a96b4f35e8cfcd499764451e995
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-8043: AbstractConstraintEffectiveStatement update 77/62277/2
Robert Varga [Thu, 24 Aug 2017 14:12:03 +0000 (16:12 +0200)]
BUG-8043: AbstractConstraintEffectiveStatement update

This forms the baseline for implementing sub-interfaces of
ConstraintMetaDefinition, so it should itself implement that
interface.

Change-Id: Idcd9819c7262c236c39c96b8294b128de9f0410e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoUse Guava's Interner instead of ObjectCache 69/62269/2
Robert Varga [Thu, 24 Aug 2017 12:04:04 +0000 (14:04 +0200)]
Use Guava's Interner instead of ObjectCache

Guava's Interner does pretty much the same thing, no need to use
ObjectCache.

Change-Id: I4ee79155aeac465bfd59392656f555c3509459fd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoDo not instantiate needless objects in augment 03/61303/8
Robert Varga [Tue, 8 Aug 2017 02:15:43 +0000 (04:15 +0200)]
Do not instantiate needless objects in augment

Non-mutable versions of accessors are cheaper and should be used
wherever we do not modify state.

Change-Id: I200d843b830af59d407da346d0b09aa4909a4467
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-7052: move copy operation to StatementContextBase 02/61302/7
Robert Varga [Tue, 8 Aug 2017 01:39:21 +0000 (03:39 +0200)]
BUG-7052: move copy operation to StatementContextBase

The copy operation works on top of StatementContextBase concepts
aside from argument adaptation. Move the copy operation around,
cleaning up some of the access patterns along the way.

Change-Id: I34413c7d2c4d314503e9c9adffc7e2f0d2ea2531
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBug 9005 - scope of model import prefix should be module/submodule 42/62142/1
Peter Kajsa [Fri, 18 Aug 2017 10:24:32 +0000 (12:24 +0200)]
Bug 9005 - scope of model import prefix should be module/submodule

Yang parser includes all substatements of a submodule into a parent
module including all import statements of the submodule, what causes
mismatch of parent module imports.

Change-Id: I5c0b45348ca5e9f3ae54351c93e940135fe2b99d
Signed-off-by: Peter Kajsa <pkajsa@cisco.com>
6 years agoRemove yangtools.util.Identifiables 84/61984/4
Robert Varga [Fri, 18 Aug 2017 10:11:27 +0000 (12:11 +0200)]
Remove yangtools.util.Identifiables

This class does not hold anything useful in Java 8 world and was
deprecated. Remove it.

Change-Id: Id5c870a64f203adda12f9ca697531223c2d5b379
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoFix AnyXml node handling 86/61986/2
Robert Varga [Fri, 18 Aug 2017 12:56:51 +0000 (14:56 +0200)]
Fix AnyXml node handling

Fixup the mixup of calling instanceof on an Optional.

Change-Id: I184e2ad7535129cf19c41dfd5c235285e82e9f28
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoRevert "BUG-7262: Operational data tree should enforce mandatory nodes" 36/62036/1
Robert Varga [Sun, 20 Aug 2017 08:28:04 +0000 (10:28 +0200)]
Revert "BUG-7262: Operational data tree should enforce mandatory nodes"

This reverts commit 8befab93f3eb3683ddf68665542bf64c3f36f9f7.

Downstreams are not disconnected from master yet and this exposes
issues with mis-alignment of models and implementation.

Change-Id: Ifc0a9113b7985011be0eff1853d7668e85ece403
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoCleanup testutils 33/61033/5
Robert Varga [Wed, 2 Aug 2017 10:52:11 +0000 (12:52 +0200)]
Cleanup testutils

Cleans up sonar warnings and re-organizes code a bit.

Change-Id: I99761f484cd992d994f1bca7c681190a055793cd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoSimplify DeviateStatementImpl.addStatement() 37/61237/9
Robert Varga [Sun, 6 Aug 2017 23:10:25 +0000 (01:10 +0200)]
Simplify DeviateStatementImpl.addStatement()

There is a copy&paste line here which can be eliminated with some
application of structured programming.

Change-Id: If3fffc7f07648de1456a8fbe02feba44ed40b0e9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoRefactor argument adaptation 40/61240/10
Robert Varga [Mon, 7 Aug 2017 01:04:18 +0000 (03:04 +0200)]
Refactor argument adaptation

Adapting arguments is really a StatementSupport-level operation, and
should not be part of a specific reactor implementation.

This patch creates the appropriate interfaces required to have
StatementSupport classes a say when arguments are adapted.

Change-Id: Ifa3e25b96d9f451a53a99a30be2573abe7ee744c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-7052: remove StmtContext.createCopy() 38/61238/11
Robert Varga [Sun, 6 Aug 2017 23:03:08 +0000 (01:03 +0200)]
BUG-7052: remove StmtContext.createCopy()

The two StmtContext.createCopy() methods are the final bits of
spi.meta dependending on stmt.reactor.

This patch eliminates them by introducing Mutable.childCopyOf()
methods, which perform the same function, except the are hosted
in the new parent object, which internally knows it is
a StatementContextBase.

Change-Id: I16978eb62851295a5c922224a051d200c5e32abc
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-7262: Operational data tree should enforce mandatory nodes 72/48672/14
Robert Varga [Thu, 24 Nov 2016 16:00:57 +0000 (17:00 +0100)]
BUG-7262: Operational data tree should enforce mandatory nodes

This flips the switch on enforcement of mandatory nodes in operational
data trees by default.

Change-Id: Id9c44d119a324ea711c36cea9a87728d0cbcc3ae
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoRemove unused property declaration yang.codegen... 24/61624/2
Thanh Ha [Mon, 14 Aug 2017 15:36:07 +0000 (11:36 -0400)]
Remove unused property declaration yang.codegen...

yang-codegen-version does not appear to be used anywhere so remove it.

Change-Id: Ib775144a7f38e3fd44256033467fb09456bd1eae
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoEliminate LeafRefPathParseException 35/61235/2
Robert Varga [Sat, 5 Aug 2017 16:57:11 +0000 (18:57 +0200)]
Eliminate LeafRefPathParseException

LeafRefPathParseException is never caught and used only internally.
Refactor internals to return an Optional() and propagate an IAE instead.

Change-Id: Ibd35390b1481e16a73980d0b5aaf10b929ae282c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoUse ValueNode in LeafRefValidation 34/61234/2
Robert Varga [Sat, 5 Aug 2017 16:56:19 +0000 (18:56 +0200)]
Use ValueNode in LeafRefValidation

ValueNode is the common ancestor of LeafNode and LeafsetEntryNode,
so we can do a single instanceof check.

Change-Id: I3faf13cae56896e234520c8d7498cf85e0e742a6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump versions by (x+1).y.z for next dev cycle 21/61621/2
Thanh Ha [Mon, 14 Aug 2017 15:32:30 +0000 (11:32 -0400)]
Bump versions by (x+1).y.z for next dev cycle

YangTools versions are bumped as follows:

1) 0.y.z-SNAPSHOT versions are bumped to 1.0.0-SNAPSHOT
2) 1.y.z-SNAPSHOT versions are bumped to 2.0.0-SNAPSHOT

Change-Id: Iab0b1edc3b72d7d5918db235fc2d9209862f94ed
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoBug 8691 - Update yang-parser-impl grammars 39/61539/2
Peter Kajsa [Fri, 11 Aug 2017 09:38:08 +0000 (11:38 +0200)]
Bug 8691 - Update yang-parser-impl grammars

Update of YangStatementLexer.g4 after migration to antlr 4.7.

Change-Id: Ie2482c1b155a0119862f855738c5f55d8df938c8
Signed-off-by: Peter Kajsa <pkajsa@cisco.com>
6 years agoRemove duplicate version declaration 88/61488/2
Robert Varga [Thu, 10 Aug 2017 11:25:10 +0000 (13:25 +0200)]
Remove duplicate version declaration

odlparent is declaring this for use, no need to repeat it here.

Change-Id: Ic426ae0fa01f14f90a4c4355106e2420794de1dd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBug 8922 - Evaluation of if-features is done regardless of ancestors 77/61377/5
Peter Kajsa [Tue, 8 Aug 2017 16:11:16 +0000 (18:11 +0200)]
Bug 8922 - Evaluation of if-features is done regardless of ancestors

Evaluation of if-features for a statement is done regardless of its
ancestors. This is not correct and if an ancestor of a statement is
not supported by features, then current statement should be
unsupported too. In other words, if a statement is not supported by
features, then all its children should be unsupported too.

Change-Id: Ieb8a3c32849808a4492f518f4481aaef45c11cae
Signed-off-by: Peter Kajsa <pkajsa@cisco.com>
6 years agoMake sure binary values are properly wrapped 64/61464/1
Robert Varga [Thu, 10 Aug 2017 00:23:46 +0000 (02:23 +0200)]
Make sure binary values are properly wrapped

Leaking byte[] in case binary leaves an avenue for data modification.
Disallow that by always cloning byte[].

Change-Id: Ic3cde28a4af19800d00f0f1e1ab9084b6e6951ef
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump odlparent 2.0.2 to 2.0.4 55/61355/4
Stephen Kitt [Tue, 8 Aug 2017 16:14:12 +0000 (18:14 +0200)]
Bump odlparent 2.0.2 to 2.0.4

Change-Id: I17495da43f8cbde07cabcb9d9657737af2e450de
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBug 8940: Fix XML parsing of anyxml nodes 21/61421/1
Igor Foltin [Wed, 9 Aug 2017 12:06:03 +0000 (14:06 +0200)]
Bug 8940: Fix XML parsing of anyxml nodes

The new XML parser unescapes already escaped special characters
in anyxml nodes which triggers an exception when loading parsed
anyxml data into org.w3c.dom.Document object.

Use the Guava's XmlEscapers to properly handle special escaped
characters in anyxml nodes.

Change-Id: Ifa79f7d6f6736253afc5092afded5f118bf84ab5
Signed-off-by: Igor Foltin <igor.foltin@pantheon.tech>
6 years agoEnforce no split packages 12/61212/6
Robert Varga [Fri, 4 Aug 2017 21:56:32 +0000 (23:56 +0200)]
Enforce no split packages

This adds a guard to prevent accidental split packages.

Change-Id: I063ec1ee6090c60d177c22c9ad8cbeafb54f70ce
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoReduce CheckedFuture proliferation 36/61236/3
Robert Varga [Sun, 6 Aug 2017 14:05:36 +0000 (16:05 +0200)]
Reduce CheckedFuture proliferation

We are not really using checkedGet() here, hence we can switch
to ListenableFuture.

Change-Id: I7c8e7bbcdc6fe180a88d27079196b9a69cc67dd0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoRemove unneeded version declaration 32/61232/1
Robert Varga [Sun, 6 Aug 2017 13:26:52 +0000 (15:26 +0200)]
Remove unneeded version declaration

These versions are declared upstream, no need to repeat them here.

Change-Id: Iac58a882ebbb57206348b48165f013b87aca9ff6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBug 8831 - Yang 1.1 default values are not checked correctly 70/61170/3
Peter Kajsa [Fri, 4 Aug 2017 13:28:29 +0000 (15:28 +0200)]
Bug 8831 - Yang 1.1 default values are not checked correctly

When a leaf has a union type, and a default that does not correspond
to the first member of that union type, the default is not processed
correctly and IllegalStateException is thrown during the check of if-feature
statements. The same bug occurs also in case, when the default is a
number, which is in the range of the first member of the union etc..

Change-Id: Ic3b165eb5c4416dee2216f47c240ce596e3f7dd2
Signed-off-by: Peter Kajsa <pkajsa@cisco.com>
6 years agoCleanup JSONCodecFactory.create() users 98/61098/1
Robert Varga [Thu, 3 Aug 2017 09:33:30 +0000 (11:33 +0200)]
Cleanup JSONCodecFactory.create() users

JSONCodecFactory.create() is deprecated, use getShared() instead.

Change-Id: I2abf0350391e067e3668760f88776130cf14f74e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoCleanup SchemaTracker logic 97/61097/1
Robert Varga [Thu, 3 Aug 2017 09:29:44 +0000 (11:29 +0200)]
Cleanup SchemaTracker logic

Do not perform duplicate null checks.

Change-Id: If1fa8631e9e6d93fa2063bea0c395d3fdcba87ea
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoUse Objects.requireNonNull instead of Preconditions.checkNotNull 74/60974/2
Robert Varga [Tue, 1 Aug 2017 09:47:27 +0000 (11:47 +0200)]
Use Objects.requireNonNull instead of Preconditions.checkNotNull

This is a Java-8 equivalent, use it to reduce dependecies on Guava.

Change-Id: Id4ec468b8908fb4d7a272af607c65b3b0bbc0583
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoFix/suppress checkstyle warnings 73/60973/3
Robert Varga [Tue, 1 Aug 2017 09:22:18 +0000 (11:22 +0200)]
Fix/suppress checkstyle warnings

Some of the argument names are coming from superclasses, add suppression
of those. Others can be easily renamed.

Change-Id: I75e746287fc2278790091185d967dfcc2d16d94e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoShare codepath between snapshot methods 20/60920/6
Robert Varga [Sat, 29 Jul 2017 15:34:44 +0000 (17:34 +0200)]
Share codepath between snapshot methods

Eliminate a bit of code duplication by creating a snapshot()
methods which does the looping. Also fixes up some violations
and makes the contract more explicit.

Change-Id: Ic02f9c148b85cbbef53ab632a22bc68f1c16f6b2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoFix of Module.getPrefix() to return prefix also in case of submodule 64/59564/8
Peter Kajsa [Tue, 27 Jun 2017 12:01:53 +0000 (14:01 +0200)]
Fix of Module.getPrefix() to return prefix also in case of submodule

Module.getPrefix() returns null for all submodules.
However, in case of submodule a prefix for module's
namespace is defined in belongs-to statement.
This information is required by yang-export where
namespaces need to be binded to corresponding prefixes.

Change-Id: Ifa5406654021fd017b442b6c351a4e0b4f5fd55d
Signed-off-by: Peter Kajsa <pkajsa@cisco.com>
6 years agoDowngrade stax2-api to 3.1.4 08/60908/1
Robert Varga [Sat, 29 Jul 2017 12:21:20 +0000 (14:21 +0200)]
Downgrade stax2-api to 3.1.4

As it turns out, downstream is using jackson, which is bound
to 3.1.x version of stax2-api. Downgrade to match.

Change-Id: I7a86037abceac8499986af11392da5112570d838
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoAdd XmlParserStream.traverse(DOMSource) 64/60864/5
Igor Foltin [Fri, 28 Jul 2017 11:29:38 +0000 (13:29 +0200)]
Add XmlParserStream.traverse(DOMSource)

This adds an alternative traversal based on DOMSource. This is needed
as it seems XMLStreamReaders based on DOMSource are in short supply and
in some cases we are interpreting a part of an already-parsed Document
as a NormalizedNode.

Change-Id: I3e21daa144ca90d868f71b3f5af318f4c35cc24f
Signed-off-by: Igor Foltin <igor.foltin@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-8733: add YangInstanceIdentifierBuilder.append() 68/60768/2
Robert Varga [Tue, 25 Jul 2017 11:27:54 +0000 (13:27 +0200)]
BUG-8733: add YangInstanceIdentifierBuilder.append()

In scope of BUG-8733 we need the ability to efficiently append
a set of PathArguments. Introduce a Builder method to do exactly
that.

Change-Id: I06e655490dd5c7e92588eeb5a5e5237479e7ff7e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 2671dcb87d3717b0b82e4404d02593d99300399b)

6 years agoBUG-2389: Deprecate yang-data-impl XML codec 58/60558/3
Robert Varga [Wed, 19 Jul 2017 10:51:27 +0000 (12:51 +0200)]
BUG-2389: Deprecate yang-data-impl XML codec

This codec infrastructure has been superseded by yang-data-codec-xml,
deprecate the classes for removal in 2.0.0.

Change-Id: I35b117503eafdcd7ef1268a33ec8303d43d426ba
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBug 8803: check for null return NamespaceContext.getNamespaceURI() 36/60736/4
Igor Foltin [Tue, 25 Jul 2017 15:18:39 +0000 (17:18 +0200)]
Bug 8803: check for null return NamespaceContext.getNamespaceURI()

The javadoc indicates that for unbound prefixes this method should be
returning NULL_NS_URI (which is defined as an empty string), and there
is no mention of the possibility of returning null anywhere.

Nevertheless JDK8-default XMLOutputWriter returns null for unbound
prefixes, which leads to an infinite loop in RandomPrefix.

Fix this by adding an explicit check for null, too.

Change-Id: Ib8af7d03eb59b004f2fcb4d1806c0f4f256a974a
Signed-off-by: Igor Foltin <igor.foltin@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-8733: add EmptyDataTreeCandidateNode 32/60632/1
Robert Varga [Fri, 21 Jul 2017 09:07:09 +0000 (11:07 +0200)]
BUG-8733: add EmptyDataTreeCandidateNode

This class is used by multiple downstreams, hence it is useful to
expose it from DataTreeCandidateNodes.

Change-Id: I88e247c3a9a2cb7fffab4d73f6f8b7ef211a3ea0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 14f1f133238c61049894ee8047c9c253ae9a7b3a)

6 years agoMake ReadWriteTrieMap extend ForwardingMap 60/60560/4
Robert Varga [Wed, 19 Jul 2017 11:58:20 +0000 (13:58 +0200)]
Make ReadWriteTrieMap extend ForwardingMap

ForwardingMap gives us some of the implementation details we are
duplicating here. Hence subclass ForwardingMap and remove those
duplications.

Change-Id: I5cb6b839f19f2247fb7fdc78f46127739f484898
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-7464: do not depend on odlparent's triemap 62/60562/2
Robert Varga [Wed, 19 Jul 2017 12:10:17 +0000 (14:10 +0200)]
BUG-7464: do not depend on odlparent's triemap

We have our internal fork, not need to pull in odlparent packaging
of it.

Change-Id: I8910df0e484e81bb7a5c7c554833889c8ce336f0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-7464: Switch to use forked TrieMap 43/51843/7
Robert Varga [Tue, 14 Feb 2017 09:13:49 +0000 (10:13 +0100)]
BUG-7464: Switch to use forked TrieMap

Switch from dead upstream to our forked version of TrieMap.

Change-Id: Ide40b87b96d16500e2a8566d3d627ca1aac8d762
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBUG-7051: move yang-data support into its own package 57/60557/2
Robert Varga [Wed, 19 Jul 2017 09:36:30 +0000 (11:36 +0200)]
BUG-7051: move yang-data support into its own package

yang-data is defined in RFC8040, hence it should not live in rfc6020
package. This allows us to hide some of its details.

Change-Id: Ic965404cff5530863a873fd5d52f7e086339f911
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBug 7051 - Refactoring of StmtContextUtils 41/54841/23
Peter Kajsa [Thu, 6 Jul 2017 08:05:01 +0000 (10:05 +0200)]
Bug 7051 - Refactoring of StmtContextUtils

Refactoring of StmtContextUtils in order to remove undesired dependencies
on stmt.rfc6020 package.

Change-Id: Ia0e494ba792e9eb8a92aadebb806748af5fe8cee
Signed-off-by: Peter Kajsa <pkajsa@cisco.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBug 8745: Add support for parsing attributes to the new XML parser 18/60018/9
Igor Foltin [Thu, 6 Jul 2017 11:53:17 +0000 (13:53 +0200)]
Bug 8745: Add support for parsing attributes to the new XML parser

New XML parser is now able to parse XML attributes in order to provide
necessary information for processing edit-config messages in NETCONF.

Make some members of ImmutableNormalizedNodeStreamWriter
protected so they can be reused
in the EditOperationNormalizedNodeStreamWriter extension in NETCONF.

Add a unit test

This patch is a prerequisite for the following change in NETCONF:
https://git.opendaylight.org/gerrit/#/c/60014/

Change-Id: Idfd87279814e324dc914809fb09abfbb27eefa4a
Signed-off-by: Igor Foltin <igor.foltin@pantheon.tech>
6 years agoBug 8715: Add strictParsing switch to the new XML parser 67/59167/11
Igor Foltin [Mon, 19 Jun 2017 12:37:20 +0000 (14:37 +0200)]
Bug 8715: Add strictParsing switch to the new XML parser

Add the option to switch strict parsing mode on/off to
the new XML parser. If the mode is switched on, the parser
will throw an exception if it encounters unknown child nodes
in YANG containers and lists. If the mode is off, the parser
will skip such nodes.

Change-Id: Ieece9b15ced06282a43877c2c1e884515217244b
Signed-off-by: Igor Foltin <igor.foltin@pantheon.tech>
6 years agoBug 8675: Fix a design flaw of the new XML parser 36/59036/12
Igor Foltin [Thu, 15 Jun 2017 14:51:24 +0000 (16:51 +0200)]
Bug 8675: Fix a design flaw of the new XML parser

The actual flaw is that the parser wraps the parentNode
SchemaNode inside a CompositeNodeDataWithSchema which emits
only its child nodes into the provided NormalizedNodeStreamWriter.
The parentNode itself is not emitted which is a problem.
Therefore we need to check the parentNode type and put it
into a corresponding ...NodeDataWithSchema.

Bug description on bugzilla has been updated with a more
thorough explanation.

Adjust existing unit tests accordingly.

Add javadocs to ...NodeDataWithSchema classes.

Change-Id: I900717f652cd93e36c229bc91d3854b5ab99f09a
Signed-off-by: Igor Foltin <igor.foltin@pantheon.tech>
6 years agoBUG-6972: eliminate StmtContext.getOrder() 63/60063/3
Robert Varga [Fri, 7 Jul 2017 08:41:13 +0000 (10:41 +0200)]
BUG-6972: eliminate StmtContext.getOrder()

This is not really used, so try to eliminate it, saving a couple
of bytes in StatementContextBase.

Change-Id: If9a5126c9110f50324bb94b7fecdb3845874b763
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBUG-6972: Add OptionaBoolean utility 50/60050/7
Robert Varga [Fri, 7 Jul 2017 00:22:06 +0000 (02:22 +0200)]
BUG-6972: Add OptionaBoolean utility

This utility allows us to store an optional boolean in a byte field,
reducing the cost from 2 bytes (two boolean fields) or 4/8 bytes
(reference) to a single byte.

Also converts eligible classes. Trims down StatementContextBase
and DeviateEffectiveStatementImpl.

Change-Id: I5444bd4bb7aa0ea52202b08fcfcf9207ea045fa9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump odlparent to 2.0.2 09/60109/1
Robert Varga [Sun, 9 Jul 2017 17:13:34 +0000 (19:13 +0200)]
Bump odlparent to 2.0.2

Adjust to new release.

Change-Id: Ibafa857802141994140027f203656eee64323694
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBug 7051 - moving of SubstatementValidator into spi.meta package 29/59929/1
Peter Kajsa [Tue, 4 Jul 2017 10:56:39 +0000 (12:56 +0200)]
Bug 7051 - moving of SubstatementValidator into spi.meta package

Moving of SubstatementValidator into spi.meta package in order
to remove undesired dependencies between parser packages.

Change-Id: If0b3bb969c25c37fb4658fa9c4659d53e13c04bb
Signed-off-by: Peter Kajsa <pkajsa@cisco.com>
6 years agoBump odlparent dependency to 2.0.1 52/59852/1
Robert Varga [Mon, 3 Jul 2017 08:52:47 +0000 (10:52 +0200)]
Bump odlparent dependency to 2.0.1

Bumps odlparent to latest release.

Change-Id: I42d4b70ebb140696c269301cfb2ca405bf061487
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>