Externalize Portal SDK Title or Brand Name to the properties file.
Issue-ID: PORTAL-943
Change-Id: If8f10bd0316bbf2ba4cb5a08b58ae40e435b2a87
Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;
removeRoleFunction:'role/removeRoleFunction.htm?role_id=',
saveRole:'role/saveRole.htm?role_id=',
toggleProfileActive: 'profile/toggleProfileActive?profile_id=',
- isLogDisabled:'true'
+ isLogDisabled:'true',
+ brandName: "Portal SDK"
};
removeRoleFunction:'http://www.sdk.onap.org:8080/epsdk-app-os/role/removeRoleFunction.htm?role_id=',
saveRole:'http://www.sdk.onap.org:8080/epsdk-app-os/role/saveRole.htm?role_id=',
toggleProfileActive: 'http://www.sdk.onap.org:8080/epsdk-app-os/profile/toggleProfileActive?profile_id=',
- isLogDisabled:'false'
+ isLogDisabled:'false',
+ brandName: "Portal SDK"
};
/*
this.pushRightClass = 'push-right';
this.appName= 'Portal SDK' ;
+ if(environment.brandName && environment.brandName !=''){
+ this.appName = environment.brandName;
+ }
let result = this.headerService.getTopMenuItems();
result.subscribe(res => {
this.response = res;