PT 175164317 - Remove PWS as default URL for boot dash CF target
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2015, 2016 Pivotal, Inc.
|
||||
* Copyright (c) 2015, 2020 Pivotal, Inc.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
@@ -171,8 +171,6 @@ public class CloudFoundryTargetWizardModel {
|
||||
allPropertiesValidator.addChild(storeCredentialsValidator);
|
||||
allPropertiesValidator.addChild(resolvedSpacesValidator);
|
||||
allPropertiesValidator.addChild(spaceValidator);
|
||||
|
||||
url.setValue(getDefaultTargetUrl());
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
@@ -219,10 +217,6 @@ public class CloudFoundryTargetWizardModel {
|
||||
return storeCredentials.getValue();
|
||||
}
|
||||
|
||||
protected String getDefaultTargetUrl() {
|
||||
return "https://api.run.pivotal.io";
|
||||
}
|
||||
|
||||
public OrgsAndSpaces resolveSpaces(IRunnableContext context) {
|
||||
try {
|
||||
boolean toFetchSpaces = true;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2015, 2017 Pivotal, Inc.
|
||||
* Copyright (c) 2015, 2020 Pivotal, Inc.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
@@ -283,10 +283,6 @@ implements RunTargetWithProperties<CloudFoundryTargetProperties>, RemoteRunTarge
|
||||
return spaces;
|
||||
}
|
||||
|
||||
public boolean isPWS() {
|
||||
return "https://api.run.pivotal.io".equals(getUrl());
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
String url = targetProperties.getUrl();
|
||||
while (url.endsWith("/")) {
|
||||
|
||||
Reference in New Issue
Block a user