diff options
author | 2019-05-03 14:28:39 +0000 | |
---|---|---|
committer | 2019-05-03 14:28:39 +0000 | |
commit | 4b50bdd791fdfcb62ec24317ab6b9a907b3a1b9d (patch) | |
tree | 777ef0fc28f423107a2f6860beb7a886a82bf9fc /test/mocks/mass-pnf-sim/pnf-sim-lightweight/src/main/java/org/onap/pnfsimulator/simulator | |
parent | 3783f88709ce31c05c7a32572ee398aa9fe5e961 (diff) |
Pass typefileserver as parameter in mass-pnf-sim
Change-Id: I1168a5f10cce9b7d17324504a57d90dd9ee7790d
Issue-ID: DCAEGEN2-1434
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
Diffstat (limited to 'test/mocks/mass-pnf-sim/pnf-sim-lightweight/src/main/java/org/onap/pnfsimulator/simulator')
-rw-r--r-- | test/mocks/mass-pnf-sim/pnf-sim-lightweight/src/main/java/org/onap/pnfsimulator/simulator/SimulatorFactory.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mocks/mass-pnf-sim/pnf-sim-lightweight/src/main/java/org/onap/pnfsimulator/simulator/SimulatorFactory.java b/test/mocks/mass-pnf-sim/pnf-sim-lightweight/src/main/java/org/onap/pnfsimulator/simulator/SimulatorFactory.java index 21717d863..851e6ad1d 100644 --- a/test/mocks/mass-pnf-sim/pnf-sim-lightweight/src/main/java/org/onap/pnfsimulator/simulator/SimulatorFactory.java +++ b/test/mocks/mass-pnf-sim/pnf-sim-lightweight/src/main/java/org/onap/pnfsimulator/simulator/SimulatorFactory.java @@ -36,9 +36,9 @@ public class SimulatorFactory { PnfSimConfig configuration = ConfigurationProvider.getConfigInstance(); String xnfUrl = null; - if (configuration.getDefaultfileserver().equals("sftp")) { + if (configuration.getTypefileserver().equals("sftp")) { xnfUrl = configuration.getUrlsftp() + "/"; - } else if (configuration.getDefaultfileserver().equals("ftps")) { + } else if (configuration.getTypefileserver().equals("ftps")) { xnfUrl = configuration.getUrlftps() + "/"; } |