Class TenantConsole

    • Constructor Detail

      • TenantConsole

        public TenantConsole()
    • Method Detail

      • tenantExist

        public boolean tenantExist()
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • tenantExist

        public boolean tenantExist​(java.lang.String scheme,
                                   java.lang.String server,
                                   int port,
                                   java.lang.String adminUserName,
                                   java.lang.String adminPassword)
                            throws java.lang.Exception
        Helper method that can be executed if TenantConsole is not initialized by @Autowired spring keyword
        Throws:
        java.lang.Exception
      • createTenant

        public boolean createTenant​(java.lang.String tenant,
                                    java.lang.String password)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createRandomTenant

        public UserModel createRandomTenant()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception