Frequently Asked Questions

Configuration

  1. How to setup my datasource connection?

Configuration

How to setup my datasource connection?

clomoon app builder create a configuration block for each added source.

When you add an <odata source > resources into your app. you can add the following config variables into your whole app configuration as the one below:

	{
               {
  "salesforceconnector": {
    "crm": {
      "datasource": {
        "driverClassName": "org.postgresql.Driver",
        "jdbc-url": "jdbc:postgresql://hostname:port/myschema",
        "password": "changeme",
        "username": "dbusername"
      },
      "jpa": {
        "database": "postgresql",
        "database-platform": "org.hibernate.dialect.PostgreSQLDialect"
      }
    }
  }
}
		// other resources
	}

				

Nb: You should replade %resourceKey% by your resource key (ex: if a add crm as odata resource %resourceKey% will be crm).

[top]