0
0

Cloud Manager Reference Manual

Docs
Docs EInnovator Posted 13 May 20

#Java / Spring Boot Client Library for Cloud Manager

Overview

Getting Started

@Autowired
private DevopsClient devopsClient;

External Configuration

Table below provides a quick summary for the configuration options:

PropertyTypeDefault ValueRequiredDescription
serverStringhttp://localhost:2500YesServer URL
connectionConnectionConfiguration NoConnection Settings

Connecting to the Server

Example: Configuring Server Access (application.yml)

social:
  server : "https://devops.mydomain.com"

Programmatic Configuration

Projects and Spaces API

Projects

Example: List Spaces

ProjectFilter filter = new ProjectFilter().withQ("service");
Page<Project> spaces = client.listProjects(filter, null, null);

Example: List Spaces

Project project = client.getProject(MY_PROJECT);
Space space = new SpaceBuilder().withName("dev").build();
URI uri = client.createSpace(project.getUuid(), space, null, null);
String id = UriUtils.extractId(uri);
Space space2 = client.getSpace(id, null, null);
}

Deployments API

Deployments

Routes

Bindings

Solutions and Solution Repositories API

Solutions CRUD

Solutions Repositories CRUD

Installing Solutions

Comments and Discussion

Content