Service Configuration

1 min read

Service Definition #

1. Service Overview #

Overview

An application team typically focuses on delivering one or more specific product functionalities. Each functionality may depend on one or more components working together. In BuildPiper, each component that contributes to delivering a functionality is represented as a Service. .

For a non-microservice (non-MS) application, a service is a workload that is built and deployed on virtual machines (VMs) in a Local Data Center (LDC).

2. What You Configure for a Service #

For a service to work, it has to be packaged (built) and then deployed on a VM. So, whenever you configure a service, you have to configure:

Swipe horizontally to view all columns →
Configuration Description
An Environment The environment in which the service runs.
Build Details How the service is built.
Deploy Details How and where the service is deployed, such as the VM group.

3. Configuration Fields #

The following fields are required when onboarding a new service through the BuildPiper UI.

Swipe horizontally to view all columns →
Field Name Mandatory Configuration Guide
Service Name Yes A unique identifier for the service. Use alphanumeric characters and hyphens only.
Service Type Yes Select the service architecture from the dropdown. For an LDC (non-MS) service, select VM-based (legacy/standalone).
Business Functions No Specify the business vertical, functional role, or business category this service belongs to (for example, “Order Processing”).
How do you build? Yes Build once and promote: The same artifact moves through all environments (Dev → QA → Stage → UAT → Prod). Build for every environment: A new artifact is compiled specifically for each environment.

4. Workflow: Onboarding a Service via BP-UI #

Service Definition: source figure 1

Figure 1: Navigation to Service Overview

  1. 1

    Login to BuildPiper.

  2. 2

    Switch to User Portal.

  3. 3

    Click Application.

  4. 4

    Select the application.

  5. 5

    Open Service Overview.

  6. 6

    Click + ADD SERVICE.

  7. 7

    Fill in the service details and click Save to onboard the service.

Note: The BP Service onboarding page is accessible inside the User Portal.

5. Add Service #

The service onboarding form opens. Fill in the details and click SAVE & CONTINUE.

Service Definition: source figure 2

Figure 2: Add Service form

6. Best Practice #

Swipe horizontally to view all columns →
Best Practice Description
Naming Consistency It is best practice to match the service name with your Git repository name to simplify tracking across the CI/CD pipeline.

7. Add Environment #

After the service is added, you have to add an environment to it.

Service Definition: source figure 3

Figure 3: Environment Basic Details

Note: Always select Artifactory while creating an environment for a VM workload application.

Read more: Environment Configuration