Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
a68b7a83
Commit
a68b7a83
authored
5 years ago
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added initPaths in build ssh keys
parent
483fa864
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
CloudStormServiceTest.java
...va/nl/uva/sne/drip/provisioner/CloudStormServiceTest.java
+2
-3
No files found.
provisioner/src/test/java/nl/uva/sne/drip/provisioner/CloudStormServiceTest.java
View file @
a68b7a83
...
...
@@ -138,7 +138,6 @@ public class CloudStormServiceTest {
// instance.execute();
// }
// }
/**
* Test of writeCloudStormTopologyFiles method, of class CloudStormService.
*/
...
...
@@ -157,6 +156,7 @@ public class CloudStormServiceTest {
public
void
testBuildSSHKeyPair
()
throws
Exception
{
System
.
out
.
println
(
"buildSSHKeyPair"
);
CloudStormService
instance
=
getService
(
messageExampleProvisioneRequestFilePath
);
initPaths
();
String
result
=
instance
.
buildSSHKeyPair
(
tempInputDirPath
,
null
);
assertNotNull
(
result
);
String
userPublicKeyName
=
"id_rsa.pub"
;
...
...
@@ -165,6 +165,7 @@ public class CloudStormServiceTest {
assertTrue
(
new
File
(
tempInputDirPath
+
File
.
separator
+
userPublicKeyName
).
exists
());
instance
=
getService
(
messageExampleDeleteRequestFilePath
);
initPaths
();
result
=
instance
.
buildSSHKeyPair
(
tempInputDirPath
,
null
);
assertNotNull
(
result
);
userPublicKeyName
=
"id_rsa.pub"
;
...
...
@@ -208,8 +209,6 @@ public class CloudStormServiceTest {
}
private
void
testWriteCloudStormInfrasFiles
(
String
path
,
CloudsStormSubTopology
.
StatusEnum
status
,
OpCode
.
OperationEnum
opCode
)
throws
IOException
,
JsonProcessingException
,
ApiException
,
Exception
{
CloudStormService
instance
=
getService
(
path
);
initPaths
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment