Skip to content

nicolabeghin/sap-commerce-cloud-management-api-gui

Repository files navigation

sap-commerce-cloud-management-api-gui

A simple cross-platform JavaFX GUI for managing SAP (Hybris) Commerce Cloud (TM)

7

What it is

SAP Commerce Cloud API provides an out-of-the-box way to manage builds and deployments.

  • Trigger a build
  • Find a list of available builds
  • Find the details for a specific build
  • Download build logs
  • Trigger a deployment
  • Find a list of deployments
  • Find the details for a specific deployment
  • Get the options for canceling a deployment and, if necessary, cancel a deployment

A CLI is provided but no GUI: this is where sap-commerce-cloud-management-api-gui comes into play.

Existing builds

3

New build

1

Deployments

2

Credentials

At first start you'll be prompted for

  • Cloud Portal API token: generate an API token from the Cloud Portal, see Generating API Tokens.
  • Subscription code: it can be found subscription code in the Cloud Portal URL, it appears after subscription/ in the URL
8_2

Requirements

  • Java 8 or higher

How to run

Download the precompiled releases for your platform at https://github.com/nicolabeghin/sap-commerce-cloud-api-gui/releases

How to run from source code

[email protected]:nicolabeghin/sap-commerce-cloud-management-api-gui.git
./gradlew run  

Technical

  • networking based on Retrofit + OkHttp3
  • it's possible to enable network tracing

Code generation

Network calls have been generated through Swagger codegen from OpenAPI specifications

java -jar swagger-codegen-cli-3.0.57.jar generate \
    -i commerce-cloud-management-api.yaml \
    -l java \
    --api-package com.sap.cx.commercecloud.management.openapi.api \
    --model-package com.sap.cx.commercecloud.management.openapi.model \
    --invoker-package com.sap.cx.commercecloud.management.openapi \
    --group-id com.nbeghin.ccv2.api.gui \
    --artifact-id sap-commerce-cloud-api-gui \
    --artifact-version 0.0.1-SNAPSHOT \
    --library retrofit2 \
    -o retrofit2

About

SAP Commerce Cloud API GUI

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages