summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/nfvo-utils
diff options
context:
space:
mode:
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-05-08 16:15:21 +0300
committerEinav Keidar <einavw@amdocs.com>2018-05-09 07:26:12 +0000
commit3b0bea525ed2051f3635dfd6800f156601aa8c0d (patch)
tree0b11b67e72d5905dc3b4988afdccd85d596e4b88 /openecomp-ui/src/nfvo-utils
parent738df130864363bcb8b18c3b726f0587acaf74fd (diff)
nic creation issue fix
Issue-ID: SDC-1274 Change-Id: Ifd9297d3559f1b8820b0a64f063f1211b6957dd4 Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'openecomp-ui/src/nfvo-utils')
-rw-r--r--openecomp-ui/src/nfvo-utils/RestAPIUtil.js4
-rw-r--r--openecomp-ui/src/nfvo-utils/json/JSONSchema.js2
2 files changed, 1 insertions, 5 deletions
diff --git a/openecomp-ui/src/nfvo-utils/RestAPIUtil.js b/openecomp-ui/src/nfvo-utils/RestAPIUtil.js
index 6be5db765c..a8b40d32a6 100644
--- a/openecomp-ui/src/nfvo-utils/RestAPIUtil.js
+++ b/openecomp-ui/src/nfvo-utils/RestAPIUtil.js
@@ -79,10 +79,6 @@ function handleSuccess(responseHeaders, requestHeaders) {
class RestAPIUtil {
handleRequest(url, type, options = {}, data) {
- if (DEBUG) {
- console.log('axios --> Making REST call (' + type + '): ' + url);
- }
-
applySecurity(options, data);
// TODO see ig necessary or in transformrequest funtion
diff --git a/openecomp-ui/src/nfvo-utils/json/JSONSchema.js b/openecomp-ui/src/nfvo-utils/json/JSONSchema.js
index 53d288f3ae..028d82fc7a 100644
--- a/openecomp-ui/src/nfvo-utils/json/JSONSchema.js
+++ b/openecomp-ui/src/nfvo-utils/json/JSONSchema.js
@@ -110,7 +110,7 @@ export default class JSONSchema {
if (items && items.length > 0) {
let values = items
.filter(value => value)
- .map(value => ({ enum: value, title: value }));
+ .map(value => ({ enum: value, title: value.toString() }));
enumResult = values;
}
}