Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- public void configureProject(name, leader, users, items) {
- initUsers(); // ensure needed users exist (can be ran just once if testNG has the structure)
- initItems(); // ensure needed items exist
- api.loginOnToolchain(userName=users[leader].name, password=users[leader].password);
- // you can catch an exception and throw an appropriate error, mentioning the missing element
- api.sipProjectManagementCreateProjectPost(projects[name].coherenSEobj);
- // for each item
- api.sipProjectManagementAddServiceImplementationPost(servi ceDefinition);
- // or
- api.sipProjectManagementAddWatchdogImplementationPost(watchdogDefinition);
- // or
- api.sipProjectManagementAddPolicyActionImplementationPost(policyActionDefinition);
- // depending on the type of item... you can also get items in separate lists and
- // deal explicitly with services, watchdogs and policy actions
- // for each assignment
- // ... the same as item but with api call to stuff like
- api.sipProjectManagementAssignServiceImplementationPost(SipProjectManagementAssignItemWrapper)
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement