Browse Source

Merge pull request #8393 from abpframework/auto-merge/rel-4-3/216

Merge branch dev with rel-4.3
pull/8403/head
maliming 5 years ago
committed by GitHub
parent
commit
0ce29f6fc1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/en/Entity-Framework-Core-Oracle.md
  2. 2
      docs/en/Getting-Started-Running-Solution.md
  3. 4
      docs/en/Module-Entity-Extensions.md
  4. 3
      docs/en/Modules/Blogging.md
  5. 3
      docs/en/Modules/Client-Simulation.md
  6. 3
      docs/en/Modules/Index.md
  7. 3
      docs/en/Modules/Users.md
  8. 12
      docs/en/docs-nav.json
  9. 19
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Building/Steps/MicroserviceServiceRandomPortStep.cs

2
docs/en/Entity-Framework-Core-Oracle.md

@ -4,7 +4,7 @@ This document explains how to switch to the **Oracle** database provider for **[
ABP Framework provides integrations for two different Oracle packages. See one of the following documents based on your provider decision:
* **[Volo.Abp.EntityFrameworkCore.Oracle](Entity-Framework-Core-Oracle-Official.md)** package uses the official & free oracle driver (which is **currently in beta**).
* **[Volo.Abp.EntityFrameworkCore.Oracle](Entity-Framework-Core-Oracle-Official.md)** package uses the official & free oracle driver.
* **[Volo.Abp.EntityFrameworkCore.Oracle.Devart](Entity-Framework-Core-Oracle-Devart.md)** package uses the commercial (paid) driver of [Devart](https://www.devart.com/) company.
> You can choose one of the package you want. If you don't know the differences of the packages, please search for it. ABP Framework only provides integrations it doesn't provide support for such 3rd-party libraries.

2
docs/en/Getting-Started-Running-Solution.md

@ -21,7 +21,7 @@ Check the **connection string** in the `appsettings.json` file under the {{if Ti
````json
"ConnectionStrings": {
"Default": "Server=localhost;Database=BookStore;Trusted_Connection=True"
"Default": "Server=(LocalDb)\MSSQLLocalDB;Database=BookStore;Trusted_Connection=True"
}
````

4
docs/en/Module-Entity-Extensions.md

@ -1,9 +1,5 @@
# Module Entity Extensions
> This feature is not supported by the Blazor UI yet.
## Introduction
Module entity extension system is a **high level** extension system that allows you to **define new properties** for existing entities of the depended modules. It automatically **adds properties to the entity, database, HTTP API and the user interface** in a single point.
> The module must be developed the *Module Entity Extensions* system in mind. All the **official modules** supports this system wherever possible.

3
docs/en/Modules/Blogging.md

@ -1,3 +0,0 @@
# Blogging Module
TODO

3
docs/en/Modules/Client-Simulation.md

@ -1,3 +0,0 @@
# Client Simulation Module
TODO

3
docs/en/Modules/Index.md

@ -14,8 +14,6 @@ There are some **free and open source** application modules developed and mainta
* [**Account**](Account.md): Provides UI for the account management and allows user to login/register to the application.
* [**Audit Logging**](Audit-Logging.md): Persists audit logs to a database.
* [**Background Jobs**](Background-Jobs.md): Persist background jobs when using the default background job manager.
* [**Blogging**](Blogging.md): Used to create fancy blogs. ABP's [own blog](https://blog.abp.io/) already using this module.
* [**Client Simulation**](Client-Simulation.md): A simple web UI to stress test HTTP APIs by simulating concurrent clients.
* [**CMS Kit**](Cms-Kit.md): A set of reusable *Content Management System* features.
* [**Docs**](Docs.md): Used to create technical documentation website. ABP's [own documentation](https://docs.abp.io) already using this module.
* [**Feature Management**](Feature-Management.md): Used to persist and manage the [features](../Features.md).
@ -24,7 +22,6 @@ There are some **free and open source** application modules developed and mainta
* [**Permission Management**](Permission-Management.md): Used to persist permissions.
* **[Setting Management](Setting-Management.md)**: Used to persist and manage the [settings](../Settings.md).
* [**Tenant Management**](Tenant-Management.md): Manages tenants for a [multi-tenant](../Multi-Tenancy.md) application.
* [**Users**](Users.md): Abstract users, so other modules can depend on this module instead of the Identity module.
* [**Virtual File Explorer**](Virtual-File-Explorer.md): Provided a simple UI to view files in [virtual file system](../Virtual-File-System.md).
See [the GitHub repository](https://github.com/abpframework/abp/tree/master/modules) for source code of all modules.

3
docs/en/Modules/Users.md

@ -1,3 +0,0 @@
# Users Module
TODO

12
docs/en/docs-nav.json

@ -1004,14 +1004,6 @@
"text": "Background Jobs",
"path": "Modules/Background-Jobs.md"
},
{
"text": "Blogging",
"path": "Modules/Blogging.md"
},
{
"text": "Client Simulation",
"path": "Modules/Client-Simulation.md"
},
{
"text": "CMS Kit",
"path": "Modules/Cms-Kit.md"
@ -1044,10 +1036,6 @@
"text": "Tenant Management",
"path": "Modules/Tenant-Management.md"
},
{
"text": "Users",
"path": "Modules/Users.md"
},
{
"text": "Virtual File Explorer",
"path": "Modules/Virtual-File-Explorer.md"

19
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Building/Steps/MicroserviceServiceRandomPortStep.cs

@ -59,9 +59,7 @@ namespace Volo.Abp.Cli.ProjectBuilding.Building.Steps
return _tyeFileContent;
}
var solutionFolderPath = context.BuildArgs.ExtraProperties[NewCommand.Options.OutputFolder.Short] ??
context.BuildArgs.ExtraProperties[NewCommand.Options.OutputFolder.Long] ??
Directory.GetCurrentDirectory();
var solutionFolderPath = GetSolutionFolderPath(context);
var tyeFilePath = Path.Combine(solutionFolderPath, "tye.yaml");
@ -74,5 +72,20 @@ namespace Volo.Abp.Cli.ProjectBuilding.Building.Steps
return _tyeFileContent;
}
private static string GetSolutionFolderPath(ProjectBuildContext context)
{
if (context.BuildArgs.ExtraProperties.ContainsKey(NewCommand.Options.OutputFolder.Short))
{
return context.BuildArgs.ExtraProperties[NewCommand.Options.OutputFolder.Short];
}
if (context.BuildArgs.ExtraProperties.ContainsKey(NewCommand.Options.OutputFolder.Long))
{
return context.BuildArgs.ExtraProperties[NewCommand.Options.OutputFolder.Long];
}
return Directory.GetCurrentDirectory();
}
}
}

Loading…
Cancel
Save