Browse Source

Update identity.api base image to aspnetcore2.0

Rename Identity.api namespace
pull/333/head
Ramón Tomás 7 years ago
parent
commit
4e12176801
4 changed files with 6 additions and 4 deletions
  1. +1
    -2
      src/Services/Identity/Identity.API/Data/ApplicationContextSeed.cs
  2. +1
    -1
      src/Services/Identity/Identity.API/Dockerfile
  3. +2
    -0
      src/Services/Identity/Identity.API/Program.cs
  4. +2
    -1
      src/Services/Identity/Identity.API/Startup.cs

+ 1
- 2
src/Services/Identity/Identity.API/Data/ApplicationContextSeed.cs View File

@ -5,8 +5,8 @@
using Extensions.Logging; using Extensions.Logging;
using global::eShopOnContainers.Identity; using global::eShopOnContainers.Identity;
using global::Identity.API.Data; using global::Identity.API.Data;
using global::Identity.API.Extensions;
using global::Identity.API.Models; using global::Identity.API.Models;
using Identity.API.Extensions;
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
@ -16,7 +16,6 @@
using System.IO; using System.IO;
using System.IO.Compression; using System.IO.Compression;
using System.Linq; using System.Linq;
using System.Security.Cryptography;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.Threading.Tasks; using System.Threading.Tasks;


+ 1
- 1
src/Services/Identity/Identity.API/Dockerfile View File

@ -1,4 +1,4 @@
FROM microsoft/aspnetcore:1.1.2
FROM microsoft/aspnetcore:2.0.0
ARG source ARG source
WORKDIR /app WORKDIR /app
EXPOSE 80 EXPOSE 80


+ 2
- 0
src/Services/Identity/Identity.API/Program.cs View File

@ -1,5 +1,6 @@
using Microsoft.AspNetCore; using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.eShopOnContainers.Services.Identity;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using System.IO; using System.IO;
@ -28,3 +29,4 @@ namespace eShopOnContainers.Identity
.Build(); .Build();
} }
} }

+ 2
- 1
src/Services/Identity/Identity.API/Startup.cs View File

@ -1,5 +1,6 @@
using Autofac; using Autofac;
using Autofac.Extensions.DependencyInjection; using Autofac.Extensions.DependencyInjection;
using eShopOnContainers.Identity;
using Identity.API.Certificate; using Identity.API.Certificate;
using Identity.API.Configuration; using Identity.API.Configuration;
using Identity.API.Data; using Identity.API.Data;
@ -24,7 +25,7 @@ using System.Linq;
using System.Reflection; using System.Reflection;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace eShopOnContainers.Identity
namespace Microsoft.eShopOnContainers.Services.Identity
{ {
public class Startup public class Startup
{ {


Loading…
Cancel
Save