ORE Studio 0.0.4
Loading...
Searching...
No Matches
Classes | Public Types | Signals | Public Member Functions | List of all members
TenantProvisioningWizard Class Referencefinal

Wizard for first-time tenant setup after provisioning. More...

#include <TenantProvisioningWizard.hpp>

Inherits QWizard.

Collaboration diagram for TenantProvisioningWizard:
Collaboration graph

Classes

struct  ReportSpec
 Specification for an initial report definition to create during provisioning. More...
 

Public Types

enum  PageId {
  Page_Welcome , Page_BundleSelection , Page_BundleInstall , Page_DataSourceSelection ,
  Page_PartySetup , Page_CounterpartySetup , Page_OrganisationSetup , Page_ReportSetup ,
  Page_ReportInstall , Page_Summary
}
 
enum class  DataSourceMode { gleif , synthetic }
 

Signals

void provisioningCompleted ()
 

Public Member Functions

 TenantProvisioningWizard (ClientManager *clientManager, QWidget *parent=nullptr)
 
ClientManagerclientManager () const
 
QString selectedBundleCode () const
 
void setSelectedBundleCode (const QString &code)
 
QString selectedBundleName () const
 
void setSelectedBundleName (const QString &name)
 
QString rootLei () const
 
void setRootLei (const QString &lei)
 
QString rootLeiName () const
 
void setRootLeiName (const QString &name)
 
QString leiDatasetSize () const
 
void setLeiDatasetSize (const QString &size)
 
bool organisationPublished () const
 
void setOrganisationPublished (bool v)
 
DataSourceMode dataSourceMode () const
 
void setDataSourceMode (DataSourceMode m)
 
QString syntheticCountry () const
 
void setSyntheticCountry (const QString &c)
 
int syntheticPartyCount () const
 
void setSyntheticPartyCount (int c)
 
int syntheticPartyMaxDepth () const
 
void setSyntheticPartyMaxDepth (int d)
 
int syntheticCounterpartyCount () const
 
void setSyntheticCounterpartyCount (int c)
 
int syntheticCounterpartyMaxDepth () const
 
void setSyntheticCounterpartyMaxDepth (int d)
 
int syntheticPortfolioLeafCount () const
 
void setSyntheticPortfolioLeafCount (int c)
 
int syntheticPortfolioMaxDepth () const
 
void setSyntheticPortfolioMaxDepth (int d)
 
int syntheticBooksPerPortfolio () const
 
void setSyntheticBooksPerPortfolio (int c)
 
int syntheticBusinessUnitCount () const
 
void setSyntheticBusinessUnitCount (int c)
 
int syntheticBusinessUnitMaxDepth () const
 
void setSyntheticBusinessUnitMaxDepth (int d)
 
bool syntheticGenerateAddresses () const
 
void setSyntheticGenerateAddresses (bool v)
 
int syntheticContactsPerParty () const
 
void setSyntheticContactsPerParty (int c)
 
int syntheticContactsPerCounterparty () const
 
void setSyntheticContactsPerCounterparty (int c)
 
bool syntheticGenerateIdentifiers () const
 
void setSyntheticGenerateIdentifiers (bool v)
 
std::optional< std::uint64_t > syntheticSeed () const
 
void setSyntheticSeed (std::optional< std::uint64_t > s)
 
std::vector< ReportSpecselectedReports () const
 
void setSelectedReports (std::vector< ReportSpec > r)
 
void clearBootstrapFlag ()
 Clears the system.bootstrap_mode flag for the current tenant.
 

Detailed Description

Wizard for first-time tenant setup after provisioning.

Guides a tenant admin through initial setup:

  1. Welcome - explains the setup process
  2. Bundle Selection - choose a reference data bundle to publish
  3. Bundle Install - publish the selected bundle
  4. Data Source - choose between GLEIF registry and synthetic data
  5. Party Setup - (GLEIF only) select a root LEI entity
  6. Counterparty Setup - (GLEIF only) informational placeholder
  7. Organisation Setup - populate parties, counterparties, and org structure
  8. Report Setup - select initial report definitions to create
  9. Report Install - create the selected report definitions
  10. Summary - clear bootstrap flag and show results

This wizard appears automatically on first login to a tenant that is in bootstrap mode. It clears the bootstrap flag on completion or cancel.