You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2024/03/20 14:40:02 UTC

(causeway-app-helloworld) branch jdo3-SNAPSHOT created (now 6a32a47)

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a change to branch jdo3-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/causeway-app-helloworld.git


      at 6a32a47  Merge remote-tracking branch 'origin/jpa3-SNAPSHOT' into jdo3-SNAPSHOT

This branch includes the following new commits:

     new 6a32a47  Merge remote-tracking branch 'origin/jpa3-SNAPSHOT' into jdo3-SNAPSHOT

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(causeway-app-helloworld) 01/01: Merge remote-tracking branch 'origin/jpa3-SNAPSHOT' into jdo3-SNAPSHOT

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch jdo3-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/causeway-app-helloworld.git

commit 6a32a47be344ee7a80dd5e500e93a1acca313882
Merge: 8892c16 8067a41
Author: Andi Huber <ah...@apache.org>
AuthorDate: Wed Mar 20 15:39:04 2024 +0100

    Merge remote-tracking branch 'origin/jpa3-SNAPSHOT' into jdo3-SNAPSHOT

 pom.xml                                            |   9 +-
 .../modules/hello/dom/hwo/HelloWorldObject.java    |   9 +-
 .../modules/hello/dom/hwo/HelloWorldObjects.java   |   6 +-
 src/main/java/domainapp/webapp/AppManifest.java    |   4 +-
 src/main/java/domainapp/webapp/HelloWorldApp.java  |  51 +++++++++-
 src/main/java/domainapp/webapp/SimpleAuth.java     | 106 +++++++++++++++++++++
 src/main/resources/shiro.ini                       |  49 ----------
 7 files changed, 170 insertions(+), 64 deletions(-)

diff --cc pom.xml
index 6e385cd,51818b9..dcc95fc
--- a/pom.xml
+++ b/pom.xml
@@@ -11,11 -11,10 +11,10 @@@
          <relativePath/>
      </parent>
  
 -    <artifactId>helloworld-jpa</artifactId>
 +    <artifactId>helloworld-jdo</artifactId>
      <groupId>org.apache.causeway.starters</groupId>
-     <version>2.0.0-SNAPSHOT</version>
  
 -    <name>HelloWorld (JPA)</name>
 +    <name>HelloWorld (JDO)</name>
  
      <packaging>jar</packaging>
  
diff --cc src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.java
index dbd7386,2d96194..e088f52
--- a/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.java
+++ b/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.java
@@@ -2,19 -2,19 +2,20 @@@ package domainapp.modules.hello.dom.hwo
  
  import java.util.Comparator;
  
- import javax.inject.Inject;
- import javax.inject.Named;
 +import javax.jdo.annotations.DatastoreIdentity;
 +import javax.jdo.annotations.IdGeneratorStrategy;
 +import javax.jdo.annotations.IdentityType;
 +import javax.jdo.annotations.NotPersistent;
 +import javax.jdo.annotations.PersistenceCapable;
 +import javax.jdo.annotations.Queries;
 +import javax.jdo.annotations.Query;
 +import javax.jdo.annotations.Unique;
 +import javax.jdo.annotations.Version;
 +import javax.jdo.annotations.VersionStrategy;
 +
+ import jakarta.inject.Inject;
+ import jakarta.inject.Named;
 -import jakarta.persistence.Column;
 -import jakarta.persistence.Entity;
 -import jakarta.persistence.EntityListeners;
 -import jakarta.persistence.GeneratedValue;
 -import jakarta.persistence.GenerationType;
 -import jakarta.persistence.Id;
 -import jakarta.persistence.Table;
 -import jakarta.persistence.Transient;
 -import jakarta.persistence.UniqueConstraint;
 -import jakarta.persistence.Version;
+ 
  import org.apache.causeway.applib.annotation.Action;
  import org.apache.causeway.applib.annotation.ActionLayout;
  import org.apache.causeway.applib.annotation.DomainObject;
diff --cc src/main/java/domainapp/webapp/AppManifest.java
index 9a8c475,0e5fb3a..bd5fc5f
--- a/src/main/java/domainapp/webapp/AppManifest.java
+++ b/src/main/java/domainapp/webapp/AppManifest.java
@@@ -9,8 -9,7 +9,7 @@@ import org.apache.causeway.applib.Cause
  import org.apache.causeway.applib.CausewayModuleApplibMixins;
  import org.apache.causeway.core.config.presets.CausewayPresets;
  import org.apache.causeway.core.runtimeservices.CausewayModuleCoreRuntimeServices;
 -import org.apache.causeway.persistence.jpa.eclipselink.CausewayModulePersistenceJpaEclipselink;
 +import org.apache.causeway.persistence.jdo.datanucleus.CausewayModulePersistenceJdoDatanucleus;
- import org.apache.causeway.security.shiro.CausewayModuleSecurityShiro;
  import org.apache.causeway.testing.h2console.ui.CausewayModuleTestingH2ConsoleUi;
  import org.apache.causeway.viewer.restfulobjects.jaxrsresteasy.CausewayModuleViewerRestfulObjectsJaxrsResteasy;
  import org.apache.causeway.viewer.wicket.applib.CausewayModuleViewerWicketApplibMixins;
@@@ -24,8 -23,8 +23,9 @@@ import domainapp.modules.hello.HelloWor
          CausewayModuleApplibChangeAndExecutionLoggers.class,
  
          CausewayModuleCoreRuntimeServices.class,
-         CausewayModuleSecurityShiro.class,
++
+         //CausewayModuleSecurityXxx.class,
 -        CausewayModulePersistenceJpaEclipselink.class,
 +        CausewayModulePersistenceJdoDatanucleus.class,
          CausewayModuleViewerRestfulObjectsJaxrsResteasy.class,
          CausewayModuleViewerWicketApplibMixins.class,
          CausewayModuleViewerWicketViewer.class,