Skip to content

Commit

Permalink
Removing the TefcaMetdata
Browse files Browse the repository at this point in the history
I previously mis-interpreted the TEFCA SOP for facilitated FHIR.  I thought there were new metadata items to server from Discovery but it is actually new client metadata.  The language is not explicit.  I did not unwind all the work to make Metadata extensible.  As this could be a requirement in the future.  But for now I wanted to clean this up.
  • Loading branch information
JoeShook committed Sep 17, 2024
1 parent b82cde5 commit 152ea7a
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 182 deletions.
18 changes: 0 additions & 18 deletions Udap.Tefca.Model/TefcaConstants.cs

This file was deleted.

115 changes: 0 additions & 115 deletions Udap.Tefca.Model/TefcaMetadata.cs

This file was deleted.

22 changes: 0 additions & 22 deletions Udap.Tefca.Model/TefcaMetadataOptions.cs

This file was deleted.

13 changes: 0 additions & 13 deletions Udap.Tefca.Model/Udap.Tefca.Model.csproj

This file was deleted.

8 changes: 0 additions & 8 deletions Udap.sln
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "mTLS.Proxy.Server", "exampl
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tefca.Proxy.Server", "examples\Tefca.Proxy.Server\Tefca.Proxy.Server.csproj", "{FDB5712F-2EB4-4A36-9DEF-955B3575024D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Udap.Tefca.Model", "Udap.Tefca.Model\Udap.Tefca.Model.csproj", "{4009D7A4-36A6-46E7-96A3-7C13A78065C3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -281,12 +279,6 @@ Global
{FDB5712F-2EB4-4A36-9DEF-955B3575024D}.FullDebug|Any CPU.Build.0 = Debug|Any CPU
{FDB5712F-2EB4-4A36-9DEF-955B3575024D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FDB5712F-2EB4-4A36-9DEF-955B3575024D}.Release|Any CPU.Build.0 = Release|Any CPU
{4009D7A4-36A6-46E7-96A3-7C13A78065C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4009D7A4-36A6-46E7-96A3-7C13A78065C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4009D7A4-36A6-46E7-96A3-7C13A78065C3}.FullDebug|Any CPU.ActiveCfg = Debug|Any CPU
{4009D7A4-36A6-46E7-96A3-7C13A78065C3}.FullDebug|Any CPU.Build.0 = Debug|Any CPU
{4009D7A4-36A6-46E7-96A3-7C13A78065C3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4009D7A4-36A6-46E7-96A3-7C13A78065C3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
5 changes: 2 additions & 3 deletions examples/Tefca.Proxy.Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
using Serilog.Templates.Themes;
using Tefca.Proxy.Server;
using Udap.Common;
using Udap.Tefca.Model;
using Udap.Smart.Model;
using Udap.Util.Extensions;
using Yarp.ReverseProxy.Transforms;
Expand Down Expand Up @@ -53,7 +52,7 @@
builder.Services.Configure<UdapFileCertStoreManifest>(builder.Configuration.GetSection(Constants.UDAP_FILE_STORE_MANIFEST));

builder.Services.AddSmartMetadata();
builder.Services.AddUdapMetadataServer<TefcaMetadataOptions, TefcaMetadata>(builder.Configuration);
builder.Services.AddUdapMetadataServer(builder.Configuration);
builder.Services.AddFusionCache()
.WithDefaultEntryOptions(new FusionCacheEntryOptions
{
Expand Down Expand Up @@ -179,7 +178,7 @@
app.MapReverseProxy();

app.UseSmartMetadata("fhir/r4");
app.UseUdapMetadataServer<TefcaMetadataOptions, TefcaMetadata>("fhir/r4"); // Ensure metadata can only be called from this base URL.
app.UseUdapMetadataServer("fhir/r4"); // Ensure metadata can only be called from this base URL.

app.Run();

Expand Down
1 change: 0 additions & 1 deletion examples/Tefca.Proxy.Server/Tefca.Proxy.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

<ItemGroup Condition="'$(GCPDeploy)' == '' OR '$(GCPDeploy)' != 'true' ">
<ProjectReference Include="../../Udap.Metadata.Server/Udap.Metadata.Server.csproj" />
<ProjectReference Include="../../Udap.Tefca.Model/Udap.Tefca.Model.csproj" />
<ProjectReference Include="../../Udap.Smart.Metadata/Udap.Smart.Metadata.csproj" />
<ProjectReference Include="../../Udap.Util/Udap.Util.csproj" />
</ItemGroup>
Expand Down
2 changes: 0 additions & 2 deletions examples/Tefca.Proxy.Server/appsettings.Development.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@
"UdapAuthorizationExtensionsRequired": [],
"UdapCertificationsSupported": [ "https://rce.sequoiaproject.org/udap/profiles/basic-app-certification" ],
"UdapCertificationsRequired": [ "https://rce.sequoiaproject.org/udap/profiles/basic-app-certification" ],
"CertificationName": "TEFCA Basic App Certification",
"CertificationUris": "https://rce.sequoiaproject.org/udap/profiles/basic-app-certification",
"ScopesSupported": [ "openid", "system/*.read", "user/*.read", "patient/*.read" ],

"UdapMetadataConfigs": [
Expand Down

0 comments on commit 152ea7a

Please sign in to comment.