Comments (2)
Hi @rohityadavcloud Could you please provide an example ? I tried createing a user / account with *
in the name as well as updating a global setting with *
in the value and the result was as expected
Although the * character was encoded in the request url, the resuling change / response is as expected
Eg:
(localhost) 🐱 > update configuration name=consoleproxy.url.domain value=*.turboio.com
[debug] ExecLine line:update configuration name=consoleproxy.url.domain value=*.turboio.com
[debug] ExecCmd args: update, configuration, name=consoleproxy.url.domain, value=*.turboio.com
[debug] Login POST URL:http://localhost:8080/client/apimap[command:[login] domain:[/] password:[password] response:[json] username:[admin]]
[debug] Login POST response status code:200
[debug] Login sessionkey:IYtbd90sWYjnfk-wjOLEl5h9NtA
[debug] NewAPIRequest API request URL:http://localhost:8080/client/api?command=updateConfiguration&name=consoleproxy.url.domain&response=json&sessionkey=IYtbd90sWYjnfk-wjOLEl5h9NtA&value=%2A.turboio.com
[debug] NewAPIRequest response status code:200
[debug] NewAPIRequest response body:{"updateconfigurationresponse":{"configuration":{"category":"Console Proxy","group":"System VMs","subgroup":"ConsoleProxyVM","name":"consoleproxy.url.domain","value":"*.turboio.com","defaultvalue":"","description":"Console proxy url domain","isdynamic":false,"component":"AgentManager","displaytext":"Consoleproxy url domain","type":"String"}}}
{
"configuration": {
"category": "Console Proxy",
"component": "AgentManager",
"defaultvalue": "",
"description": "Console proxy url domain",
"displaytext": "Consoleproxy url domain",
"group": "System VMs",
"isdynamic": false,
"name": "consoleproxy.url.domain",
"subgroup": "ConsoleProxyVM",
"type": "String",
"value": "*.turboio.com"
}
}
from cloudstack-cloudmonkey.
@davidjumani can you check apache/cloudstack-go#52 and for testing just pass * as value to the global setting both in cli and via shell script to cmk.
from cloudstack-cloudmonkey.
Related Issues (20)
- Log File Config Option? HOT 1
- filter is ignored on e.g. deploy virtual machine HOT 9
- associatednetworkid= does not autocomplete HOT 7
- verifycert option does not disable certificate signed by unknown authority error HOT 4
- Migrate to Github Actions HOT 2
- Create Role Permission Deny Rule Fails! HOT 1
- Provide "NOT" option when querying with cmk HOT 3
- Allow for CTRL-C to break the current operation HOT 6
- Readline issues when line goes beyond screen width HOT 1
- In CLI mode, cmk calls sync and doesn't cache it HOT 1
- Support POST method
- In CLI mode getting error: failed to authenticate, please check the credentials HOT 3
- How to run a cross-platform build? HOT 3
- hour value in the startdate,enddate parameter for command list usagerecords is ignored HOT 2
- Explore template/iso file upload from cmk
- Add support for 2FA in cmk HOT 3
- Validation for set cmd attributes (profile, url, etc)
- serviceofferingid autocomplete in deploy virtualmachine api cmd doesn't list the offering ids, instead picks some integer id
- Reverse parameter filtering
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudstack-cloudmonkey.