Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-3801

Project installation and deployment via REST API doesn't work

    XMLWordPrintable

Details

    Description

      Description of problem:

      After the fix for BZ 977300, it's still not possible to compile, test, install, and deploy a project via REST API.

      When I send an installation request, I receive following response:
      {"jodId":"1373971413351-3","status":"RESOURCE_NOT_EXIST","result":"Repository [test] does not exist","repositoryName":"test","projectName":"proj","buildConfig":{"name":"","value":""}}

      There must be something wrong because the repository, named test, is in business central. The same output I receive when I send maven compile or test request. Server log after the maven installation contains:

      12:40:54,616 INFO [stdout] (http-/127.0.0.1:8080-3) ----installProject-- , repositoryName:test, project name:proj
      12:40:54,625 INFO [stdout] (http-/127.0.0.1:8080-3) ********************************************************************
      12:40:54,626 INFO [stdout] (http-/127.0.0.1:8080-3) *************kjar is****************** java.util.zip.ZipFile$ZipFileInflaterInputStream@19de359b
      12:40:54,627 INFO [stdout] (http-/127.0.0.1:8080-3) ********************************************************************
      12:40:54,628 INFO [org.drools.compiler.kie.builder.impl.KieRepositoryImpl] (http-/127.0.0.1:8080-3) Adding KieModule from resource :[ByteArrayResource resource=[B@784fdd6f]
      12:40:54,644 INFO [org.drools.compiler.kie.builder.impl.KieRepositoryImpl] (http-/127.0.0.1:8080-3) KieModule was added:MemoryKieModule[ ReleaseId=org.kie.workbench.services:kie-wb-common-defaultapprover:0.9]
      12:40:54,649 WARN [org.drools.compiler.kie.builder.impl.AbstractKieModule] (http-/127.0.0.1:8080-3) No files found for KieBase defaultKieBase
      12:40:54,850 INFO [stdout] (http-/127.0.0.1:8080-3) approval request result: true
      12:40:54,855 INFO [stdout] (http-/127.0.0.1:8080-3) ----installProject-- , repositoryName:test, project name:proj
      12:40:54,857 INFO [stdout] (http-/127.0.0.1:8080-3) ----FileSystem id-- :system

      Also I tried to deploy a project. Response says that everything is ok but deployment isn't created. (I created the build through business central, so it's not the problem that there is nothing to be deployed).

      {"jodId":"1373971329455-2","status":"ACCEPTED","result":null,"repositoryName":"test","projectName":"proj","buildConfig":{"name":"","value":""}}

      Even server log won't help:
      12:42:09,454 INFO [stdout] (http-/127.0.0.1:8080-5) ----deployProject-- , repositoryName:test, project name:proj

      Version-Release number of selected component (if applicable):

      How reproducible:

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:

      Expected results:

      Additional info:

      Attachments

        Activity

          People

            mproctor@redhat.com Mark Proctor
            ibek1@redhat.com Ivo Bek
            Ivo Bek Ivo Bek
            Vikram Goyal Vikram Goyal (Inactive)
            Ivo Bek Ivo Bek
            Cheng Zhang (Inactive), L Carlon (Inactive), Lukáš Petrovický (Inactive), Marek Baluch, Mark Proctor, paradhya2, Rajesh Rajasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: