Skip to content

Commit f07d729

Browse files
DaanHooglandyadvr
authored andcommitted
CLOUDSTACK-9408 for the move away from download.cloud.com
- commented some occurences of cloud.com as being harmless * examples * identifiers (internal) - changed the URL for vhd-util download - changed comments from 'cloud.com' to 'Apache CloudStack'
1 parent fb1afb1 commit f07d729

File tree

19 files changed

+24
-20
lines changed

19 files changed

+24
-20
lines changed

api/src/com/cloud/offering/ServiceOffering.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public interface ServiceOffering extends DiskOffering, InfrastructureEntity, Int
3131
public static final String routerDefaultOffUniqueName = "Cloud.Com-SoftwareRouter";
3232
public static final String elbVmDefaultOffUniqueName = "Cloud.Com-ElasticLBVm";
3333
public static final String internalLbVmDefaultOffUniqueName = "Cloud.Com-InternalLBVm";
34+
// leaving cloud.com references as these are identifyers and no real world adresses (check against DB)
3435

3536
public enum StorageType {
3637
local, shared

api/src/com/cloud/resource/ResourceService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public interface ResourceService {
5353
Host reconnectHost(ReconnectHostCmd cmd);
5454

5555
/**
56-
* We will automatically create a cloud.com cluster to attach to the external cluster and return a hyper host to perform
56+
* We will automatically create an Apache CloudStack cluster to attach to the external cluster and return a hyper host to perform
5757
* host related operation within the cluster
5858
*
5959
* @param cmd

api/src/org/apache/cloudstack/api/response/AutoScaleVmProfileResponse.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public class AutoScaleVmProfileResponse extends BaseResponse implements Controll
7575
@Parameter(name = ApiConstants.CS_URL,
7676
type = CommandType.STRING,
7777
description = "the API URL including port of the CloudStack Management Server example: http://server.cloud.com:8080/client/api?")
78+
// leaving cloud.com reference above as it serves only as an example
7879
private String csUrl;
7980

8081
@SerializedName(ApiConstants.ACCOUNT)

packaging/centos63/cloud.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ grep -s -q "db.usage.driver=jdbc:mysql" "%{_sysconfdir}/%{name}/management/db.pr
445445
grep -s -q "db.simulator.driver=jdbc:mysql" "%{_sysconfdir}/%{name}/management/db.properties" || sed -i -e "\$adb.simulator.driver=jdbc:mysql" "%{_sysconfdir}/%{name}/management/db.properties"
446446

447447
if [ ! -f %{_datadir}/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util ] ; then
448-
echo Please download vhd-util from http://download.cloud.com.s3.amazonaws.com/tools/vhd-util and put it in
448+
echo Please download vhd-util from http://cloudstack.apt-get.eu/tools/vhd-util and put it in
449449
echo %{_datadir}/cloudstack-common/scripts/vm/hypervisor/xenserver/
450450
fi
451451

packaging/centos7/cloud.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ grep -s -q "db.usage.driver=jdbc:mysql" "%{_sysconfdir}/%{name}/management/db.pr
402402
grep -s -q "db.simulator.driver=jdbc:mysql" "%{_sysconfdir}/%{name}/management/db.properties" || sed -i -e "\$adb.simulator.driver=jdbc:mysql" "%{_sysconfdir}/%{name}/management/db.properties"
403403

404404
if [ ! -f %{_datadir}/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util ] ; then
405-
echo Please download vhd-util from http://download.cloud.com.s3.amazonaws.com/tools/vhd-util and put it in
405+
echo Please download vhd-util from http://cloudstack.apt-get.eu/tools/vhd-util and put it in
406406
echo %{_datadir}/cloudstack-common/scripts/vm/hypervisor/xenserver/
407407
fi
408408

packaging/fedora20/cloud.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ if [ "$1" == "1" ] ; then
408408
fi
409409

410410
if [ ! -f %{_datadir}/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util ] ; then
411-
echo Please download vhd-util from http://download.cloud.com.s3.amazonaws.com/tools/vhd-util and put it in
411+
echo Please download vhd-util from http://cloudstack.apt-get.eu/tools/vhd-util and put it in
412412
echo %{_datadir}/cloudstack-common/scripts/vm/hypervisor/xenserver/
413413
fi
414414

server/src/com/cloud/server/ConfigurationServerImpl.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,15 +564,15 @@ private void generateDefaultKeystore(String keystorePath) throws IOException {
564564
// Simple check to see if we got IP Address...
565565
boolean isIPAddress = Pattern.matches("[0-9]$", group[group.length - 1]);
566566
if (isIPAddress) {
567-
ou = "cloud.com";
567+
ou = "cloud.com"; // leaving this example reference to cloud.com as it has no real world relevance
568568
} else {
569569
ou = group[group.length - 1];
570570
for (int i = group.length - 2; i >= 0 && i >= group.length - 3; i--)
571571
ou = group[i] + "." + ou;
572572
}
573573
} catch (UnknownHostException ex) {
574574
s_logger.info("Fail to get user's domain name. Would use cloud.com. ", ex);
575-
ou = "cloud.com";
575+
ou = "cloud.com"; // leaving this example reference to cloud.com as it has no real world relevance
576576
}
577577

578578
String o = ou;
@@ -1055,6 +1055,7 @@ private DiskOfferingVO createdefaultDiskOffering(Long domainId, String name, Str
10551055

10561056
DiskOfferingVO newDiskOffering = new DiskOfferingVO(domainId, name, description, provisioningType, diskSize, tags, isCustomized, null, null, null);
10571057
newDiskOffering.setUniqueName("Cloud.Com-" + name);
1058+
// leaving the above reference to cloud.com in as it is an identifyer and has no real world relevance
10581059
newDiskOffering.setSystemUse(isSystemUse);
10591060
newDiskOffering = _diskOfferingDao.persistDeafultDiskOffering(newDiskOffering);
10601061
return newDiskOffering;
@@ -1066,6 +1067,7 @@ private ServiceOfferingVO createServiceOffering(long userId, String name, int cp
10661067
ServiceOfferingVO offering =
10671068
new ServiceOfferingVO(name, cpu, ramSize, speed, null, null, offerHA, displayText, provisioningType, localStorageRequired, false, tags, false, null, false);
10681069
offering.setUniqueName("Cloud.Com-" + name);
1070+
// leaving the above reference to cloud.com in as it is an identifyer and has no real world relevance
10691071
offering = _serviceOfferingDao.persistSystemServiceOffering(offering);
10701072
return offering;
10711073
}

systemvm/scripts/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ do
5454
grep 'stop' /usr/local/cloud/systemvm/user_request &>/dev/null
5555
if [ $? -eq 0 ]; then
5656
timestamp=$(date)
57-
echo "$timestamp User stops cloud.com service" >> /var/log/cloud.log
57+
echo "$timestamp User stops Apache CloudStack service" >> /var/log/cloud.log
5858
exit 0
5959
fi
6060
sleep 5

systemvm/scripts/ssvm-check.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,16 @@ fi
5656

5757
# check dns resolve
5858
echo ================================================
59-
nslookup download.cloud.com 1> /tmp/dns 2>&1
59+
nslookup cloudstack.apache.org 1> /tmp/dns 2>&1
6060
grep 'no servers could' /tmp/dns 1> /dev/null 2>&1
6161
if [ $? -eq 0 ]
6262
then
63-
echo "ERROR: DNS not resolving download.cloud.com"
63+
echo "ERROR: DNS not resolving cloudstack.apache.org"
6464
echo resolv.conf follows
6565
cat /etc/resolv.conf
6666
exit 2
6767
else
68-
echo "Good: DNS resolves download.cloud.com"
68+
echo "Good: DNS resolves cloudstack.apache.org"
6969
fi
7070

7171

test/integration/component/test_browse_templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ def ssvm_internals(self):
874874
self.skipTest("Marvin configuration has no host credentials to check router services")
875875
res = str(result)
876876
self.debug("Cloud Process status: %s" % res)
877-
# cloud.com service (type=secstorage) is running: process id: 2346
877+
# Apache CloudStack service (type=secstorage) is running: process id: 2346
878878
self.assertEqual(
879879
res.count("is running"),
880880
1,

0 commit comments

Comments
 (0)