Class NoopRoleService

    • Constructor Summary

      Constructors 
      Constructor Description
      NoopRoleService()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String createTenantPolicy​(com.yahoo.config.provision.TenantName tenant, java.lang.String policyName, java.lang.String awsId, java.lang.String role)  
      java.util.Optional<TenantRoles> createTenantRole​(Tenant tenant)  
      void deleteTenantPolicy​(com.yahoo.config.provision.TenantName tenant, java.lang.String policyName, java.lang.String role)  
      void deleteTenantRole​(com.yahoo.config.provision.TenantName tenant)  
      TenantRoles getTenantRole​(com.yahoo.config.provision.TenantName tenant)
      Retrieve the names of the tenant roles (host and container).
      void maintainRoles​(java.util.List<com.yahoo.config.provision.TenantName> tenants)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoopRoleService

        public NoopRoleService()
    • Method Detail

      • getTenantRole

        public TenantRoles getTenantRole​(com.yahoo.config.provision.TenantName tenant)
        Description copied from interface: RoleService
        Retrieve the names of the tenant roles (host and container). Does not guarantee these roles exist
        Specified by:
        getTenantRole in interface RoleService
      • deleteTenantRole

        public void deleteTenantRole​(com.yahoo.config.provision.TenantName tenant)
        Specified by:
        deleteTenantRole in interface RoleService
      • createTenantPolicy

        public java.lang.String createTenantPolicy​(com.yahoo.config.provision.TenantName tenant,
                                                   java.lang.String policyName,
                                                   java.lang.String awsId,
                                                   java.lang.String role)
        Specified by:
        createTenantPolicy in interface RoleService
      • deleteTenantPolicy

        public void deleteTenantPolicy​(com.yahoo.config.provision.TenantName tenant,
                                       java.lang.String policyName,
                                       java.lang.String role)
        Specified by:
        deleteTenantPolicy in interface RoleService
      • maintainRoles

        public void maintainRoles​(java.util.List<com.yahoo.config.provision.TenantName> tenants)
        Specified by:
        maintainRoles in interface RoleService