summaryrefslogtreecommitdiffstats
path: root/asdctool/src/main/java
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2020-04-20 14:20:23 +0100
committerandre.schmid <andre.schmid@est.tech>2020-04-20 14:26:10 +0100
commite45d69b7da15226f88a8821a0d5ef55757e4a98a (patch)
tree90315a82c0c9643856271bd2cb298b62e87a3b0f /asdctool/src/main/java
parent3d10111e093b5498e6da654a04016d9ecb9a7281 (diff)
Fix cs-init SchemaFileImport error file creation
Fix issue in SdcSchemaFileImport "STDERR: Error in file creation : data, /tmp/sdctool/tosca/data-types/data.yml (No such file or directory)", during the cassandra init. Introduced by SDC-2898. Change-Id: Ifd2018fac456f15d03fc39ea766a6ae0c3eda081 Issue-ID: SDC-2939 Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'asdctool/src/main/java')
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/main/SdcSchemaFileImport.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/main/SdcSchemaFileImport.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/main/SdcSchemaFileImport.java
index 57939df910..989e362706 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/main/SdcSchemaFileImport.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/main/SdcSchemaFileImport.java
@@ -107,7 +107,7 @@ public class SdcSchemaFileImport {
SchemaZipFileEnum[] schemaFileList = SchemaZipFileEnum.values();
for (SchemaZipFileEnum schemaZipFileEnum : schemaFileList) {
String folderName = schemaZipFileEnum.getSourceFolderName();
- String fileName = schemaZipFileEnum.getFileName();
+ String fileName = schemaZipFileEnum.getSourceFileName();
if ((folderName != null) && (fileName != null)) {
File folder = new File(importToscaPath, folderName);