Skip to content

Commit

Permalink
NOJIRA : ConsoleConfigRpc switch to spring Component instead of Confi…
Browse files Browse the repository at this point in the history
…guration
  • Loading branch information
kkovarik committed Jul 15, 2018
1 parent c432de4 commit fb781fa
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -18,9 +18,9 @@

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import org.openhubframework.openhub.common.OpenHubPropertyConstants;
import org.springframework.stereotype.Component;


/**
Expand All @@ -29,7 +29,7 @@
* @author Tomas Hanus
* @since 2.0
*/
@Configuration
@Component
// actually this object is autodetected via AOP and holds configuration, so we have to serializable only our properties
@JsonAutoDetect(
fieldVisibility = JsonAutoDetect.Visibility.NONE,
Expand Down

0 comments on commit fb781fa

Please sign in to comment.