[jira] [Resolved] (TOMEE-2888) Translate to Portuguese: examples/quartz-app

2020-08-11 Thread Daniel Dias (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dias resolved TOMEE-2888.

Resolution: Done

merged.

> Translate to Portuguese: examples/quartz-app
> 
>
> Key: TOMEE-2888
> URL: https://issues.apache.org/jira/browse/TOMEE-2888
> Project: TomEE
>  Issue Type: Sub-task
>Reporter: Daniel Dias
>Assignee: Daniel Dias
>Priority: Trivial
>  Labels: pull-requests-available
>
> Translate into Portuguese the README file using a suffix `_pt` to allow the 
> Tomee Website to pick up and configure this version and corresponding language



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[tomee] branch master updated (3810c2c -> b250c52)

2020-08-11 Thread dds
This is an automated email from the ASF dual-hosted git repository.

dds pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git.


from 3810c2c  Merge pull request #699 from emecas/master
 new 743b53f  TOMEE-2888 Translate to Portuguese: examples/quartz-app
 new 63a73f5  Update README_pt.adoc
 new b250c52  Merge pull request #696 from Daniel-Dos/TOMEE-2888

The 13452 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.


Summary of changes:
 examples/quartz-app/README.adoc|  2 +-
 .../quartz-app/{README.adoc => README_pt.adoc} | 53 +-
 2 files changed, 23 insertions(+), 32 deletions(-)
 copy examples/quartz-app/{README.adoc => README_pt.adoc} (82%)



buildbot success in on tomee-trunk-ubuntu-jvm8

2020-08-11 Thread buildbot
The Buildbot has detected a restored build on builder tomee-trunk-ubuntu-jvm8 
while building tomee. Full details are available at:
https://ci.apache.org/builders/tomee-trunk-ubuntu-jvm8/builds/1411

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb_qnode7_ubuntu

Build Reason: The SingleBranchScheduler scheduler named 
'on-tomee-trunk-ubuntu-jvm8-commit' triggered this build
Build Source Stamp: [branch master] 3810c2c837bc823d8c53dfa3b5cc217423b20e5d
Blamelist: Daniel Dias ,Emerson Castaneda 


Build succeeded!

Sincerely,
 -The Buildbot





[jira] [Resolved] (TOMEE-2892) Translate injection-of-entitymanager To Spanish

2020-08-11 Thread Daniel Dias (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dias resolved TOMEE-2892.

Resolution: Done

merged

> Translate injection-of-entitymanager To Spanish
> ---
>
> Key: TOMEE-2892
> URL: https://issues.apache.org/jira/browse/TOMEE-2892
> Project: TomEE
>  Issue Type: Documentation
>  Components: Examples and Documentation
>Reporter: Emerson Castaneda
>Assignee: Emerson Castaneda
>Priority: Minor
>  Labels: pull-request-available
>
> Spanish translation for 
>  
> [https://github.com/apache/tomee/blob/master/examples/injection-of-entitymanager/README.adoc]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


buildbot failure in on tomee-trunk-ubuntu-jvm8

2020-08-11 Thread buildbot
The Buildbot has detected a new failure on builder tomee-trunk-ubuntu-jvm8 
while building tomee. Full details are available at:
https://ci.apache.org/builders/tomee-trunk-ubuntu-jvm8/builds/1410

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb_qnode7_ubuntu

Build Reason: The SingleBranchScheduler scheduler named 
'on-tomee-trunk-ubuntu-jvm8-commit' triggered this build
Build Source Stamp: [branch master] 6cd0b4ad112fe79668711cc75d1f7b191e23b00b
Blamelist: Daniel Dias 

BUILD FAILED: failed compile

Sincerely,
 -The Buildbot





[jira] [Resolved] (TOMEE-2889) Translate to Portuguese: examples/realm-in-tomee

2020-08-11 Thread Daniel Dias (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-2889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dias resolved TOMEE-2889.

Resolution: Done

merged.

> Translate to Portuguese: examples/realm-in-tomee
> 
>
> Key: TOMEE-2889
> URL: https://issues.apache.org/jira/browse/TOMEE-2889
> Project: TomEE
>  Issue Type: Sub-task
>Reporter: Daniel Dias
>Assignee: Daniel Dias
>Priority: Trivial
>  Labels: pull-request-available
>
> Translate into Portuguese the README file using a suffix `_pt` to allow the 
> Tomee Website to pick up and configure this version and corresponding language



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[tomee] branch master updated: Add Spanish Trans. injection-of-entitymanager

2020-08-11 Thread dds
This is an automated email from the ASF dual-hosted git repository.

dds pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/master by this push:
 new 4f1f835  Add Spanish Trans. injection-of-entitymanager
 new 3810c2c  Merge pull request #699 from emecas/master
4f1f835 is described below

commit 4f1f835070c08136db73e5c4aebf24a2fe112dba
Author: Emerson Castaneda 
AuthorDate: Fri Jul 31 23:17:41 2020 -0400

Add Spanish Trans. injection-of-entitymanager

Signed-off-by: Emerson Castaneda 
---
 examples/injection-of-entitymanager/README_es.adoc | 233 +
 1 file changed, 233 insertions(+)

diff --git a/examples/injection-of-entitymanager/README_es.adoc 
b/examples/injection-of-entitymanager/README_es.adoc
new file mode 100644
index 000..fbadc35
--- /dev/null
+++ b/examples/injection-of-entitymanager/README_es.adoc
@@ -0,0 +1,233 @@
+= Inyección de Entitymanager
+:index-group: JPA
+:jbake-type: page
+:jbake-status: published
+
+Este ejemplo muestra el uso de `@ PersistenceContext` para tener un` 
EntityManager` con un
+Contexto de persistencia `EXTENDIDO` inyectado en un` @Stateful bean`. Se usa 
Un JPA bean `@ Entity` 
+con el ` EntityManager` para crear, persistir y fusionar datos a una base de 
datos.
+
+== Creando el JPA Entity
+
+La entidad es simplemente un pojo anotado con `@ Entity`. Creamos una clase 
`Movie` que podemos usar para guardar registros de películas.
+
+[source,java]
+
+package org.superbiz.injection.jpa;
+
+import javax.persistence.Entity;
+
+@Entity
+public class Movie {
+
+@Id @GeneratedValue
+private long id;
+
+private String director;
+private String title;
+private int year;
+
+public Movie() {
+}
+
+public long getId() {
+return id;
+}
+
+public void setId(long id) {
+this.id = id;
+}
+
+public Movie(String director, String title, int year) {
+this.director = director;
+this.title = title;
+this.year = year;
+}
+
+public String getDirector() {
+return director;
+}
+
+public void setDirector(String director) {
+this.director = director;
+}
+
+public String getTitle() {
+return title;
+}
+
+public void setTitle(String title) {
+this.title = title;
+}
+
+public int getYear() {
+return year;
+}
+
+public void setYear(int year) {
+this.year = year;
+}
+}
+
+
+== Configurando el EntityManager con un archivo persistence.xml
+
+La entidad `Movie` se puede crear, eliminar, o actualizar mediante un objeto` 
EntityManager`. El `EntityManager` en sí mismo es
+configurado a través de un archivo `META-INF/persistence.xml` que se ubica en 
el mismo jar que la entidad `Movie`.
+
+[source,xml]
+
+http://java.sun.com/xml/ns/persistence; version="1.0">
+
+  
+movieDatabase
+movieDatabaseUnmanaged
+org.superbiz.injection.jpa.Movie
+
+
+  
+
+  
+
+
+
+Observe que la entidad `Movie` se lista a través de un elemento ``. 
Esto no es obligatorio, pero puede ayudar durante las pruebas o cuando la clase 
`Movie` se encuentra en un jar diferente al que contiene el archivo 
`persistence.xml`.
+
+== Inyección a través de @PersistenceContext
+
+El `EntityManager` en sí mismo es creado por el contenedor utilizando la 
información en `persistence.xml`, para usarlo en
+tiempo de ejecución, simplemente necesitamos solicitar que se inyecte en uno 
de nuestros componentes. Hacemos esto a través de 
+la anotación `@ PersistenceContext`
+
+La anotación `@ PersistenceContext` se puede usar en cualquier bean CDI, EJB, 
Servlet, Servlet Listener, Servlet Filter o JSF ManagedBean. Si no se usa un 
EJB, sera necesario usar una `UserTransaction` para comenzar (begin) y 
confirmar (commit) las transacciones manualmente. Se requiere una transacción 
para que funcione cualquiera de los métodos de creación, actualización o 
eliminación del EntityManager.
+
+[source,java]
+
+package org.superbiz.injection.jpa;
+
+import javax.ejb.Stateful;
+import javax.persistence.EntityManager;
+import javax.persistence.PersistenceContext;
+import javax.persistence.PersistenceContextType;
+import javax.persistence.Query;
+import java.util.List;
+
+@Stateful
+public class Movies {
+
+@PersistenceContext(unitName = "movie-unit", type = 
PersistenceContextType.EXTENDED)
+private EntityManager entityManager;
+
+public void addMovie(Movie movie) throws Exception {
+entityManager.persist(movie);
+}
+
+public void deleteMovie(Movie movie) throws Exception {
+entityManager.remove(movie);
+}
+
+public List getMovies() throws Exception {
+Query query = entityManager.createQuery("SELECT m from Movie as m");
+return query.getResultList();
+}
+}
+
+
+Este `EntityManager` en particular se inyecta como un contexto de persistencia 

[tomee] branch master updated: TOMEE-2889 Translate to Portuguese: examples/realm-in-tomee

2020-08-11 Thread dds
This is an automated email from the ASF dual-hosted git repository.

dds pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/master by this push:
 new 6d267f9  TOMEE-2889 Translate to Portuguese: examples/realm-in-tomee
 new 6cd0b4a  Merge pull request #697 from Daniel-Dos/TOMEE-2889
6d267f9 is described below

commit 6d267f904136cbc53fa5d30125f5423bbc3d409d
Author: Daniel Dias 
AuthorDate: Fri Jul 31 15:50:34 2020 -0300

TOMEE-2889 Translate to Portuguese: examples/realm-in-tomee
---
 examples/realm-in-tomee/README_pt.adoc | 42 ++
 1 file changed, 42 insertions(+)

diff --git a/examples/realm-in-tomee/README_pt.adoc 
b/examples/realm-in-tomee/README_pt.adoc
new file mode 100644
index 000..b35c047
--- /dev/null
+++ b/examples/realm-in-tomee/README_pt.adoc
@@ -0,0 +1,42 @@
+:index-group: Unrevised
+:jbake-type: page
+:jbake-status: status=published
+= DataSourceRealm e TomEE DataSource
+
+== Inicio Rápido
+
+Para testá-lo:
+
+[source,java]
+
+mvn clean package tomee:run
+
+
+== Como funciona?
+
+Um DataSource é definida em tomee.xml:
+
+[source,xml]
+
+ 
+
+
+Em seguida, esse DataSource é referenciada em server.xml:
+
+[source,xml]
+
+
+
+
+Para inicializar o datasource (para o teste), usamos o hook TomEE, que fornece 
um arquivo `import-.sql`. O arquivo deve estar no classpath do datasource, 
então o adicionamos à lib (por padrão, no classloader). isto simplesmente 
contém as criações da tabela e a inserção do `admin` `tomee` com a senha 
`tomee`.
+
+== Teste-o
+
+Acesse http://localhost:8080/realm-in-tomee-1.1.0-SNAPSHOT/ e conecte-se 
usando o login/password tomee/tomee. Você deve ver a `Home`.



svn commit: r40947 - /dev/tomee/staging-1173/tomee-8.0.4/

2020-08-11 Thread jgallimore
Author: jgallimore
Date: Tue Aug 11 08:56:20 2020
New Revision: 40947

Log:
Adding missing webprofile artifact

Added:
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz   
(with props)
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.asc 
  (with props)

dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.asc.sha256

dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.asc.sha512

dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.sha256

dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.sha512
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.zip   
(with props)
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.zip.asc   
(with props)

dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.zip.asc.sha256

dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.zip.asc.sha512
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.zip.sha256
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.zip.sha512

Added: dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz
==
Binary file - no diff available.

Propchange: 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz
--
svn:mime-type = application/x-gzip

Added: 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.asc
==
Binary file - no diff available.

Propchange: 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.asc
--
svn:mime-type = application/pgp-signature

Added: 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.asc.sha256
==
--- 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.asc.sha256
 (added)
+++ 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.asc.sha256
 Tue Aug 11 08:56:20 2020
@@ -0,0 +1 @@
+47a77085a72e0cbd170fe978a99c76e32918d83e531f8bef0307c9d46a60d8db
\ No newline at end of file

Added: 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.asc.sha512
==
--- 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.asc.sha512
 (added)
+++ 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.asc.sha512
 Tue Aug 11 08:56:20 2020
@@ -0,0 +1 @@
+311c0cf415cf05534c43d8f6d31cab25281166d4ac2019480949e10994016ff77e7fb276bb2546c6ecdbb56417d9e6cb98fcc20753d9d82e340245078aa10f18
\ No newline at end of file

Added: 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.sha256
==
--- 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.sha256 
(added)
+++ 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.sha256 
Tue Aug 11 08:56:20 2020
@@ -0,0 +1 @@
+13b0817a17e54069c39c3878d7a271b52fe5adceb6ddef3fe1147f2cea2d78ac
\ No newline at end of file

Added: 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.sha512
==
--- 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.sha512 
(added)
+++ 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.tar.gz.sha512 
Tue Aug 11 08:56:20 2020
@@ -0,0 +1 @@
+e2166f85ec64eceddffad6b24cfbdb4495accc76a2f3595c0dbff48beab6a4aaf86de22265fa91cec9a133dac8b30bd9f14c69bb3f69769ac048493c9ba74418
\ No newline at end of file

Added: dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.zip
==
Binary file - no diff available.

Propchange: dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.zip
--
svn:mime-type = application/zip

Added: dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.zip.asc
==
Binary file - no diff available.

Propchange: 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.zip.asc
--
svn:mime-type = application/pgp-signature

Added: 
dev/tomee/staging-1173/tomee-8.0.4/apache-tomee-8.0.4-webprofile.zip.asc.sha256
==
---