Skip to content

Commit

Permalink
Merge pull request #39 from nsip/release-17
Browse files Browse the repository at this point in the history
Corrected the SIF AU 3.4.6 Data Model
  • Loading branch information
rafidzal authored May 27, 2020
2 parents a023c61 + 897e8c2 commit cb44aff
Show file tree
Hide file tree
Showing 18 changed files with 4,082 additions and 4,283 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,11 @@
</ItemGroup>
<ItemGroup>
<Compile Include="ConsumerApp.cs" />
<Compile Include="Consumers\FinancialQuestionnaireSubmissionConsumer.cs" />
<Compile Include="Consumers\StudentPersonalConsumer.cs" />
<Compile Include="Consumers\StudentPersonalEventConsumer.cs" />
<Compile Include="Consumers\StudentSchoolEnrollmentConsumer.cs" />
<Compile Include="EnrollmentConsumerApp.cs" />
<Compile Include="EventConsumerApp.cs" />
<Compile Include="FinancialQuestionnaireSubmissionConsumerApp.cs" />
<Compile Include="Models\FinancialQuestionnaireSubmission.cs" />
<Compile Include="Models\StudentPersonal.cs" />
<Compile Include="Models\StudentSchoolEnrollment.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
Expand All @@ -77,7 +74,7 @@
<Version>3.2.1.13</Version>
</PackageReference>
<PackageReference Include="Sif.Specification.DataModel.Au">
<Version>3.4.6</Version>
<Version>3.4.6.1</Version>
</PackageReference>
<PackageReference Include="slf4net.log4net">
<Version>0.1.32.1</Version>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ protected void Application_Start()

// XML Serialisation: For each SIF Data Model Object used by each SIF Provider, the following entries are
// required to define the root element for each collection object.
XmlRootAttribute submissionsXmlRootAttribute = new XmlRootAttribute("FinancialQuestionnaireSubmissions") { Namespace = SettingsManager.ProviderSettings.DataModelNamespace, IsNullable = false };
ISerialiser<List<FinancialQuestionnaireSubmission>> submissionsSerialiser = SerialiserFactory.GetXmlSerialiser<List<FinancialQuestionnaireSubmission>>(submissionsXmlRootAttribute);
xmlFormatter.SetSerializer<List<FinancialQuestionnaireSubmission>>((XmlSerializer)submissionsSerialiser);

XmlRootAttribute schoolInfosXmlRootAttribute = new XmlRootAttribute("SchoolInfos") { Namespace = SettingsManager.ProviderSettings.DataModelNamespace, IsNullable = false };
ISerialiser<List<SchoolInfo>> schoolInfosSerialiser = SerialiserFactory.GetXmlSerialiser<List<SchoolInfo>>(schoolInfosXmlRootAttribute);
xmlFormatter.SetSerializer<List<SchoolInfo>>((XmlSerializer)schoolInfosSerialiser);
Expand All @@ -56,7 +52,6 @@ protected void Application_Start()
UseXmlSerializer = true
};
xmlToJsonFormatter.AddUriPathExtensionMapping("json", "application/json");
xmlToJsonFormatter.SetSerializer<List<FinancialQuestionnaireSubmission>>((XmlSerializer)submissionsSerialiser);
xmlToJsonFormatter.SetSerializer<List<SchoolInfo>>((XmlSerializer)schoolInfosSerialiser);
xmlToJsonFormatter.SetSerializer<List<StudentPersonal>>((XmlSerializer)studentPersonalsSerialiser);
xmlToJsonFormatter.SetSerializer<List<StudentSchoolEnrollment>>((XmlSerializer)studentSchoolEnrollmentsSerialiser);
Expand Down

This file was deleted.

Loading

0 comments on commit cb44aff

Please sign in to comment.