You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Jeffery Painter <je...@jivecast.com> on 2018/11/27 17:15:31 UTC

Re: svn commit: r1847565 - in /turbine/core/trunk: src/site/site.xml xdocs/services/index.xml xdocs/services/scheduler-service.xml

Hi Georg,

Thanks for working on this. 

FYI - I just added my own notes on getting up and running with the
Quartz service to the migration howto (even though this should really
have been in migrating from 2.3.x to 4.0).  Since I just went through
this, it is all still pretty fresh in my head.  However, I do not think
that the Quartz service will load jobs from the TURBINE_SCHEDULED_JOBS
table anymore. Correct me if I am wrong there, but I could not get it to
work. I had to add it to the quartz.xml config file.

The notes I just added are working for me now with Turbine 5.

Thanks!
Jeff


On 11/27/18 11:33 AM, gk@apache.org wrote:
> Author: gk
> Date: Tue Nov 27 16:33:21 2018
> New Revision: 1847565
>
> URL: http://svn.apache.org/viewvc?rev=1847565&view=rev
> Log:
> - add JSON service
> - fix schedule service info
>
> Modified:
>     turbine/core/trunk/src/site/site.xml
>     turbine/core/trunk/xdocs/services/index.xml
>     turbine/core/trunk/xdocs/services/scheduler-service.xml
>
> Modified: turbine/core/trunk/src/site/site.xml
> URL: http://svn.apache.org/viewvc/turbine/core/trunk/src/site/site.xml?rev=1847565&r1=1847564&r2=1847565&view=diff
> ==============================================================================
> --- turbine/core/trunk/src/site/site.xml (original)
> +++ turbine/core/trunk/src/site/site.xml Tue Nov 27 16:33:21 2018
> @@ -48,6 +48,7 @@
>          <item name="Factory Service"     href="http://turbine.apache.org/fulcrum/fulcrum-factory/"/>
>          <item name="Intake Service"      href="http://turbine.apache.org/fulcrum/fulcrum-intake/"/>
>          <item name="JSON-RPC Service"    href="/services/jsonrpc-service.html"/>
> +        <item name="JSON Service"       href="http://turbine.apache.org/fulcrum/fulcrum-json/"/>
>          <item name="JSP Service"         href="/services/jsp-service.html"/>
>          <item name="Localization Service" href="http://turbine.apache.org/fulcrum/fulcrum-localization/"/>
>          <item name="MimeType Service"    href="http://turbine.apache.org/fulcrum/fulcrum-mimetype/"/>
>
> Modified: turbine/core/trunk/xdocs/services/index.xml
> URL: http://svn.apache.org/viewvc/turbine/core/trunk/xdocs/services/index.xml?rev=1847565&r1=1847564&r2=1847565&view=diff
> ==============================================================================
> --- turbine/core/trunk/xdocs/services/index.xml (original)
> +++ turbine/core/trunk/xdocs/services/index.xml Tue Nov 27 16:33:21 2018
> @@ -83,6 +83,12 @@ The JSON-RPC Service supports JavaScript
>  </li>
>  
>  <li>
> +<a href="/fulcrum/fulcrum-json/">JSON Service</a>
> +<br/>
> +The JSON Service provides a configurable integration of JSON De-/Serializers with Jackson 2 (1) or GSON APIs (e.g. providing helpers for filtering, mixins and other settings).
> +</li>
> +
> +<li>
>  <a href="jsp-service.html">JSP Service</a>
>  <br/>
>  The JSP Service is the set of classes that process JSP files inside the
>
> Modified: turbine/core/trunk/xdocs/services/scheduler-service.xml
> URL: http://svn.apache.org/viewvc/turbine/core/trunk/xdocs/services/scheduler-service.xml?rev=1847565&r1=1847564&r2=1847565&view=diff
> ==============================================================================
> --- turbine/core/trunk/xdocs/services/scheduler-service.xml (original)
> +++ turbine/core/trunk/xdocs/services/scheduler-service.xml Tue Nov 27 16:33:21 2018
> @@ -31,8 +31,8 @@
>  <p>
>      The Scheduler is modeled after Unix Cron. The Scheduler runs as a background
>      process that executes timed scheduled tasks independently of HTTP requests.
> -    Tasks are stored in the database in the TURBINE_SCHEDULED_JOB table and once
> -    entered in the database are loaded automatically when Turbine initializes.
> +    Tasks are either stored in the database in the TURBINE_SCHEDULED_JOB table and once
> +    entered in the database are loaded automatically when Turbine initializes or as a non persistent service using TurbineNonPersistentSchedulerService.
>  </p>
>  
>  <p>
> @@ -46,9 +46,7 @@
>      The Scheduler Service should be accessed in one of two ways.
>      <ul>
>          <li>
> -            org.apache.turbine.services.schedule.TurbineScheduler - This class
> -            provides static methods to access the scheduler service.  This is the
> -            preferred method of access from within java code.
> +            Get an instance of type org.apache.turbine.services.schedule.ScheduleService (eihter using annnotation @TurbineService or by using static call to TurbineServices.getInstance().getService with parameter ScheduleService.SERVICE_NAME) - This interface provides  methods to access the scheduler service.  This is the preferred method of access from within java code.
>          </li>
>          <li>
>              org.apache.turbine.services.schedule.SchedulerTool - This is a pull
> @@ -74,7 +72,7 @@
>  # To specify properties of a service use the following syntax:
>  # service.[name].[property]=[value]
>  
> -services.SchedulerService.classname=org.apache.turbine.services.schedule.TurbineSchedulerService
> +services.SchedulerService.classname=org.apache.turbine.services.schedule.QuartzSchedulerService
>  .
>  .
>  .
>
>

-- 
Jeff Painter

CEO and Founder of JiveCast
Software and analytics, made together
https://jivecast.com

301 Fayetteville St. Unit 2301, Raleigh, NC 27601
(919) 533-9024



Re: Re: svn commit: r1847565 - in /turbine/core/trunk: src/site/site.xml xdocs/services/index.xml xdocs/services/scheduler-service.xml

Posted by Georg Kallidis <ge...@cedis.fu-berlin.de>.
Hi Jeffery,

I thought it like that -  you and Thomas know more about it. I didn't 
delete it, as there is still a reference in 

src/torque/schema/scheduler-schema.xml to TURBINE_SCHEDULED_JOB, which is 
explicitely included and used in pom.xml (execution id: 
generate-om-scheduler-sources). 

id-table-schema.xml and ID_TABLE may be just used for this or as a test 
tool (conf/test/create-db.sql). 

As the TorqueSchedulerService is already annotated as deprecated, it may 
all be removed in an upcoming release - though this is altogehter a nice 
exercise on how to use Torque generated-sources ;-) 

Best regards, Georg




Von:    Jeffery Painter <je...@jivecast.com>
An:     dev@turbine.apache.org
Datum:  27.11.2018 18:15
Betreff:        Re: svn commit: r1847565 - in /turbine/core/trunk: 
src/site/site.xml xdocs/services/index.xml 
xdocs/services/scheduler-service.xml



Hi Georg,

Thanks for working on this. 

FYI - I just added my own notes on getting up and running with the
Quartz service to the migration howto (even though this should really
have been in migrating from 2.3.x to 4.0).  Since I just went through
this, it is all still pretty fresh in my head.  However, I do not think
that the Quartz service will load jobs from the TURBINE_SCHEDULED_JOBS
table anymore. Correct me if I am wrong there, but I could not get it to
work. I had to add it to the quartz.xml config file.

The notes I just added are working for me now with Turbine 5.

Thanks!
Jeff


On 11/27/18 11:33 AM, gk@apache.org wrote:
> Author: gk
> Date: Tue Nov 27 16:33:21 2018
> New Revision: 1847565
>
> URL: http://svn.apache.org/viewvc?rev=1847565&view=rev
> Log:
> - add JSON service
> - fix schedule service info
>
> Modified:
>     turbine/core/trunk/src/site/site.xml
>     turbine/core/trunk/xdocs/services/index.xml
>     turbine/core/trunk/xdocs/services/scheduler-service.xml
>
> Modified: turbine/core/trunk/src/site/site.xml
> URL: 
http://svn.apache.org/viewvc/turbine/core/trunk/src/site/site.xml?rev=1847565&r1=1847564&r2=1847565&view=diff

> 
==============================================================================
> --- turbine/core/trunk/src/site/site.xml (original)
> +++ turbine/core/trunk/src/site/site.xml Tue Nov 27 16:33:21 2018
> @@ -48,6 +48,7 @@
>          <item name="Factory Service"     href="
http://turbine.apache.org/fulcrum/fulcrum-factory/"/>
>          <item name="Intake Service"      href="
http://turbine.apache.org/fulcrum/fulcrum-intake/"/>
>          <item name="JSON-RPC Service" 
href="/services/jsonrpc-service.html"/>
> +        <item name="JSON Service"       href="
http://turbine.apache.org/fulcrum/fulcrum-json/"/>
>          <item name="JSP Service" href="/services/jsp-service.html"/>
>          <item name="Localization Service" href="
http://turbine.apache.org/fulcrum/fulcrum-localization/"/>
>          <item name="MimeType Service"    href="
http://turbine.apache.org/fulcrum/fulcrum-mimetype/"/>
>
> Modified: turbine/core/trunk/xdocs/services/index.xml
> URL: 
http://svn.apache.org/viewvc/turbine/core/trunk/xdocs/services/index.xml?rev=1847565&r1=1847564&r2=1847565&view=diff

> 
==============================================================================
> --- turbine/core/trunk/xdocs/services/index.xml (original)
> +++ turbine/core/trunk/xdocs/services/index.xml Tue Nov 27 16:33:21 2018
> @@ -83,6 +83,12 @@ The JSON-RPC Service supports JavaScript
>  </li>
> 
>  <li>
> +<a href="/fulcrum/fulcrum-json/">JSON Service</a>
> +<br/>
> +The JSON Service provides a configurable integration of JSON 
De-/Serializers with Jackson 2 (1) or GSON APIs (e.g. providing helpers 
for filtering, mixins and other settings).
> +</li>
> +
> +<li>
>  <a href="jsp-service.html">JSP Service</a>
>  <br/>
>  The JSP Service is the set of classes that process JSP files inside the
>
> Modified: turbine/core/trunk/xdocs/services/scheduler-service.xml
> URL: 
http://svn.apache.org/viewvc/turbine/core/trunk/xdocs/services/scheduler-service.xml?rev=1847565&r1=1847564&r2=1847565&view=diff

> 
==============================================================================
> --- turbine/core/trunk/xdocs/services/scheduler-service.xml (original)
> +++ turbine/core/trunk/xdocs/services/scheduler-service.xml Tue Nov 27 
16:33:21 2018
> @@ -31,8 +31,8 @@
>  <p>
>      The Scheduler is modeled after Unix Cron. The Scheduler runs as a 
background
>      process that executes timed scheduled tasks independently of HTTP 
requests.
> -    Tasks are stored in the database in the TURBINE_SCHEDULED_JOB table 
and once
> -    entered in the database are loaded automatically when Turbine 
initializes.
> +    Tasks are either stored in the database in the 
TURBINE_SCHEDULED_JOB table and once
> +    entered in the database are loaded automatically when Turbine 
initializes or as a non persistent service using 
TurbineNonPersistentSchedulerService.
>  </p>
> 
>  <p>
> @@ -46,9 +46,7 @@
>      The Scheduler Service should be accessed in one of two ways.
>      <ul>
>          <li>
> -            org.apache.turbine.services.schedule.TurbineScheduler - 
This class
> -            provides static methods to access the scheduler service. 
This is the
> -            preferred method of access from within java code.
> +            Get an instance of type 
org.apache.turbine.services.schedule.ScheduleService (eihter using 
annnotation @TurbineService or by using static call to 
TurbineServices.getInstance().getService with parameter 
ScheduleService.SERVICE_NAME) - This interface provides  methods to access 
the scheduler service.  This is the preferred method of access from within 
java code.
>          </li>
>          <li>
>              org.apache.turbine.services.schedule.SchedulerTool - This 
is a pull
> @@ -74,7 +72,7 @@
>  # To specify properties of a service use the following syntax:
>  # service.[name].[property]=[value]
> 
> 
-services.SchedulerService.classname=org.apache.turbine.services.schedule.TurbineSchedulerService
> 
+services.SchedulerService.classname=org.apache.turbine.services.schedule.QuartzSchedulerService
>  .
>  .
>  .
>
>

-- 
Jeff Painter

CEO and Founder of JiveCast
Software and analytics, made together
https://jivecast.com

301 Fayetteville St. Unit 2301, Raleigh, NC 27601
(919) 533-9024


[Anhang "signature.asc" gelöscht von Georg Kallidis/CeDiS/FU-Berlin/DE] 


RESULT/ANNOUNCE/VOTE release of fulcrum-yaafi-crypto 1.0.7 based on staged repository

Posted by Georg Kallidis <ge...@cedis.fu-berlin.de>.
Hi Jeffery,

just a reminder, to complete the release (Thomas has voted) you may 
announce the result in the lists (dev, private) with subject tag [RESULT] 
after releasing it on nexus:
https://repository.apache.org/index.html#stagingRepositories

The (almost) last step is to update the sources and binaries in the 
distribution repository: 
https://dist.apache.org/repos/dist/release/turbine/fulcrum
(subfolder fulcrum-yaafi-crypto): Replace content with newest binaries, 
sources. CAVEAT: you have to provide at least sha256 checksums for each 
artefact!  "Artefacts released after 2018-08-18, must be accompanied by 
a .sha256 and/or .sha512 checksum file", find more info here: 
https://checker.apache.org/doc/README.html: Use sha256sum to do this, 
otherwise I could send you a simple perl script, which does the job, if 
you want (find other examples on the web, e.g. 
https://cwiki.apache.org/confluence/display/IMPALA/How+to+Release.

You may then announce the release on the lists with tag [ANNOUNCE] or 
other channels...

See also https://www.apache.org/legal/release-policy.html.

Best regards, Georg