Infor XtendM3 - Guidelines for securing your extensions using a version control system
Introduction:
XtendM3 Extensions are required to be version-controlled outside of M3 using a version-control system. This is a mandatory key requirement for approving extensions for deployment to production. Version controlling the extensions helps us to:
1. Have better visibility of what has changed and by whom, facilitating understanding of the code and easier troubleshooting later on.
2. Ease collaboration between different developers.
3. Provide a centralized overview of current extensions in different tenants.
4. Compile and test extensions regularly on every change to ensure that the extension has not been broken.
Repository Format:
The recommended approach for storing the extension is within a Maven project stored in a Git Repository. Maven is utilized to manage the build and test lifecycle of extensions locally. By using Maven, you can compile your extensions locally with the SDK to ensure the code is compilable. Additionally, unit tests can be created and run to simulate and debug locally or integrated into the build lifecycle and pipeline on the repository to continuously build and test the extensions with every push to the repository.
Local XtendM3 Workspace:
The local XtendM3 workspace refers to the development environment set up on an individual developer's machine for working on XtendM3 extensions. This workspace typically includes the necessary tools, such as the M3 SDK, IDE (Integrated Development Environment), and version control system (e.g., Git), configured to allow developers to efficiently develop, test, and Export extensions locally before pushing changes to the shared repository.
ACME Corp Template Repository:
To begin, we can initiate the process by setting up a local workspace utilizing the ACME Corp Template available in the Infor Cloud Github repository. This template serves as a foundational framework for configuring the development environment.
Additionally, it's recommended to utilize this template when setting up customer repositories to version control live extensions. This ensures consistency and standardization across different projects and facilitates seamless collaboration among team members.
Please refer to the following link for the ACME Corp Template: ACME Corp. XtendM3 Extensions
.jpg)

.png%20%E2%80%8E-%20Photos.png)
.png)
.png)

Comments
Post a Comment