Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-3068

The ResourceType should support more extensions for the same type

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Minor
    • None
    • 5.2.0.CR1
    • drools-api
    • None

    Description

      If I try to get the reource type using:
      String resourceName = "test.bpmn2"
      ResourceType = ResourceType.determineResourceType(resourceName);

      ...the resource type is not correctly detected, since only ONE default extension is supported (the BPMN2 type is related to the ".bpmn" extension). The ResourceType should have one default extansions and a list of supported extensions fo r the same type. If so, the ResourceType.BPMN2 declaration should be:

      /** jBPM BPMN2 Language */
      public static final ResourceType BPMN2 = addResourceTypeToRegistry( "BPMN2","jBPM BPMN2 Language","bpmn", "bpmn2" );

      Attachments

        Activity

          People

            mproctor@redhat.com Mark Proctor
            mpiraccini_jira Marco Piraccini (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Archived:

              PagerDuty