Nuwan, Is your regex correct?
On Mon, Jun 9, 2014 at 10:43 PM, Nuwan Dias <nuw...@wso2.com> wrote: > I checked with/without profiles and verified the media type as well. Which > class triggers this method call? Any hint to debug and see? > > > On Monday, June 9, 2014, Ajith Vitharana <aji...@wso2.com> wrote: > >> Hi Nuwan, >> >> 1. First check adding the customer indexer including the profile as well. >> >> Eg: This is the one already in AM. >> >> <indexer >> class="org.wso2.carbon.governance.registry.extensions.indexers.RXTIndexer" >> mediaTypeRegEx="application/vnd.(.)+\+xml" profiles >> ="default,api-store,api-publisher"/> >> >> 2. Please verify the media type of the resource is matching to the given >> type in indexing configuration. >> >> Thanks. >> Ajith >> >> >> >> >> On Mon, Jun 9, 2014 at 7:34 PM, Nuwan Dias <nuw...@wso2.com> wrote: >> >>> Hi, >>> >>> I'm trying to register a custom indexer for the API Manager. I have >>> indexer in an external jar file and put in to the components/lib directory. >>> >>> The Indexer implements >>> the org.wso2.carbon.registry.indexing.indexer.Indexer interface and the >>> 'getIndexedDocument' method. >>> >>> I have registered my indexer in the registry.xml as <indexer >>> class="org.wso2.carbon.wsdl.indexer.WSDLIndexer" >>> mediaTypeRegEx="application/api+wsdl+xml"/> >>> >>> When I create a registry resource with the above provided media type, >>> the indexer does not seem to execute. Anything wrong I could be doing or is >>> there anything else to be done? >>> >>> I have some debug logs and sysouts within my indexer, these are not >>> being printed at the moment. That's how I figured the indexer is not >>> running. Is there any way to find out whether a resource was indexed? >>> >>> Thanks, >>> NuwanD. >>> >>> -- >>> Nuwan Dias >>> >>> Associate Tech Lead - WSO2, Inc. http://wso2.com >>> email : nuw...@wso2.com >>> Phone : +94 777 775 729 >>> >> >> >> >> -- >> Ajith Vitharana. >> WSO2 Inc. - http://wso2.org >> Email : aji...@wso2.com >> Mobile : +94772217350 >> >> > > -- > Nuwan Dias > > Associate Tech Lead - WSO2, Inc. http://wso2.com > email : nuw...@wso2.com > Phone : +94 777 775 729 > > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- /sumedha m: +94 773017743 b : bit.ly/sumedha
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev