Browse Source

Rename globalVars to global-vars

master
parent
commit
7175c9586c
  1. 2
      src/main/java/eu/dnetlib/uoaauthorizationlibrary/configuration/GlobalVars.java
  2. 4
      src/main/resources/authorization.properties

2
src/main/java/eu/dnetlib/uoaauthorizationlibrary/configuration/GlobalVars.java

@ -4,7 +4,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.Date;
@ConfigurationProperties("authorization.globalVars")
@ConfigurationProperties("authorization.global-vars")
public class GlobalVars {
public static Date date = new Date();
private Date buildDate;

4
src/main/resources/authorization.properties

@ -3,5 +3,5 @@ spring.session.store-type=none
authorization.security.userInfoUrl=
authorization.security.domain=di.uoa.gr
authorization.security.session=openAIRESession
authorization.globalVars.buildDate=@timestampAuthorizationLibrary@
authorization.globalVars.version=@project.version@
authorization.global-vars.buildDate=@timestampAuthorizationLibrary@
authorization.global-vars.version=@project.version@

Loading…
Cancel
Save