[jira] [Created] (JCR-4436) Improve tests for o.a.j.oak.security.authentication.token package

2019-05-15 Thread angela (JIRA)
angela created JCR-4436:
---

 Summary: Improve tests for o.a.j.oak.security.authentication.token 
package
 Key: JCR-4436
 URL: https://issues.apache.org/jira/browse/JCR-4436
 Project: Jackrabbit Content Repository
  Issue Type: Improvement
  Components: core, security
Reporter: angela
Assignee: angela


- remove usage of deprecated {{NodeUtil}}
- declare expected exceptions with test annotation
- missing {{ContentSession.close}}
- move duplicated utilities to {{AbstractTokenTest}}
- redundant imports and exception declarations
- improve coverage



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (JCR-4435) Archive Jackrabbit wiki

2019-05-15 Thread Marcel Reutegger (JIRA)


[ 
https://issues.apache.org/jira/browse/JCR-4435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841022#comment-16841022
 ] 

Marcel Reutegger commented on JCR-4435:
---

I propose adding the exported wiki to a new folder {{archive/wiki}} under 
https://svn.apache.org/viewvc/jackrabbit/site/live/

> Archive Jackrabbit wiki
> ---
>
> Key: JCR-4435
> URL: https://issues.apache.org/jira/browse/JCR-4435
> Project: Jackrabbit Content Repository
>  Issue Type: Task
>  Components: docs
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Attachments: Confluence-space-export-125407-10044.html.zip, 
> wiki.apache.org.tar.bz2
>
>
> The Apache MoinMoin wiki goes out of service by end of May 2019. There is a 
> Confluence wiki that can still be used after that date. The Jackrabbit 
> project at some point created a version of the website using the Confluence 
> wiki and maintained the website that way. However, this has been superseded 
> by a different process using markdown and the Confluence wiki content is now 
> outdated.
> The Apache infrastructure provides a migration tool for MoinMoin to 
> Confluence at http://selfserve.apache.org/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


How to get a remote solr instance working with oak?

2019-05-15 Thread zhouxu
hello expert!
I am trying to get a remote solr instance working with oak. Can anyone
provide complete documentation or operational procedures?



--
Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Dev-f523400.html


[jira] [Commented] (JCR-4435) Archive Jackrabbit wiki

2019-05-15 Thread Marcel Reutegger (JIRA)


[ 
https://issues.apache.org/jira/browse/JCR-4435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840495#comment-16840495
 ] 

Marcel Reutegger commented on JCR-4435:
---

[~edivad] also did an export, but using wget from the MoinMoin wiki directly. 
The command he used was:
{noformat}
wget -E -r -np -k --restrict-file-names=windows 
https://wiki.apache.org/jackrabbit/
{noformat}
I uploaded the export as [^wiki.apache.org.tar.bz2]. According to Davide, the 
export does not contain pages that start with non-ASCII characters and also 
includes MoinMoin internal help pages localized to different languages.

> Archive Jackrabbit wiki
> ---
>
> Key: JCR-4435
> URL: https://issues.apache.org/jira/browse/JCR-4435
> Project: Jackrabbit Content Repository
>  Issue Type: Task
>  Components: docs
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Attachments: Confluence-space-export-125407-10044.html.zip, 
> wiki.apache.org.tar.bz2
>
>
> The Apache MoinMoin wiki goes out of service by end of May 2019. There is a 
> Confluence wiki that can still be used after that date. The Jackrabbit 
> project at some point created a version of the website using the Confluence 
> wiki and maintained the website that way. However, this has been superseded 
> by a different process using markdown and the Confluence wiki content is now 
> outdated.
> The Apache infrastructure provides a migration tool for MoinMoin to 
> Confluence at http://selfserve.apache.org/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (JCR-4435) Archive Jackrabbit wiki

2019-05-15 Thread Marcel Reutegger (JIRA)


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

Marcel Reutegger updated JCR-4435:
--
Attachment: wiki.apache.org.tar.bz2

> Archive Jackrabbit wiki
> ---
>
> Key: JCR-4435
> URL: https://issues.apache.org/jira/browse/JCR-4435
> Project: Jackrabbit Content Repository
>  Issue Type: Task
>  Components: docs
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Attachments: Confluence-space-export-125407-10044.html.zip, 
> wiki.apache.org.tar.bz2
>
>
> The Apache MoinMoin wiki goes out of service by end of May 2019. There is a 
> Confluence wiki that can still be used after that date. The Jackrabbit 
> project at some point created a version of the website using the Confluence 
> wiki and maintained the website that way. However, this has been superseded 
> by a different process using markdown and the Confluence wiki content is now 
> outdated.
> The Apache infrastructure provides a migration tool for MoinMoin to 
> Confluence at http://selfserve.apache.org/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (JCR-4435) Archive Jackrabbit wiki

2019-05-15 Thread Marcel Reutegger (JIRA)


[ 
https://issues.apache.org/jira/browse/JCR-4435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840476#comment-16840476
 ] 

Marcel Reutegger commented on JCR-4435:
---

Attached zip file [^Confluence-space-export-125407-10044.html.zip] contains a 
HTML export of the migrated Jackrabbit wiki. There's no fancy styling, but for 
archiving purposes this would be just fine.

> Archive Jackrabbit wiki
> ---
>
> Key: JCR-4435
> URL: https://issues.apache.org/jira/browse/JCR-4435
> Project: Jackrabbit Content Repository
>  Issue Type: Task
>  Components: docs
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Attachments: Confluence-space-export-125407-10044.html.zip
>
>
> The Apache MoinMoin wiki goes out of service by end of May 2019. There is a 
> Confluence wiki that can still be used after that date. The Jackrabbit 
> project at some point created a version of the website using the Confluence 
> wiki and maintained the website that way. However, this has been superseded 
> by a different process using markdown and the Confluence wiki content is now 
> outdated.
> The Apache infrastructure provides a migration tool for MoinMoin to 
> Confluence at http://selfserve.apache.org/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (JCR-4435) Archive Jackrabbit wiki

2019-05-15 Thread Marcel Reutegger (JIRA)


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

Marcel Reutegger updated JCR-4435:
--
Attachment: Confluence-space-export-125407-10044.html.zip

> Archive Jackrabbit wiki
> ---
>
> Key: JCR-4435
> URL: https://issues.apache.org/jira/browse/JCR-4435
> Project: Jackrabbit Content Repository
>  Issue Type: Task
>  Components: docs
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Attachments: Confluence-space-export-125407-10044.html.zip
>
>
> The Apache MoinMoin wiki goes out of service by end of May 2019. There is a 
> Confluence wiki that can still be used after that date. The Jackrabbit 
> project at some point created a version of the website using the Confluence 
> wiki and maintained the website that way. However, this has been superseded 
> by a different process using markdown and the Confluence wiki content is now 
> outdated.
> The Apache infrastructure provides a migration tool for MoinMoin to 
> Confluence at http://selfserve.apache.org/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Archive Jackrabbit wiki

2019-05-15 Thread Marcel Reutegger
Hi,

The Apache MoinMoin goes out of service by end of May 2019. See the proposal
in https://issues.apache.org/jira/browse/JCR-4435 for how to proceed.

Please provide your feedback in the issue if you have any concerns. Thanks.

Regards
 Marcel



[jira] [Commented] (JCR-4435) Archive Jackrabbit wiki

2019-05-15 Thread Marcel Reutegger (JIRA)


[ 
https://issues.apache.org/jira/browse/JCR-4435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840408#comment-16840408
 ] 

Marcel Reutegger commented on JCR-4435:
---

The notifications from the MoinMoin wiki show rather low usage and limited 
mostly to Oakathon pages and Apache board report drafts.

The proposal therefore is to create a browsable archive of the Jackrabbit 
MoinMoin wiki, add it to the Jackrabbit website and shut down the Confluence 
wiki in addition to the MoinMoin wiki. Board report drafts would be added to 
the Jackrabbit site in the future and Hackathons organized either with GitHub 
resources or JIRA issues.

> Archive Jackrabbit wiki
> ---
>
> Key: JCR-4435
> URL: https://issues.apache.org/jira/browse/JCR-4435
> Project: Jackrabbit Content Repository
>  Issue Type: Task
>  Components: docs
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
>
> The Apache MoinMoin wiki goes out of service by end of May 2019. There is a 
> Confluence wiki that can still be used after that date. The Jackrabbit 
> project at some point created a version of the website using the Confluence 
> wiki and maintained the website that way. However, this has been superseded 
> by a different process using markdown and the Confluence wiki content is now 
> outdated.
> The Apache infrastructure provides a migration tool for MoinMoin to 
> Confluence at http://selfserve.apache.org/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (JCR-4435) Archive Jackrabbit wiki

2019-05-15 Thread Marcel Reutegger (JIRA)


[ 
https://issues.apache.org/jira/browse/JCR-4435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840381#comment-16840381
 ] 

Marcel Reutegger commented on JCR-4435:
---

As an immediate action I removed the outdated Confluence wiki pages that 
represented an outdated version of the Jackrabbit website and triggered a test 
migration from MoinMoin to Confluence with the selfserve tool. Btw, the 
Jackrabbit Confluence wiki space is 
https://cwiki.apache.org/confluence/display/JCR

> Archive Jackrabbit wiki
> ---
>
> Key: JCR-4435
> URL: https://issues.apache.org/jira/browse/JCR-4435
> Project: Jackrabbit Content Repository
>  Issue Type: Task
>  Components: docs
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
>
> The Apache MoinMoin wiki goes out of service by end of May 2019. There is a 
> Confluence wiki that can still be used after that date. The Jackrabbit 
> project at some point created a version of the website using the Confluence 
> wiki and maintained the website that way. However, this has been superseded 
> by a different process using markdown and the Confluence wiki content is now 
> outdated.
> The Apache infrastructure provides a migration tool for MoinMoin to 
> Confluence at http://selfserve.apache.org/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (JCR-4435) Archive Jackrabbit wiki

2019-05-15 Thread Marcel Reutegger (JIRA)
Marcel Reutegger created JCR-4435:
-

 Summary: Archive Jackrabbit wiki
 Key: JCR-4435
 URL: https://issues.apache.org/jira/browse/JCR-4435
 Project: Jackrabbit Content Repository
  Issue Type: Task
  Components: docs
Reporter: Marcel Reutegger
Assignee: Marcel Reutegger


The Apache MoinMoin wiki goes out of service by end of May 2019. There is a 
Confluence wiki that can still be used after that date. The Jackrabbit project 
at some point created a version of the website using the Confluence wiki and 
maintained the website that way. However, this has been superseded by a 
different process using markdown and the Confluence wiki content is now 
outdated.

The Apache infrastructure provides a migration tool for MoinMoin to Confluence 
at http://selfserve.apache.org/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Re: Failure to do anything,throw CommitFailedException: OakMerge0004

2019-05-15 Thread zhouxu
Thank you very much!
The OakMerge0004 exception has been handled in your way!
Are you familiar with oak solr?



--
Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Dev-f523400.html


Re: Failure to do anything,throw CommitFailedException: OakMerge0004

2019-05-15 Thread Marcel Reutegger
Hi,

On 14.05.19, 17:21, "zhouxu"  wrote:
> When used in OSGi environment then various Oak components can be
> configured using OSGi Configuration Support.
> can you give me some message or reference link about "Repository OSGi
> Configuration" except sling?

Do you mean how to configure the DocumentNodeStoreService as
described here?

https://jackrabbit.apache.org/oak/docs/osgi_config.html

I'm somewhat familiar with Apache Sling, which is why I referred to
that project. But there are probably other ways to deal with
OGSi configurations, even directly with the OSGi configuration
admin API. Though, I still think Apache Sling does that in a
rather convenient way, e.g. with the OSGi Installer it provides:

https://sling.apache.org/documentation/bundles/osgi-installer.html

Regards
 Marcel



Re: Failure to do anything,throw CommitFailedException: OakMerge0004

2019-05-15 Thread Marcel Reutegger
Hi,

On 14.05.19, 13:19, "zhouxu"  wrote:
> We have used oak API and JCR API to develop business functions. If we
> use Apache Sling, will the completed business functions have an impact?

Not necessarily. You can still use the Oak and JCR API with Apache Sling.
There may be some impact when you move from a traditional web application
model to an OSGi component based application.

Regards
 Marcel