diff --git a/.github/workflows/vulnerability_check.yml b/.github/workflows/vulnerability_check.yml index d438e9afb..7352aa74e 100644 --- a/.github/workflows/vulnerability_check.yml +++ b/.github/workflows/vulnerability_check.yml @@ -10,8 +10,7 @@ on: jobs: remove-appsettings: - # runs-on: ubuntu-latest -runs-on: ubuntu-latest + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 diff --git a/MiniSpace.APIGateway/src/MiniSpace.APIGateway/appsettings.docker.json b/MiniSpace.APIGateway/src/MiniSpace.APIGateway/appsettings.docker.json deleted file mode 100644 index e51033f19..000000000 --- a/MiniSpace.APIGateway/src/MiniSpace.APIGateway/appsettings.docker.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "logger": { - "console": { - "enabled": true - }, - "file": { - "enabled": false, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://seq:5341", - "apiKey": "secret" - } - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://influx:8086", - "database": "minispace", - "env": "docker", - "interval": 5 - } -} \ No newline at end of file diff --git a/MiniSpace.APIGateway/src/MiniSpace.APIGateway/appsettings.local.json b/MiniSpace.APIGateway/src/MiniSpace.APIGateway/appsettings.local.json deleted file mode 100644 index 736d70fe1..000000000 --- a/MiniSpace.APIGateway/src/MiniSpace.APIGateway/appsettings.local.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "logger": { - "file": { - "enabled": false - }, - "seq": { - "enabled": false - } - }, - "metrics": { - "enabled": false, - "prometheusEnabled": false - } -} \ No newline at end of file diff --git a/MiniSpace.Services.Comments/src/MiniSpace.Services.Comments.Api/appsettings.docker.json b/MiniSpace.Services.Comments/src/MiniSpace.Services.Comments.Api/appsettings.docker.json deleted file mode 100644 index e1d06000d..000000000 --- a/MiniSpace.Services.Comments/src/MiniSpace.Services.Comments.Api/appsettings.docker.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "app": { - "name": "MiniSpace Comments Service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://consul:8500", - "service": "comments-service", - "address": "comments-service", - "port": "80", - "pingEnabled": true, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://fabio:9999", - "service": "comments-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": {} - }, - "jwt": { - "certificate": { - "location": "", - "password": "", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": true, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://elk:9200" - }, - "file": { - "enabled": false, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://seq:5341", - "apiKey": "secret" - } - }, - "jaeger": { - "enabled": true, - "serviceName": "comments", - "udpHost": "jaeger", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://influx:8086", - "database": "minispace", - "env": "docker", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "comments-service", - "seed": false - }, - "rabbitMq": { - "connectionName": "comments-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "rabbitmq" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "comments" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "comments-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "redis", - "instance": "events:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": false, - "url": "http://vault:8200", - "kv": { - "enabled": false - }, - "pki": { - "enabled": false - }, - "lease": { - "mongo": { - "enabled": false - } - } - } -} \ No newline at end of file diff --git a/MiniSpace.Services.Comments/src/MiniSpace.Services.Comments.Api/appsettings.local.json b/MiniSpace.Services.Comments/src/MiniSpace.Services.Comments.Api/appsettings.local.json deleted file mode 100644 index e0c12ec2f..000000000 --- a/MiniSpace.Services.Comments/src/MiniSpace.Services.Comments.Api/appsettings.local.json +++ /dev/null @@ -1,196 +0,0 @@ -{ - "app": { - "name": "MiniSpace Comments Service", - "service": "comments-service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://localhost:8500", - "service": "comments-service", - "address": "docker.for.win.localhost", - "port": "5009", - "pingEnabled": false, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://localhost:9999", - "service": "comments-service" - }, - "httpClient": { - "type": "direct", - "retries": 3, - "services": { - "students": "http://localhost:5007" - }, - "requestMasking": { - "enabled": true, - "maskTemplate": "*****" - } - }, - "jwt": { - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": false, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "level": "information", - "excludePaths": ["/", "/ping", "/metrics"], - "excludeProperties": [ - "api_key", - "access_key", - "ApiKey", - "ApiSecret", - "ClientId", - "ClientSecret", - "ConnectionString", - "Password", - "Email", - "Login", - "Secret", - "Token" - ], - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://localhost:9200" - }, - "file": { - "enabled": true, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://localhost:5341", - "apiKey": "secret" - }, - "tags": {} - }, - "jaeger": { - "enabled": true, - "serviceName": "comments", - "udpHost": "localhost", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://localhost:8086", - "database": "minispace", - "env": "local", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "comments-service", - "seed": false - }, - "outbox": { - "enabled": false, - "type": "sequential", - "expiry": 3600, - "intervalMilliseconds": 2000, - "inboxCollection": "inbox", - "outboxCollection": "outbox", - "disableTransactions": true - }, - "rabbitMq": { - "connectionName": "comments-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "localhost" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "comments" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "comments-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "localhost", - "instance": "comments:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": true, - "url": "http://localhost:8200", - "authType": "token", - "token": "secret", - "username": "user", - "password": "secret", - "kv": { - "enabled": true, - "engineVersion": 2, - "mountPoint": "kv", - "path": "comments-service/settings" - }, - "pki": { - "enabled": true, - "roleName": "comments-service", - "commonName": "comments-service.minispace.io" - }, - "lease": { - "mongo": { - "type": "database", - "roleName": "comments-service", - "enabled": true, - "autoRenewal": true, - "templates": { - "connectionString": "mongodb://{{username}}:{{password}}@localhost:27017" - } - } - } - } -} diff --git a/MiniSpace.Services.Email/src/MiniSpace.Services.Email.Api/appsettings.docker.json b/MiniSpace.Services.Email/src/MiniSpace.Services.Email.Api/appsettings.docker.json deleted file mode 100644 index 7f70e69a7..000000000 --- a/MiniSpace.Services.Email/src/MiniSpace.Services.Email.Api/appsettings.docker.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "app": { - "name": "MiniSpace Email Service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://consul:8500", - "service": "email-service", - "address": "email-service", - "port": "80", - "pingEnabled": true, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://fabio:9999", - "service": "email-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": { - "events": "events-service", - "posts": "posts-service", - "friends": "friends-service", - "students": "students-service", - "comments": "comments-service", - "organizations": "organizations-serice" - } - }, - "jwt": { - "certificate": { - "location": "", - "password": "", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": true, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://elk:9200" - }, - "file": { - "enabled": false, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://seq:5341", - "apiKey": "secret" - } - }, - "jaeger": { - "enabled": true, - "serviceName": "email", - "udpHost": "jaeger", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://influx:8086", - "database": "minispace", - "env": "docker", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "email-service", - "seed": false - }, - "rabbitMq": { - "connectionName": "email-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "rabbitmq" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "email" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "email-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "redis", - "instance": "email:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": false, - "url": "http://vault:8200", - "kv": { - "enabled": false - }, - "pki": { - "enabled": false - }, - "lease": { - "mongo": { - "enabled": false - } - } - }, - "smtp": { - "host": "mail.privateemail.com", - "port": 587, - "fromEmail": "info@itsharppro.com", - "displaySenderEmail": "minispace-service@itsharppro.com", - "password": "tX8R0JL8oNphvZxlO8nKbpTeDKiYeO", - "enableSSL": true - } -} \ No newline at end of file diff --git a/MiniSpace.Services.Email/src/MiniSpace.Services.Email.Api/appsettings.local.json b/MiniSpace.Services.Email/src/MiniSpace.Services.Email.Api/appsettings.local.json deleted file mode 100644 index 276d02f10..000000000 --- a/MiniSpace.Services.Email/src/MiniSpace.Services.Email.Api/appsettings.local.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "app": { - "name": "MiniSpace Email Service", - "service": "email-service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://localhost:8500", - "service": "email-service", - "address": "docker.for.win.localhost", - "port": "5007", - "pingEnabled": false, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://localhost:9999", - "service": "email-service" - }, - "httpClient": { - "type": "direct", - "retries": 3, - "services": { - "events": "http://localhost:5008", - "posts": "http://localhost:5013", - "comments": "http://localhost:5009", - "friends": "http://localhost:5012", - "organizations": "http://localhost:5015", - "students": "http://localhost:5007" - }, - "requestMasking": { - "enabled": true, - "maskTemplate": "*****" - } - }, - "jwt": { - "certificate": { - "location": "certs/localhost.pfx", - "password": "test", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": false, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "level": "information", - "excludePaths": ["/", "/ping", "/metrics"], - "excludeProperties": [ - "api_key", - "access_key", - "ApiKey", - "ApiSecret", - "ClientId", - "ClientSecret", - "ConnectionString", - "Password", - "Email", - "Login", - "Secret", - "Token" - ], - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://localhost:9200" - }, - "file": { - "enabled": true, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://localhost:5341", - "apiKey": "secret" - }, - "tags": {} - }, - "jaeger": { - "enabled": true, - "serviceName": "notifications", - "udpHost": "localhost", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://localhost:8086", - "database": "minispace", - "env": "local", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "email-service", - "seed": false - }, - "outbox": { - "enabled": false, - "type": "sequential", - "expiry": 3600, - "intervalMilliseconds": 2000, - "inboxCollection": "inbox", - "outboxCollection": "outbox", - "disableTransactions": true - }, - "rabbitMq": { - "connectionName": "email-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "localhost" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "email" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "email-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "localhost", - "instance": "email:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": true, - "url": "http://localhost:8200", - "authType": "token", - "token": "secret", - "username": "user", - "password": "secret", - "kv": { - "enabled": true, - "engineVersion": 2, - "mountPoint": "kv", - "path": "email-service/settings" - }, - "pki": { - "enabled": true, - "roleName": "email-service", - "commonName": "email-service.minispace.io" - }, - "lease": { - "mongo": { - "type": "database", - "roleName": "email-service", - "enabled": true, - "autoRenewal": true, - "templates": { - "connectionString": "mongodb://{{username}}:{{password}}@localhost:27017" - } - } - } - }, - "smtp": { - "host": "mail.privateemail.com", - "port": 587, - "fromEmail": "info@itsharppro.com", - "displaySenderEmail": "minispace-service@itsharppro.com", - "password": "tX8R0JL8oNphvZxlO8nKbpTeDKiYeO", - "enableSSL": true - } -} diff --git a/MiniSpace.Services.Events/src/MiniSpace.Services.Events.Api/appsettings.docker.json b/MiniSpace.Services.Events/src/MiniSpace.Services.Events.Api/appsettings.docker.json deleted file mode 100644 index 33a100f0e..000000000 --- a/MiniSpace.Services.Events/src/MiniSpace.Services.Events.Api/appsettings.docker.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "app": { - "name": "MiniSpace Events Service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://consul:8500", - "service": "events-service", - "address": "events-service", - "port": "80", - "pingEnabled": true, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://fabio:9999", - "service": "events-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": { - "students": "students-service", - "friends": "friends-service", - "organizations": "organizations-service" - } - }, - "jwt": { - "certificate": { - "location": "", - "password": "", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": true, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://elk:9200" - }, - "file": { - "enabled": false, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://seq:5341", - "apiKey": "secret" - } - }, - "jaeger": { - "enabled": true, - "serviceName": "events", - "udpHost": "jaeger", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://influx:8086", - "database": "minispace", - "env": "docker", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "events-service", - "seed": false - }, - "rabbitMq": { - "connectionName": "events-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "rabbitmq" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "events" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "events-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "redis", - "instance": "events:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": false, - "url": "http://vault:8200", - "kv": { - "enabled": false - }, - "pki": { - "enabled": false - }, - "lease": { - "mongo": { - "enabled": false - } - } - } -} \ No newline at end of file diff --git a/MiniSpace.Services.Events/src/MiniSpace.Services.Events.Api/appsettings.local.json b/MiniSpace.Services.Events/src/MiniSpace.Services.Events.Api/appsettings.local.json deleted file mode 100644 index 18ad866e0..000000000 --- a/MiniSpace.Services.Events/src/MiniSpace.Services.Events.Api/appsettings.local.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "app": { - "name": "MiniSpace Events Service", - "service": "events-service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://localhost:8500", - "service": "events-service", - "address": "docker.for.win.localhost", - "port": "5008", - "pingEnabled": false, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://localhost:9999", - "service": "events-service" - }, - "httpClient": { - "type": "direct", - "retries": 3, - "services": { - "students": "http://localhost:5007", - "friends": "http://localhost:5012", - "organizations": "http://localhost:5015" - }, - "requestMasking": { - "enabled": true, - "maskTemplate": "*****" - } - }, - "jwt": { - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": false, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "level": "information", - "excludePaths": ["/", "/ping", "/metrics"], - "excludeProperties": [ - "api_key", - "access_key", - "ApiKey", - "ApiSecret", - "ClientId", - "ClientSecret", - "ConnectionString", - "Password", - "Email", - "Login", - "Secret", - "Token" - ], - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://localhost:9200" - }, - "file": { - "enabled": true, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://localhost:5341", - "apiKey": "secret" - }, - "tags": {} - }, - "jaeger": { - "enabled": true, - "serviceName": "events", - "udpHost": "localhost", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://localhost:8086", - "database": "minispace", - "env": "local", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "events-service", - "seed": false - }, - "outbox": { - "enabled": false, - "type": "sequential", - "expiry": 3600, - "intervalMilliseconds": 2000, - "inboxCollection": "inbox", - "outboxCollection": "outbox", - "disableTransactions": true - }, - "rabbitMq": { - "connectionName": "events-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "localhost" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "events" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "events-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "localhost", - "instance": "events:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": true, - "url": "http://localhost:8200", - "authType": "token", - "token": "secret", - "username": "user", - "password": "secret", - "kv": { - "enabled": true, - "engineVersion": 2, - "mountPoint": "kv", - "path": "events-service/settings" - }, - "pki": { - "enabled": true, - "roleName": "events-service", - "commonName": "events-service.minispace.io" - }, - "lease": { - "mongo": { - "type": "database", - "roleName": "events-service", - "enabled": true, - "autoRenewal": true, - "templates": { - "connectionString": "mongodb://{{username}}:{{password}}@localhost:27017" - } - } - } - } -} diff --git a/MiniSpace.Services.Friends/src/MiniSpace.Services.Friends.Api/appsettings.docker.json b/MiniSpace.Services.Friends/src/MiniSpace.Services.Friends.Api/appsettings.docker.json deleted file mode 100644 index c7850c7fb..000000000 --- a/MiniSpace.Services.Friends/src/MiniSpace.Services.Friends.Api/appsettings.docker.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "app": { - "name": "MiniSpace Friends Service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://consul:8500", - "service": "friends-service", - "address": "friends-service", - "port": "80", - "pingEnabled": true, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://fabio:9999", - "service": "friends-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": {} - }, - "jwt": { - "certificate": { - "location": "", - "password": "", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": true, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://elk:9200" - }, - "file": { - "enabled": false, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://seq:5341", - "apiKey": "secret" - } - }, - "jaeger": { - "enabled": true, - "serviceName": "friends", - "udpHost": "jaeger", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://influx:8086", - "database": "minispace", - "env": "docker", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "friends-service", - "seed": false - }, - "rabbitMq": { - "connectionName": "friends-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "rabbitmq" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "friends" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "friends-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "redis", - "instance": "friends:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": false, - "url": "http://vault:8200", - "kv": { - "enabled": false - }, - "pki": { - "enabled": false - }, - "lease": { - "mongo": { - "enabled": false - } - } - } -} \ No newline at end of file diff --git a/MiniSpace.Services.Friends/src/MiniSpace.Services.Friends.Api/appsettings.local.json b/MiniSpace.Services.Friends/src/MiniSpace.Services.Friends.Api/appsettings.local.json deleted file mode 100644 index 65ea837fc..000000000 --- a/MiniSpace.Services.Friends/src/MiniSpace.Services.Friends.Api/appsettings.local.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "app": { - "name": "MiniSpace Friends Service", - "service": "friends-service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://localhost:8500", - "service": "friends-service", - "address": "docker.for.win.localhost", - "port": "5009", - "pingEnabled": false, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://localhost:9999", - "service": "friends-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": {}, - "requestMasking": { - "enabled": true, - "maskTemplate": "*****" - } - }, - "jwt": { - "certificate": { - "location": "certs/localhost.pfx", - "password": "test", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": false, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "level": "information", - "excludePaths": ["/", "/ping", "/metrics"], - "excludeProperties": [ - "api_key", - "access_key", - "ApiKey", - "ApiSecret", - "ClientId", - "ClientSecret", - "ConnectionString", - "Password", - "Email", - "Login", - "Secret", - "Token" - ], - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://localhost:9200" - }, - "file": { - "enabled": true, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://localhost:5341", - "apiKey": "secret" - }, - "tags": {} - }, - "jaeger": { - "enabled": true, - "serviceName": "friends", - "udpHost": "localhost", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://localhost:8086", - "database": "minispace", - "env": "local", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "friends-service", - "seed": false - }, - "outbox": { - "enabled": false, - "type": "sequential", - "expiry": 3600, - "intervalMilliseconds": 2000, - "inboxCollection": "inbox", - "outboxCollection": "outbox", - "disableTransactions": true - }, - "rabbitMq": { - "connectionName": "friends-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "localhost" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "friends" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "friends-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "localhost", - "instance": "friends:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": true, - "url": "http://localhost:8200", - "authType": "token", - "token": "secret", - "username": "user", - "password": "secret", - "kv": { - "enabled": true, - "engineVersion": 2, - "mountPoint": "kv", - "path": "friends-service/settings" - }, - "pki": { - "enabled": true, - "roleName": "friends-service", - "commonName": "friends-service.minispace.io" - }, - "lease": { - "mongo": { - "type": "database", - "roleName": "friends-service", - "enabled": true, - "autoRenewal": true, - "templates": { - "connectionString": "mongodb://{{username}}:{{password}}@localhost:27017" - } - } - } - } -} diff --git a/MiniSpace.Services.Identity/src/MiniSpace.Services.Identity.Api/appsettings.docker.json b/MiniSpace.Services.Identity/src/MiniSpace.Services.Identity.Api/appsettings.docker.json deleted file mode 100644 index ab125a5eb..000000000 --- a/MiniSpace.Services.Identity/src/MiniSpace.Services.Identity.Api/appsettings.docker.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "app": { - "name": "MiniSpace Identity Service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://consul:8500", - "service": "identity-service", - "address": "identity-service", - "port": "80", - "pingEnabled": true, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://fabio:9999", - "service": "identity-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": {} - }, - "jwt": { - "certificate": { - "location": "", - "password": "", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": true, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://elk:9200" - }, - "file": { - "enabled": false, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://seq:5341", - "apiKey": "secret" - } - }, - "jaeger": { - "enabled": true, - "serviceName": "identity", - "udpHost": "jaeger", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://influx:8086", - "database": "minispace", - "env": "docker", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "identity-service", - "seed": false - }, - "rabbitMq": { - "hostnames": [ - "rabbitmq" - ] - }, - "redis": { - "connectionString": "redis", - "instance": "identity:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": false, - "url": "http://vault:8200", - "kv": { - "enabled": false - }, - "pki": { - "enabled": false - }, - "lease": { - "mongo": { - "enabled": false - } - } - } -} \ No newline at end of file diff --git a/MiniSpace.Services.Identity/src/MiniSpace.Services.Identity.Api/appsettings.local.json b/MiniSpace.Services.Identity/src/MiniSpace.Services.Identity.Api/appsettings.local.json deleted file mode 100644 index b82bf81ad..000000000 --- a/MiniSpace.Services.Identity/src/MiniSpace.Services.Identity.Api/appsettings.local.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "app": { - "name": "MiniSpace Identity Service", - "service": "identity-service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://localhost:8500", - "service": "identity-service", - "address": "docker.for.win.localhost", - "port": "5004", - "pingEnabled": false, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://localhost:9999", - "service": "identity-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": {}, - "requestMasking": { - "enabled": true, - "maskTemplate": "*****" - } - }, - "jwt": { - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": false, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "level": "information", - "excludePaths": ["/", "/ping", "/metrics"], - "excludeProperties": [ - "api_key", - "access_key", - "ApiKey", - "ApiSecret", - "ClientId", - "ClientSecret", - "ConnectionString", - "Password", - "Email", - "Login", - "Secret", - "Token" - ], - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://localhost:9200" - }, - "file": { - "enabled": true, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://localhost:5341", - "apiKey": "secret" - }, - "tags": {} - }, - "jaeger": { - "enabled": true, - "serviceName": "identity", - "udpHost": "localhost", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://localhost:8086", - "database": "minispace", - "env": "local", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "identity-service", - "seed": false - }, - "outbox": { - "enabled": false, - "type": "sequential", - "expiry": 3600, - "intervalMilliseconds": 2000, - "inboxCollection": "inbox", - "outboxCollection": "outbox", - "disableTransactions": true - }, - "rabbitMq": { - "connectionName": "identity-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "localhost" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "identity" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "identity-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "localhost", - "instance": "identity:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": true, - "url": "http://localhost:8200", - "authType": "token", - "token": "secret", - "username": "user", - "password": "secret", - "kv": { - "enabled": true, - "engineVersion": 2, - "mountPoint": "kv", - "path": "identity-service/settings" - }, - "pki": { - "enabled": true, - "roleName": "identity-service", - "commonName": "identity-service.minispace.io" - }, - "lease": { - "mongo": { - "type": "database", - "roleName": "identity-service", - "enabled": true, - "autoRenewal": true, - "templates": { - "connectionString": "mongodb://{{username}}:{{password}}@localhost:27017" - } - } - } - } -} diff --git a/MiniSpace.Services.MediaFiles/src/MiniSpace.Services.MediaFiles.Api/appsettings.docker.json b/MiniSpace.Services.MediaFiles/src/MiniSpace.Services.MediaFiles.Api/appsettings.docker.json deleted file mode 100644 index 423cece0b..000000000 --- a/MiniSpace.Services.MediaFiles/src/MiniSpace.Services.MediaFiles.Api/appsettings.docker.json +++ /dev/null @@ -1,158 +0,0 @@ -{ - "app": { - "name": "MiniSpace Media Files Service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://consul:8500", - "service": "mediafiles-service", - "address": "mediafiles-service", - "port": "80", - "pingEnabled": true, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://fabio:9999", - "service": "mediafiles-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": {} - }, - "jwt": { - "certificate": { - "location": "", - "password": "", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": true, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://elk:9200" - }, - "file": { - "enabled": false, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://seq:5341", - "apiKey": "secret" - } - }, - "jaeger": { - "enabled": true, - "serviceName": "events", - "udpHost": "jaeger", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://influx:8086", - "database": "minispace", - "env": "docker", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "mediafiles-service", - "seed": false - }, - "rabbitMq": { - "connectionName": "mediafiles-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "rabbitmq" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "events" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "mediafiles-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "redis", - "instance": "mediafiles:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": false, - "url": "http://vault:8200", - "kv": { - "enabled": false - }, - "pki": { - "enabled": false - }, - "lease": { - "mongo": { - "enabled": false - } - } - }, - "Aws": { - "AccessKeyId": "%AWS_ACCESS_KEY_ID%", - "SecretAccessKey": "%AWS_SECRET_ACCESS_KEY%", - "Region": "%AWS_REGION%" - } -} \ No newline at end of file diff --git a/MiniSpace.Services.MediaFiles/src/MiniSpace.Services.MediaFiles.Api/appsettings.local.json b/MiniSpace.Services.MediaFiles/src/MiniSpace.Services.MediaFiles.Api/appsettings.local.json deleted file mode 100644 index 10fc06a73..000000000 --- a/MiniSpace.Services.MediaFiles/src/MiniSpace.Services.MediaFiles.Api/appsettings.local.json +++ /dev/null @@ -1,200 +0,0 @@ -{ - "app": { - "name": "MiniSpace Media Files Service", - "service": "mediafiles-service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://localhost:8500", - "service": "mediafiles-service", - "address": "docker.for.win.localhost", - "port": "5014", - "pingEnabled": false, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://localhost:9999", - "service": "mediafiles-service" - }, - "httpClient": { - "type": "direct", - "retries": 3, - "services": { - }, - "requestMasking": { - "enabled": true, - "maskTemplate": "*****" - } - }, - "jwt": { - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": false, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "level": "information", - "excludePaths": ["/", "/ping", "/metrics"], - "excludeProperties": [ - "api_key", - "access_key", - "ApiKey", - "ApiSecret", - "ClientId", - "ClientSecret", - "ConnectionString", - "Password", - "Email", - "Login", - "Secret", - "Token" - ], - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://localhost:9200" - }, - "file": { - "enabled": true, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://localhost:5341", - "apiKey": "secret" - }, - "tags": {} - }, - "jaeger": { - "enabled": true, - "serviceName": "mediafiles", - "udpHost": "localhost", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://localhost:8086", - "database": "minispace", - "env": "local", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "mediafiles-service", - "seed": false - }, - "outbox": { - "enabled": false, - "type": "sequential", - "expiry": 3600, - "intervalMilliseconds": 2000, - "inboxCollection": "inbox", - "outboxCollection": "outbox", - "disableTransactions": true - }, - "rabbitMq": { - "connectionName": "mediafiles-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "localhost" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "mediafiles" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "mediafiles-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "localhost", - "instance": "mediafiles:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": true, - "url": "http://localhost:8200", - "authType": "token", - "token": "secret", - "username": "user", - "password": "secret", - "kv": { - "enabled": true, - "engineVersion": 2, - "mountPoint": "kv", - "path": "mediafiles-service/settings" - }, - "pki": { - "enabled": true, - "roleName": "mediafiles-service", - "commonName": "mediafiles-service.minispace.io" - }, - "lease": { - "mongo": { - "type": "database", - "roleName": "mediafiles-service", - "enabled": true, - "autoRenewal": true, - "templates": { - "connectionString": "mongodb://{{username}}:{{password}}@localhost:27017" - } - } - } - }, - "Aws": { - "AccessKeyId": "%AWS_ACCESS_KEY_ID%", - "SecretAccessKey": "%AWS_SECRET_ACCESS_KEY%", - "Region": "%AWS_REGION%" - } -} diff --git a/MiniSpace.Services.Notifications/src/MiniSpace.Services.Notifications.Api/appsettings.docker.json b/MiniSpace.Services.Notifications/src/MiniSpace.Services.Notifications.Api/appsettings.docker.json deleted file mode 100644 index 43363c86b..000000000 --- a/MiniSpace.Services.Notifications/src/MiniSpace.Services.Notifications.Api/appsettings.docker.json +++ /dev/null @@ -1,162 +0,0 @@ -{ - "app": { - "name": "MiniSpace Notifications Service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://consul:8500", - "service": "notifications-service", - "address": "notifications-service", - "port": "80", - "pingEnabled": true, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://fabio:9999", - "service": "notifications-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": { - "events": "events-service", - "posts": "posts-service", - "friends": "friends-service", - "students": "students-service", - "organizations": "organisations-service", - "comments": "comments-service", - "reactions": "reactions-service", - "reports": "reports-service" - } - }, - "jwt": { - "certificate": { - "location": "", - "password": "", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": true, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://elk:9200" - }, - "file": { - "enabled": false, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://seq:5341", - "apiKey": "secret" - } - }, - "jaeger": { - "enabled": true, - "serviceName": "notifications", - "udpHost": "jaeger", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://influx:8086", - "database": "minispace", - "env": "docker", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "notifications-service", - "seed": false - }, - "rabbitMq": { - "connectionName": "notifications-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "rabbitmq" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "notifications" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "notifications-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "redis", - "instance": "notifications:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": false, - "url": "http://vault:8200", - "kv": { - "enabled": false - }, - "pki": { - "enabled": false - }, - "lease": { - "mongo": { - "enabled": false - } - } - } -} \ No newline at end of file diff --git a/MiniSpace.Services.Notifications/src/MiniSpace.Services.Notifications.Api/appsettings.local.json b/MiniSpace.Services.Notifications/src/MiniSpace.Services.Notifications.Api/appsettings.local.json deleted file mode 100644 index 84d21e2e5..000000000 --- a/MiniSpace.Services.Notifications/src/MiniSpace.Services.Notifications.Api/appsettings.local.json +++ /dev/null @@ -1,208 +0,0 @@ -{ - "app": { - "name": "MiniSpace Notifications Service", - "service": "notifications-service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://localhost:8500", - "service": "notifications-service", - "address": "docker.for.win.localhost", - "port": "5007", - "pingEnabled": false, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://localhost:9999", - "service": "notifications-service" - }, - "httpClient": { - "type": "direct", - "retries": 3, - "services": { - "events": "http://localhost:5008", - "posts": "http://localhost:5013", - "comments": "http://localhost:5009", - "friends": "http://localhost:5012", - "organizations": "http://localhost:5015", - "students": "http://localhost:5007", - "reactions": "http://localhost:5010", - "reports": "http://localhost:5005" - }, - "requestMasking": { - "enabled": true, - "maskTemplate": "*****" - } - }, - "jwt": { - "certificate": { - "location": "certs/localhost.pfx", - "password": "test", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": false, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "level": "information", - "excludePaths": ["/", "/ping", "/metrics"], - "excludeProperties": [ - "api_key", - "access_key", - "ApiKey", - "ApiSecret", - "ClientId", - "ClientSecret", - "ConnectionString", - "Password", - "Email", - "Login", - "Secret", - "Token" - ], - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://localhost:9200" - }, - "file": { - "enabled": true, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://localhost:5341", - "apiKey": "secret" - }, - "tags": {} - }, - "jaeger": { - "enabled": true, - "serviceName": "notifications", - "udpHost": "localhost", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://localhost:8086", - "database": "minispace", - "env": "local", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "notifications-service", - "seed": false - }, - "outbox": { - "enabled": false, - "type": "sequential", - "expiry": 3600, - "intervalMilliseconds": 2000, - "inboxCollection": "inbox", - "outboxCollection": "outbox", - "disableTransactions": true - }, - "rabbitMq": { - "connectionName": "notifications-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "localhost" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "notifications" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "notifications-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "localhost", - "instance": "notifications:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": true, - "url": "http://localhost:8200", - "authType": "token", - "token": "secret", - "username": "user", - "password": "secret", - "kv": { - "enabled": true, - "engineVersion": 2, - "mountPoint": "kv", - "path": "notifications-service/settings" - }, - "pki": { - "enabled": true, - "roleName": "notifications-service", - "commonName": "notifications-service.minispace.io" - }, - "lease": { - "mongo": { - "type": "database", - "roleName": "notifications-service", - "enabled": true, - "autoRenewal": true, - "templates": { - "connectionString": "mongodb://{{username}}:{{password}}@localhost:27017" - } - } - } - } -} diff --git a/MiniSpace.Services.Organizations/src/MiniSpace.Services.Organizations.Api/appsettings.docker.json b/MiniSpace.Services.Organizations/src/MiniSpace.Services.Organizations.Api/appsettings.docker.json deleted file mode 100644 index f047f298a..000000000 --- a/MiniSpace.Services.Organizations/src/MiniSpace.Services.Organizations.Api/appsettings.docker.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "app": { - "name": "MiniSpace Organizations Service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://consul:8500", - "service": "organizations-service", - "address": "organizations-service", - "port": "80", - "pingEnabled": true, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://fabio:9999", - "service": "organizations-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": {} - }, - "jwt": { - "certificate": { - "location": "", - "password": "", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": true, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://elk:9200" - }, - "file": { - "enabled": false, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://seq:5341", - "apiKey": "secret" - } - }, - "jaeger": { - "enabled": true, - "serviceName": "organizations", - "udpHost": "jaeger", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://influx:8086", - "database": "minispace", - "env": "docker", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "organizations-service", - "seed": false - }, - "rabbitMq": { - "connectionName": "organizations-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "rabbitmq" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "organizations" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "organizations-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "redis", - "instance": "organizations:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": false, - "url": "http://vault:8200", - "kv": { - "enabled": false - }, - "pki": { - "enabled": false - }, - "lease": { - "mongo": { - "enabled": false - } - } - } -} \ No newline at end of file diff --git a/MiniSpace.Services.Organizations/src/MiniSpace.Services.Organizations.Api/appsettings.local.json b/MiniSpace.Services.Organizations/src/MiniSpace.Services.Organizations.Api/appsettings.local.json deleted file mode 100644 index 2528dbe3a..000000000 --- a/MiniSpace.Services.Organizations/src/MiniSpace.Services.Organizations.Api/appsettings.local.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "app": { - "name": "MiniSpace Organizations Service", - "service": "organizations-service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://localhost:8500", - "service": "organizations-service", - "address": "docker.for.win.localhost", - "port": "5015", - "pingEnabled": false, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://localhost:9999", - "service": "organizations-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": {}, - "requestMasking": { - "enabled": true, - "maskTemplate": "*****" - } - }, - "jwt": { - "certificate": { - "location": "certs/localhost.pfx", - "password": "test", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": false, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "level": "information", - "excludePaths": ["/", "/ping", "/metrics"], - "excludeProperties": [ - "api_key", - "access_key", - "ApiKey", - "ApiSecret", - "ClientId", - "ClientSecret", - "ConnectionString", - "Password", - "Email", - "Login", - "Secret", - "Token" - ], - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://localhost:9200" - }, - "file": { - "enabled": true, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://localhost:5341", - "apiKey": "secret" - }, - "tags": {} - }, - "jaeger": { - "enabled": true, - "serviceName": "organizations", - "udpHost": "localhost", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://localhost:8086", - "database": "minispace", - "env": "local", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "organizations-service", - "seed": false - }, - "outbox": { - "enabled": false, - "type": "sequential", - "expiry": 3600, - "intervalMilliseconds": 2000, - "inboxCollection": "inbox", - "outboxCollection": "outbox", - "disableTransactions": true - }, - "rabbitMq": { - "connectionName": "organizations-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "localhost" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "organizations" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "organizations-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "localhost", - "instance": "organizations:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": true, - "url": "http://localhost:8200", - "authType": "token", - "token": "secret", - "username": "user", - "password": "secret", - "kv": { - "enabled": true, - "engineVersion": 2, - "mountPoint": "kv", - "path": "organizations-service/settings" - }, - "pki": { - "enabled": true, - "roleName": "organizations-service", - "commonName": "organizations-service.minispace.io" - }, - "lease": { - "mongo": { - "type": "database", - "roleName": "organizations-service", - "enabled": true, - "autoRenewal": true, - "templates": { - "connectionString": "mongodb://{{username}}:{{password}}@localhost:27017" - } - } - } - } -} diff --git a/MiniSpace.Services.Posts/src/MiniSpace.Services.Posts.Api/appsettings.docker.json b/MiniSpace.Services.Posts/src/MiniSpace.Services.Posts.Api/appsettings.docker.json deleted file mode 100644 index 18539c4d2..000000000 --- a/MiniSpace.Services.Posts/src/MiniSpace.Services.Posts.Api/appsettings.docker.json +++ /dev/null @@ -1,155 +0,0 @@ -{ - "app": { - "name": "MiniSpace Posts Service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://consul:8500", - "service": "posts-service", - "address": "posts-service", - "port": "80", - "pingEnabled": true, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://fabio:9999", - "service": "posts-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": { - "students": "students-service" - } - }, - "jwt": { - "certificate": { - "location": "", - "password": "", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": true, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://elk:9200" - }, - "file": { - "enabled": false, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://seq:5341", - "apiKey": "secret" - } - }, - "jaeger": { - "enabled": true, - "serviceName": "posts", - "udpHost": "jaeger", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://influx:8086", - "database": "minispace", - "env": "docker", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "posts-service", - "seed": false - }, - "rabbitMq": { - "connectionName": "posts-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "rabbitmq" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "posts" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "posts-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "redis", - "instance": "posts:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": false, - "url": "http://vault:8200", - "kv": { - "enabled": false - }, - "pki": { - "enabled": false - }, - "lease": { - "mongo": { - "enabled": false - } - } - } -} \ No newline at end of file diff --git a/MiniSpace.Services.Posts/src/MiniSpace.Services.Posts.Api/appsettings.local.json b/MiniSpace.Services.Posts/src/MiniSpace.Services.Posts.Api/appsettings.local.json deleted file mode 100644 index 36ed584c9..000000000 --- a/MiniSpace.Services.Posts/src/MiniSpace.Services.Posts.Api/appsettings.local.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "app": { - "name": "MiniSpace Posts Service", - "service": "posts-service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://localhost:8500", - "service": "posts-service", - "address": "docker.for.win.localhost", - "port": "5013", - "pingEnabled": false, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://localhost:9999", - "service": "posts-service" - }, - "httpClient": { - "type": "direct", - "retries": 3, - "services": { - "students": "http://localhost:5007" - } - }, - "jwt": { - "certificate": { - "location": "certs/localhost.pfx", - "password": "test", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": false, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "level": "information", - "excludePaths": ["/", "/ping", "/metrics"], - "excludeProperties": [ - "api_key", - "access_key", - "ApiKey", - "ApiSecret", - "ClientId", - "ClientSecret", - "ConnectionString", - "Password", - "Email", - "Login", - "Secret", - "Token" - ], - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://localhost:9200" - }, - "file": { - "enabled": true, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://localhost:5341", - "apiKey": "secret" - }, - "tags": {} - }, - "jaeger": { - "enabled": true, - "serviceName": "posts", - "udpHost": "localhost", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://localhost:8086", - "database": "minispace", - "env": "local", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "posts-service", - "seed": false - }, - "outbox": { - "enabled": false, - "type": "sequential", - "expiry": 3600, - "intervalMilliseconds": 2000, - "inboxCollection": "inbox", - "outboxCollection": "outbox", - "disableTransactions": true - }, - "rabbitMq": { - "connectionName": "posts-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "localhost" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "posts" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "posts-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "localhost", - "instance": "posts:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": true, - "url": "http://localhost:8200", - "authType": "token", - "token": "secret", - "username": "user", - "password": "secret", - "kv": { - "enabled": true, - "engineVersion": 2, - "mountPoint": "kv", - "path": "posts-service/settings" - }, - "pki": { - "enabled": true, - "roleName": "posts-service", - "commonName": "posts-service.minispace.io" - }, - "lease": { - "mongo": { - "type": "database", - "roleName": "posts-service", - "enabled": true, - "autoRenewal": true, - "templates": { - "connectionString": "mongodb://{{username}}:{{password}}@localhost:27017" - } - } - } - } -} diff --git a/MiniSpace.Services.Reactions/src/MiniSpace.Services.Reactions.Api/appsettings.docker.json b/MiniSpace.Services.Reactions/src/MiniSpace.Services.Reactions.Api/appsettings.docker.json deleted file mode 100644 index ee0ec548a..000000000 --- a/MiniSpace.Services.Reactions/src/MiniSpace.Services.Reactions.Api/appsettings.docker.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "app": { - "name": "MiniSpace Reactions Service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://consul:8500", - "service": "reactions-service", - "address": "reactions-service", - "port": "80", - "pingEnabled": true, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://fabio:9999", - "service": "reactions-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": {} - }, - "jwt": { - "certificate": { - "location": "", - "password": "", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": true, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://elk:9200" - }, - "file": { - "enabled": false, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://seq:5341", - "apiKey": "secret" - } - }, - "jaeger": { - "enabled": true, - "serviceName": "reactions", - "udpHost": "jaeger", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://influx:8086", - "database": "minispace", - "env": "docker", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "reactions-service", - "seed": false - }, - "rabbitMq": { - "connectionName": "reactions-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "rabbitmq" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "reactions" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "reactions-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "redis", - "instance": "reactions:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": false, - "url": "http://vault:8200", - "kv": { - "enabled": false - }, - "pki": { - "enabled": false - }, - "lease": { - "mongo": { - "enabled": false - } - } - } -} \ No newline at end of file diff --git a/MiniSpace.Services.Reactions/src/MiniSpace.Services.Reactions.Api/appsettings.local.json b/MiniSpace.Services.Reactions/src/MiniSpace.Services.Reactions.Api/appsettings.local.json deleted file mode 100644 index be6106839..000000000 --- a/MiniSpace.Services.Reactions/src/MiniSpace.Services.Reactions.Api/appsettings.local.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "app": { - "name": "MiniSpace Reactions Service", - "service": "reactions-service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://localhost:8500", - "service": "reactions-service", - "address": "docker.for.win.localhost", - "port": "5010", - "pingEnabled": false, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://localhost:9999", - "service": "reactions-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": {}, - "requestMasking": { - "enabled": true, - "maskTemplate": "*****" - } - }, - "jwt": { - "certificate": { - "location": "certs/localhost.pfx", - "password": "test", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": false, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "level": "information", - "excludePaths": ["/", "/ping", "/metrics"], - "excludeProperties": [ - "api_key", - "access_key", - "ApiKey", - "ApiSecret", - "ClientId", - "ClientSecret", - "ConnectionString", - "Password", - "Email", - "Login", - "Secret", - "Token" - ], - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://localhost:9200" - }, - "file": { - "enabled": true, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://localhost:5341", - "apiKey": "secret" - }, - "tags": {} - }, - "jaeger": { - "enabled": true, - "serviceName": "reactions", - "udpHost": "localhost", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://localhost:8086", - "database": "minispace", - "env": "local", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "reactions-service", - "seed": false - }, - "outbox": { - "enabled": false, - "type": "sequential", - "expiry": 3600, - "intervalMilliseconds": 2000, - "inboxCollection": "inbox", - "outboxCollection": "outbox", - "disableTransactions": true - }, - "rabbitMq": { - "connectionName": "reactions-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "localhost" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "reactions" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "reactions-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "localhost", - "instance": "reactions:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": true, - "url": "http://localhost:8200", - "authType": "token", - "token": "secret", - "username": "user", - "password": "secret", - "kv": { - "enabled": true, - "engineVersion": 2, - "mountPoint": "kv", - "path": "reactions-service/settings" - }, - "pki": { - "enabled": true, - "roleName": "reactions-service", - "commonName": "reactions-service.minispace.io" - }, - "lease": { - "mongo": { - "type": "database", - "roleName": "reactions-service", - "enabled": true, - "autoRenewal": true, - "templates": { - "connectionString": "mongodb://{{username}}:{{password}}@localhost:27017" - } - } - } - } -} diff --git a/MiniSpace.Services.Reports/src/MiniSpace.Services.Reports.Api/appsettings.docker.json b/MiniSpace.Services.Reports/src/MiniSpace.Services.Reports.Api/appsettings.docker.json deleted file mode 100644 index 2d194e418..000000000 --- a/MiniSpace.Services.Reports/src/MiniSpace.Services.Reports.Api/appsettings.docker.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "app": { - "name": "MiniSpace reports Service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://consul:8500", - "service": "reports-service", - "address": "reports-service", - "port": "80", - "pingEnabled": true, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://fabio:9999", - "service": "reports-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": {} - }, - "jwt": { - "certificate": { - "location": "", - "password": "", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": true, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://elk:9200" - }, - "file": { - "enabled": false, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://seq:5341", - "apiKey": "secret" - } - }, - "jaeger": { - "enabled": true, - "serviceName": "reports", - "udpHost": "jaeger", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://influx:8086", - "database": "minispace", - "env": "docker", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "reports-service", - "seed": false - }, - "rabbitMq": { - "connectionName": "reports-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "rabbitmq" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "reports" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "reports-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "redis", - "instance": "reports:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": false, - "url": "http://vault:8200", - "kv": { - "enabled": false - }, - "pki": { - "enabled": false - }, - "lease": { - "mongo": { - "enabled": false - } - } - } -} \ No newline at end of file diff --git a/MiniSpace.Services.Reports/src/MiniSpace.Services.Reports.Api/appsettings.local.json b/MiniSpace.Services.Reports/src/MiniSpace.Services.Reports.Api/appsettings.local.json deleted file mode 100644 index 6215f26c4..000000000 --- a/MiniSpace.Services.Reports/src/MiniSpace.Services.Reports.Api/appsettings.local.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "app": { - "name": "MiniSpace Reports Service", - "service": "reports-service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://localhost:8500", - "service": "reports-service", - "address": "docker.for.win.localhost", - "port": "5005", - "pingEnabled": false, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://localhost:9999", - "service": "reports-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": {}, - "requestMasking": { - "enabled": true, - "maskTemplate": "*****" - } - }, - "jwt": { - "certificate": { - "location": "certs/localhost.pfx", - "password": "test", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": false, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "level": "information", - "excludePaths": ["/", "/ping", "/metrics"], - "excludeProperties": [ - "api_key", - "access_key", - "ApiKey", - "ApiSecret", - "ClientId", - "ClientSecret", - "ConnectionString", - "Password", - "Email", - "Login", - "Secret", - "Token" - ], - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://localhost:9200" - }, - "file": { - "enabled": true, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://localhost:5341", - "apiKey": "secret" - }, - "tags": {} - }, - "jaeger": { - "enabled": true, - "serviceName": "reports", - "udpHost": "localhost", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://localhost:8086", - "database": "minispace", - "env": "local", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "reports-service", - "seed": false - }, - "outbox": { - "enabled": false, - "type": "sequential", - "expiry": 3600, - "intervalMilliseconds": 2000, - "inboxCollection": "inbox", - "outboxCollection": "outbox", - "disableTransactions": true - }, - "rabbitMq": { - "connectionName": "reports-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "localhost" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "reports" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "reports-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "localhost", - "instance": "reports:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": true, - "url": "http://localhost:8200", - "authType": "token", - "token": "secret", - "username": "user", - "password": "secret", - "kv": { - "enabled": true, - "engineVersion": 2, - "mountPoint": "kv", - "path": "reports-service/settings" - }, - "pki": { - "enabled": true, - "roleName": "reports-service", - "commonName": "reports-service.minispace.io" - }, - "lease": { - "mongo": { - "type": "database", - "roleName": "reports-service", - "enabled": true, - "autoRenewal": true, - "templates": { - "connectionString": "mongodb://{{username}}:{{password}}@localhost:27017" - } - } - } - } -} diff --git a/MiniSpace.Services.Students/src/MiniSpace.Services.Students.Api/appsettings.docker.json b/MiniSpace.Services.Students/src/MiniSpace.Services.Students.Api/appsettings.docker.json deleted file mode 100644 index ed2cb6e78..000000000 --- a/MiniSpace.Services.Students/src/MiniSpace.Services.Students.Api/appsettings.docker.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "app": { - "name": "MiniSpace Students Service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://consul:8500", - "service": "students-service", - "address": "students-service", - "port": "80", - "pingEnabled": true, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://fabio:9999", - "service": "students-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": {} - }, - "jwt": { - "certificate": { - "location": "", - "password": "", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": true, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://elk:9200" - }, - "file": { - "enabled": false, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://seq:5341", - "apiKey": "secret" - } - }, - "jaeger": { - "enabled": true, - "serviceName": "students", - "udpHost": "jaeger", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://influx:8086", - "database": "minispace", - "env": "docker", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "students-service", - "seed": false - }, - "rabbitMq": { - "connectionName": "students-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "rabbitmq" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "students" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "students-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "redis", - "instance": "students:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": false, - "url": "http://vault:8200", - "kv": { - "enabled": false - }, - "pki": { - "enabled": false - }, - "lease": { - "mongo": { - "enabled": false - } - } - } -} \ No newline at end of file diff --git a/MiniSpace.Services.Students/src/MiniSpace.Services.Students.Api/appsettings.local.json b/MiniSpace.Services.Students/src/MiniSpace.Services.Students.Api/appsettings.local.json deleted file mode 100644 index 78aa299b4..000000000 --- a/MiniSpace.Services.Students/src/MiniSpace.Services.Students.Api/appsettings.local.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "app": { - "name": "MiniSpace Students Service", - "service": "students-service", - "version": "1" - }, - "consul": { - "enabled": true, - "url": "http://localhost:8500", - "service": "students-service", - "address": "docker.for.win.localhost", - "port": "5007", - "pingEnabled": false, - "pingEndpoint": "ping", - "pingInterval": 3, - "removeAfterInterval": 3 - }, - "fabio": { - "enabled": true, - "url": "http://localhost:9999", - "service": "students-service" - }, - "httpClient": { - "type": "fabio", - "retries": 3, - "services": {}, - "requestMasking": { - "enabled": true, - "maskTemplate": "*****" - } - }, - "jwt": { - "certificate": { - "location": "certs/localhost.pfx", - "password": "test", - "rawData": "" - }, - "issuerSigningKey": "eiquief5phee9pazo0Faegaez9gohThailiur5woy2befiech1oarai4aiLi6ahVecah3ie9Aiz6Peij", - "expiryMinutes": 60, - "issuer": "minispace", - "validateAudience": false, - "validateIssuer": false, - "validateLifetime": false, - "allowAnonymousEndpoints": ["/sign-in", "/sign-up"] - }, - "logger": { - "level": "information", - "excludePaths": ["/", "/ping", "/metrics"], - "excludeProperties": [ - "api_key", - "access_key", - "ApiKey", - "ApiSecret", - "ClientId", - "ClientSecret", - "ConnectionString", - "Password", - "Email", - "Login", - "Secret", - "Token" - ], - "console": { - "enabled": true - }, - "elk": { - "enabled": false, - "url": "http://localhost:9200" - }, - "file": { - "enabled": true, - "path": "logs/logs.txt", - "interval": "day" - }, - "seq": { - "enabled": true, - "url": "http://localhost:5341", - "apiKey": "secret" - }, - "tags": {} - }, - "jaeger": { - "enabled": true, - "serviceName": "students", - "udpHost": "localhost", - "udpPort": 6831, - "maxPacketSize": 0, - "sampler": "const", - "excludePaths": ["/", "/ping", "/metrics"] - }, - "metrics": { - "enabled": true, - "influxEnabled": false, - "prometheusEnabled": true, - "influxUrl": "http://localhost:8086", - "database": "minispace", - "env": "local", - "interval": 5 - }, - "mongo": { - "connectionString": "mongodb+srv://minispace-user:9vd6IxYWUuuqhzEH@cluster0.mmhq4pe.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", - "database": "students-service", - "seed": false - }, - "outbox": { - "enabled": false, - "type": "sequential", - "expiry": 3600, - "intervalMilliseconds": 2000, - "inboxCollection": "inbox", - "outboxCollection": "outbox", - "disableTransactions": true - }, - "rabbitMq": { - "connectionName": "students-service", - "retries": 3, - "retryInterval": 2, - "conventionsCasing": "snakeCase", - "logger": { - "enabled": true - }, - "username": "guest", - "password": "guest", - "virtualHost": "/", - "port": 5672, - "hostnames": [ - "localhost" - ], - "requestedConnectionTimeout": "00:00:30", - "requestedHeartbeat": "00:01:00", - "socketReadTimeout": "00:00:30", - "socketWriteTimeout": "00:00:30", - "continuationTimeout": "00:00:20", - "handshakeContinuationTimeout": "00:00:10", - "networkRecoveryInterval": "00:00:05", - "exchange": { - "declare": true, - "durable": true, - "autoDelete": false, - "type": "topic", - "name": "students" - }, - "queue": { - "declare": true, - "durable": true, - "exclusive": false, - "autoDelete": false, - "template": "students-service/{{exchange}}.{{message}}" - }, - "context": { - "enabled": true, - "header": "message_context" - }, - "spanContextHeader": "span_context" - }, - "redis": { - "connectionString": "localhost", - "instance": "students:" - }, - "swagger": { - "enabled": true, - "reDocEnabled": false, - "name": "v1", - "title": "API", - "version": "v1", - "routePrefix": "docs", - "includeSecurity": true - }, - "vault": { - "enabled": true, - "url": "http://localhost:8200", - "authType": "token", - "token": "secret", - "username": "user", - "password": "secret", - "kv": { - "enabled": true, - "engineVersion": 2, - "mountPoint": "kv", - "path": "students-service/settings" - }, - "pki": { - "enabled": true, - "roleName": "students-service", - "commonName": "students-service.minispace.io" - }, - "lease": { - "mongo": { - "type": "database", - "roleName": "students-service", - "enabled": true, - "autoRenewal": true, - "templates": { - "connectionString": "mongodb://{{username}}:{{password}}@localhost:27017" - } - } - } - } -}