Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into issue/OSOE-184-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Friedrich committed Sep 20, 2022
2 parents 25d8949 + c7263b1 commit 4c39bb0
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 7 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/create-jira-issues-for-community-activities.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Create Jira issues for community activities

on:
discussion:
types: created
issues:
types: opened
pull_request:
types: opened

jobs:
call-publish-workflow:
uses: Lombiq/GitHub-Actions/.github/workflows/create-jira-issues-for-community-activities.yml@dev
secrets:
JIRA_BASE_URL: ${{ secrets.DEFAULT_JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.DEFAULT_JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.DEFAULT_JIRA_API_TOKEN }}
JIRA_PROJECT_KEY: ${{ secrets.DEFAULT_JIRA_PROJECT_KEY }}
DISCUSSION_JIRA_ISSUE_DESCRIPTION: ${{ secrets.DEFAULT_DISCUSSION_JIRA_ISSUE_DESCRIPTION }}
ISSUE_JIRA_ISSUE_DESCRIPTION: ${{ secrets.DEFAULT_ISSUE_JIRA_ISSUE_DESCRIPTION }}
PULL_REQUEST_JIRA_ISSUE_DESCRIPTION: ${{ secrets.DEFAULT_PULL_REQUEST_JIRA_ISSUE_DESCRIPTION }}
with:
issue-component: Lombiq.Hosting.Tenants
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.HelpfulLibraries.OrchardCore" Version="4.6.0" />
<PackageReference Include="Lombiq.HelpfulLibraries.OrchardCore" Version="4.6.1-alpha.walma-15.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.Tests.UI" Version="3.5.0" />
<PackageReference Include="Lombiq.Tests.UI" Version="3.5.1-alpha.walma-15.4" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion Lombiq.Hosting.Tenants.IdleTenantManagement/Manifest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using OrchardCore.Modules.Manifest;
using OrchardCore.Modules.Manifest;
using static Lombiq.Hosting.Tenants.IdleTenantManagement.Constants.FeatureNames;

[assembly: Module(
Expand All @@ -12,6 +12,7 @@
[assembly: Feature(
Id = DisableIdleTenants,
Name = "Lombiq Hosting - Idle Tenant Management - Disable Idle Tenants",
Description = "Disable tenants not receiving requests after a configured amount of time.",
Category = "Hosting",
Priority = "9999",
IsAlwaysEnabled = true,
Expand Down
6 changes: 3 additions & 3 deletions Lombiq.Hosting.Tenants.IdleTenantManagement/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

## About

With the help of this module, you can ensure that any tenant where the feature is enabled will shutdown after a preset time is elapsed. This can be used to free up resources.
With the help of this module, you can ensure that a tenant that didn't receive any requests for a configurable time will shut down. This can be used to free up resources and thus increase site density.

## Documentation

This module contains one feature:
This module contains the feature below.

### `Lombiq.Hosting.Tenants.IdleTenantManagement`

This feature is available on any tenant. The maximum idle time can be set in the appsettings.json.

**NOTE:** Any tenant can have its own set of maximum idle time, however on default there is only one global time set.
**NOTE:** Any tenant can have its own set of maximum idle time, however by default there is only one global time set.

```csharp
public void ConfigureServices(IServiceCollection services) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.HelpfulLibraries.OrchardCore" Version="4.6.0" />
<PackageReference Include="Lombiq.HelpfulLibraries.OrchardCore" Version="4.6.1-alpha.walma-15.1" />
</ItemGroup>

</Project>

0 comments on commit 4c39bb0

Please sign in to comment.