[controller-dev] Issues when using AbstractDataBrokerTest

2018-12-30 Thread Satish Dutt
Hi, I am extending the AbstractDataBrokerTest for writing my unit TCs. As part of AbstractDataBrokerTest -> setupWithSchema(), DataBrokerTestCustomizer is instantiated where the SchemaContext is being registered with the SchemaService. But the SchemaContext is always null. Is there any issues

Re: [controller-dev] List element cohort validation causes issue

2018-03-12 Thread Satish Dutt
Thanks Tom -Satish From: Tom Pantelis <tompante...@gmail.com> Sent: Sunday, March 11, 2018 9:09 AM To: Satish Dutt <sd...@advaoptical.com> Cc: controller-dev@lists.opendaylight.org Subject: Re: [controller-dev] List element cohort validation causes issue On Sat, Mar 10, 2018

[controller-dev] List element cohort validation causes issue

2018-03-10 Thread Satish Dutt
Hi All, I have a cohort validation for the list element. If I try to create the entire list having multiple items, I am getting the below error. If I try to create a single list element, then its successful. Is there any way I can avoid this issue. I am trying this in Boron-SR3 2018-03-07

[controller-dev] How to get HTTP request details ?

2017-05-23 Thread Satish Dutt
Hi All, Is there any way to know the HTTP request details in any of User-defined Cohort class which extends the DomDataTreeCohort of the package org.opendaylight.mdsal.dom.api package ? Regards -Satish ___ controller-dev mailing list

Re: [controller-dev] [mdsal-dev] How to increase the timeout value for a commit operation to the data store ?

2017-05-16 Thread Satish Dutt
Hi Anil, I completely agree with your comments. It would be great if the cohort timeout value is configurable as per the UCs requisites. Regards -Satish From: controller-dev-boun...@lists.opendaylight.org [mailto:controller-dev-boun...@lists.opendaylight.org] On Behalf Of Anil Vishnoi Sent:

Re: [controller-dev] [mdsal-dev] How to increase the timeout value for a commit operation to the data store ?

2017-05-16 Thread Satish Dutt
Thanks Anil. I was able to change the timeout value through the code and its working fine. Regards -Satish From: Anil Vishnoi [mailto:vishnoia...@gmail.com] Sent: Tuesday, May 16, 2017 7:50 AM To: Michael Vorburger <vorbur...@redhat.com> Cc: Satish Dutt <sd...@advaoptical.com>; co

[controller-dev] How to increase the timeout value for a commit operation to the data store ?

2017-05-15 Thread Satish Dutt
Hi, Is there any way to increase the timeout value for a commit operation to the datastore ? Sometimes I get timeout value during the commit operation { "errors": { "error": [ { "error-type": "application", "error-tag": "operation-failed", "error-message":

[controller-dev] PATCH response not having the error details

2017-04-28 Thread Satish Dutt
Hi, I am using yang-patch to modify some of the leaf node values. But whenever the PATCH request fails, it is not giving the cause of the failure unlike the POST or PUT methods, but just gives an one-liner error that "canCommit encountered an unexpected failure". Is there any way in which the

[controller-dev] Timeout value of Cohert methods

2017-04-27 Thread Satish Dutt
Hi Tomas, Currently the canCommit() of DomDataTreeCohert will timeout in 5 seconds. How can this timeout value be increased ? Regards -Satish ___ controller-dev mailing list controller-dev@lists.opendaylight.org

[controller-dev] Cohert not getting triggered for augmented nodes

2017-04-20 Thread Satish Dutt
Hi Tomas, I am writing a Cohert trying to validate a subtree data, which is augmented to a target node in the same module. For registering the cohert, I am creating an instance of the same and also the DomDataTreeIdentifier by using the YangInstanceIdentifier instance having the sub-tree path.

[controller-dev] IncorrectNestingException when writing to an augmented data-tree

2017-04-14 Thread Satish Dutt
Hi, I have created a project using boron-SR3 archetype. In one of the yang I have augmented a container. In the code (File3.java) I am trying to write the data to that container to the DataStore, but I am getting IncorrectNestingException exception. The same code is working fine in the boron

Re: [controller-dev] Getting RPC error when registering my cohert

2017-04-06 Thread Satish Dutt
Thanks for the clarification. Is there any way we can set the response code in the canCommit() method of the cohert in case of failure ? Regards, -Satish From: Tom Pantelis [mailto:tompante...@gmail.com] Sent: Monday, April 03, 2017 7:34 PM To: Satish Dutt <sd...@advaoptical.com> Cc:

[controller-dev] Getting RPC error when registering my cohert

2017-04-02 Thread Satish Dutt
Hi Thomas, I have taken the example code provided in the CarProvider for registering my cohert in my provider class. But whenever I am trying to register my cohert, I am always getting the " RPC error DOMDataTreeCommitCohortRegistry not found " . Below is my code snippet : @Override public

Re: [controller-dev] [netconf-dev] Validation hooks when using restconf

2017-03-20 Thread Satish Dutt
Thanks Tomas From: Tomas Cere -X (tcere - PANTHEON TECHNOLOGIES at Cisco) [mailto:tc...@cisco.com] Sent: Monday, March 20, 2017 8:58 PM To: Satish Dutt <sd...@advaoptical.com>; controller-dev@lists.opendaylight.org; controller-us...@lists.opendaylight.org; netconf-...@lists.opendaylig

Re: [controller-dev] Getting exception when using Transaction Chain

2017-03-06 Thread Satish Dutt
] Sent: Tuesday, March 07, 2017 2:38 AM To: Satish Dutt <sd...@advaoptical.com> Cc: Robert Varga <n...@hq.sk>; controller-us...@lists.opendaylight.org; controller-dev@lists.opendaylight.org Subject: Re: [controller-dev] Getting exception when using Transaction Chain It seems you're tryi

Re: [controller-dev] Getting exception when using Transaction Chain

2017-03-06 Thread Satish Dutt
this issue ? Regards -Satish -Original Message- From: Robert Varga [mailto:n...@hq.sk] Sent: Monday, March 06, 2017 5:23 PM To: Satish Dutt <sd...@advaoptical.com>; controller-us...@lists.opendaylight.org; controller-dev@lists.opendaylight.org Subject: Re: [controller-dev] G

[controller-dev] Getting exception when using Transaction Chain

2017-03-06 Thread Satish Dutt
Hi, In a method we are creating a new instance of ReadOnlyTransaction and WriteTransaction from the transaction chain and subsequently doing the read and write operations on the datastore. When multiple requests are sent concurrently, IllegalStateException is thrown. Is there any way to solve

Re: [controller-dev] Shard leader down scenario

2017-02-22 Thread Satish Dutt
the caller (main) thread gets blocked. So are any other ways for the main thread to wait for the CheckedFuture to get completed ? Regards, -Satish From: Tom Pantelis [mailto:tompante...@gmail.com] Sent: Thursday, February 23, 2017 12:27 AM To: Satish Dutt <sd...@advaoptical.com> Cc: cont

[controller-dev] How to set the execute permission for a shell script

2017-02-09 Thread Satish Dutt
Hi All, I am trying to set the execute permission for one of the script using the maven directive in my project specific pom file like below : org.apache.maven.plugins maven-antrun-plugin prepare-package