Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.AspNetCore.Mvc;
#pragma warning disable CS0618 // Type or member is obsolete
using Microsoft.AspNetCore.Mvc;
using Minio;
using Minio.DataModel.Args;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Projects;
#pragma warning disable CS0618 // Type or member is obsolete
using Projects;

var builder = DistributedApplication.CreateBuilder(args);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<AdditionalPackageTags>minio hosting cloud storage</AdditionalPackageTags>
<Description>An Aspire hosting integration for MinIO</Description>
<AdditionalPackageTags>minio hosting cloud storage deprecated</AdditionalPackageTags>
<Description>An Aspire hosting integration for MinIO. DEPRECATED: The MinIO OSS project has been archived and is no longer maintained. This integration is deprecated and will be removed in a future version.</Description>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace Aspire.Hosting;
/// <summary>
/// Provides extension methods for adding MinIO resources to an <see cref="IDistributedApplicationBuilder"/>.
/// </summary>
[Obsolete("The MinIO OSS project has been archived and is no longer maintained. This integration is deprecated and will be removed in a future version.")]
public static class MinioBuilderExtensions
{
private const string RootUserEnvVarName = "MINIO_ROOT_USER";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/// <param name="name">The name of the resource.</param>
/// <param name="rootUser">A parameter that contains the MinIO server root username.</param>
/// <param name="passwordParameter">A parameter that contains the MinIO server root password.</param>
[Obsolete("The MinIO OSS project has been archived and is no longer maintained. This integration is deprecated and will be removed in a future version.")]
public sealed class MinioContainerResource(string name, ParameterResource rootUser, ParameterResource passwordParameter) : ContainerResource(name),
IResourceWithConnectionString
{
Expand Down
3 changes: 3 additions & 0 deletions src/CommunityToolkit.Aspire.Hosting.Minio/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CommunityToolkit.Aspire.Hosting.MinIO library

> [!WARNING]
> **This integration is deprecated.** The [MinIO OSS project has been archived](https://github.com/minio/minio) and is no longer maintained. This package will be removed in a future version. Please migrate to an alternative S3-compatible storage solution.

Provides extension methods and resource definitions for the Aspire AppHost to support running [MinIO](https://min.io/) containers.

## Getting Started
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<AdditionalPackageTags>minio hosting cloud storage</AdditionalPackageTags>
<Description>An Aspire client integration for MinIO</Description>
<AdditionalPackageTags>minio client cloud storage deprecated</AdditionalPackageTags>
<Description>An Aspire client integration for MinIO. DEPRECATED: The MinIO OSS project has been archived and is no longer maintained. This integration is deprecated and will be removed in a future version.</Description>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ namespace Microsoft.Extensions.Hosting;
/// <summary>
/// Provides extension methods for registering MinIO-related services in an <see cref="IHostApplicationBuilder"/>.
/// </summary>
[Obsolete("The MinIO OSS project has been archived and is no longer maintained. This integration is deprecated and will be removed in a future version.")]
public static class MinioClientBuilderExtensionMethods
{
private const string DefaultConfigSectionName = "Aspire:Minio:Client";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace CommunityToolkit.Aspire.Minio.Client;
/// <summary>
/// MinIO client configuration
/// </summary>
[Obsolete("The MinIO OSS project has been archived and is no longer maintained. This integration is deprecated and will be removed in a future version.")]
public sealed class MinioClientSettings
{
private const string ConnectionStringEndpoint = "Endpoint";
Expand Down Expand Up @@ -96,6 +97,7 @@ secretKeyValue is string secretKey &&
/// <summary>
/// Sets app version and name. Used for constructing User-Agent header in all HTTP requests
/// </summary>
[Obsolete("The MinIO OSS project has been archived and is no longer maintained. This integration is deprecated and will be removed in a future version.")]
public class HeaderAppInformation
{
/// <summary>
Expand All @@ -112,6 +114,7 @@ public class HeaderAppInformation
/// <summary>
/// MinIO credentials (access and secret keys)
/// </summary>
[Obsolete("The MinIO OSS project has been archived and is no longer maintained. This integration is deprecated and will be removed in a future version.")]
public class MinioCredentials
{
/// <summary>
Expand Down
3 changes: 3 additions & 0 deletions src/CommunityToolkit.Aspire.Minio.Client/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CommunityToolkit.Aspire.Minio.Client

> [!WARNING]
> **This integration is deprecated.** The [MinIO OSS project has been archived](https://github.com/minio/minio) and is no longer maintained. This package will be removed in a future version. Please migrate to an alternative S3-compatible storage solution.

Registers a [MinIOClient](https://github.com/minio/minio-dotnet) in the DI container for connecting to MinIO.

## Getting started
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

#pragma warning disable CS0618 // Type or member is obsolete
using Aspire.Components.Common.Tests;
using CommunityToolkit.Aspire.Testing;
using System.Text;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Aspire.Components.Common.Tests;
#pragma warning disable CS0618 // Type or member is obsolete
using Aspire.Components.Common.Tests;
using Aspire.Hosting;
using Aspire.Hosting.Utils;
using CommunityToolkit.Aspire.Testing;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

#pragma warning disable CS0618 // Type or member is obsolete
using Aspire.Hosting;

namespace CommunityToolkit.Aspire.Hosting.Minio.Tests;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Aspire.Hosting;
#pragma warning disable CS0618 // Type or member is obsolete
using Aspire.Hosting;

namespace CommunityToolkit.Aspire.Hosting.Minio.Tests;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

#pragma warning disable CS0618 // Type or member is obsolete
namespace CommunityToolkit.Aspire.Minio.Client.Tests;

public class ConfigurationTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma warning disable CS0618 // Type or member is obsolete
using Aspire.Components.Common.Tests;
using Aspire.Components.ConformanceTests;
using CommunityToolkit.Aspire.Testing;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

#pragma warning disable CS0618 // Type or member is obsolete
using Microsoft.Extensions.Hosting;

namespace CommunityToolkit.Aspire.Minio.Client.Tests;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma warning disable CS0618 // Type or member is obsolete
using Aspire.Components.Common.Tests;
using CommunityToolkit.Aspire.Hosting.Minio;
using CommunityToolkit.Aspire.Testing;
Expand Down
Loading