Re: Using HPE Find on HOD (273 Views)
Reply
Level 1
Posts: 2
Registered: ‎03-07-2017
Message 1 of 2 (323 Views)

Using HPE Find on HOD

[ Edited ]

Hi folks, 

 

We are trying to run the HPE Find (https://github.com/hpe-idol/find) in HOD. 

We just build the jar, we are running it, however, it seems we can't configure it well. 

Has someone is using it? Can it a share a recipe of how to configure it or running it?

Thanks

 

Regards, 

Hernan.-

Highlighted
Level 1
Posts: 2
Registered: ‎03-07-2017
Message 2 of 2 (273 Views)

Re: Using HPE Find on HOD

[ Edited ]

Here are the errors in the Find log: 

 

com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of com.hp.autonomy.hod.client.api.authentication.ApiKey: no suitable constructor found, can not deserialize from Object value (missing default constructor or creator, or perhaps need to add/enable type information?)

It seems that the config.json is bad formated or some key is missing. 

 

Here is the config.json

 

{
  "login" : {
    "name" : "SingleUserAuthentication",
    "defaultLogin" : {
      "username" : "admin",
      "password" : ""
    },
    "singleUser" : {
      "username" : "admin",
      "hashedPassword" : "",
      "passwordRedacted" : false,
      "enabled" : true
    },
    "method" : "default"
  },
  "hsod" : {
    "landingPageUrl" : "https://search.havenondemand.com"
  },
  "hod" : {
    "apiKey" : {
      "apiKey" : "xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    },
    "activeIndexes" : [ ],
    "publicIndexesEnabled" : false,
    "ssoPageGetUrl" : "https://www.havenondemand.com/sso.html",
    "ssoPagePostUrl" : "https://www.havenondemand.com/sso",
    "endpointUrl" : "https://api.havenondemand.com"
  },
  "queryManipulation" : {
    "profile" : "search_default_profile",
    "index" : "search_default_index"
  },
  "allowedOrigins" : [ "http://localhost:8080", "*" ],
  "redis" : {
    "masterName" : null,
    "password" : null,
    "address" : {
      "host" : "hp-find-backend",
      "port" : 6379
    },
    "sentinels" : [ ],
    "database" : 0,
    "autoConfigure" : true
  },
  "map" : {
    "tileUrlTemplate" : null,
    "enabled" : false,
    "attribution" : null,
    "locationFields" : [ {
      "displayName" : "DefaultLocation",
      "latitudeField" : "latitude",
      "longitudeField" : "longitude",
      "iconName" : null,
      "iconColor" : null,
      "markerColor" : null
    } ],
    "resultsStep" : 2500,
    "initialLocation" : {
      "latitude" : 51.5074,
      "longitude" : 0.1278
    }
  },
  "uiCustomization" : {
    "options" : {
      "directAccessLink" : {
        "user" : true
      },
      "enableMetaFilter" : {
        "bi" : true,
        "user" : true
      },
      "enableRelatedConcepts" : {
        "bi" : true,
        "user" : true
      },
      "resultViewOrder" : {
        "bi" : [ "list", "topic-map", "sunburst", "table", "map" ],
        "user" : [ "list", "topic-map", "sunburst", "table", "map" ]
      }
    },
    "parametricNeverShow" : [ ],
    "parametricAlwaysShow" : [ ],
    "parametricOrder" : [ ],
    "specialUrlPrefixes" : {
      "application/msword" : "ms-word:ofv|u|",
      "application/mspowerpoint" : "ms-powerpoint:ofv|u|",
      "application/vnd.ms-powerpoint" : "ms-powerpoint:ofv|u|",
      "application/msexcel" : "ms-excel:ofv|u|",
      "application/vnd.ms-excel" : "ms-excel:ofv|u|",
      "application/vnd.visio" : "ms-visio:ofv|u|",
      "application/msaccess" : "ms-access:ofv|u|",
      "application/x-msaccess" : "ms-access:ofv|u|",
      "application/msproject" : "ms-project:ofv|u|",
      "application/vnd.ms-project" : "ms-project:ofv|u|",
      "application/x-mspublisher" : "ms-publisher:ofv|u|"
    },
    "errorCallSupportString" : null
  },
  "minScore" : 0,
  "parametricDisplayValues" : [ ],
  "topicMapMaxResults" : 1000,
  "ssoUrl" : "https://www.havenondemand.com/sso.html",
  "savedSearches" : {
    "pollForUpdates" : true,
    "pollingInterval" : 5
  }
}

What is missing?

† The opinions expressed above are the personal opinions of the authors, not of HPE. By using this site, you accept the Terms of Use and Rules of Participation