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

Backroll Plugin #8251

Open
wants to merge 31 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
1f51822
Bug fix + new features for backroll
PeterBackroll Nov 14, 2023
85080de
Add apache license, remove useless files
PeterBackroll Apr 30, 2024
bf2c036
Merge branch 'main' into Backroll
PeterBackroll Aug 1, 2024
ffa89a4
Fix Backroll version
PeterBackroll Aug 1, 2024
f792fb5
Merge branch 'apache:main' into Backroll
PeterBackroll Aug 29, 2024
f80a318
Merge branch 'apache:main' into Backroll
PeterBackroll Sep 9, 2024
813929a
Update for restoreBackedUpVolume
PeterBackroll Sep 9, 2024
7012adf
Fix styling and logging
PeterBackroll Sep 10, 2024
bf9b4a7
Merge branch 'apache:main' into Backroll
PeterBackroll Sep 10, 2024
56ab08f
Fix pom and restoreBackedUpVolume
PeterBackroll Sep 11, 2024
beeef61
Merge branch 'Backroll' of https://github.com/DIMSI-IS/cloudstack int…
PeterBackroll Sep 11, 2024
c3262ec
Merge branch 'apache:main' into Backroll
PeterBackroll Sep 12, 2024
e4ef123
Merge branch 'apache:main' into Backroll
m-dhellin Sep 30, 2024
00fe5f1
cleanup validations for VPN connection creation (#9195)
DaanHoogland Oct 1, 2024
bf78e4c
fix: spelling
PeterBackroll Oct 1, 2024
b6fbfc7
Restored git friendly EOF
m-dhellin Oct 1, 2024
d21cd12
Reorganized imports
m-dhellin Oct 1, 2024
9c83c2b
Reorganized imports
m-dhellin Oct 1, 2024
28f425a
Hide UserData field from the EditVM view for VMs that do not offer it…
FelipeM525 Oct 1, 2024
2d580ff
Checked license
m-dhellin Oct 1, 2024
2e4dd69
API: Fix listing Userdata by keyword or name (#9751)
Pearl1594 Oct 2, 2024
c087de4
Merge branch '4.19'
DaanHoogland Oct 2, 2024
d6181d5
Fix `updateTemplatePermission` when the UI is set to a language other…
lucas-a-martins Oct 4, 2024
50a993c
Factorized duplicated code
m-dhellin Oct 7, 2024
1d7ca77
Merge branch 'apache:main' into Backroll
m-dhellin Oct 7, 2024
63bdc0f
Factorized duplicated code
m-dhellin Oct 7, 2024
e4b212f
Extracted string constants
m-dhellin Oct 7, 2024
561b9b6
Refactored some null checks
m-dhellin Oct 7, 2024
8e3c8f7
Naming
m-dhellin Oct 7, 2024
01c2238
WIP error handling
m-dhellin Oct 15, 2024
d37a35b
Refactoring error handling
m-dhellin Oct 15, 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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ waf-*
# this ignores _all files starting with '.'. Don't do that!
#.*

!.gitignore
!.gitignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change needed?

10 changes: 10 additions & 0 deletions client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,11 @@
<artifactId>cloud-plugin-integrations-prometheus-exporter</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloud-plugin-backup-backroll</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloud-plugin-backup-dummy</artifactId>
Expand Down Expand Up @@ -1128,6 +1133,11 @@
<artifactId>cloud-plugin-backup-veeam</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloud-plugin-backup-backroll</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</profile>
<profile>
Expand Down
76 changes: 76 additions & 0 deletions developer/utils/conf/db.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#


# management server clustering parameters, change cluster.node.IP to the machine IP address
# in which the management server is running
cluster.node.IP=127.0.0.1
cluster.servlet.port=9090
region.id=1

# CloudStack database settings
db.cloud.username=cloud
db.cloud.password=cloud
db.root.password=12345
db.cloud.host=localhost
db.cloud.driver=jdbc:mysql
db.cloud.port=3306
db.cloud.name=cloud

# CloudStack database tuning parameters
db.cloud.maxActive=250
db.cloud.maxIdle=30
db.cloud.maxWait=10000
db.cloud.autoReconnect=true
db.cloud.validationQuery=SELECT 1
db.cloud.testOnBorrow=true
db.cloud.testWhileIdle=true
db.cloud.timeBetweenEvictionRunsMillis=40000
db.cloud.minEvictableIdleTimeMillis=240000
db.cloud.poolPreparedStatements=false
db.cloud.url.params=prepStmtCacheSize=517&cachePrepStmts=true&prepStmtCacheSqlLimit=4096&sessionVariables=sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'&serverTimezone=UTC

# usage database settings
db.usage.username=cloud
db.usage.password=cloud
db.usage.host=localhost
# It's not guaranteed that using a different DB provider than the one from the regular cloud DB will work
db.usage.driver=jdbc:mysql
db.usage.port=3306
db.usage.name=cloud_usage

# usage database tuning parameters
db.usage.maxActive=100
db.usage.maxIdle=30
db.usage.maxWait=10000
db.usage.autoReconnect=true
db.usage.url.params=serverTimezone=UTC

# Simulator database settings
db.simulator.username=cloud
db.simulator.password=cloud
db.simulator.host=localhost
# It's not guaranteed that using a different DB provider than the one from the regular cloud DB will work
db.simulator.driver=jdbc:mysql
db.simulator.port=3306
db.simulator.name=simulator
db.simulator.maxActive=250
db.simulator.maxIdle=30
db.simulator.maxWait=10000
db.simulator.autoReconnect=true
Comment on lines +1 to +76
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this new file relate to the plugin?

45 changes: 45 additions & 0 deletions plugins/backup/backroll/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>cloud-plugin-backup-backroll</artifactId>
<name>Apache CloudStack Plugin - BackRoll Backup and Recovery Plugin by DIMSI</name>
<parent>
<artifactId>cloudstack-plugins</artifactId>
<groupId>org.apache.cloudstack</groupId>
<version>4.20.0.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<dependencies>
<dependency>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloud-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloud-utils</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
</dependency>
</dependencies>
</project>
Loading
Loading