John Bampton
c2e17310d6
Add three more `pre-commit` checks ( #7083 )
...
Co-authored-by: dahn <daan@onecht.net>
2023-03-27 13:28:55 +02:00
Eduardo Zanetta
a9b49f3ae9
Cleanup APIs getCommandName ( #7022 )
...
Co-authored-by: Eduardo Zanetta <eduardo.zanetta@scclouds.com.br>
2023-01-03 12:11:52 +01:00
Wei Zhou
a63b2aba7a
VM Autoscaling with virtual router ( #6571 )
2022-12-05 15:23:03 +01:00
John Bampton
f9347ecf2c
Fix spelling ( #6597 )
2022-08-03 15:43:47 +05:30
Abhishek Kumar
523805c8bc
schema,server,api: events improvement ( #5997 )
...
* schema,server,api: events improvement
Add resource ID and resource type to event.
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* wip
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* refactor resourcetype association with API class
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add resource anme to the response
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* test
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* more tests
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* new line
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add resource test
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* smoke test for events resource
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui improvements
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* refactor
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* api,ui: add support for listing events for a resource
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* since key
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* tests and permission changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* missing test
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* events for domain
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* improvements
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add missing license
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* ui: fix js console errors
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* sort enumeration
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix event resource for vpc
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* feedback changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix order
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* events with parent resource
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* missing UI labels
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* donot call cmd resource methods before dispatch
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add restore vm to procedure
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add missing imports
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* resource details for more events
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* add test for changes
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* more test, license fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* wrong merge fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* fix for more event types
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-04-25 09:05:17 -03:00
John Bampton
c265df965e
Fix spelling ( #6185 )
...
* Fix spelling
* Update services/secondary-storage/server/src/main/java/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
Co-authored-by: SadiJr <sadijacinto@gmail.com>
Co-authored-by: Rohit Yadav <rohityadav89@gmail.com>
Co-authored-by: SadiJr <sadijacinto@gmail.com>
2022-04-16 00:55:11 +05:30
John Bampton
6401c850b7
Fix spelling ( #6064 )
...
* Fix spelling
- `interupted` to `interrupted`
- `paramter` to `parameter`
* Fix more typos
2022-03-08 13:02:35 -03:00
John Bampton
980c0bff03
Fix spelling ( #6041 )
...
Changed `occured` to `occurred`
2022-03-03 13:10:14 -03:00
Suresh Kumar Anaparti
f610e89ea9
Merge branch '4.16' into main
2022-01-28 13:43:00 +05:30
davidjumani
6fa8538666
Adding placeholders for custom NSP vues ( #5620 )
...
* Adding placeholders for custom NSP vues
* Fix decorator
* Fixing gslbproviderprivateip description
2022-01-27 20:11:35 +05:30
Rohit Yadav
2e9c9417be
Merge remote-tracking branch 'origin/4.16'
2021-12-03 15:41:56 +05:30
davidjumani
dfd75d7bc0
api: Fix wrong logger class in *Cmd.java ( #5740 )
...
This PR changes the incorrect class name used in the logger in ListHypervisorsCmd
2021-12-02 15:16:28 +05:30
Daniel Augusto Veronezi Salvador
b4aabadc4d
Replace string libraries with org.apache.commons.lang3.StringUtils ( #5386 )
...
* Replace google lib for lang3 and adjust methods calls
* Replace string libs by lang3
* Prohibit others string libs
Co-authored-by: GutoVeronezi <daniel@scclouds.com.br>
2021-11-18 13:41:48 +05:30
davidjumani
1a7bfa98d8
Follow consistent vo table name convention ( #5004 )
2021-06-24 16:46:50 -03:00
Nicolas Vazquez
8c1d749360
[VMware] Enable unmanaging guest VMs ( #4103 )
...
* Enable unmanaging guest VMs
* Minor fixes
* Fix stop usage event only if VM is not stopped when unmanaging
* Rename unmanaged VMs manager
* Generate netofferingremove usage event if VM is not stopped
* Generate usage event VM snapshot primary off when unmanaging
2020-06-26 08:31:43 -03:00
Bruno P. Kinoshita
34ada079d3
s/pacakge/package ( #2812 )
2018-08-20 10:14:25 +02:00
lzh3636
e57003f93f
Fix some log messages that do not match with their function ( #2796 )
2018-08-16 09:49:43 +02:00
lzh3636
fed3492b57
CLOUDSTACK-10357: Improve log messages in methods ( #2580 )
...
Fix several logs that mismatch method.
Add stacktraces for throw new statements.
2018-04-20 00:33:27 +05:30
Rafael Weingärtner
972b8b71d7
CLOUDSTACK-8855 Improve Error Message for Host Alert State and reconnect host API. ( #2387 )
...
* CLOUDSTACK-8855 Improve Error Message for Host Alert State
* [CLOUDSTACK-9846] create column to save the content of alert messages
Remove declaration of throws CloudRuntimeException
I also removed some unused variables and comments left behind
This closes #837
* Isolate a problematic test "smoke/test_certauthority_root"
2018-03-14 15:27:43 -03:00
Marc-Aurèle Brothier
893a88d225
CLOUDSTACK-10105: Use maven standard project structure in all projects ( #2283 )
...
Remove maven standard module (which only a few were using) and get ride of maven customization for the projects structure.
- moved all directories to src/main/java, src/main/resources, src/main/scripts, src/test/java, src/test/resources
- grep scan to search for src/com and src/org left over
- grep for <project>/scripts to fix pom.xml configuration
- remove custom <build> configuration in pom.xml
Signed-off-by: Marc-Aurèle Brothier <m@brothier.org>
2018-01-20 03:19:27 +05:30
Wido den Hollander
9988c269b2
CLOUDSTACK-7958: Add configuration for limit to CIDRs for Admin API calls ( #2046 )
...
* Cleanup and Improve NetUtils
This class had many unused methods, inconsistent names and redundant code.
This commit cleans up code, renames a few methods and constants.
The global/account setting 'api.allowed.source.cidr.list' is set
to 0.0.0.0/0,::/0 by default preserve the current behavior and thus
allow API calls for accounts from all IPv4 and IPv6 subnets.
Users can set it to a comma-separated list of IPv4/IPv6 subnets to
restrict API calls for Admin accounts to certain parts of their network(s).
This is to improve Security. Should an attacker steal the Access/Secret key
of an account he/she still needs to be in a subnet from where accounts are
allowed to perform API calls.
This is a good security measure for APIs which are connected to the public internet.
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2018-01-04 10:56:30 +05:30
kishankavala
49be7eecd2
CLOUDSTACK-9800: Enabled netscaler inline mode. Added corrsponding changes in UI ( #1964 )
...
NetScaler can work in inline mode also along with other Firewall devices. Enabled netscaler inline mode capability
2017-12-19 04:18:55 +05:30
Rafael Weingärtner
3c6df7c970
CLOUDSTACK-10196: Remove ejb-api 3.0 dependency ( #2348 )
...
Fixed QuotaAlertManagerImplTest, which was injecting mock objects manually.
2017-12-18 23:59:06 +05:30
Nitin Kumar Maharana
e243a31e41
CLOUDSTACK-8672 : NCC Integration with CloudStack.
...
Improvements.
2017-07-20 12:42:43 +05:30
Nitin Kumar Maharana
b2b422c7d7
CLOUDSTACK-8672 : NCC Integration with CloudStack.
2017-07-20 12:42:43 +05:30
Priyank Parihar
b2f7f9abb6
CLOUDSTACK-8672 : NCC Integration with CloudStack.
2017-07-20 12:42:43 +05:30
Rajesh Battala
884606f77b
CLOUDSTACK-8672 : NCC Integration with CloudStack.
2017-07-20 12:42:43 +05:30
Nitin Kumar Maharana
3dc0eed71d
CLOUDSTACK-9618: Load Balancer configuration page does not have "Source" method in the drop down list
...
Added the source method to supported algorithm list in Netscaler element.
Added a validation check.
2017-02-15 01:16:48 +05:30
Rohit Yadav
70c79ad13c
Merge branch '4.9'
2016-12-07 01:35:56 +05:30
Rohit Yadav
abfcd5b95f
CLOUDSTACK-9632: Upgrade bouncy castle to version 1.55
...
- Upgrades Maven dependency version to v1.55
- Fixes bountycastle usages and issues
- Adds timeout to jetty/annotation scanning
- Fixes servlet issue, uses servlet 3.1.0
- Downgrade javassist used by reflections to fix annotation process errors
- Make console-proxy-rdp bc dependency same as rest of the codebase
- Picks up PR #1510 by Daan
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-12-06 17:24:24 +05:30
Nick Livens
62e858131f
CLOUDSTACK-9321 : Multiple Internal LB rules (more than one Internal LB rule with same source IP address) are not getting resolved in the corresponding InternalLbVm instance's haproxy.cfg file
...
CLOUDSTACK-9321 : Adding component tests for VPC Network functionality - Internal LB rules
CLOUDSTACK-9321 : Extending Nuage VSP Internal LB Marvin tests
Co-Authored-By: Prashanth Manthena <prashanth.manthena@nuagenetworks.net>, Frank Maximus <frank.maximus@nuagenetworks.net>
2016-11-22 15:51:22 +01:00
cirstofolini
1a64c247ad
Removed unnecessary @Local annotations and their respective imports from the ComponentLifecycleBase class and its subclasses.
2015-11-21 18:31:11 -02:00
Rajani Karuturi
8bc0294014
Revert "Merge pull request #714 from rafaelweingartner/master-lrg-cs-hackday-003"
...
This reverts commit cd7218e241 , reversing
changes made to f5a7395cc2 .
Reason for Revert:
noredist build failed with the below error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project cloud-plugin-hypervisor-vmware: Compilation failure
[ERROR] /home/jenkins/acs/workspace/build-master-noredist/plugins/hypervisors/vmware/src/com/cloud/hypervisor/guru/VMwareGuru.java:[484,12] error: non-static variable logger cannot be referenced from a static context
[ERROR] -> [Help 1]
even the normal build is broken as reported by @koushik-das on dev list
http://markmail.org/message/nngimssuzkj5gpbz
2015-08-31 11:27:57 +05:30
Rafael Weingartner
3818257a68
Solved jira ticket: CLOUDSTACK-8750
2015-08-28 22:35:08 -03:00
Daan Hoogland
e2b6237464
CLOUDSTACK-8656: debug messages on interupted exceptions
2015-07-30 16:03:10 +02:00
Daan Hoogland
85e002b230
CLOUDSTACK-8656: filling empty catch block with info messages
...
using regexp "catch\s*\(\s*(Exception|Throwable)\s*\w*\)\s*\{\s*\}"
2015-07-30 15:51:52 +02:00
Rafael da Fonseca
1494487f72
Fix findbugs warning in NetscalerResource.java Unnecessary boxing/unboxing of primitive value
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #426
2015-06-15 12:09:41 +03:00
Hugo Trippaers
0080905ad4
CID-1249803 Remove dead code
2014-10-29 11:10:41 +01:00
Rajesh Battala
0f528df228
CLOUDSTACK-7313 Fixed issues in provisioning vpx in SDX from CS
2014-10-13 15:57:13 +05:30
Santhosh Edukulla
19ffc93e2e
Fixed few coverity reported issues:Aug22 2014
2014-08-21 17:09:27 +05:30
Will Stevens
d3af2dbeca
CLOUDSTACK-6886 - Fixed the issue created by the SSL feature with the SDX:
2014-07-22 17:28:01 -04:00
Sujaya Maiyya
e07d0ddabf
fixed CLOUDSTACK-6261: remove the forceful timeout setting when login to NetScaler.
2014-07-09 22:08:14 +05:30
Rajesh Battala
d64adf5912
CLOUDSTACK-7037 Unable to add new vm/service to existing LB rule of SSL protocol
2014-07-02 16:06:39 +05:30
Santhosh Edukulla
97d296bfbd
Fixed Coverity reported performance issues like inefficient string concatenations, wrong boxing or unboxing types, inefficent map element retrievals
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-07-01 22:06:25 +02:00
Rajesh Battala
ca6e6e2b7c
CLOUDSTACK-6338 [Automation] Failed to NetScaler Device with error
2014-04-24 17:10:23 +05:30
Alena Prokharchyk
ee99d5ee8d
NescalerResource - added missing "return" statement
2014-03-14 09:45:27 -07:00
Min Chen
48e08fe676
Merge branch 'master' into rbac.
2014-03-06 14:02:20 -08:00
Mandar Barve
b0c6d47347
- Updated APICommand annotation to add new flags that indicate if API request or response carry sensitive info - Updated all API classes with the new annotation flag values as per the API's sensitivity - Updated server code to check response annotation before audit logging
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit df270d6387c362b960064ee5123c14782e767a19)
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-02-25 22:59:10 +01:00
Min Chen
3b58a45e04
Merge branch 'master' into rbac.
2014-02-07 13:43:36 -08:00
Syed Ahmed
356daf3eed
Review 16080 Move Netscaler plugin from non-oss to oss and upgrade the nitro API to 10.1
...
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-02-05 14:03:49 +01:00