Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-147

Quickstarts should use unique datasources for each quickstart and arquillian test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.0.0.M2
    • None
    • as-*, examples
    • None

      Pete has modified all quickstarts to use unique datasource names. It has not yet been merged into the repository, but you can see the changes here: https://github.com/jbossas/quickstart/pull/117

      This issue explains the reasoning behind the change: https://github.com/jbossas/quickstart/issues/109 explains the need for the unique datasources.

      Each quickstart that has a datasource has a persistence.xml file.
      If it includes an Arquillian test, it also has a separate test-persistence.xml

      The new datasource naming conventions are:
      – For the quickstart: java:jboss/datasources/<quickstart-name>QuickstartDS
      – For the Arquillian test: java:jboss/datasources/<quickstart-name>QuickstartTestDS

      Could you change the kitchensink-html5-mobile application to add the persistence-test.xml and use this new convention also?
      java:jboss/datasources/kitchensinkHtml5MobileQuickstartDS
      java:jboss/datasources/kitchensinkHtml5MobileQuickstartTestDS

              qmx_jira Douglas Campos (Inactive)
              sgilda_jira Sande Gilda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: