NTP-73368 || Amc change bank (#16759)
This commit is contained in:
@@ -23,7 +23,8 @@ class LambdaFactory(private val bridge: LambdaBridge) {
|
|||||||
private fun getLambdaHandler(applicationType: String, bridge: LambdaBridge): Lambda {
|
private fun getLambdaHandler(applicationType: String, bridge: LambdaBridge): Lambda {
|
||||||
return when (applicationType) {
|
return when (applicationType) {
|
||||||
ApplicationType.COINS.name -> CoinsLambdaHandler(bridge)
|
ApplicationType.COINS.name -> CoinsLambdaHandler(bridge)
|
||||||
ApplicationType.AMC_ONBOARDING.name -> InvestmentLambdaHandler(bridge)
|
ApplicationType.AMC_ONBOARDING.name,
|
||||||
|
ApplicationType.AMC_CHANGE_BANK.name -> InvestmentLambdaHandler(bridge)
|
||||||
else -> DefaultLambdaHandler(bridge)
|
else -> DefaultLambdaHandler(bridge)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -355,7 +355,8 @@ fun <T> getMetricInfoForApplicationType(
|
|||||||
ApplicationType.HPC.name -> {
|
ApplicationType.HPC.name -> {
|
||||||
MetricInfo.AppMetric(screen = screenName, isNae = isNae)
|
MetricInfo.AppMetric(screen = screenName, isNae = isNae)
|
||||||
}
|
}
|
||||||
ApplicationType.AMC_ONBOARDING.name -> {
|
ApplicationType.AMC_ONBOARDING.name,
|
||||||
|
ApplicationType.AMC_CHANGE_BANK.name -> {
|
||||||
MetricInfo.AMCMetric(screen = screenName, isNae = isNae)
|
MetricInfo.AMCMetric(screen = screenName, isNae = isNae)
|
||||||
}
|
}
|
||||||
else -> {
|
else -> {
|
||||||
@@ -370,7 +371,8 @@ fun getModuleNameForApplicationType(applicationType: String): ModuleNameV2 {
|
|||||||
ModuleNameV2.App
|
ModuleNameV2.App
|
||||||
}
|
}
|
||||||
|
|
||||||
ApplicationType.AMC_ONBOARDING.name -> {
|
ApplicationType.AMC_ONBOARDING.name,
|
||||||
|
ApplicationType.AMC_CHANGE_BANK.name -> {
|
||||||
ModuleNameV2.AMC
|
ModuleNameV2.AMC
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ enum class ApplicationType {
|
|||||||
COINS,
|
COINS,
|
||||||
HPC,
|
HPC,
|
||||||
AMC_ONBOARDING,
|
AMC_ONBOARDING,
|
||||||
|
AMC_CHANGE_BANK,
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class PublishEventName {
|
enum class PublishEventName {
|
||||||
|
|||||||
Reference in New Issue
Block a user