Skip to content

Commit

Permalink
Added Soulsby identifiers, and upgraded all projects in BHL solution …
Browse files Browse the repository at this point in the history
…to .NET 4.5
  • Loading branch information
mlichtenberg committed Jan 27, 2017
1 parent 13408de commit e4f0b31
Show file tree
Hide file tree
Showing 28 changed files with 151 additions and 48 deletions.
2 changes: 2 additions & 0 deletions BHLApi/Api2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ public CustomGenericList<Title> GetTitleByIdentifier(string identifierType, stri
case "nal":
case "nlm":
case "coden":
case "soulsby":
{
if (identifierType.ToLower() == "lccn") identifierType = "dlc";

Expand Down Expand Up @@ -506,6 +507,7 @@ public CustomGenericList<Part> GetSegmentByIdentifier(string identifierType, str
case "nlm":
case "coden":
case "biostor":
case "soulsby":
{
if (identifierType.ToLower() == "lccn") identifierType = "dlc";

Expand Down
4 changes: 3 additions & 1 deletion BHLApi/BHLApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>MOBOT.BHL.API.BHLApi</RootNamespace>
<AssemblyName>MOBOT.BHL.API.BHLApi</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SccProjectName>
</SccProjectName>
Expand All @@ -34,6 +34,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -42,6 +43,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
5 changes: 4 additions & 1 deletion BHLApiDALTest/BHLApiDALTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BHLApiDALTest</RootNamespace>
<AssemblyName>BHLApiDALTest</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SccProjectName>
Expand All @@ -22,6 +22,7 @@
</SccAuxPath>
<SccProvider>
</SccProvider>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -31,6 +32,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -39,6 +41,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
Expand Down
4 changes: 3 additions & 1 deletion BHLApiDataObjects2/BHLApiDataObjects2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>MOBOT.BHL.API.BHLApiDataObjects2</RootNamespace>
<AssemblyName>MOBOT.BHL.API.BHLApiDataObjects2</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SccProjectName>
</SccProjectName>
Expand All @@ -34,6 +34,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -42,6 +43,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
5 changes: 4 additions & 1 deletion BHLCoreDALTest/BHLCoreDALTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BHLCoreDALTest</RootNamespace>
<AssemblyName>BHLCoreDALTest</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SccProjectName>
Expand All @@ -22,6 +22,7 @@
</SccAuxPath>
<SccProvider>
</SccProvider>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -31,6 +32,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -39,6 +41,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
Expand Down
4 changes: 3 additions & 1 deletion BHLCoredAL/BHLCoreDAL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<IsWebBootstrapper>true</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand All @@ -51,6 +51,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -59,6 +60,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
4 changes: 3 additions & 1 deletion BHLDataObjects/BHLDataObjects.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<IsWebBootstrapper>true</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand All @@ -51,6 +51,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -59,6 +60,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
5 changes: 4 additions & 1 deletion BHLFileAccess/BHLFileAccess.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</UpgradeBackupLocation>
<OldToolsVersion>3.5</OldToolsVersion>
<IsWebBootstrapper>true</IsWebBootstrapper>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<PublishUrl>http://localhost/MOBOT.FileAccess/</PublishUrl>
<Install>true</Install>
<InstallFrom>Web</InstallFrom>
Expand All @@ -41,6 +41,7 @@
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -51,6 +52,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -60,6 +62,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</UpgradeBackupLocation>
<OldToolsVersion>3.5</OldToolsVersion>
<IsWebBootstrapper>true</IsWebBootstrapper>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<PublishUrl>http://localhost/MOBOT.FileAccess.RemotingUtilities/</PublishUrl>
<Install>true</Install>
<InstallFrom>Web</InstallFrom>
Expand All @@ -41,6 +41,7 @@
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -51,6 +52,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -60,6 +62,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
4 changes: 3 additions & 1 deletion BHLOpenUrlProvider/BHLOpenUrlProvider.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>MOBOT.BHL.OpenUrlProvider</RootNamespace>
<AssemblyName>MOBOT.BHL.OpenUrlProvider</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SccProjectName>
</SccProjectName>
Expand All @@ -34,6 +34,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -42,6 +43,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
4 changes: 3 additions & 1 deletion BHLServer/BHLServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<IsWebBootstrapper>true</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand All @@ -51,6 +51,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -59,6 +60,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
Expand Down
1 change: 0 additions & 1 deletion BHLUSWeb2/Global.asax.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace MOBOT.BHL.Web2
{
public class Global : System.Web.HttpApplication
{

protected void Application_Start(object sender, EventArgs e)
{
// Code that runs on application startup
Expand Down
9 changes: 6 additions & 3 deletions BHLUSWeb2/api2/docs/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<p><i><b>GetPartByIdentifier</b></i></p>
<p> Find and return metadata about a part or parts that match a specific identifier.</p>
<p> Example - <a href="/api2/docs/GetPartByIdentifier.xml" title="GetPartByIdentifier">http://www.biodiversitylibrary.org/api2/httpquery.ashx?op=GetPartByIdentifier&amp;type=doi&amp;value=10.4039/Ent38406-12&amp;apikey=&lt;key+value&gt;</a></p>
<p> type - the type of identifier (doi, oclc, issn, isbn, lccn, ddc, nal, nlm, coden)<br /> value - the identifier value</p>
<p> type - the type of identifier (doi, oclc, issn, isbn, lccn, ddc, nal, nlm, coden, soulsby)<br /> value - the identifier value</p>
<p><i><b>GetPartBibTex</b></i></p>
<p> Return a citation for a part, using the BibTeX format.</p>
<p> Example - <a href="/api2/docs/GetPartBibTeX.xml" title="GetPartBibTeX">http://www.biodiversitylibrary.org/api2/httpquery.ashx?op=GetPartBibTex&amp;partid=1000&amp;apikey=&lt;key+value&gt;</a></p>
Expand All @@ -92,7 +92,7 @@
<p><i><b>GetTitleByIdentifier</b></i></p>
<p> Find and return metadata about a title or titles that match a specific identifier.</p>
<p> Example - <a href="/api2/docs/GetTitleByIdentifier.xml" title="GetTitleByIdentifier">http://www.biodiversitylibrary.org/api2/httpquery.ashx?op=GetTitleByIdentifier&amp;type=oclc&amp;value=2992225&amp;apikey=&lt;key+value&gt;</a></p>
<p> type - the type of identifier (doi, oclc, issn, isbn, lccn, ddc, nal, nlm, coden)<br /> value - the identifier value</p>
<p> type - the type of identifier (doi, oclc, issn, isbn, lccn, ddc, nal, nlm, coden, soulsby)<br /> value - the identifier value</p>
<p><i><b>TitleSearchSimple</b></i></p>
<p> Perform a simple title search. The full title (as specified in MARC 245a and MARC 245b library records) is searched for the specified string. Basic metadata for all full and partial matches is returned.</p>
<p> Example - <a href="/api2/docs/TitleSearchSimple.xml" title="TitleSearchSimple">http://www.biodiversitylibrary.org/api2/httpquery.ashx?op=TitleSearchSimple&amp;title=nematocerous&amp;apikey=&lt;key+value&gt;</a></p>
Expand Down Expand Up @@ -362,7 +362,8 @@
ddc<br />
nal<br />
nlm<br />
coden</td>
coden<br />
soulsby</td>
<td>NA</td>
</tr>
<tr>
Expand Down Expand Up @@ -852,6 +853,8 @@
<br />
<hr />
<p><b>*** RELEASE NOTES ***</b></p>
<p>January 25 2017 - version 2.7.3</p>
<p><ul><li>Enhancement: Added "soulsby" as a valid identifier type parameter for the GetTitleByIdentifier and GetPartByIdentifier methods.</li></ul></p>
<p>September 8, 2016 - version 2.7.2</p>
<p><ul><li>Enhancement: Added Item/CopySpecificInformation element.</li></ul></p>
<p>July 26, 2016 - version 2.7.1</p>
Expand Down
10 changes: 8 additions & 2 deletions BHLUSWeb2/api2/docs/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ GetPartByIdentifier:

Example - http://www.biodiversitylibrary.org/api2/httpquery.ashx?op=GetPartByIdentifier&type=doi&value=10.4039/Ent38406-12&apikey=<key value>

type - the type of identifier (doi, oclc, issn, isbn, lccn, ddc, nal, nlm, coden, biostor)
type - the type of identifier (doi, oclc, issn, isbn, lccn, ddc, nal, nlm, coden, biostor, soulsby)
value - the identifier value

GetPartBibTex:
Expand Down Expand Up @@ -183,7 +183,7 @@ GetTitleByIdentifier:

Example - http://www.biodiversitylibrary.org/api2/httpquery.ashx?op=GetTitleByIdentifier&type=oclc&value=2992225&apikey=<key value>

type - the type of identifier (doi, oclc, issn, isbn, lccn, ddc, nal, nlm, coden)
type - the type of identifier (doi, oclc, issn, isbn, lccn, ddc, nal, nlm, coden, soulsby)
value - the identifier value

TitleSearchSimple:
Expand Down Expand Up @@ -510,6 +510,7 @@ TitleIdentifier/IdentifierName One of the following values, which identify the
nal
nlm
coden
soulsby
TitleIdentifier/IdentifierValue Value of an identifier assigned to the title Location depends on the type
of identifier:
035 (IdentifierName = oclc)
Expand Down Expand Up @@ -666,6 +667,11 @@ PartCount Number of Parts in BHL

*** RELEASE NOTES ***

January 25, 2017 - version 2.7.3

- Enhancement: Added "soulsby" as a valid identifier type parameter for the GetTitleByIdentifier and
GetPartByIdentifier methods.

September 8, 2016 - version 2.7.2

- Enhancement: Added Item/CopySpecificInformation element.
Expand Down
Loading

0 comments on commit e4f0b31

Please sign in to comment.