mirror of
https://github.com/Fishwaldo/rundeck-api-java-client.git
synced 2025-07-22 21:08:29 +00:00
Add get Project/config endpoint
This commit is contained in:
parent
b571c2a5be
commit
92eb7acc15
3 changed files with 56 additions and 1 deletions
|
@ -91,6 +91,17 @@ public class RundeckClientTest {
|
|||
Assert.assertNotNull(project.getProjectConfig());
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
@Betamax(tape = "get_project_configv11")
|
||||
public void getProjectConfig() throws Exception {
|
||||
ProjectConfig config = createClient(TEST_TOKEN_6, 11).getProjectConfig("monkey1");
|
||||
Assert.assertNotNull(config);
|
||||
Assert.assertNotNull(config.getProperties());
|
||||
Assert.assertEquals(9,config.getProperties().size());
|
||||
Assert.assertEquals("monkey1", config.getProperties().get("project.name"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@Betamax(tape = "get_history")
|
||||
public void getHistory() throws Exception {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue