brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [4/4] brooklyn-server git commit: Closes #523
Date Wed, 18 Jan 2017 12:16:06 GMT
Closes #523

Fix Azure ARM VM names

Azure ARM only allows alphanumeric characters in it's naming. The default for Brooklyn is
to use `-` characters to split up blocks of alphanumeric chars which breaks this. This adds
an exception for `azurecompute-arm` in the same style as VM name length.

Tested with Tomcat 7 on Azure ARM, AWS and OpenStack


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/494ae6fe
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/494ae6fe
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/494ae6fe

Branch: refs/heads/master
Commit: 494ae6fe10f44cc0082cbf950aa1331c2a5c75fb
Parents: db7418c 6c1de1b
Author: Svetoslav Neykov <svetoslav.neykov@cloudsoftcorp.com>
Authored: Wed Jan 18 14:15:42 2017 +0200
Committer: Svetoslav Neykov <svetoslav.neykov@cloudsoftcorp.com>
Committed: Wed Jan 18 14:15:42 2017 +0200

----------------------------------------------------------------------
 .../location/cloud/CloudLocationConfig.java     |  4 +++
 .../cloud/names/BasicCloudMachineNamer.java     |  9 ++++---
 .../location/jclouds/JcloudsMachineNamer.java   | 15 +++++++++++
 .../brooklyn/util/text/StringShortener.java     | 28 ++++++++++++++++----
 .../brooklyn/util/text/StringShortenerTest.java | 20 ++++++++++++++
 5 files changed, 68 insertions(+), 8 deletions(-)
----------------------------------------------------------------------



Mime
View raw message