Skip to content

Commit af6ed39

Browse files
authored
8.1 Deployment (#108)
2 parents 2cd40e5 + ca6bd53 commit af6ed39

File tree

19 files changed

+64
-43
lines changed

19 files changed

+64
-43
lines changed

HTTP_Adapter/AdapterActions/Pull.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of the Buildings and Habitats object Model (BHoM)
3-
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
3+
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
44
*
55
* Each contributor holds copyright over their respective contributions.
66
* The project versioning (Git) records all such contribution source information.
@@ -118,3 +118,4 @@ public IEnumerable<object> Pull(object request, ActionConfig actionConfig)
118118

119119

120120

121+

HTTP_Adapter/AdapterActions/Push.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of the Buildings and Habitats object Model (BHoM)
3-
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
3+
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
44
*
55
* Each contributor holds copyright over their respective contributions.
66
* The project versioning (Git) records all such contribution source information.
@@ -48,3 +48,4 @@ public override List<object> Push(IEnumerable<object> objects,
4848

4949

5050

51+

HTTP_Adapter/HTTP_Adapter.csproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,43 +32,43 @@
3232
</PropertyGroup>
3333
<ItemGroup>
3434
<Reference Include="Adapter_Engine">
35-
<HintPath>C:\ProgramData\BHoM\Assemblies\Adapter_Engine.dll</HintPath>
35+
<HintPath>$(ProgramData)\BHoM\Assemblies\Adapter_Engine.dll</HintPath>
3636
<Private>False</Private>
3737
<SpecificVersion>False</SpecificVersion>
3838
</Reference>
3939
<Reference Include="Adapter_oM">
40-
<HintPath>C:\ProgramData\BHoM\Assemblies\Adapter_oM.dll</HintPath>
40+
<HintPath>$(ProgramData)\BHoM\Assemblies\Adapter_oM.dll</HintPath>
4141
<Private>False</Private>
4242
<SpecificVersion>False</SpecificVersion>
4343
</Reference>
4444
<Reference Include="BHoM">
45-
<HintPath>C:\ProgramData\BHoM\Assemblies\BHoM.dll</HintPath>
45+
<HintPath>$(ProgramData)\BHoM\Assemblies\BHoM.dll</HintPath>
4646
<Private>False</Private>
4747
<SpecificVersion>False</SpecificVersion>
4848
</Reference>
4949
<Reference Include="BHoM_Adapter">
50-
<HintPath>C:\ProgramData\BHoM\Assemblies\BHoM_Adapter.dll</HintPath>
50+
<HintPath>$(ProgramData)\BHoM\Assemblies\BHoM_Adapter.dll</HintPath>
5151
<Private>False</Private>
5252
<SpecificVersion>False</SpecificVersion>
5353
</Reference>
5454
<Reference Include="BHoM_Engine">
55-
<HintPath>C:\ProgramData\BHoM\Assemblies\BHoM_Engine.dll</HintPath>
55+
<HintPath>$(ProgramData)\BHoM\Assemblies\BHoM_Engine.dll</HintPath>
5656
<Private>False</Private>
5757
<SpecificVersion>False</SpecificVersion>
5858
</Reference>
5959
<Reference Include="Data_oM">
60-
<HintPath>C:\ProgramData\BHoM\Assemblies\Data_oM.dll</HintPath>
60+
<HintPath>$(ProgramData)\BHoM\Assemblies\Data_oM.dll</HintPath>
6161
<Private>False</Private>
6262
<SpecificVersion>False</SpecificVersion>
6363
</Reference>
6464
<Reference Include="Reflection_Engine">
65-
<HintPath>C:\ProgramData\BHoM\Assemblies\Reflection_Engine.dll</HintPath>
65+
<HintPath>$(ProgramData)\BHoM\Assemblies\Reflection_Engine.dll</HintPath>
6666
<Private>False</Private>
6767
<SpecificVersion>False</SpecificVersion>
6868
</Reference>
6969
<Reference Include="Serialiser_Engine">
7070
<SpecificVersion>False</SpecificVersion>
71-
<HintPath>C:\ProgramData\BHoM\Assemblies\Serialiser_Engine.dll</HintPath>
71+
<HintPath>$(ProgramData)\BHoM\Assemblies\Serialiser_Engine.dll</HintPath>
7272
<Private>False</Private>
7373
</Reference>
7474
<Reference Include="System" />
@@ -101,7 +101,7 @@
101101
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
102102
<PropertyGroup>
103103
<PostBuildEvent>
104-
xcopy "$(TargetDir)$(TargetFileName)" "C:\ProgramData\BHoM\Assemblies" /Y
104+
xcopy "$(TargetDir)$(TargetFileName)" "$(ProgramData)\BHoM\Assemblies" /Y
105105
</PostBuildEvent>
106106
</PropertyGroup>
107107
</Project>

HTTP_Adapter/HttpAdapter.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of the Buildings and Habitats object Model (BHoM)
3-
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
3+
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
44
*
55
* Each contributor holds copyright over their respective contributions.
66
* The project versioning (Git) records all such contribution source information.
@@ -56,3 +56,4 @@ public HTTPAdapter()
5656

5757

5858

59+

HTTP_Adapter/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of the Buildings and Habitats object Model (BHoM)
3-
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
3+
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
44
*
55
* Each contributor holds copyright over their respective contributions.
66
* The project versioning (Git) records all such contribution source information.
@@ -55,7 +55,8 @@
5555
// by using the '*' as shown below:
5656
// [assembly: AssemblyVersion("1.0.*")]
5757
[assembly: AssemblyVersion("8.0.0.0")]
58-
[assembly: AssemblyFileVersion("8.0.0.0")]
58+
[assembly: AssemblyFileVersion("8.1.0.0")]
59+
5960

6061

6162

HTTP_Engine/Compute/GetRequest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of the Buildings and Habitats object Model (BHoM)
3-
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
3+
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
44
*
55
* Each contributor holds copyright over their respective contributions.
66
* The project versioning (Git) records all such contribution source information.
@@ -135,3 +135,4 @@ private static byte[] GetRequestBinary(string baseUrl, Dictionary<string, object
135135

136136

137137

138+

HTTP_Engine/Compute/GetRequestAsync.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of the Buildings and Habitats object Model (BHoM)
3-
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
3+
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
44
*
55
* Each contributor holds copyright over their respective contributions.
66
* The project versioning (Git) records all such contribution source information.
@@ -78,3 +78,4 @@ private static async Task<string> GetRequestAsync(string url, CustomObject heade
7878

7979

8080

81+

HTTP_Engine/Compute/MakeRequest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of the Buildings and Habitats object Model (BHoM)
3-
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
3+
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
44
*
55
* Each contributor holds copyright over their respective contributions.
66
* The project versioning (Git) records all such contribution source information.
@@ -57,3 +57,4 @@ public static byte[] MakeRequestBinary(GetRequest request)
5757

5858

5959

60+

HTTP_Engine/Compute/MakeRequestAsync.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of the Buildings and Habitats object Model (BHoM)
3-
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
3+
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
44
*
55
* Each contributor holds copyright over their respective contributions.
66
* The project versioning (Git) records all such contribution source information.
@@ -49,3 +49,4 @@ public static Task<string> MakeRequestAsync(GetRequest request, HttpClient clien
4949

5050

5151

52+

HTTP_Engine/Compute/PostRequest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of the Buildings and Habitats object Model (BHoM)
3-
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
3+
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
44
*
55
* Each contributor holds copyright over their respective contributions.
66
* The project versioning (Git) records all such contribution source information.
@@ -89,3 +89,4 @@ public static string PostRequest(string baseUrl, CustomObject headers = null, Cu
8989
}
9090

9191

92+

HTTP_Engine/Convert/ToUrlString.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of the Buildings and Habitats object Model (BHoM)
3-
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
3+
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
44
*
55
* Each contributor holds copyright over their respective contributions.
66
* The project versioning (Git) records all such contribution source information.
@@ -100,3 +100,4 @@ public static string ToUrlString(this CustomObject obj)
100100

101101

102102

103+

HTTP_Engine/Create/GetRequest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of the Buildings and Habitats object Model (BHoM)
3-
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
3+
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
44
*
55
* Each contributor holds copyright over their respective contributions.
66
* The project versioning (Git) records all such contribution source information.
@@ -52,3 +52,4 @@ public static GetRequest GetRequest(string baseUrl, CustomObject headers = null,
5252

5353

5454

55+

HTTP_Engine/Create/HTTPAdapterConfig.cs renamed to HTTP_Engine/Create/HTTPConfig.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of the Buildings and Habitats object Model (BHoM)
3-
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
3+
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
44
*
55
* Each contributor holds copyright over their respective contributions.
66
* The project versioning (Git) records all such contribution source information.
@@ -22,6 +22,7 @@
2222

2323
using System;
2424
using BH.oM.Adapters.HTTP;
25+
using BH.oM.Base.Attributes;
2526

2627
namespace BH.Engine.Adapters.HTTP
2728
{
@@ -31,7 +32,8 @@ public static partial class Create
3132
/**** Public Method ****/
3233
/***************************************************/
3334

34-
public static HTTPConfig HTTPAdapterConfig(double secondsToTimeout)
35+
[PreviousVersion("8.1", "BH.Engine.Adapters.HTTP.Create.HTTPAdapterConfig(System.Double)")]
36+
public static HTTPConfig HTTPConfig(double secondsToTimeout)
3537
{
3638
return new HTTPConfig
3739
{
@@ -47,3 +49,4 @@ public static HTTPConfig HTTPAdapterConfig(double secondsToTimeout)
4749

4850

4951

52+

HTTP_Engine/HTTP_Engine.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,22 @@
3232
</PropertyGroup>
3333
<ItemGroup>
3434
<Reference Include="BHoM">
35-
<HintPath>C:\ProgramData\BHoM\Assemblies\BHoM.dll</HintPath>
35+
<HintPath>$(ProgramData)\BHoM\Assemblies\BHoM.dll</HintPath>
3636
<Private>False</Private>
3737
<SpecificVersion>False</SpecificVersion>
3838
</Reference>
3939
<Reference Include="BHoM_Engine">
40-
<HintPath>C:\ProgramData\BHoM\Assemblies\BHoM_Engine.dll</HintPath>
40+
<HintPath>$(ProgramData)\BHoM\Assemblies\BHoM_Engine.dll</HintPath>
4141
<Private>False</Private>
4242
<SpecificVersion>False</SpecificVersion>
4343
</Reference>
4444
<Reference Include="Reflection_Engine">
45-
<HintPath>C:\ProgramData\BHoM\Assemblies\Reflection_Engine.dll</HintPath>
45+
<HintPath>$(ProgramData)\BHoM\Assemblies\Reflection_Engine.dll</HintPath>
4646
<Private>False</Private>
4747
<SpecificVersion>False</SpecificVersion>
4848
</Reference>
4949
<Reference Include="Serialiser_Engine">
50-
<HintPath>C:\ProgramData\BHoM\Assemblies\Serialiser_Engine.dll</HintPath>
50+
<HintPath>$(ProgramData)\BHoM\Assemblies\Serialiser_Engine.dll</HintPath>
5151
<Private>False</Private>
5252
<SpecificVersion>False</SpecificVersion>
5353
</Reference>
@@ -67,7 +67,7 @@
6767
<Compile Include="Compute\MakeRequest.cs" />
6868
<Compile Include="Convert\ToUrlString.cs" />
6969
<Compile Include="Create\GetRequest.cs" />
70-
<Compile Include="Create\HTTPAdapterConfig.cs" />
70+
<Compile Include="Create\HTTPConfig.cs" />
7171
<Compile Include="Properties\AssemblyInfo.cs" />
7272
</ItemGroup>
7373
<ItemGroup>
@@ -83,7 +83,7 @@
8383
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
8484
<PropertyGroup>
8585
<PostBuildEvent>
86-
xcopy "$(TargetDir)$(TargetFileName)" "C:\ProgramData\BHoM\Assemblies" /Y
86+
xcopy "$(TargetDir)$(TargetFileName)" "$(ProgramData)\BHoM\Assemblies" /Y
8787
</PostBuildEvent>
8888
</PropertyGroup>
89-
</Project>
89+
</Project>

HTTP_Engine/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of the Buildings and Habitats object Model (BHoM)
3-
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
3+
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
44
*
55
* Each contributor holds copyright over their respective contributions.
66
* The project versioning (Git) records all such contribution source information.
@@ -55,7 +55,8 @@
5555
// by using the '*' as shown below:
5656
// [assembly: AssemblyVersion("1.0.*")]
5757
[assembly: AssemblyVersion("8.0.0.0")]
58-
[assembly: AssemblyFileVersion("8.0.0.0")]
58+
[assembly: AssemblyFileVersion("8.1.0.0")]
59+
5960

6061

6162

HTTP_oM/GetRequest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of the Buildings and Habitats object Model (BHoM)
3-
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
3+
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
44
*
55
* Each contributor holds copyright over their respective contributions.
66
* The project versioning (Git) records all such contribution source information.
@@ -45,3 +45,4 @@ public class GetRequest : IRequest
4545

4646

4747

48+

HTTP_oM/HTTPAdapterConfig.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of the Buildings and Habitats object Model (BHoM)
3-
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
3+
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
44
*
55
* Each contributor holds copyright over their respective contributions.
66
* The project versioning (Git) records all such contribution source information.
@@ -68,3 +68,4 @@ public static explicit operator HTTPConfig(Dictionary<string, object> dic)
6868

6969

7070

71+

HTTP_oM/HTTP_oM.csproj

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,19 @@
3232
</PropertyGroup>
3333
<ItemGroup>
3434
<Reference Include="Adapter_oM">
35-
<HintPath>C:\ProgramData\BHoM\Assemblies\Adapter_oM.dll</HintPath>
35+
<HintPath>$(ProgramData)\BHoM\Assemblies\Adapter_oM.dll</HintPath>
3636
<Private>False</Private>
37+
<SpecificVersion>False</SpecificVersion>
3738
</Reference>
3839
<Reference Include="BHoM">
39-
<HintPath>C:\ProgramData\BHoM\Assemblies\BHoM.dll</HintPath>
40-
<Private>False</Private>
41-
</Reference>
42-
<Reference Include="Data_oM">
43-
<HintPath>C:\ProgramData\BHoM\Assemblies\Data_oM.dll</HintPath>
40+
<HintPath>$(ProgramData)\BHoM\Assemblies\BHoM.dll</HintPath>
4441
<Private>False</Private>
42+
<SpecificVersion>False</SpecificVersion>
43+
</Reference>
44+
<Reference Include="Data_oM">
45+
<HintPath>$(ProgramData)\BHoM\Assemblies\Data_oM.dll</HintPath>
46+
<Private>False</Private>
47+
<SpecificVersion>False</SpecificVersion>
4548
</Reference>
4649
<Reference Include="System" />
4750
<Reference Include="System.Core" />
@@ -60,7 +63,7 @@
6063
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
6164
<PropertyGroup>
6265
<PostBuildEvent>
63-
xcopy "$(TargetDir)$(TargetFileName)" "C:\ProgramData\BHoM\Assemblies" /Y
66+
xcopy "$(TargetDir)$(TargetFileName)" "$(ProgramData)\BHoM\Assemblies" /Y
6467
</PostBuildEvent>
6568
</PropertyGroup>
6669
</Project>

HTTP_oM/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of the Buildings and Habitats object Model (BHoM)
3-
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
3+
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
44
*
55
* Each contributor holds copyright over their respective contributions.
66
* The project versioning (Git) records all such contribution source information.
@@ -55,7 +55,8 @@
5555
// by using the '*' as shown below:
5656
// [assembly: AssemblyVersion("1.0.*")]
5757
[assembly: AssemblyVersion("8.0.0.0")]
58-
[assembly: AssemblyFileVersion("8.0.0.0")]
58+
[assembly: AssemblyFileVersion("8.1.0.0")]
59+
5960

6061

6162

0 commit comments

Comments
 (0)