-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
PeterBackroll
wants to merge
31
commits into
apache:main
Choose a base branch
from
DIMSI-IS:Backroll
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Backroll Plugin #8251
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 85080de
Add apache license, remove useless files
PeterBackroll bf2c036
Merge branch 'main' into Backroll
PeterBackroll ffa89a4
Fix Backroll version
PeterBackroll f792fb5
Merge branch 'apache:main' into Backroll
PeterBackroll f80a318
Merge branch 'apache:main' into Backroll
PeterBackroll 813929a
Update for restoreBackedUpVolume
PeterBackroll 7012adf
Fix styling and logging
PeterBackroll bf9b4a7
Merge branch 'apache:main' into Backroll
PeterBackroll 56ab08f
Fix pom and restoreBackedUpVolume
PeterBackroll beeef61
Merge branch 'Backroll' of https://github.com/DIMSI-IS/cloudstack int…
PeterBackroll c3262ec
Merge branch 'apache:main' into Backroll
PeterBackroll e4ef123
Merge branch 'apache:main' into Backroll
m-dhellin 00fe5f1
cleanup validations for VPN connection creation (#9195)
DaanHoogland bf78e4c
fix: spelling
PeterBackroll b6fbfc7
Restored git friendly EOF
m-dhellin d21cd12
Reorganized imports
m-dhellin 9c83c2b
Reorganized imports
m-dhellin 28f425a
Hide UserData field from the EditVM view for VMs that do not offer it…
FelipeM525 2d580ff
Checked license
m-dhellin 2e4dd69
API: Fix listing Userdata by keyword or name (#9751)
Pearl1594 c087de4
Merge branch '4.19'
DaanHoogland d6181d5
Fix `updateTemplatePermission` when the UI is set to a language other…
lucas-a-martins 50a993c
Factorized duplicated code
m-dhellin 1d7ca77
Merge branch 'apache:main' into Backroll
m-dhellin 63bdc0f
Factorized duplicated code
m-dhellin e4b212f
Extracted string constants
m-dhellin 561b9b6
Refactored some null checks
m-dhellin 8e3c8f7
Naming
m-dhellin 01c2238
WIP error handling
m-dhellin d37a35b
Refactoring error handling
m-dhellin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,4 +103,4 @@ waf-* | |
# this ignores _all files starting with '.'. Don't do that! | ||
#.* | ||
|
||
!.gitignore | ||
!.gitignore | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How does this new file relate to the plugin? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change needed?