Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-7836

[Sandbox] Enable commit message validation endpoints

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • Authoring Tooling
    • None
    • False
    • None
    • False
    • ---
    • ---

      Users should be able to set up an external endpoint that provides validation for the custom commit message provided by the user

       

      On build time, using an env variable (or data.json), the developer will define a URL that will be used to validate commit messages. It is expected that this endpoint will return a JSON with the format ({ result: boolean, reason: string }`) 
      This URL will be used in the implementation of a “Git commit validation service”, that can be consumed in any place of the application.
      If the URL is not accessible, the “GIt commit validation service” should return the default object { result: false, reason: “Commit validator ${URL} is not accessible” } and the associated HTTP failure that happened.

              eignatow Eder Ignatowicz
              abakos@redhat.com Alexandre Porcelli
              Dominik Hanak Dominik Hanak
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: