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

Use default location to read license from

    Details

    • Type: Task
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.8.0, 7.8.0-alpha4
    • Component/s: webapp
    • Labels:
      None

      Description

      There is a property to read the license from a file (https://camunda.github.io/camunda-bpm-spring-boot-starter/docs/current/index.html#properties). There should be a default location where it is checked for a license, if this property is not set.

      E.g.:

      camunda.bpm.license-file=file:${user.home}/.camunda/license.txt
      

        Activity

        Hide
        ruecker Bernd Rücker added a comment -

        Just as an additional thought: Maybe such logic could also be moved from Spring Boot to a place, where the license is checked in the platform? Then the same thing would also work for any camunda environment, if there is a license in the default location it just get picked up?

        Show
        ruecker Bernd Rücker added a comment - Just as an additional thought: Maybe such logic could also be moved from Spring Boot to a place, where the license is checked in the platform? Then the same thing would also work for any camunda environment, if there is a license in the default location it just get picked up?
        Hide
        svetlana.dorokhova Svetlana Dorokhova added a comment -

        By default Spring Boot Starter will load license key from camunda-license.txt file from classpath (now documented here).

        Additionally I implemented the requested behaviour in EE webappps. Now when frontend requires the license from the database and it is not found, it will check

        ${user.home}/.camunda/license.txt

        and insert the license from this file into the database.

        Show
        svetlana.dorokhova Svetlana Dorokhova added a comment - By default Spring Boot Starter will load license key from camunda-license.txt file from classpath (now documented here ). Additionally I implemented the requested behaviour in EE webappps. Now when frontend requires the license from the database and it is not found, it will check ${user.home}/.camunda/license.txt and insert the license from this file into the database.

          People

          • Assignee:
            yana.vasileva Yana Vasileva
            Reporter:
            svetlana.dorokhova Svetlana Dorokhova
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development