Skip to content

Commit

Permalink
Added index dvc_device_connection(id)
Browse files Browse the repository at this point in the history
Signed-off-by: coduz <alberto.codutti@eurotech.com>
  • Loading branch information
Coduz committed Dec 16, 2020
1 parent 59c50fe commit 4f5c295
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@
* @since 1.0
*/
@KapuaProvider
public class DeviceConnectionServiceImpl extends
// AbstractKapuaConfigurableResourceLimitedService<DeviceConnection, DeviceConnectionCreator, DeviceConnectionService, DeviceConnectionListResult, DeviceConnectionQuery, DeviceConnectionFactory>
AbstractKapuaConfigurableService
implements DeviceConnectionService {
public class DeviceConnectionServiceImpl extends AbstractKapuaConfigurableService implements DeviceConnectionService {

private static final Logger LOGGER = LoggerFactory.getLogger(DeviceConnectionServiceImpl.class);

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020 Eurotech and/or its affiliates and others
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
Eurotech - initial API and implementation
-->
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd"
logicalFilePath="KapuaDB/changelog-device-1.4.0.xml">

<include relativeToChangelogFile="true" file="./device_connection-create_index_id.xml"/>

</databaseChangeLog>
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020 Eurotech and/or its affiliates and others
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
Eurotech - initial API and implementation
-->
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd"
logicalFilePath="KapuaDB/changelog-device-1.2.0.xml">

<changeSet id="changelog-device_connection-1.4.0-create_index_id" author="eurotech">
<createIndex tableName="dvc_device_connection" indexName="idx_connection_id">
<column name="id"/>
</createIndex>
</changeSet>

</databaseChangeLog>
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
<include relativeToChangelogFile="true" file="./1.1.0/changelog-device-1.1.0.xml"/>
<include relativeToChangelogFile="true" file="./1.2.0/changelog-device-1.2.0.xml"/>
<include relativeToChangelogFile="true" file="./1.3.0/changelog-device-1.3.0.xml"/>
<include relativeToChangelogFile="true" file="./1.4.0/changelog-device-1.4.0.xml"/>

</databaseChangeLog>

0 comments on commit 4f5c295

Please sign in to comment.