Skip to content

Commit 5d084ec

Browse files
committed
small changes
1 parent aae98e6 commit 5d084ec

File tree

3 files changed

+44
-42
lines changed

3 files changed

+44
-42
lines changed

docker-compose.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ volumes:
55
driver: local
66
postgres:
77
driver: local
8-
elasticsearch:
9-
driver: local
10-
kibana:
11-
driver: local
8+
# elasticsearch:
9+
# driver: local
10+
# kibana:
11+
# driver: local
1212
# pgadmin:
1313
# driver: local
1414
# redisinsight:
@@ -48,47 +48,47 @@ services:
4848
# Elastic search
4949
# ---------------------------------------------------------------------------------
5050

51-
elasticsearch:
52-
container_name: elasticsearch
53-
image: docker.elastic.co/elasticsearch/elasticsearch:8.16.1
54-
restart: always
55-
ports:
56-
- 9200:9200
57-
environment:
58-
- bootstrap.memory_lock=true
59-
- discovery.type=single-node
60-
- xpack.security.enabled=false
61-
- xpack.security.http.ssl.enabled=false
62-
- xpack.security.transport.ssl.enabled=false
63-
ulimits:
64-
memlock:
65-
soft: -1
66-
hard: -1
67-
volumes:
68-
- elasticsearch:/usr/share/elasticsearch/data
69-
healthcheck:
70-
test: [ "CMD-SHELL", "curl --silent --fail localhost:9200/_cluster/health || exit 1" ]
71-
interval: 30s
72-
timeout: 10s
73-
retries: 5
51+
# elasticsearch:
52+
# container_name: elasticsearch
53+
# image: docker.elastic.co/elasticsearch/elasticsearch:8.16.1
54+
# restart: always
55+
# ports:
56+
# - 9200:9200
57+
# environment:
58+
# - bootstrap.memory_lock=true
59+
# - discovery.type=single-node
60+
# - xpack.security.enabled=false
61+
# - xpack.security.http.ssl.enabled=false
62+
# - xpack.security.transport.ssl.enabled=false
63+
# ulimits:
64+
# memlock:
65+
# soft: -1
66+
# hard: -1
67+
# volumes:
68+
# - elasticsearch:/usr/share/elasticsearch/data
69+
# healthcheck:
70+
# test: [ "CMD-SHELL", "curl --silent --fail localhost:9200/_cluster/health || exit 1" ]
71+
# interval: 30s
72+
# timeout: 10s
73+
# retries: 5
7474

7575
# ---------------------------------------------------------------------------------
7676
# Kibana
7777
# ---------------------------------------------------------------------------------
7878

79-
kibana:
80-
depends_on:
81-
elasticsearch:
82-
condition: service_healthy
83-
container_name: kibana
84-
image: docker.elastic.co/kibana/kibana:8.16.1
85-
restart: always
86-
ports:
87-
- 5601:5601
88-
environment:
89-
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
90-
volumes:
91-
- kibana:/usr/share/kibana/data
79+
# kibana:
80+
# depends_on:
81+
# elasticsearch:
82+
# condition: service_healthy
83+
# container_name: kibana
84+
# image: docker.elastic.co/kibana/kibana:8.16.1
85+
# restart: always
86+
# ports:
87+
# - 5601:5601
88+
# environment:
89+
# - ELASTICSEARCH_HOSTS=http://elasticsearch:9200
90+
# volumes:
91+
# - kibana:/usr/share/kibana/data
9292

9393
# ---------------------------------------------------------------------------------
9494
# PgAdmin

src/Pandatech.VerticalSlices/Features/Auth/Application/Auth/AuthQueryHandler.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using Pandatech.VerticalSlices.Features.Auth.Contracts.Authenticate;
66
using Pandatech.VerticalSlices.Features.Auth.Helpers;
77
using Pandatech.VerticalSlices.Features.Auth.Helpers.ApiAuth;
8+
using Pandatech.VerticalSlices.SharedKernel.Extensions;
89
using Pandatech.VerticalSlices.SharedKernel.Helpers;
910
using Pandatech.VerticalSlices.SharedKernel.Interfaces;
1011
using ResponseCrafter.HttpExceptions;

src/Pandatech.VerticalSlices/SharedKernel/Helpers/HttpContextParser.cs renamed to src/Pandatech.VerticalSlices/SharedKernel/Extensions/HttpContextExtensions.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
using System.Text;
33
using Pandatech.VerticalSlices.Features.Auth.Helpers;
44
using Pandatech.VerticalSlices.SharedKernel.Enums;
5+
using Pandatech.VerticalSlices.SharedKernel.Helpers;
56

6-
namespace Pandatech.VerticalSlices.SharedKernel.Helpers;
7+
namespace Pandatech.VerticalSlices.SharedKernel.Extensions;
78

8-
public static class HttpContextParser
9+
public static class HttpContextExtensions
910
{
1011
private const string DefaultIpAddress = "0.0.0.0";
1112

0 commit comments

Comments
 (0)