repeats: 'weekly'
time: '14:00 UTC'
repositories:
- - 'aaf-authz'
- - 'aaf/cadi'
- - 'aaf/luaplugin'
- - 'aaf/oom'
- - 'aaf/sms'
- - 'aaf/sshsm'
+ - 'aaf/authz'
committers:
- <<: *onap_aaf_ptl
- name: 'Kiran Kamineni'
company: 'ATT'
id: 'sg481n'
timezone: 'America/Dallas'
- - name: 'Girish Havaldar'
- email: 'hg0071052@techmahindra.com'
- company: 'Techmahindra'
- id: 'giri'
- timezone: 'India/Bangalore'
- - name: 'Huabing Zhao'
- email: 'zhaohuabing@gmail.com'
- company: 'ZTE'
- id: 'Huabing_Zhao'
- timezone: 'China/Chengdu'
tsc:
approval: 'https://lists.onap.org/pipermail/onap-tsc'
return;
}
// Just let expired UserRoles sit until deleted
- if(futureRange.inRange(ur.expires())) {
- if(!mur.containsKey(ur.user() + '|' + ur.role())) {
+ if(futureRange.inRange(ur.expires())&&(!mur.containsKey(ur.user() + '|' + ur.role()))) {
// Cannot just delete owners, unless there is at least one left. Process later
if ("owner".equals(ur.rname())) {
Set<UserRole> urs = owners.get(ur.role());
}
}
}
- }
- }
+ }
} catch (OrganizationException e) {
noAvg.error().log(e);
}
Pending p;
tt = trans.start("Notify for Pending", Trans.SUB);
- List<String> idList = new ArrayList<String>();
+ List<String> idList = new ArrayList<>();
String id;
try {
for(Entry<String, Pending> es : mpending.entrySet()) {
return org;
}
- public static Organization get(AuthzTrans trans) throws OrganizationException {
+ public static Organization get(AuthzTrans trans){
String domain = FQI.reverseDomain(trans.user());
Organization org = orgs.get(domain);
if (org==null) {
return type.y.y.add(new Pair<String,Object>(tag,"version".equals(tag)?new Version(value):value));
}
- public Pair<String, Pair<HttpCode<TRANS, ?>, List<Pair<String, Object>>>> prep(TRANS trans, String compare) throws IOException, ServletException {
+ public Pair<String, Pair<HttpCode<TRANS, ?>, List<Pair<String, Object>>>> prep(TRANS trans, String compare){
Pair<String, Pair<HttpCode<TRANS,?>, List<Pair<String, Object>>>> c,rv=null;
if (types.size()==1 && "".equals((c=types.get(0)).x)) { // if there are no checks for type, skip
rv = c;
public class AAF_FS extends AbsService<AuthzEnv, AuthzTrans> {
- public AAF_FS(final AuthzEnv env) throws APIException, IOException, CadiException {
+ public AAF_FS(final AuthzEnv env) throws IOException, CadiException {
super(env.access(),env);
try {
///////////////////////
* @param facade
* @throws Exception
*/
- public static void init(final AAF_Hello oauthHello) throws Exception {
+ public static void init(final AAF_Hello oauthHello){
////////
// Simple "GET" API
///////
// Add other Supported APIs here as created
}
- public void routeAll(HttpMethods meth, String path, API api, LocateCode code) throws Exception {
+ public void routeAll(HttpMethods meth, String path, API api, LocateCode code){
route(env,meth,path,code,""); // this will always match
}
private ConfigDAO configDAO;
private boolean permToRegister;
- public LocateServiceImpl(AuthzTrans trans, AAF_Locate locate, Mapper<IN,OUT,Endpoints,MgmtEndpoints,Configuration,ERROR> mapper) throws APIException {
+ public LocateServiceImpl(AuthzTrans trans, AAF_Locate locate, Mapper<IN,OUT,Endpoints,MgmtEndpoints,Configuration,ERROR> mapper){
this.mapper = mapper;
this.locateDAO = locate.locateDAO;
this.configDAO = locate.configDAO;