Skip to content

Commit

Permalink
Change namespace and folder names for CognitiveServices SDK with pref…
Browse files Browse the repository at this point in the history
…ix "Microsoft.Azure" (#3716)

* Prefix package Id with Microsoft.Azure

* Regenerate SDKs using new namespace.

* Changing Language directory using new namespace.

* Fixing tests for Language after namespace changes.

* Moving Vision sdk due to namespace change.
  • Loading branch information
DavidLiCIG authored and shahabhijeet committed Sep 19, 2017
1 parent 60eee25 commit 0fda0bf
Show file tree
Hide file tree
Showing 89 changed files with 338 additions and 274 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using System.Net.Http;

namespace Language.Tests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$([MSBuild]::GetPathOfFileAbove('AzSdk.test.reference.props'))" />
<PropertyGroup>
<PackageId>Microsoft.CognitiveServices.Language.Tests</PackageId>
<Description>Microsoft.CognitiveServices.Language.Tests Class Library</Description>
<AssemblyName>Microsoft.CognitiveServices.Language.Tests</AssemblyName>
<Description>Microsoft.Azure.CognitiveServices.Language.Tests Class Library</Description>
<AssemblyName>Microsoft.Azure.CognitiveServices.Language.Tests</AssemblyName>
<VersionPrefix>1.0.0-preview</VersionPrefix>
</PropertyGroup>
<PropertyGroup>
Expand All @@ -13,7 +12,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Management.ResourceManager" Version="1.6.0-preview" />
<ProjectReference Include="..\Microsoft.CognitiveServices.Language\Microsoft.CognitiveServices.Language.csproj" />
<ProjectReference Include="..\Language\Microsoft.Azure.CognitiveServices.Language.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="SessionRecords\**\*.json">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Language.Tests;
using Microsoft.Azure.Test.HttpRecorder;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.CognitiveServices.Language.TextAnalytics.Models;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using System.Collections.Generic;
using Xunit;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Language.Tests;
using Microsoft.Azure.Test.HttpRecorder;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.CognitiveServices.Language.TextAnalytics.Models;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using System.Collections.Generic;
using Xunit;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Language.Tests;
using Microsoft.Azure.Test.HttpRecorder;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.CognitiveServices.Language.TextAnalytics.Models;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using System.Collections.Generic;
using Xunit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26430.16
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CognitiveServices.Vision", "Microsoft.CognitiveServices.Vision\Microsoft.CognitiveServices.Vision.csproj", "{6807B854-8528-4FEE-A25D-C43C3AA2D601}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.CognitiveServices.Language", "Language\Microsoft.Azure.CognitiveServices.Language.csproj", "{6807B854-8528-4FEE-A25D-C43C3AA2D601}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CognitiveServices.Vision.Tests", "Microsoft.CognitiveServices.Vision.Tests\Microsoft.CognitiveServices.Vision.Tests.csproj", "{5987D97A-E532-450C-BF22-A1F595C927F1}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.CognitiveServices.Language.Tests", "Language.Tests\Microsoft.Azure.CognitiveServices.Language.Tests.csproj", "{5987D97A-E532-450C-BF22-A1F595C927F1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Rest;
using Models;
using Newtonsoft.Json;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics.Models
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics.Models
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics.Models
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Newtonsoft.Json;
using System.Linq;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics.Models
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Newtonsoft.Json;
using System.Linq;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics.Models
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Newtonsoft.Json;
using System.Linq;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics.Models
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Microsoft.Rest;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics.Models
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Newtonsoft.Json;
using System.Linq;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics.Models
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Newtonsoft.Json;
using System.Linq;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics.Models
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics.Models
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics.Models
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics.Models
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics.Models
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics.Models
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Newtonsoft.Json;
using System.Linq;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics.Models
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics.Models
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.CognitiveServices.Language.TextAnalytics;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Azure.CognitiveServices.Language.TextAnalytics;
using Newtonsoft.Json;
using System.Linq;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Models;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.CognitiveServices.Language.TextAnalytics
namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics
{
using Microsoft.CognitiveServices;
using Microsoft.CognitiveServices.Language;
using Microsoft.Azure;
using Microsoft.Azure.CognitiveServices;
using Microsoft.Azure.CognitiveServices.Language;
using Models;
using System.Threading;
using System.Threading.Tasks;
Expand Down
Loading

0 comments on commit 0fda0bf

Please sign in to comment.