Skip to content

Commit

Permalink
Finished adding contacts-angularjs frontend code. Modified unit tests…
Browse files Browse the repository at this point in the history
… to follow.s
  • Loading branch information
hugofirth committed Oct 8, 2014
1 parent f64a738 commit 6add75b
Show file tree
Hide file tree
Showing 23 changed files with 5,535 additions and 5,805 deletions.
4 changes: 4 additions & 0 deletions contacts-angularjs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@
<artifactId>shrinkwrap-resolver-api-maven</artifactId>
<scope>test</scope>
</dependency>

<!-- Finally we declare any frontend dependencies needed, courtesy of webjars.org -->


</dependencies>
<build>
<!-- Maven will append the version to the finalName (which is the name given to the generated war, and hence the context
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<persistence-unit name="contacts_pu">
<!-- If you are running in a production environment, add a managed
data source, the example data source is just for proofs of concept! -->
<jta-data-source>java:jboss/datasources/JbossContactsMobileBasicQuickstartDS</jta-data-source>
<jta-data-source>java:jboss/datasources/JbossContactsAngularjsQuickstartDS</jta-data-source>
<properties>
<!-- Properties for Hibernate -->
<property name="hibernate.hbm2ddl.auto" value="create-drop" />
Expand Down
2 changes: 1 addition & 1 deletion contacts-angularjs/src/main/resources/import.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
-- to enter a record with the same PK and create an error. If we use a high we don't interfere with the sequencing (at least until later).
-- NOTE: this file should be removed for production systems.
insert into Contact (id, first_name, last_name, email, phone_number, birth_date) values (10001, 'John', 'Smith', '[email protected]', '(212) 555-1212', '1963-06-03')
insert into Contact (id, first_name, last_name, email, phone_number, birth_date) values (10002, 'Davey', 'Jones', '[email protected]', '1(212)555-3333', '1996-08-07')
insert into Contact (id, first_name, last_name, email, phone_number, birth_date) values (10002, 'Davey', 'Jones', '[email protected]', '(212)555-3333', '1996-08-07')
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
xsi:schemaLocation="http://www.jboss.org/ironjacamar/schema http://docs.jboss.org/ironjacamar/schema/datasources_1_0.xsd">
<!-- The datasource is bound into JNDI at this location. We reference
this in META-INF/persistence.xml -->
<datasource jndi-name="java:jboss/datasources/JbossContactsMobileBasicQuickstartDS"
<datasource jndi-name="java:jboss/datasources/JbossContactsAngularjsQuickstartDS"
pool-name="contacts-angularjs" enabled="true"
use-java-context="true">
<connection-url>jdbc:h2:mem:jboss-contacts-angularjs-quickstart;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1</connection-url>
Expand Down
Loading

0 comments on commit 6add75b

Please sign in to comment.