File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
engine/schema/src/main/java/com/cloud/upgrade
plugins/hypervisors/external/src/main/java/org/apache/cloudstack/hypervisor/external/provisioner
utils/src/main/java/org/apache/cloudstack/utils/server Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 5151import org .apache .cloudstack .storage .datastore .db .TemplateDataStoreDao ;
5252import org .apache .cloudstack .storage .datastore .db .TemplateDataStoreVO ;
5353import org .apache .cloudstack .utils .security .DigestHelper ;
54+ import org .apache .cloudstack .utils .server .ServerPropertiesUtil ;
5455import org .apache .commons .lang3 .StringUtils ;
5556import org .apache .logging .log4j .LogManager ;
5657import org .apache .logging .log4j .Logger ;
@@ -826,7 +827,7 @@ public static String parseMetadataFile() {
826827 Ini .Section defaultSection = ini .get ("default" );
827828 boolean updateCustomDownloadRepository = false ;
828829 String defaultDownloadRepository = defaultSection .get (TEMPLATES_DOWNLOAD_REPOSITORY_KEY );
829- String customDownloadRepository = System .getProperty (TEMPLATES_CUSTOM_DOWNLOAD_REPOSITORY_KEY );
830+ String customDownloadRepository = ServerPropertiesUtil .getProperty (TEMPLATES_CUSTOM_DOWNLOAD_REPOSITORY_KEY );
830831 if (StringUtils .isNotBlank (customDownloadRepository ) && StringUtils .isNotBlank (defaultDownloadRepository )) {
831832 LOGGER .debug ("Updating custom download repository: {}" , customDownloadRepository );
832833 updateCustomDownloadRepository = true ;
Original file line number Diff line number Diff line change 5050import org .apache .cloudstack .api .ApiConstants ;
5151import org .apache .cloudstack .extension .Extension ;
5252import org .apache .cloudstack .framework .extensions .manager .ExtensionsManager ;
53- import org .apache .cloudstack .utils .ServerPropertiesUtil ;
53+ import org .apache .cloudstack .utils .server . ServerPropertiesUtil ;
5454import org .apache .cloudstack .utils .security .DigestHelper ;
5555import org .apache .commons .collections .CollectionUtils ;
5656import org .apache .commons .collections .MapUtils ;
Original file line number Diff line number Diff line change 1515// specific language governing permissions and limitations
1616// under the License.
1717
18- package org .apache .cloudstack .utils ;
18+ package org .apache .cloudstack .utils . server ;
1919
2020import java .io .File ;
2121import java .io .FileInputStream ;
You can’t perform that action at this time.
0 commit comments