Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-5707

Restore webapp as webjar functionality

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.5.0, 7.5.0-alpha4
    • 7.5.0-alpha3
    • None
    • None

      Problem:

      The webjar module was deleted during the development of the 7.5.0-alpha2. It is currently used by the Spring Boot community extension and other peoples to add the camunda webapp to their own web applications. It has nothing to do with the standalone webapp, is it a different kind of deployment.

      AT:

      • Restore webjar module, probably put it below distro in platform and also in platform-ee
      • Add it to sonatype-oss release profile so it gets uploaded to Maven Central

        This is the controller panel for Smart Panels app

          1. pom.xml
            3 kB
          2. pom-ee.xml
            3 kB

            [CAM-5707] Restore webapp as webjar functionality

            Hi menge,

            I maybe have a working pom.xml for the webjar-ee (see pom-ee.xml). To use it I did the following changes in the spring boot starter https://github.com/menski/camunda-bpm-spring-boot-starter/commit/19782b9b187cfdde62e4009609501f888a939943

            There is an issue with the link from cockpit to the license dialog but I was able to enter it directly from admin. And after that use the history view.

            Could you test if this also works for you?

            Sebastian Menski added a comment - Hi menge , I maybe have a working pom.xml for the webjar-ee (see pom-ee.xml ). To use it I did the following changes in the spring boot starter https://github.com/menski/camunda-bpm-spring-boot-starter/commit/19782b9b187cfdde62e4009609501f888a939943 There is an issue with the link from cockpit to the license dialog but I was able to enter it directly from admin. And after that use the history view. Could you test if this also works for you?

            It seems your webjar is package in an incorrect way. See: http://www.webjars.org/documentation

            The resources should be under: /META-INF/resources/webjars

            Sebastian Menski added a comment - It seems your webjar is package in an incorrect way. See: http://www.webjars.org/documentation The resources should be under: /META-INF/resources/webjars

            I believe you are right ... I set up the webjar for 7.4 but didn't know exactly what I was doing ... Oliver from the springboot extension mentioned something similar once, but I cannnot find the ticket.

            Jan Galinski added a comment - I believe you are right ... I set up the webjar for 7.4 but didn't know exactly what I was doing ... Oliver from the springboot extension mentioned something similar once, but I cannnot find the ticket.

            Daniel Meyer added a comment -

            The webjar was removed by accident when we refactored the webapplication build.
            Sorry for that

            In the context of 7.5 we will resore the state we had in 7.4.
            Further improvements / enhancements like webjar for webapp ee or refactorings need to be addressed seperately as a regular feature request.

            Daniel Meyer added a comment - The webjar was removed by accident when we refactored the webapplication build. Sorry for that In the context of 7.5 we will resore the state we had in 7.4. Further improvements / enhancements like webjar for webapp ee or refactorings need to be addressed seperately as a regular feature request.

            Hi lipphardt

            I merged the webjar pom to master.

            Could you take care of this, I have no idea what that means

            Add it to sonatype-oss release profile so it gets uploaded to Maven Central

            Thanks!

            Daniel Meyer added a comment - Hi lipphardt I merged the webjar pom to master. Could you take care of this, I have no idea what that means Add it to sonatype-oss release profile so it gets uploaded to Maven Central Thanks!

            I cleaned this up and sorry again for removing the webjar by accident. We absolutely had to restore the 7.4 state, we cannot remove something from the product

            I created the following follow up issues based on comments above

            • CAM-5834 As EE customer, I can use a webjar for webapp-ee
            • CAM-5835 Refactor webjar to be more webjarry
            • CAM-5836 Add webapp projects to bom

            We are not able to address these in the context of 7.5 because we first need to finish the other things we have started. But we would be able to merge contributions on these.

            Daniel Meyer added a comment - I cleaned this up and sorry again for removing the webjar by accident. We absolutely had to restore the 7.4 state, we cannot remove something from the product I created the following follow up issues based on comments above CAM-5834 As EE customer, I can use a webjar for webapp-ee CAM-5835 Refactor webjar to be more webjarry CAM-5836 Add webapp projects to bom We are not able to address these in the context of 7.5 because we first need to finish the other things we have started. But we would be able to merge contributions on these.

            Hi lipphardt,

            is this release thing done? If so please close this ticket.

            Sebastian Menski added a comment - Hi lipphardt , is this release thing done? If so please close this ticket.

            I wanted to work on the webjar, but didn't find it ... it is not in the current master of camunda-bpm-webapp?

            Jan Galinski added a comment - I wanted to work on the webjar, but didn't find it ... it is not in the current master of camunda-bpm-webapp?

            The webapp distros where move to the platform see: https://github.com/camunda/camunda-bpm-platform/tree/master/distro/webjar

            Sebastian Menski added a comment - The webapp distros where move to the platform see: https://github.com/camunda/camunda-bpm-platform/tree/master/distro/webjar

            thanks

            Jan Galinski added a comment - thanks

              lipphardt Christian
              lipphardt Christian
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: