Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kjetilhau committed Oct 4, 2024
1 parent ecbd46a commit 9cf2032
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 44 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

namespace Equinor.ProjectExecutionPortal.WebApi.Controllers
{
// TODO: This controller should be removed and replaced with the ClientBackend proxy
[Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme)]
[ApiVersion("0.1")]
[Route("api/fusion")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ public ApiFusionApp(App fusionApp)
Build = fusionApp.Build != null ? new ApiFusionAppVersion(fusionApp.Build) : null;
}

public string AppKey { get; set; } = null!;
public string DisplayName { get; set; } = null!;
public string? Description { get; set; } = null!;
public string? Type { get; set; } = null!;
public string AppKey { get; set; }
public string DisplayName { get; set; }
public string? Description { get; set; }
public string? Type { get; set; }
public string? Version { get; set; }
public bool? IsPinned { get; set; }
public string? TemplateSource { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ public ApiFusionAppCategory(AppCategory fusionAppCategory)
}

public Guid Id { get; set; }
public string Name { get; set; } = null!;
public string DisplayName { get; set; } = null!;
public string Color { get; set; } = null!;
public string DefaultIcon { get; set; } = null!;
public string Name { get; set; }
public string DisplayName { get; set; }
public string Color { get; set; }
public string DefaultIcon { get; set; }
public short SortOrder { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public ApiFusionAppVersion(AppVersion fusionAppVersion)
ConfigUrl = fusionAppVersion.ConfigUrl;
}

public string Version { get; set; } = null!;
public string EntryPoint { get; set; } = null!;
public string Version { get; set; }
public string EntryPoint { get; set; }
public List<string>? Tags { get; set; }
public string? Tag { get; set; }
public string? AssetPath { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public ApiOnboardedApp(OnboardedAppDto onboardedAppDto)
}

public Guid Id { get; set; }
public string AppKey { get; set; } = null!;
public string AppKey { get; set; }
public string? Name { get; set; }
public string? Description { get; set; }
public IList<ApiContextType> Contexts { get; set; } = new List<ApiContextType>();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Net;
using System.Text;
using Azure;
using Equinor.ProjectExecutionPortal.Tests.WebApi.Data;
using Equinor.ProjectExecutionPortal.Tests.WebApi.Setup;
using Equinor.ProjectExecutionPortal.WebApi.ViewModels.Portal;
Expand Down

0 comments on commit 9cf2032

Please sign in to comment.