Skip to content

ballerina-platform/module-ballerinax-sap.s4hana.qm

Repository files navigation

Ballerina S/4HANA Quality Management Connectors

Build codecov Trivy GraalVM Check GitHub Last Commit GitHub Issues

S/4HANA is a robust enterprise resource planning (ERP) solution, designed for large-scale enterprises by SAP SE.

This repository encompasses all Ballerina packages pertaining to the S/4HANA Quality Management submodule. Notably:

  1. The ballerinax/sap.s4hana.api_inspectionlot_srv package offers APIs for seamless integration with the Inspection Lot API v1.2.0.In the SAP system, you process quality inspections on the basis of inspection lots. With this service it is possible, for example, to update inspection lot header data or to create inspection results and usage decisions.

  2. The ballerinax/sap.s4hana.api_inspectionmethod_srv package offers APIs for seamless integration with the Inspection Method - Read API v2.0.0.An inspection method is a master data record that describes the procedure for performing the quality inspection of a characteristic. This service enables you to retrieve inspection methods with their settings and administrative data.

  3. The ballerinax/sap.s4hana.api_inspectionplan_srv package offers APIs for seamless integration with the Inspection Plan API v1.0.0. This service enables external systems to create, read, update, and delete inspection plans.

  4. The ballerinax/sap.s4hana.api_masterinspcharacteristic_srv package offers APIs for seamless integration with the Master Inspection Characteristic - Read API v2.0.0 .This service allows to read quality inspection specifications of the type master inspection characteristic. A master inspection characteristic is a master data record that describes the quality inspection criteria for materials.

  5. The ballerinax/sap.s4hana.api_qualityinforecord_srv package offers APIs for seamless integration with the Quality Info Record API v1.2.0. This service allows to create, read, update, and delete data related to quality info records and first article inspection.

  6. The ballerinax/sap.s4hana.api_charcattributecatalog_srv package offers APIs for seamless integration with the Characteristic Attribute Catalog - Read API v1.0.0 .This service allows to read plant-specific selected sets with their codes that are used to record inspection results for qualitative characteristics, for example, the codes 01 (Smooth) and 02 (Rough) for the characteristic Surface.

Issues and projects

The Issues and Projects tabs are disabled for this repository as this is part of the Ballerina library. To report bugs, request new features, start new discussions, view project boards, etc., visit the Ballerina library parent repository.

This repository only contains the source code for the package.

Build from the source

Prerequisites

  1. Download and install Java SE Development Kit (JDK) version 17. You can download it from either of the following sources:

    Note: After installation, remember to set the JAVA_HOME environment variable to the directory where JDK was installed.

  2. Download and install Ballerina Swan Lake.

  3. Download and install Docker.

    Note: Ensure that the Docker daemon is running before executing any tests.

Build options

Execute the commands below to build from the source.

  1. To build all packages:

    ./gradlew clean build
  2. To run the tests in all packages:

    ./gradlew clean test
  3. To build the without the tests:

    ./gradlew clean build -x test
  4. To build only one specific package

    ./gradlew clean :qm-ballerina:<api_name>:build
    API Name Connector
    api_inspectionlot_srv ballerinax/sap.s4hana.api_inspectionlot_srv
    api_inspectionplan_srv ballerinax/sap.s4hana.api_inspectionplan_srv
    api_masterinspcharacteristic_srv ballerinax/sap.s4hana.api_masterinspcharacteristic_srv
    api_inspectionmethod_srv ballerinax/sap.s4hana.api_inspectionmethod_srv
    api_qualityinforecord_srv ballerinax/sap.s4hana.api_qualityinforecord_srv
    api_charcattributecatalog_srv ballerinax/sap.s4hana.api_charcattributecatalog_srv
  5. To run tests against different environment:

    isTestOnLiveServer=true ./gradlew clean test 

    Note: isTestOnLiveServer is false by default, tests are run against mock server.

  6. To debug packages with a remote debugger:

    ./gradlew clean build -Pdebug=<port>
  7. To debug with the Ballerina language:

    ./gradlew clean build -PbalJavaDebug=<port>
  8. Publish the generated artifacts to the local Ballerina Central repository:

    ./gradlew clean build -PpublishToLocalCentral=true
  9. Publish the generated artifacts to the Ballerina Central repository:

    ./gradlew clean build -PpublishToCentral=true

Contribute to Ballerina

As an open-source project, Ballerina welcomes contributions from the community.

For more information, go to the contribution guidelines.

Code of conduct

All the contributors are encouraged to read the Ballerina Code of Conduct.

Useful links

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •