Configuring the Order Capture System Properties
Go to $OM_HOME/roles/ocs/standalone/config location and update the application.properties file with the following details.
Order Capture System Configuration Properties
| Property Name | Default Property Value |
|---|---|
| server.port | 9098 |
| management.context-path | /management |
| management.security.enabled | false |
| management.health.defaults.enabled | true |
| endpoints.enabled | false |
| endpoints.info.enabled | true |
| endpoints.health.enabled | true |
| endpoints.metrics.enabled | true |
| endpoints.jolokia.enabled | true |
| info.app.name | Order Capture Service |
| info.app.version | 5.1.0 |
| http.timeout.millis | 2000 |
| com.tibco.af.ocs.security.authentication.disabled | false |
| com.tibco.af.ocs.nonce.validity.seconds | 900 |
| com.tibco.af.ocs.session.timeout.seconds | 100 |
| com.tibco.af.ocs.ap.protocol | http |
| Property Name | Default Property Value |
|---|---|
| com.tibco.af.ocs.pmcatalog.dir | ${com.tibco.af.ocs.pmcatalog.dir} |
| com.tibco.af.ocs.smcatalog.dir | ${com.tibco.af.ocs.smcatalog.dir} |
| com.tibco.af.ocs.simulate.order | false |
| com.tibco.af.ocs.simulate.eligibility | true |
| com.tibco.af.ocs.simulate.pricing | false |
| com.tibco.af.ocs.demo.subscriberInventory | true |
| com.tibco.af.ocs.itemInventoryService.noData | true |
| Property Name | Default Property Value |
|---|---|
| com.tibco.af.ocs.subscriberService.host | localhost |
| com.tibco.af.ocs.subscriberService.port | 9091 |
| com.tibco.af.ocs.subscriberService.username | admin |
| com.tibco.af.ocs.subscriberService.password | admin |
| com.tibco.af.ocs.subscriberService.url | ${com.tibco.af.ocs.ap.protocol}://${com.tibco.af.ocs.subscriberService.host}:${com.tibco.af.ocs.subscriberService.port}/fos/ocs/subscriber/inventory |
| com.tibco.af.ocs.subscriberService.trust.store | cert/trust.jks |
| cert/trust.jks com.tibco.af.ocs.subscriberService.trust.password | changeit |
| Property Name | Default Property Value |
|---|---|
| com.tibco.af.ocs.pricingService.host | localhost |
| com.tibco.af.ocs.pricingService.port | 8090 |
| com.tibco.af.ocs.pricingService.username | admin |
| com.tibco.af.ocs.pricingService.password | admin |
| com.tibco.af.ocs.pricingService.url | ${com.tibco.af.ocs.ap.protocol}://${com.tibco.af.ocs.pricingService.host}:${com.tibco.af.ocs.pricingService.port}/opes/api/v1/offers/prices |
| com.tibco.af.ocs.pricingService.trust.store | cert/trust.jks |
| cert/trust.jks com.tibco.af.ocs.pricingService.trust.password | changeit |
| Property Name | Default Property Value |
|---|---|
| com.tibco.af.ocs.orderService.host | localhost |
| com.tibco.af.ocs.orderService.port | 9093 |
| com.tibco.af.ocs.orderService.username | admin |
| com.tibco.af.ocs.orderService.password | admin |
| com.tibco.af.ocs.orderService.url | ${com.tibco.af.ocs.ap.protocol}://${com.tibco.af.ocs.orderService.host}:${com.tibco.af.ocs.orderService.port} |
| com.tibco.af.ocs.orderService.trust.store | cert/trust.jks |
| cert/trust.jks com.tibco.af.ocs.orderService.trust.password | changeit |
| Property Name | Default Property Value |
|---|---|
| com.tibco.af.ocs.archivalService.host | localhost |
| com.tibco.af.ocs.archivalService.port | 9099 |
| com.tibco.af.ocs.archivalService.username | admin |
| com.tibco.af.ocs.archivalService.password | admin |
| com.tibco.af.ocs.archivalService.url | ${com.tibco.af.ocs.ap.protocol}://${com.tibco.af.ocs.archivalService.host}:${com.tibco.af.ocs.archivalService.port} |
| com.tibco.af.ocs.archivalService.trust.store | cert/trust.jks |
| cert/trust.jks com.tibco.af.ocs.archivalService.trust.password | changeit |
| Property Name | Default Property Value |
|---|---|
| com.tibco.af.ocs.oauthTokenService.host | localhost |
| com.tibco.af.ocs.oauthTokenService.port | 9097 |
| com.tibco.af.ocs.oauthTokenService.username | admin |
| com.tibco.af.ocs.oauthTokenService.password | admin |
| com.tibco.af.ocs.oauthTokenService.url | ${com.tibco.af.ocs.ap.protocol}://${com.tibco.af.ocs.oauthTokenService.host}:${com.tibco.af.ocs.oauthTokenService.port}/oauth/token |
|
com.tibco.af.ocs.oauthTokenService.clientId |
my-trusted-client-with-secret |
| com.tibco.af.ocs.oauthTokenService.clientSecret | somesecret |
| com.tibco.af.ocs.oauthTokenService.trust.store | cert/trust.jks |
| cert/trust.jks com.tibco.af.ocs.oauthTokenService.trust.password | changeit |
| com.tibco.af.ocs.planPreview.url | ${com.tibco.af.ocs.ap.protocol}://${com.tibco.af.ocs.oauthTokenService.host}:${com.tibco.af.ocs.oauthTokenService.port}/OTS/main?target=order |
| Property Name | Default Property Value |
|---|---|
| com.tibco.af.ocs.eligibilityService.host | localhost |
| com.tibco.af.ocs.eligibilityService.port | 8090 |
| com.tibco.af.ocs.eligibilityService.username | admin |
| com.tibco.af.ocs.eligibilityService.password | admin |
| com.tibco.af.ocs.subsceligibilityServiceriberService.url | ${com.tibco.af.ocs.ap.protocol}://${com.tibco.af.ocs.eligibilityService.host}:${com.tibco.af.ocs.eligibilityService.port}/opes/api/v1/offers/eligible |
| com.tibco.af.ocs.eligibilityService.trust.store | cert/trust.jks |
| cert/trust.jks com.tibco.af.ocs.eligibilityService.trust.password | changeit |
| Property Name | Default Property Value |
|---|---|
| com.tibco.af.ocs.hibernate.dialect | org.hibernate.dialect.PostgreSQLDialect |
| com.tibco.af.ocs.hibernate.cache.use_second_level_cache | false |
| com.tibco.af.ocs.hibernate.cache.provider_class | org.hibernate.cache.NoCacheProvider |
| com.tibco.af.ocs.hibernate.transaction.factory_class | org.hibernate.transaction.JDBCTransactionFactory |
| com.tibco.af.ocs.hibernate.current_session_context_class | org.hibernate.context.ManagedSessionContext |
| com.tibco.af.ocs.hibernate.jdbc.batch_size | 30 |
| com.tibco.af.ocs.hibernate.show_sql | false |
| com.tibco.af.ocs.hibernate.default_catalog | ocsschemall |
| Property Name | Default Property Value |
|---|---|
| com.tibco.af.ocs.pooledDataSource.driverClassName | org.postgresql.Driver |
| com.tibco.af.ocs.pooledDataSource.host | localhost |
| com.tibco.af.ocs.pooledDataSource.port | 5432 |
| com.tibco.af.ocs.pooledDataSource.database | ocsdbll |
| com.tibco.af.ocs.pooledDataSource.username | ocsuserll |
| com.tibco.af.ocs.pooledDataSource.password | ocsuserll |
| com.tibco.af.ocs.pooledDataSource.postgres.schema | ocsschemall |
| com.tibco.af.ocs.pooledDataSource.url | jdbc:postgresql://localhost:5432/ocsdbll?currentSchema=ocsschemall |
| com.tibco.af.ocs.pooledDataSource.defaultAutoCommit | false |
| com.tibco.af.ocs.pooledDataSource.rollbackOnReturn | false |
| com.tibco.af.ocs.pooledDataSource.commitOnReturn | false |
| com.tibco.af.ocs.pooledDataSource.initializeSize= | 2 |
| com.tibco.af.ocs.pooledDataSource.maxIdle | 11 |
| com.tibco.af.ocs.pooledDataSource.maxActive= | 12 |
| com.tibco.af.ocs.pooledDataSource.maxWait | 10000 |
| com.tibco.af.ocs.pooledDataSource.validationQuery | SELECT 1 |
| com.tibco.af.ocs.pooledDataSource.testOnBorrow | false |
| com.tibco.af.ocs.pooledDataSource.testWhileIdle | true |
| com.tibco.af.ocs.pooledDataSource.timeBetweenEvictionRunsMillis | 5000 |
| com.tibco.af.ocs.pooledDataSource.minEvictableIdleTimeMillis | 5000 |
| com.tibco.af.ocs.pooledDataSource.numTestsPerEvictionRun | 5 |
| Property Name | Default Property Value |
|---|---|
| com.tibco.af.ope.default.tenantId | TIBCO |
| enableSecureAPI | true |
| authorization.service.username | admin |
| authorization.service.password | admin |
| authorization.service.tenantId | TIBCO |
| authorization.service.useAccessTokenFromProperty | false |
| authorization_server_oauth_url | ${authorization_service_url}/oauth/token |
| authorization.client.id | order-management-client |
| authorization.client.secret | order-management-secret |
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.
