Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve logs v3 #189

Merged
merged 17 commits into from
Feb 10, 2023
6 changes: 3 additions & 3 deletions ifrs17-template/Export/MapTemplate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
"\n .GroupofContractConfiguration<GroupOfReinsuranceContract>(typeof(ReinsurancePortfolio))",
"\n .GroupofContractConfiguration<GroupOfInsuranceContract>(typeof(InsurancePortfolio))",
"\n .MainTabConfiguration(partition)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()"
],
"metadata": {},
Expand Down Expand Up @@ -241,7 +241,7 @@
"\n .StateEnumConfiguration() ",
"\n .DataNodeStateConfiguration(dataNodeStates)",
"\n .MainTabConfiguration(partition)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()"
],
"metadata": {},
Expand Down Expand Up @@ -328,7 +328,7 @@
"\n .WithSource(Workspace)",
"\n .DataNodeParameterConfiguration(dataNodeParameters)",
"\n .MainTabConfiguration(partition)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()"
],
"metadata": {},
Expand Down
4 changes: 2 additions & 2 deletions ifrs17-template/Import/CloseImportTemplate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"await Import.FromFile(pathToFile)",
"\n .WithFormat(format)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()"
],
"metadata": {},
Expand Down Expand Up @@ -170,7 +170,7 @@
"await Import.FromFile(pathToFile)",
"\n .WithFormat(format)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()"
],
"metadata": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"await Import.FromFile(\"../Files/DataNodes/DataNodes_CH.csv\")",
"\n .WithFormat(ImportFormats.DataNode)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()"
],
"metadata": {},
Expand All @@ -93,7 +93,7 @@
"await Import.FromFile(\"../Files/DataNodes/DataNodeStates_CH_2020_12.csv\")",
"\n .WithFormat(ImportFormats.DataNodeState)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()"
],
"metadata": {},
Expand All @@ -106,7 +106,7 @@
"await Import.FromFile(\"../Files/DataNodes/DataNodeParameters_CH_2020_12.csv\")",
"\n .WithFormat(ImportFormats.DataNodeParameter)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()"
],
"metadata": {},
Expand Down
26 changes: 13 additions & 13 deletions ifrs17-template/Initialization/InitSystemorphRefDataToMemory.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"\n .WithType<Scenario>()",
"\n .WithType<ProjectionConfiguration>()",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()"
],
"metadata": {},
Expand All @@ -131,7 +131,7 @@
"await Import.FromFile(\"../Files/Dimensions.csv\")",
"\n .WithFormat(ImportFormats.AocConfiguration)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()"
],
"metadata": {},
Expand All @@ -144,7 +144,7 @@
"await Import.FromFile(\"../Files/ReportingNodes/ReportingNodes.csv\")",
"\n .WithType<ReportingNode>()",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()"
],
"metadata": {},
Expand All @@ -166,42 +166,42 @@
"var log = await Import.FromFile(\"../Files/Parameters/YieldCurve_2019_12.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync();",
"\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2020_1.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()",
"\n );",
"\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2020_3.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()",
"\n );",
"\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2020_12.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()",
"\n );",
"\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2021_3.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()",
"\n );",
"\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2021_6.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()",
"\n );",
"\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2021_12.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync());",
"\nlog"
],
Expand All @@ -215,7 +215,7 @@
"await Import.FromFile(\"../Files/Parameters/ExchangeRate.csv\")",
"\n .WithType<ExchangeRate>()",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()"
],
"metadata": {},
Expand All @@ -228,7 +228,7 @@
"await Import.FromFile(\"../Files/Parameters/PartnerRating.csv\")",
"\n .WithType<PartnerRating>()",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()"
],
"metadata": {},
Expand All @@ -241,7 +241,7 @@
"await Import.FromFile(\"../Files/Parameters/CreditDefaultRate.csv\")",
"\n .WithType<CreditDefaultRate>()",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog(Session, DataSource, DataSetReader)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()"
],
"metadata": {},
Expand Down
Loading