public class AppNGizer extends Object implements AppNGizerClient
AppNGizer appNGizer = new AppNGizer("http://localhost:8080", "TheSecret"); appNGizer.login();Check out the appNGizer User Manual for a detailed description of the possible operations.
AppNGizerClient.Config, AppNGizerClient.PropertyWrapper, AppNGizerClient.SiteConfig
Constructor and Description |
---|
AppNGizer(String endpoint,
String sharedSecret) |
AppNGizer(String endpoint,
String sharedSecret,
org.springframework.web.client.RestTemplate restTemplate) |
protected org.springframework.http.HttpHeaders getHeaders()
protected void setCookies(org.springframework.http.ResponseEntity<?> entity)
public Home welcome()
welcome
in interface AppNGizerClient
public Home login()
login
in interface AppNGizerClient
public Subjects subjects()
subjects
in interface AppNGizerClient
public Subject subject(String name)
subject
in interface AppNGizerClient
public Subject createSubject(Subject subject)
createSubject
in interface AppNGizerClient
public Subject updateSubject(String name, Subject subject)
updateSubject
in interface AppNGizerClient
public void deleteSubject(String name)
deleteSubject
in interface AppNGizerClient
public Groups groups()
groups
in interface AppNGizerClient
public Group group(String name)
group
in interface AppNGizerClient
public Group createGroup(Group group)
createGroup
in interface AppNGizerClient
public Group updateGroup(String name, Group group)
updateGroup
in interface AppNGizerClient
public void deleteGroup(String name)
deleteGroup
in interface AppNGizerClient
public Applications applications()
applications
in interface AppNGizerClient
public Application application(String app)
application
in interface AppNGizerClient
public Application updateApplication(String app, Application application)
updateApplication
in interface AppNGizerClient
public void deleteApplication(String app)
deleteApplication
in interface AppNGizerClient
public Properties applicationProperties(String app)
applicationProperties
in interface AppNGizerClient
public Property createApplicationProperty(String app, Property property)
createApplicationProperty
in interface AppNGizerClient
public Property updateApplicationProperty(String app, Property property)
updateApplicationProperty
in interface AppNGizerClient
public void deleteApplicationProperty(String app, String name)
deleteApplicationProperty
in interface AppNGizerClient
public Roles roles(String app)
roles
in interface AppNGizerClient
public Role role(String app, String name)
role
in interface AppNGizerClient
public Role createRole(String app, Role role)
createRole
in interface AppNGizerClient
public Role updateRole(String app, String name, Role role)
updateRole
in interface AppNGizerClient
public void deleteRole(String app, String name)
deleteRole
in interface AppNGizerClient
public Permissions permissions(String app)
permissions
in interface AppNGizerClient
public Permission permission(String app, String name)
permission
in interface AppNGizerClient
public Permission createPermission(String app, Permission permission)
createPermission
in interface AppNGizerClient
public Permission updatePermission(String app, String name, Permission permission)
updatePermission
in interface AppNGizerClient
public void deletePermission(String app, String name)
deletePermission
in interface AppNGizerClient
public Sites sites()
sites
in interface AppNGizerClient
public Site site(String name)
site
in interface AppNGizerClient
public Site createSite(Site site)
createSite
in interface AppNGizerClient
public Site updateSite(String name, Site site)
updateSite
in interface AppNGizerClient
public void deleteSite(String name)
deleteSite
in interface AppNGizerClient
public void reloadSite(String name)
reloadSite
in interface AppNGizerClient
public Properties siteProperties(String site)
siteProperties
in interface AppNGizerClient
public Property siteProperty(String site, String name)
siteProperty
in interface AppNGizerClient
public Property createSiteProperty(String site, Property property)
createSiteProperty
in interface AppNGizerClient
public Property updateSiteProperty(String site, String name, Property property)
updateSiteProperty
in interface AppNGizerClient
public void deleteSiteProperty(String site, String name)
deleteSiteProperty
in interface AppNGizerClient
public Applications applications(String site)
applications
in interface AppNGizerClient
public Application application(String site, String app)
application
in interface AppNGizerClient
public void activateApplication(String site, String app)
activateApplication
in interface AppNGizerClient
public void deactivateApplication(String site, String app)
deactivateApplication
in interface AppNGizerClient
public Grants siteGrants(String site, String app)
siteGrants
in interface AppNGizerClient
public Grants updateSiteGrants(String site, String app, Grants grants)
updateSiteGrants
in interface AppNGizerClient
public Properties applicationProperties(String site, String app)
applicationProperties
in interface AppNGizerClient
public Property createApplicationProperty(String site, String app, Property property)
createApplicationProperty
in interface AppNGizerClient
public Property updateApplicationProperty(String site, String app, String name, Property property)
updateApplicationProperty
in interface AppNGizerClient
public void deleteApplicationProperty(String site, String app, String name)
deleteApplicationProperty
in interface AppNGizerClient
public Repositories repositories()
repositories
in interface AppNGizerClient
public Repository repository(String name)
repository
in interface AppNGizerClient
public Repository createRepository(Repository repository)
createRepository
in interface AppNGizerClient
public Repository updateRepository(String name, Repository repository)
updateRepository
in interface AppNGizerClient
public void deleteRepository(String name)
deleteRepository
in interface AppNGizerClient
public Package installPackage(String name, Package packageToInstall)
installPackage
in interface AppNGizerClient
public Package getPackage(String name, String packageName, String version, String timeStamp)
getPackage
in interface AppNGizerClient
public Packages getPackages(String name, String packageName)
getPackages
in interface AppNGizerClient
public Package uploadPackage(String name, File archive) throws IOException
uploadPackage
in interface AppNGizerClient
IOException
public Properties platformProperties()
platformProperties
in interface AppNGizerClient
public Property platformProperty(String name)
platformProperty
in interface AppNGizerClient
public Property createPlatformProperty(Property property)
createPlatformProperty
in interface AppNGizerClient
public Property updatePlatformProperty(String name, Property property)
updatePlatformProperty
in interface AppNGizerClient
public void deletePlatformProperty(String name)
deletePlatformProperty
in interface AppNGizerClient
public Properties environment()
environment
in interface AppNGizerClient
public Properties system()
system
in interface AppNGizerClient
public Database database()
database
in interface AppNGizerClient
public Database initializeDatabase()
initializeDatabase
in interface AppNGizerClient
Copyright © 2011–2023 aiticon GmbH. All rights reserved.