Examples of fillInSourcePipelineFields()


Examples of com.ikanow.infinit.e.data_model.store.config.source.SourcePojo.fillInSourcePipelineFields()

    {
      SourcePojo source = null;
      SourcePojoSubstitutionApiMap apiMap = new SourcePojoSubstitutionApiMap(new ObjectId(userIdStr));
      try {
        source = ApiManager.mapFromApi(sourceJson, SourcePojo.class, apiMap);
        source.fillInSourcePipelineFields();
      }
      catch (Exception e) {
        rp.setResponse(new ResponseObject("Test Source",false,"Error deserializing source (JSON is valid but does not match schema): " + e.getMessage()));           
        return rp;       
      }
View Full Code Here

Examples of com.ikanow.infinit.e.data_model.store.config.source.SourcePojo.fillInSourcePipelineFields()

        }
        for (ObjectId sid: communityIdSet) {
          source.getCommunityIds().add(sid);
        }
        source.setFederatedQueryCommunityIds(null); // (can be filled in by fillInSourcePipelineFields() below)
        source.fillInSourcePipelineFields(); // (needs to be after the community ids)
       
        // RSS search harvest types tend to be computationally expensive and therefore
        // should be done less frequently (by default once/4-hours seems good):
        if (sourceSearchesWeb(source)) {
          // If the search cycle has not been specified, use a default:
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.