Skip to content

Commit

Permalink
Merge pull request #4 from CluedIn-io/develop
Browse files Browse the repository at this point in the history
Merge Develop into Master
  • Loading branch information
dervalp authored Dec 11, 2019
2 parents a347997 + 937f0c0 commit cdd7f16
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 11 deletions.
4 changes: 0 additions & 4 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,4 @@

</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />
</ItemGroup>

</Project>
2 changes: 2 additions & 0 deletions docs/0.1.0-release-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
### Features
Initial release
14 changes: 9 additions & 5 deletions src/ExternalSearch.Providers.PermId.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,19 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="CluedIn.ExternalSearch" Version="2.4.0-alpha0100" />
<None Remove="Resources\permid.jpg" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\permid.jpg" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CluedIn.ExternalSearch" Version="2.5.2" />
<PackageReference Include="domainname-parser" Version="999.1.15" />
<PackageReference Include="EntityFramework" Version="6.1.2" />
<PackageReference Include="Microsoft.Net.Http" Version="2.2.29" />
Expand All @@ -30,10 +37,7 @@
<Reference Include="System.Net.Http" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CluedIn.ExternalSearch">
<Version>2.4.0-alpha0089</Version>
</PackageReference>
<PackageReference Include="MediaToolkit">
<PackageReference Include="MediaToolkit">
<Version>1.1.0.1</Version>
</PackageReference>
<PackageReference Include="SerilogAnalyzer">
Expand Down
15 changes: 13 additions & 2 deletions src/PermIdExternalSearchProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,20 @@
using CluedIn.Core;
using CluedIn.Core.Data;
using CluedIn.Core.Data.Parts;
using CluedIn.Core.Data.Relational;
using CluedIn.ExternalSearch.Filters;
using CluedIn.ExternalSearch.Providers.PermId.Models;
using CluedIn.Core.ExternalSearch;
using CluedIn.Core.Providers;
using CluedIn.Crawling.Helpers;
using CluedIn.ExternalSearch.Providers.PermId.Vocabularies;
using EntityType = CluedIn.Core.Data.EntityType;

namespace CluedIn.ExternalSearch.Providers.PermId
{
/// <summary>The permid graph external search provider.</summary>
/// <seealso cref="CluedIn.ExternalSearch.ExternalSearchProviderBase" />
public class PermIdExternalSearchProvider : ExternalSearchProviderBase
public class PermIdExternalSearchProvider : ExternalSearchProviderBase, IExtendedEnricherMetadata
{
/**********************************************************************************************************
* CONSTRUCTORS
Expand Down Expand Up @@ -351,5 +354,13 @@ private void PopulatePersonMetadata(IEntityMetadata metadata, AssociatedPerson p
if (!string.IsNullOrEmpty(person.PersonUrl?.FirstOrDefault()))
metadata.Uri = new Uri(string.Format("https://permid.org/1-{0}", person.PersonUrl.First()));
}

public string Icon { get; } = "Resources.permid.jpg";
public string Domain { get; } = "https://permid.org/";
public string About { get; } = "PermID is enricher using permanent and universal identifiers where underlying attributes capture the context of the identity they each represent";
public AuthMethods AuthMethods { get; } = null;
public IEnumerable<Control> Properties { get; } = null;
public Guide Guide { get; } = null;
public IntegrationType Type { get; } = IntegrationType.Cloud;
}
}
}
Binary file added src/Resources/cluedin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Resources/permid.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cdd7f16

Please sign in to comment.