Commit 8eb5c246 authored by Spiros Koulouzis's avatar Spiros Koulouzis

cast output

parent ae9b9098
......@@ -14,7 +14,7 @@ tar -czvf drip-deployer.tar.gz drip-deployer
mv drip-deployer.tar.gz build
tar -czvf drip-planner.tar.gz drip-planner
tar -czvf drip-planner.tar.gz drip_planner2
mv drip-planner.tar.gz build
......
......@@ -387,7 +387,11 @@ public class DeployService {
for (Map<String, Object> port : ports) {
Set<String> keys = port.keySet();
for (String key : keys) {
if (port.get(key) instanceof Integer) {
outputs = TOSCAUtils.buildTOSCAOutput(outputs, serviceName, String.valueOf((Integer) port.get(key)), key, false);
} else {
outputs = TOSCAUtils.buildTOSCAOutput(outputs, serviceName, (String) port.get(key), key, false);
}
}
}
......@@ -564,7 +568,6 @@ public class DeployService {
Map<String, String> domainCache = new HashMap<>();
Map<String, String> osTypeCache = new HashMap<>();
for (AnsibleOutput ansOut : outputList) {
Map<String, Object> map = provisionService.findOne(deployInfo.getProvisionID()).getKeyValue();
String nodeType = nodeTypeCache.get(ansOut.getHost());
......
......@@ -5,7 +5,6 @@
<change beforePath="$PROJECT_DIR$/../build.sh" beforeDir="false" afterPath="$PROJECT_DIR$/../build.sh" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../drip-api/hs_err_pid26067.log" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/rpc_server.py" beforeDir="false" afterPath="$PROJECT_DIR$/src/rpc_server.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/venv/lib/python3.6/site-packages/easy-install.pth" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/venv/lib/python3.6/site-packages/prettytable.py" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/venv/lib/python3.6/site-packages/pyparsing.py" beforeDir="false" />
......@@ -140,7 +139,14 @@
<option name="project" value="LOCAL" />
<updated>1569887951720</updated>
</task>
<option name="localTasksCounter" value="5" />
<task id="LOCAL-00005" summary="check if message is byte">
<created>1569889346968</created>
<option name="number" value="00005" />
<option name="presentableId" value="LOCAL-00005" />
<option name="project" value="LOCAL" />
<updated>1569889346968</updated>
</task>
<option name="localTasksCounter" value="6" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
......@@ -162,7 +168,8 @@
<MESSAGE value="format TOSCA output" />
<MESSAGE value="changed to ubunut 17.10" />
<MESSAGE value="debug" />
<option name="LAST_COMMIT_MESSAGE" value="debug" />
<MESSAGE value="check if message is byte" />
<option name="LAST_COMMIT_MESSAGE" value="check if message is byte" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>
......
File deleted
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment