Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2024-03 Calcium integration #1813

Merged
merged 70 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
74daad3
Bump ODL versions to calcium
Tobianas Feb 2, 2024
82766c7
Rename singleton service components
Tobianas Feb 2, 2024
bf7523f
Do not use ClusterAdminService
Tobianas Apr 9, 2024
50ef960
Remove usage of methods which are no longer visible
Tobianas Feb 12, 2024
d722b5b
Clean up XmlElement methods
Tobianas Apr 9, 2024
b60b1e4
NodeBuilders
Tobianas Apr 9, 2024
b4c79c5
Changed $Yang* generation package and name
Tobianas Feb 15, 2024
a970d6a
Refactor DOMNotificationSubscriptionListener(Registry)
Tobianas Apr 9, 2024
53b8739
Remove EffectiveModelContext{Listener,Provider}
Tobianas Feb 15, 2024
1f694a7
Refactor DOMYangTextSourceProvider
Tobianas Feb 15, 2024
f4a5fa2
Do not use ClusterAdminService
Tobianas Feb 15, 2024
0536e4b
Rename singleton service components
Tobianas Feb 15, 2024
59e4a4e
Remove odl-controller-exp-netty-config
Tobianas Feb 15, 2024
1add9e9
Do not use DOMClusterSingletonServiceProviderImpl
Tobianas Feb 16, 2024
066b393
Adopt DOMNotificationRouter initialization changes
Tobianas Feb 16, 2024
7d6d087
Reduce ObjectRegistration use
Tobianas Feb 16, 2024
201cade
Adopt changes from ModuleInfoSnapshot
Tobianas Feb 16, 2024
3379fce
Rename DOMRpcRouterServices methods
Tobianas Feb 16, 2024
b84e8e1
Remove support for composite NotificationListener
Tobianas Feb 16, 2024
98ed609
Throw ExecutionException to close ClusterSingletonServiceProvider
Tobianas Feb 16, 2024
b3dd9e1
Remove SchemaContextHandler
Tobianas Feb 16, 2024
382235b
Do not use RestconfStreamsConstants
Tobianas Feb 16, 2024
6df1fe2
Inline RestconfApplication
Tobianas Feb 20, 2024
bfec31f
Remove WebSocketInitializer
Tobianas Feb 21, 2024
e4539c1
Use newer revision of distributed-datastore-provider
Tobianas Feb 21, 2024
44b9746
Remove ask-based protocol client
Tobianas Feb 21, 2024
d895b22
Make DataTreeChangeListener implementations use list
Tobianas Feb 21, 2024
bd95b40
Do not encrypt/decrypt strings
Tobianas Feb 21, 2024
c30f651
Remove obsolete NetconfClientDispatcher
Tobianas Feb 21, 2024
348a5e4
Rework BaseScheams
Tobianas Feb 21, 2024
b7c7d10
Rework NetconfTopology initialization
Tobianas Feb 21, 2024
de6c73f
Rename DOMActionServiceExtension to DOMActionService.Extension
Tobianas Feb 22, 2024
c2f5077
Get NetconfMessage from netconf.api.messages
Tobianas Feb 22, 2024
abd426c
Remove redundant getExtensions method
Tobianas Feb 22, 2024
947e381
Use newer revision of netconf-node-topology
Tobianas Feb 22, 2024
c23e0b7
Clean up netconf-{common,client}-mdsal constants
Tobianas Feb 26, 2024
16f1f7c
Disconnect NormalizedNode from Identifiable
Tobianas Feb 26, 2024
91ff56d
Use newer revision of odl-netconf-callhome-server
Tobianas Feb 26, 2024
3862956
Remove RootResourceDiscoveryService
Tobianas Feb 26, 2024
dcc5c45
Use newer revision of sal-remote-augment
Tobianas Feb 26, 2024
b617e98
Use newer revision of odl-device-notification
Tobianas Feb 26, 2024
17ea33b
Introduce restconf.server.{api,spi,mdsal}
Tobianas Feb 26, 2024
4bebed7
Eliminate InstanceIdentifierContext
Tobianas Feb 26, 2024
2603892
Eliminate PatchDataTransactionUtil
Tobianas Feb 27, 2024
f85da49
Eliminate PatchEditOperation
Tobianas Feb 27, 2024
d1d44da
Eliminate OpenApiApplication class
Tobianas Feb 27, 2024
ab2da62
Add missing OpenApiService exceptions
Tobianas Feb 27, 2024
52965ed
Use DelegatedYangTextSource
Tobianas Feb 27, 2024
f533c2d
Use FileYangTextSource
Tobianas Feb 27, 2024
64d9d45
Use SourceIdentifier as CharSource
Tobianas Feb 28, 2024
4850f7b
Rename YangIRSource method
Tobianas Feb 28, 2024
cd80bc2
Eliminate YangModelDependencyInfo
Tobianas Feb 28, 2024
bfaa3d5
Remove usage of aaa.encrypt.PKIUtil
Tobianas Feb 28, 2024
4c7badf
Remove (DOM)TransactionChainListener
Tobianas Mar 4, 2024
b52e5cc
Refactor PathArgument to DataObjectStep
Tobianas Mar 4, 2024
d576451
Remove yang.binding.RpcService
Tobianas Mar 5, 2024
fe08b97
Expose completion future from WriteOperations
Tobianas Mar 5, 2024
0a73bbd
Throw exception if decryption/encryption fails
Tobianas Mar 5, 2024
aba4f7e
Disconnect bgp from global event loop groups
Tobianas Mar 6, 2024
59ff909
Use newer revision of odl-netconf-device
Tobianas Mar 6, 2024
ccade21
Change Credentials creation
Tobianas Mar 6, 2024
2399d3b
Factor out MdsalDatabindProvider
Tobianas Apr 9, 2024
5ef3499
Provide yanglib-mdsal-writer to Lighty controller
Tobianas Apr 9, 2024
f7c9189
Change action output
Tobianas Apr 9, 2024
fb343f7
Create workaround for NETCONF-1285
Tobianas Apr 9, 2024
f922927
Do not hard-code localhost
Tobianas Apr 9, 2024
c2d4797
Adjust expected test result
Tobianas Apr 9, 2024
b3e80d2
Use newer revision of netconf-keystore
Tobianas Apr 9, 2024
d3c391d
Use newer revision of netconf-node-topology/optional
Tobianas Apr 9, 2024
b5da251
Adjust expected message response
Tobianas Apr 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import org.opendaylight.mdsal.dom.api.DOMRpcService;
import org.opendaylight.mdsal.dom.api.DOMSchemaService;
import org.opendaylight.mdsal.dom.api.DOMYangTextSourceProvider;
import org.opendaylight.mdsal.dom.broker.DOMNotificationRouter;
import org.opendaylight.mdsal.dom.spi.DOMNotificationSubscriptionListenerRegistry;
import org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService;
import org.opendaylight.mdsal.eos.dom.api.DOMEntityOwnershipService;
Expand Down Expand Up @@ -70,8 +71,8 @@ protected void configure() {
.toInstance(lightyServices.getDOMSchemaService());
bind(DOMYangTextSourceProvider.class)
.toInstance(lightyServices.getDOMYangTextSourceProvider());
bind(DOMNotificationSubscriptionListenerRegistry.class)
.toInstance(lightyServices.getDOMNotificationSubscriptionListenerRegistry());
bind(DOMNotificationRouter.class)
ihrasko marked this conversation as resolved.
Show resolved Hide resolved
.toInstance(lightyServices.getDOMNotificationRouter());
bind(DistributedDataStoreInterface.class)
.annotatedWith(Names.named("ControllerConfigDatastore"))
.toInstance(lightyServices.getConfigDatastore());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public class TestService {
private DOMYangTextSourceProvider domYangTextSourceProvider;

@Inject
private DOMNotificationSubscriptionListenerRegistry domNotificationSubscriptionListenerRegistry;
private DOMNotificationRouter domNotificationSubscriptionListenerRegistry;

@Inject
@Named("ControllerConfigDatastore")
Expand Down Expand Up @@ -168,7 +168,7 @@ public DOMYangTextSourceProvider getDomYangTextSourceProvider() {
return domYangTextSourceProvider;
}

public DOMNotificationSubscriptionListenerRegistry getDomNotificationSubscriptionListenerRegistry() {
public DOMNotificationRouter getDomNotificationSubscriptionListenerRegistry() {
return domNotificationSubscriptionListenerRegistry;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import org.opendaylight.mdsal.dom.api.DOMRpcService;
import org.opendaylight.mdsal.dom.api.DOMSchemaService;
import org.opendaylight.mdsal.dom.api.DOMYangTextSourceProvider;
import org.opendaylight.mdsal.dom.broker.DOMNotificationRouter;
import org.opendaylight.mdsal.dom.spi.DOMNotificationSubscriptionListenerRegistry;
import org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService;
import org.opendaylight.mdsal.eos.dom.api.DOMEntityOwnershipService;
Expand Down Expand Up @@ -172,8 +173,8 @@ public DOMNotificationService domNotificationService() {
}

@Bean(destroyMethod = "")
public DOMNotificationSubscriptionListenerRegistry domNotificationSubscriptionListenerRegistry() {
return this.lightyController.getServices().getDOMNotificationSubscriptionListenerRegistry();
public DOMNotificationRouter domNotificationRouter() {
return this.lightyController.getServices().getDOMNotificationRouter();
}

@Bean(name = "ConfigDatastore", destroyMethod = "")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
import org.opendaylight.mdsal.dom.api.DOMRpcService;
import org.opendaylight.mdsal.dom.api.DOMSchemaService;
import org.opendaylight.mdsal.dom.api.DOMYangTextSourceProvider;
import org.opendaylight.mdsal.dom.spi.DOMNotificationSubscriptionListenerRegistry;
import org.opendaylight.mdsal.dom.broker.DOMNotificationRouter;
import org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService;
import org.opendaylight.mdsal.eos.dom.api.DOMEntityOwnershipService;
import org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider;
Expand Down Expand Up @@ -99,7 +99,7 @@ public class LightyCoreSpringConfigurationTest extends AbstractJUnit4SpringConte
DOMNotificationService domNotificationServiceTestProperty;

@Autowired
DOMNotificationSubscriptionListenerRegistry domNotificationSubscriptionListenerRegistryTestProperty;
DOMNotificationRouter domNotificationSubscriptionListenerRegistryTestProperty;

@Autowired
@Qualifier("ConfigDatastore")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
import org.opendaylight.mdsal.dom.api.DOMRpcService;
import org.opendaylight.mdsal.dom.api.DOMSchemaService;
import org.opendaylight.mdsal.dom.api.DOMYangTextSourceProvider;
import org.opendaylight.mdsal.dom.spi.DOMNotificationSubscriptionListenerRegistry;
import org.opendaylight.mdsal.dom.broker.DOMNotificationRouter;
import org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService;
import org.opendaylight.mdsal.eos.dom.api.DOMEntityOwnershipService;
import org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider;
Expand Down Expand Up @@ -68,7 +68,7 @@ public interface LightyServices extends LightyModuleRegistryService {

DOMYangTextSourceProvider getDOMYangTextSourceProvider();

DOMNotificationSubscriptionListenerRegistry getDOMNotificationSubscriptionListenerRegistry();
DOMNotificationRouter getDOMNotificationRouter();

DistributedDataStoreInterface getConfigDatastore();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,10 @@
import org.opendaylight.mdsal.dom.broker.DOMMountPointServiceImpl;
import org.opendaylight.mdsal.dom.broker.DOMNotificationRouter;
import org.opendaylight.mdsal.dom.broker.DOMRpcRouter;
import org.opendaylight.mdsal.dom.spi.DOMNotificationSubscriptionListenerRegistry;
import org.opendaylight.mdsal.dom.spi.FixedDOMSchemaService;
import org.opendaylight.mdsal.dom.spi.store.DOMStore;
import org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService;
import org.opendaylight.mdsal.eos.binding.dom.adapter.BindingDOMEntityOwnershipServiceAdapter;
import org.opendaylight.mdsal.eos.binding.dom.adapter.DefaultEntityOwnershipService;
import org.opendaylight.mdsal.eos.dom.api.DOMEntityOwnershipService;
import org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider;
import org.opendaylight.mdsal.singleton.dom.impl.DOMClusterSingletonServiceProviderImpl;
Expand Down Expand Up @@ -168,7 +167,7 @@ public class LightyControllerImpl extends AbstractLightyModule implements Lighty
private DOMActionService domActionService;
private DOMActionProviderService domActionProviderService;
private AkkaEntityOwnershipService akkaEntityOwnershipService;
private BindingDOMEntityOwnershipServiceAdapter bindingDOMEntityOwnershipServiceAdapter;
private DefaultEntityOwnershipService defaultEntityOwnershipService;
private ClusterAdminRpcService clusterAdminRpcService;
private DOMClusterSingletonServiceProviderImpl clusterSingletonServiceProvider;
private NotificationService notificationService;
Expand Down Expand Up @@ -323,7 +322,7 @@ protected boolean initProcedure() {
return false;
}

this.bindingDOMEntityOwnershipServiceAdapter = new BindingDOMEntityOwnershipServiceAdapter(
this.defaultEntityOwnershipService = new DefaultEntityOwnershipService(
akkaEntityOwnershipService, this.codec);
this.clusterAdminRpcService =
new ClusterAdminRpcService(this.configDatastore, this.operDatastore, this.codec.currentSerializer(),
Expand Down Expand Up @@ -403,9 +402,6 @@ protected boolean stopProcedure() throws InterruptedException {
if (this.clusterSingletonServiceProvider != null) {
this.clusterSingletonServiceProvider.close();
}
if (this.bindingDOMEntityOwnershipServiceAdapter != null) {
this.bindingDOMEntityOwnershipServiceAdapter.close();
}
if (this.akkaEntityOwnershipService != null) {
try {
this.akkaEntityOwnershipService.close();
Expand Down Expand Up @@ -523,7 +519,7 @@ public DOMYangTextSourceProvider getDOMYangTextSourceProvider() {
}

@Override
public DOMNotificationSubscriptionListenerRegistry getDOMNotificationSubscriptionListenerRegistry() {
public DOMNotificationRouter getDOMNotificationRouter() {
return this.domNotificationRouter;
}

Expand Down Expand Up @@ -559,7 +555,7 @@ public DOMEntityOwnershipService getDOMEntityOwnershipService() {

@Override
public EntityOwnershipService getEntityOwnershipService() {
return this.bindingDOMEntityOwnershipServiceAdapter;
return this.defaultEntityOwnershipService;
}

@Override
Expand Down Expand Up @@ -609,12 +605,12 @@ public DOMMountPointService getDOMMountPointService() {

@Override
public DOMNotificationPublishService getDOMNotificationPublishService() {
return this.domNotificationRouter;
return domNotificationRouter.notificationPublishService();
}

@Override
public DOMNotificationService getDOMNotificationService() {
return this.domNotificationRouter;
return domNotificationRouter.notificationService();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void controllerSimpleTest() {
Assert.assertNotNull(lightyController.getServices().getEffectiveModelContextProvider());
Assert.assertNotNull(lightyController.getServices().getDOMSchemaService());
Assert.assertNotNull(lightyController.getServices().getDOMYangTextSourceProvider());
Assert.assertNotNull(lightyController.getServices().getDOMNotificationSubscriptionListenerRegistry());
Assert.assertNotNull(lightyController.getServices().getDOMNotificationRouter());
Assert.assertNotNull(lightyController.getServices().getConfigDatastore());
Assert.assertNotNull(lightyController.getServices().getOperationalDatastore());
Assert.assertNotNull(lightyController.getServices().getYangParserFactory());
Expand Down