sm-xsuaa-poc

command module
v0.0.0-...-5a36568 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

README

Service Manager POC

Overview

This repository contains the POC of the communication with the ServiceManager. The goal of this POC was to check if it is possible to reuse the client library that comes from the Service Manager CLI. The example flow implemented here creates the XSUAA service instance and a binding for that service.

The Service Manager CLI contains the package that exposes a client library for communication with the Service Manager API. This library secures the communication using OAuth tokens but the platform registered in the Service Manager gives you the basic credentials. The POC shows the possibility to create the Service Manager client with the HTTP client that uses the BasicAuthTransport.

To run the POC, specify APP_USERNAME, APP_PASSWORD, and the Service Manager APP_BASE_URL and run this command:

APP_USERNAME=username APP_PASSWORD=passwd APP_BASE_URL=https://smurl.domain.local go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL