define acceptance criteria unit test passing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| file:///C:/Program%20Files/RedHat/Podman/podman-for-windows.html | |
| Podman for Windows | |
| While "containers are Linux," Podman also runs on Mac and Windows, where it provides a native CLI and embeds a guest Linux system to launch your containers. This guest is referred to as a Podman machine and is managed with the podman machine command. On Windows, each Podman machine is backed by a virtualized Windows Subsystem for Linux (WSLv2) distribution. The podman command can be run directly from your Windows PowerShell (or CMD) prompt, where it remotely communicates with the podman service running in the WSL environment. Alternatively, you can access Podman directly from the WSL instance if you prefer a Linux prompt and Linux tooling. In addition to command-line access, Podman also listens for Docker API clients, supporting direct usage of Docker-based tools and programmatic access from your language of choice. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public async Task RunAsync( | |
| [ServiceBusTrigger("topic", "subscription", Connection = "ServiceBusConnection")] string message, | |
| ILogger log) | |
| { | |
| var enabled = Environment.GetEnvironmentVariable("SERVICEBUS_ENABLED"); | |
| if (!bool.TryParse(enabled, out var isActive) || !isActive) | |
| { | |
| log.LogInformation("Service Bus processing disabled in this app."); | |
| return; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "openapi": "3.0.1", | |
| "info": { | |
| "title": "Auction API", | |
| "description": "This ASP.NET Core Web API is used for getting Auction information.", | |
| "contact": { | |
| "name": "ALP Team" | |
| }, | |
| "license": { | |
| "name": "Christies" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # GitHub Basic Commands | |
| GitHub is an essential tool for version control and collaboration. In this article, we will cover some basic commands to get you started with GitHub. These include configuring your username and user email, getting data from a repository, and committing changes. | |
| ## Configuring Username and User Email | |
| Before you start using Git, you need to configure your username and user email. This information will be associated with your commits. | |
| ```bash | |
| # Set your username |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DOD (Definition of Done) | |
| - code is ready | |
| - code has unit tests | |
| - code has integration tests | |
| - applied SOLID | |
| Documnetation | |
| - documentation is procudes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| select * from sys.tables as t | |
| inner join sys.columns as c | |
| on t.object_id = c.object_id | |
| inner join sys.index_columns as ic | |
| on c.column_id = ic.column_id and c.object_id = ic.object_id | |
| inner join sys.indexes as i | |
| on ic.index_id = i.index_id and ic.object_id = i.object_id | |
| WHERE t.name = 'table_name' AND i.name = 'index_name' | |
| -- where t.name = 'table_name' and c.name = 'column_name' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public partial class ApiClient | |
| { | |
| private readonly HttpClient _httpClient; | |
| private Uri BaseEndpoint { get; set; } | |
| public ApiClient(Uri baseEndpoint) | |
| { | |
| if (baseEndpoint == null) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | |
| <metadata> | |
| <id>project</id> | |
| <version>0.0.1</version> | |
| <authors>authors</authors> | |
| <owners>Owners</owners> | |
| <requireLicenseAcceptance>false</requireLicenseAcceptance> | |
| <description>package desciptions</description> | |
| </metadata> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// <summary> | |
| /// used to provide definition for gateway service about active keys for clients, to about active client configuration | |
| /// </summary> | |
| /// <param name="token"></param> | |
| /// <returns></returns> | |
| [HttpGet] | |
| public IActionResult GetClientList(string token) | |
| { | |
| if (ValidateToken(token)) | |
| { |
NewerOlder