Deprecated feature

Customize connector descriptor of the existing connector with profit margin customization

In this lesson, you customize auth.reindex connector descriptor with profit margin upgrade.

Procedure

Complete the following step to customize auth.reindex connector with profit margin upgrade.
Open the auth.reindex connector descriptor JSON and paste the following profit margin connector code after PriceStage pipe.
               {
		"name": "ProfitMarginSchemaUpdateConnector"
		},
		{
		"name": "ProfitMarginDatabaseConnectorPipe",
		"properties": [
			{
				"name": "Database Driver Location(s)",
				"value": "${AUTH_JDBC_DRIVER_LOCATION}",
				"scope": {
					"name": "Database Connection Pool", 
					"type": "CONTROLLER_SERVICE"
				}
			},
		{
			"name": "Database Driver Class Name",
			"value": "${AUTH_JDBC_DRIVER_CLASSNAME}",
			"scope": {
				"name": "Database Connection Pool",
				"type": "CONTROLLER_SERVICE"
			}
		},
		{
			"name": "Database Connection URL",
			"value": "${AUTH_JDBC_URL}",
			"scope": {
				"name": "Database Connection Pool",
				"type": "CONTROLLER_SERVICE"
			}
		},
		{
			"name": "Database User",
			"value": "${AUTH_JDBC_USER_NAME}",
			"scope": {
				"name": "Database Connection Pool",
				"type": "CONTROLLER_SERVICE"
			}
		},
		{
			"name": "Password",
			"value": "${AUTH_JDBC_USER_PASSWORD}",
			"scope": {
				"name": "Database Connection Pool",
				"type": "CONTROLLER_SERVICE"
			}
		}
	]
	},
Important: Refer to the sample JSON of the auth.reindex connector with profit margin connector code.