-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #488 from Strongminds/master
12.1.4.1
- Loading branch information
Showing
94 changed files
with
9,230 additions
and
5,225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
|
||
namespace Infrastructure.DataAccess.Tools | ||
{ | ||
public class ConnectionStringTools | ||
{ | ||
public static string GetConnectionString(string dbName) | ||
{ | ||
var connectionString = System.Configuration.ConfigurationManager.ConnectionStrings[dbName]?.ConnectionString ?? dbName; | ||
if (!connectionString.StartsWith("base64:")) | ||
return connectionString; | ||
|
||
var base64EncodedString = connectionString.Substring("base64:".Length); | ||
var base64EncodedBytes = Convert.FromBase64String(base64EncodedString); | ||
connectionString = System.Text.Encoding.UTF8.GetString(base64EncodedBytes); | ||
return connectionString; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
Infrastructure.STS.OrganizationSystem/Connected Services/OrganisationSystem/Adresse.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<schema xmlns:sts="urn:oio:sts:1.1.3.0" xmlns:sd="urn:oio:sagdok:3.0.0" xmlns:adresse="urn:oio:sts:organisation:adresse:1.1.3.0" xmlns:oio="urn:oio:definitions:1.0.0" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="urn:oio:sts:organisation:adresse:1.1.3.0" oio:mapping="urn:oio:sagdok:MPD:3.0.0" xmlns="http://www.w3.org/2001/XMLSchema"> | ||
<import schemaLocation="../common/SagDokObjekt.xsd" namespace="urn:oio:sagdok:3.0.0" /> | ||
<import schemaLocation="GenerelleDefinitioner.xsd" namespace="urn:oio:sts:1.1.3.0" /> | ||
<element oio:definition="urn:oio:sagdok:adresse:ADD:2.0.0" name="Adresse" type="adresse:AdresseType" /> | ||
<complexType oio:definition="urn:oio:sagdok:adresse:ADD:2.0.0" name="AdresseType"> | ||
<complexContent mixed="false"> | ||
<extension base="sd:SagDokObjektType"> | ||
<sequence> | ||
<element oio:content="registreringer" maxOccurs="unbounded" ref="adresse:Registrering" /> | ||
</sequence> | ||
</extension> | ||
</complexContent> | ||
</complexType> | ||
<element oio:definition="urn:oio:sagdok:adresseattributliste:ADD:2.0.0" name="AttributListe" type="adresse:AttributListeType" /> | ||
<complexType oio:definition="urn:oio:sagdok:adresseattributliste:ADD:2.0.0" name="AttributListeType"> | ||
<sequence> | ||
<element oio:content="egenskaber" minOccurs="0" maxOccurs="unbounded" ref="adresse:Egenskab" /> | ||
</sequence> | ||
</complexType> | ||
<element oio:definition="urn:oio:sagdok:adressetilstandliste:ADD:2.0.0" name="TilstandListe" type="adresse:TilstandListeType" /> | ||
<complexType oio:definition="urn:oio:sagdok:adressetilstandliste:ADD:2.0.0" name="TilstandListeType"> | ||
<sequence /> | ||
</complexType> | ||
<element oio:definition="urn:oio:sagdok:adresserelationliste:ADD:2.0.0" name="RelationListe" type="adresse:RelationListeType" /> | ||
<complexType oio:definition="urn:oio:sagdok:adresserelationliste:ADD:2.0.0" name="RelationListeType"> | ||
<sequence /> | ||
</complexType> | ||
<element oio:definition="urn:oio:sagdok:adresseregistrering:ADD:2.0.0" name="Registrering" type="adresse:RegistreringType" /> | ||
<complexType oio:definition="urn:oio:sagdok:adresseregistrering:ADD:2.0.0" name="RegistreringType"> | ||
<complexContent mixed="false"> | ||
<extension base="sd:RegistreringType"> | ||
<sequence> | ||
<element oio:content="attributter" ref="adresse:AttributListe" /> | ||
<element oio:content="tilstande" ref="adresse:TilstandListe" /> | ||
<element oio:content="relationer" ref="adresse:RelationListe" /> | ||
</sequence> | ||
</extension> | ||
</complexContent> | ||
</complexType> | ||
<element oio:definition="urn:oio:sagdok:adresseegenskaber:ADD:1.0.0" name="Egenskab" type="adresse:EgenskabType" /> | ||
<complexType oio:definition="urn:oio:sagdok:adresseegenskaber:ADD:1.0.0" name="EgenskabType"> | ||
<sequence> | ||
<element oio:content="virkning" minOccurs="0" ref="sd:Virkning" /> | ||
<element oio:content="brugervendtnoegle" minOccurs="0" ref="sd:BrugervendtNoegleTekst" /> | ||
<element oio:content="adresse" minOccurs="0" ref="sts:AdresseTekst" /> | ||
</sequence> | ||
</complexType> | ||
</schema> |
Oops, something went wrong.