package com.ofg.config

import groovy.transform.CompileStatic

/**
 * 4finance default Spring profiles
 */
@CompileStatic
class BasicProfiles {

    public static final String DEVELOPMENT = 'dev'

    public static final String PRODUCTION = 'prod'

    public static final String TEST = 'test'

    public static List<String> all() {
        return [DEVELOPMENT, PRODUCTION, TEST]
    }
}
package com.ofg.config

import groovy.transform.CompileStatic

/**
 * 4finance default Spring profiles
 */
@CompileStatic
class BasicProfiles {

    /**
     * Profile used for development. Starts Zookeeper and stubs.
     */
    public static final String DEVELOPMENT = 'dev'

    /**
     * Profile used for any environment to run microservice in production mode.
     */
    public static final String PRODUCTION = 'prod'

    /**
     * Profile used for integration and unit tests
     */
    public static final String TEST = 'test'

    /**
     * Third party services should be mocked in smokeTests profile to guarantee pipeline stability
     */
    public static final String SMOKE_TESTS = 'smokeTests'

    public static List<String> all() {
        return [DEVELOPMENT, PRODUCTION, TEST, SMOKE_TESTS]
    }
}
Add smokeTests profile to mock third party services.
Add smokeTests profile to mock third party services.
