Skip to content

Commit 20e4727

Browse files
authored
feat(use-sqlite-for-excel): Use sqlite data to create excel files (#565)
* install xlsx package * create xlsx files on base of the sqlite data * use the right column in xlsx file * set the column widths * remove blob storage related code * remove @azure/storage-blob dependency * remove blob storage health check * fix unit test * fix linter warnings
1 parent 8337d87 commit 20e4727

File tree

12 files changed

+97
-682
lines changed

12 files changed

+97
-682
lines changed

.example.env

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
ENABLE_CORS=true
22

3-
AHB_CONTAINER_NAME='uploaded-files'
4-
AZURE_BLOB_STORAGE_CONNECTION_STRING=DefaultEndpointsProtocol='http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;'
5-
FORMAT_VERSION_CONTAINER_NAME=format-versions
6-
73
OH_DEAR_HEALTH_CHECK_SECRET=my-secret-oh-dear-health-check-secret
84

9-
DB_7Z_ARCHIVE_PASSWORD=my-secret-db-7z-archive-password
5+
DB_7Z_ARCHIVE_PASSWORD=my-secret-db-7z-archive-password

azure-mock/upload-documents.ts

Lines changed: 0 additions & 154 deletions
This file was deleted.

docker-compose.yaml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
11
services:
2-
azurite:
3-
image: mcr.microsoft.com/azure-storage/azurite:latest
4-
ports:
5-
- 10000:10000
6-
command: azurite-blob --blobHost 0.0.0.0 --skipApiVersionCheck
7-
restart: unless-stopped
8-
9-
upload-documents:
10-
build:
11-
context: .
12-
dockerfile: azure-mock/Dockerfile
13-
environment:
14-
- AZURE_STORAGE_HOST=http://azurite
15-
depends_on:
16-
- azurite
17-
182
server:
193
build:
204
dockerfile: ./Dockerfile
@@ -27,11 +11,7 @@ services:
2711
- 4000:4000
2812
environment:
2913
- PORT=4000
30-
- AZURE_BLOB_STORAGE_CONNECTION_STRING=DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://host.docker.internal:10000/devstoreaccount1;
31-
- AHB_CONTAINER_NAME=uploaded-files
32-
- FORMAT_VERSION_CONTAINER_NAME=format-versions
3314
- DB_7Z_ARCHIVE_PASSWORD=${DB_7Z_ARCHIVE_PASSWORD}
3415
- ENVIRONMENT=docker
3516
depends_on:
3617
- upload-documents
37-
- azurite

0 commit comments

Comments
 (0)