Commit fd90c7a 1 parent f7da01e commit fd90c7a Copy full SHA for fd90c7a
File tree 1 file changed +2
-0
lines changed
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/util
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 3
3
package uk.gov.justice.digital.hmpps.hmppsintegrationapi.util
4
4
5
5
import org.springframework.beans.factory.config.YamlPropertiesFactoryBean
6
+ import org.springframework.context.annotation.Configuration
6
7
import org.springframework.core.env.PropertiesPropertySource
7
8
import org.springframework.core.env.PropertySource
8
9
import org.springframework.core.io.support.EncodedResource
9
10
import org.springframework.core.io.support.PropertySourceFactory
10
11
import java.io.IOException
11
12
import java.util.*
12
13
14
+ @Configuration
13
15
class YamlPropertySourceFactory : PropertySourceFactory {
14
16
override fun createPropertySource (
15
17
name : String? ,
You can’t perform that action at this time.
0 commit comments