Uploaded image for project: 'OpenShift Java Client'
  1. OpenShift Java Client
  2. OSJC-191

Add capability to manually trigger a build request for a build config

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: core
    • Labels:
      None

      Description

      The proper URL appears to be https://localhost:8443/osapi/v1/namespace/<projectname>/buildConfigs/<buildconfigname>/instantiate with payload:

            var req = {
              kind: "BuildRequest",
              apiVersion: "v1beta3",
              metadata: {
                name: buildConfigName
              }
            }; 
      

      Thought is to:

      1. Update UrlBuilder to handle subresource
      2. Update IClient to take an arbitrary subresource for a post (additional create with another flag?)
      3. Add a capability to BuildConfigs

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jcantrill Jeffrey Cantrill
                  Reporter:
                  jcantrill Jeffrey Cantrill
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: