[
https://issues.apache.org/jira/browse/OLINGO-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894528#comment-13894528
]
Michael Bolz edited comment on OLINGO-150 at 2/7/14 1:44 PM:
-------------------------------------------------------------
Hi Thiago,
The measurement is only enabled if debug mode is enabled. By default debug mode
is _dis_-abled.
To enable/disable debug the {{getCallback(final Class<? extends ODataCallback>
callbackInterface)}} in the {{ODataServiceFactory}} implementation can provide
an {{ODataDebugCallback}} which then has to needed method {{boolean
isDebugEnabled()}} (see code sample below from
{{org.apache.olingo.odata2.ref.processor.ScenarioServiceFactory}} in module
{{olingo-odata2-ref-incubating}}).
More documentation can also be found on [Olingo.org Debug
Documentation|http://olingo.staging.apache.org/doc/tutorials/debug.html].
{code}
/**
* Callback class to enable debugging.
*/
private final class ScenarioDebugCallback implements ODataDebugCallback {
@Override
public boolean isDebugEnabled() {
return true;
}
}
{code}
But I'am not sure if this is enough to get Apache Olingo working within the
Google App Engine.
Kind regards,
Michael
was (Author: mirbo):
Hi Thiago,
The measurement is only enabled if debug mode is enabled. By default debug mode
is _dis_-abled.
To enable/disable debug the {{getCallback(final Class<? extends ODataCallback>
callbackInterface)}} in the {{ODataServiceFactory}} implementation can provide
an {{ODataDebugCallback}} which then has to needed method {{boolean
isDebugEnabled()} (see code sample below from
{{org.apache.olingo.odata2.ref.processor.ScenarioServiceFactory}} in module
{{olingo-odata2-ref-incubating}}).
More documentation can also be found on [Olingo.org Debug
Documentation|http://olingo.staging.apache.org/doc/tutorials/debug.html].
{code}
/**
* Callback class to enable debugging.
*/
private final class ScenarioDebugCallback implements ODataDebugCallback {
@Override
public boolean isDebugEnabled() {
return true;
}
}
{code}
But I'am not sure if this is enough to get Apache Olingo working within the
Google App Engine.
Kind regards,
Michael
> Google App Engine Support
> -------------------------
>
> Key: OLINGO-150
> URL: https://issues.apache.org/jira/browse/OLINGO-150
> Project: Olingo
> Issue Type: Wish
> Components: odata2-core
> Reporter: Thiago Assis
> Attachments: ODataJPADebugCallback.java, ODataJPAErrorCallback.java,
> ODataJPAServiceFactory.java, ODataRequestUtil.java, ODataServlet.java
>
>
> Do you have plans to develop a version that can be run on Google App Engine?
> If not, it would be interesting to consider.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)