Customize a SOFABoot technology stack

更新时间:
复制 MD 格式

Technology stack background information

For more information about what a technology stack is, its folder structure, and how to create a package, see Technology Stack User Guide.

Customize a technology stack

Background

SOFAStack provides a default SOFABoot technology stack. If you have urgent business needs, or if the default stack does not meet your requirements for a specific scenario, you can create a custom technology stack.

Important

When the system technology stack is updated with new features or bug fixes, upgrading a custom technology stack requires additional work:

  • Compare code differences.

  • Modify, upload, and test the stack again on the new system technology stack.

Creation methods

You cannot change the type of a custom technology stack. On the Create Technology Stack page, select an official technology stack type from the drop-down list. Then, upload a technology stack package to customize it.

You can create a custom technology stack in one of the following ways:

  • Clone an existing technology stack and modify its configuration (Recommended)

  • Create and publish a new technology stack

Clone an existing technology stack and modify its configuration

Cloning an existing technology stack creates a copy that you can modify. The package and environment parameters are reused, so you do not need to enter them again.

Procedure

  1. Go to the Scalable Open Financial Architecture > Operations Management > Application Management console > Technology Stack Management > Technology Stack list page.

  2. In the list, select an existing technology stack and click Clone:

  3. Modify the information on the technology stack page:

    • Modify the basic information of the technology stack:

      • Technology stack type: Such as SOFABoot, Spring Boot, or Node.js.

      • Technology stack version: The version includes a prefix and a suffix. By default, the system generates the suffix randomly.

      • Supported operating system list

      • Enable debug mode. If you enable this mode, the technology stack cannot be shared with other tenants.

      • Share technology stack with other tenants.

    • Upload the compressed technology stack package. For more information about how to create a technology stack package, see Technology Stack User Guide.

      • Supported file formats: .tgz, .tar, .tar.gz, .gzip, .gz, .tar.bz2, .bz2, .zip, .Z, .tar, .Z.

      • The file size cannot exceed 1 GB.

    • Add environment parameters:

      • Name

      • Default value

      • Required

      • Read-only

      • Description

  4. Click Publish or OK:

    • Publish: The file is published after the upload is complete.

    • OK: The technology stack information is saved but not published. You can publish the technology stack from the list later.

After you publish the custom technology stack, associate the application with the technology stack by publishing the deployment service to complete the application deployment flow.

Create and publish a new technology stack

Procedure

  1. Go to the Scalable Open Financial Architecture > Operations Management > Application Management console > Technology Stack Management > Technology Stack list page.

  2. Click the Create button above the list to open the Create Technology Stack page.

  3. Modify the technology stack configuration. For more information, see the steps for modifying page information when cloning a technology stack.

    • Basic information: Such as version and operating system.

    • Technology stack package file

    • Environment parameter list

  4. Click Publish or OK:

    • Publish: Wait for the file to be uploaded and published.

    • OK: The technology stack information is saved but not published. You can publish the technology stack from the list later.

After you publish the custom technology stack, associate the application with the technology stack by publishing the deployment service to complete the application deployment flow.