This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" | |
jcr:primaryType="sling:OsgiConfig" | |
getConfig="/ContentConfig" | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div data-sly-use.ogsi="com.mysite.core.config.OSGIModel"> | |
{ogsi.osgiConfig} | |
</div> | |
<div data-sly-test="${wcmmode.edit}" class="${wcmmode.edit ? 'cq-placeholder' : ''}" data-emptytext="OSGI Confirguration"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mysite.core.config; | |
import org.apache.sling.models.annotations.injectorspecific.OSGiService; | |
import javax.annotation.PostConstruct; | |
import org.apache.sling.api.resource.Resource; | |
import org.apache.sling.api.resource.ResourceResolver; | |
import org.apache.sling.models.annotations.Default; | |
import org.apache.sling.models.annotations.Model; | |
import org.apache.sling.models.annotations.injectorspecific.InjectionStrategy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mysite.core.config; | |
import java.util.Objects; | |
import org.apache.commons.lang3.StringUtils; | |
import org.osgi.service.component.annotations.Activate; | |
import org.osgi.service.component.annotations.Component; | |
import org.osgi.service.metatype.annotations.Designate; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mysite.core.config; | |
public interface OSGIClient { | |
public String execute(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mysite.core.config; | |
import org.osgi.service.metatype.annotations.AttributeDefinition; | |
import org.osgi.service.metatype.annotations.ObjectClassDefinition; | |
@ObjectClassDefinition( | |
name = "OSGI Configuration", | |
description = " OSGI Configuration" | |
) | |
public @interface OSGIClientConfiguration { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:org.apache.felix.configadmin.revision:=L"1" | |
debug.email=B"false" | |
from.address="mostly-your-mail-id" | |
service.pid="com.day.cq.mailer.DefaultMailService" | |
smtp.host="whatever-your-host-says" | |
smtp.port=L"25" | |
smtp.ssl=B"false" | |
smtp.user="you-know-i-cannot-say-this-here" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debug.email="{Boolean}false" | |
smtp.port="{Long}25" | |
smtp.user="you-know-i-cannot-say-this-here" | |
smtp.ssl="{Boolean}false" | |
from.address="mostly-your-mail-id" | |
smtp.host="whatever-your-host-says" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" | |
jcr:primaryType="sling:OsgiConfig" | |
debug.email="{Boolean}false" | |
smtp.port="{Long}25" | |
smtp.user="you-know-i-cannot-say-this-here" | |
smtp.ssl="{Boolean}false" | |
from.address="mostly-your-mail-id" | |
smtp.host="whatever-your-host-says" | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<requestHandler name="/update/extract" | |
startup="lazy" | |
class="solr.extraction.ExtractingRequestHandler" > | |
<lst name="defaults"> | |
<str name="lowernames">true</str> | |
<str name="capture">h1</str> | |
<str name="fmap.h1">heading-one</str> | |
<str name="capture">h2</str> | |
<str name="fmap.h2">heading-two</str> | |
<str name="capture">li</str> |
NewerOlder