/*-
* ============LICENSE_START=======================================================
- * Copyright (C) 2019 Nordix Foundation.
+ * Copyright (C) 2019-2023 Nordix Foundation.
* Copyright (C) 2021 Nokia. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* ============LICENSE_END=========================================================
*/
-package org.onap.dcaegen2.collectors.datafile.model;
+package org.oran.datafile.model;
import java.net.URI;
import java.nio.file.Path;
import org.apache.hc.core5.http.NameValuePair;
import org.apache.hc.core5.net.URIBuilder;
-import org.onap.dcaegen2.collectors.datafile.commons.FileServerData;
-import org.onap.dcaegen2.collectors.datafile.commons.FileServerData.FileServerDataBuilder;
-import org.onap.dcaegen2.collectors.datafile.commons.Scheme;
-import org.onap.dcaegen2.collectors.datafile.configuration.AppConfig;
+import org.oran.datafile.commons.FileServerData;
+import org.oran.datafile.commons.FileServerData.FileServerDataBuilder;
+import org.oran.datafile.commons.Scheme;
+import org.oran.datafile.configuration.AppConfig;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* @return the path to the locally stored file.
*/
public Path getLocalFilePath(AppConfig config) {
- return Paths.get(config.collectedFilesPath, this.messageMetaData.sourceName, fileInfo.name);
+ return Paths.get(config.getCollectedFilesPath(), this.messageMetaData.sourceName, fileInfo.name);
}
/**