Skip to content

Commit

Permalink
Merge branch 'dev' into psp-7886
Browse files Browse the repository at this point in the history
# Conflicts:
#	source/frontend/src/features/mapSideBar/acquisition/tabs/fileDetails/detail/statusUpdateSolver.ts
  • Loading branch information
Herrera committed Apr 2, 2024
2 parents 2109f39 + c8f30d6 commit 868b1b3
Show file tree
Hide file tree
Showing 113 changed files with 14,158 additions and 7,274 deletions.
1 change: 1 addition & 0 deletions .github/.trufflehog3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ exclude: # exclude matching issues
- "*.ico"
- "*.css"
- "*.scss"
- "*.config.ts"
- message: Ignore integrity hashes on Openshift config files
pattern: sha256:.*
paths:
Expand Down
13 changes: 8 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -184,27 +184,27 @@ infra: ## Starts infrastructure containers (e.g. database, geoserver). Useful fo

start: ## Starts the local containers (n=service name)
@echo "$(P) Starting client and server containers..."
@docker-compose start $(n)
@docker-compose --profile all start $(n)

up: ## Runs the local containers (n=service name)
@echo "$(P) Running client and server..."
@docker-compose up -d --no-recreate $(n)
@docker-compose --profile all up -d --no-recreate $(n)

destroy: ## Stops the local containers and removes them (n=service name)
@echo "$(P) Removing docker containers..."
@docker-compose rm -s -f $(n)

down: ## Stops the local containers and removes them
@echo "$(P) Stopping client and server..."
@docker-compose down
@docker-compose --profile all down

stop: ## Stops the local containers (n=service name)
@echo "$(P) Stopping client and server..."
@docker-compose stop $(n)
@docker-compose --profile all stop $(n)

build: ## Builds the local containers (n=service name)
@echo "$(P) Building images..."
@docker-compose build --no-cache $(n)
@docker-compose --profile all build --no-cache $(n)

rebuild: ## Build the local contains (n=service name) and then start them after building
@"$(MAKE)" build n=$(n)
Expand All @@ -216,6 +216,9 @@ clean: ## Removes all local containers, images, volumes, etc
@docker volume rm -f psp-frontend-node-cache
@docker volume rm -f psp-api-db-data

restart-mayan:
@docker-compose --profile mayan up --build -d

logs: ## Shows logs for running containers (n=service name)
@docker-compose logs -f $(n)

Expand Down
25 changes: 24 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
version: "3.5"

include:
- tools/mayan-edms/docker-compose.yml

services:
####################### Database #######################
database:
profiles:
- all
- psp
environment:
- TARGET_SPRINT
- SEED
Expand All @@ -21,6 +27,9 @@ services:

####################### Backend #######################
backend:
profiles:
- all
- psp
restart: on-failure:1
container_name: psp-api
build:
Expand All @@ -39,6 +48,9 @@ services:

####################### Frontend #######################
frontend:
profiles:
- all
- psp
stdin_open: true
tty: true
restart: on-failure:1
Expand All @@ -59,6 +71,9 @@ services:

####################### GeoServer #######################
geoserver:
profiles:
- all
- psp
image: kartoza/geoserver:2.19.2
volumes:
- ./tools/geoserver/geoserver_data:/opt/geoserver/data_dir/workspaces
Expand All @@ -77,6 +92,8 @@ services:
####################### Clam AV #######################
# example av test file here: https://serverfault.com/questions/484082/how-should-i-test-clam-anti-virus
clamav:
profiles:
- all
image: mkodockx/docker-clamav:alpine-idb-amd64
environment:
- CLAMD_CONF_MaxFileSize=500M
Expand All @@ -86,14 +103,17 @@ services:
restart: on-failure
container_name: psp-clamav
healthcheck:
test: ["CMD", "./check.sh"]
test: [ "CMD", "./check.sh" ]
interval: 60s
retries: 3
start_period: 120s
networks:
- psp

prometheus:
profiles:
- all
- monitoring
image: ubuntu/prometheus
container_name: psp-prometheus
ports:
Expand All @@ -108,6 +128,9 @@ services:
- "--web.enable-lifecycle"

grafana:
profiles:
- all
- monitoring
image: grafana/grafana-oss
container_name: psp-grafana
restart: on-failure
Expand Down
238 changes: 238 additions & 0 deletions etl/PIMS_PROPERTY_MERGE_UPD/PIMS_PROPERTY_MERGE.dtproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,238 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<DeploymentModel>Project</DeploymentModel>
<ProductVersion>16.0.5270.0</ProductVers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Z2luZS80MDAiIHhtbG5zOmRkbDQwMF80MDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEyL2VuZ2luZS80MDAvNDAwIiB4bWxuczpkZGw1MDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEzL2VuZ2luZS81MDAiIHhtbG5zOmRkbDUwMF81MDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEzL2VuZ2luZS81MDAvNTAwIiB4bWxuczpkd2Q9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vRGF0YVdhcmVob3VzZS9EZXNpZ25lci8xLjAiPg0KICA8RW5hYmxlZD5mYWxzZTwvRW5hYmxlZD4NCiAgPFByb2plY3ROYW1lPjwvUHJvamVjdE5hbWU+DQogIDxBdXhQYXRoPjwvQXV4UGF0aD4NCiAgPExvY2FsUGF0aD48L0xvY2FsUGF0aD4NCiAgPFByb3ZpZGVyPjwvUHJvdmlkZXI+DQo8L1NvdXJjZUNvbnRyb2xJbmZvPg==</State>
<Database>
<Name>PIMS_PROPERTY_MERGE_UPD.database</Name>
<FullPath>PIMS_PROPERTY_MERGE_UPD.database</FullPath>
</Database>
<DataSources />
<DataSourceViews />
<DeploymentModelSpecificContent>
<Manifest>
<SSIS:Project SSIS:ProtectionLevel="DontSaveSensitive" xmlns:SSIS="www.microsoft.com/SqlServer/SSIS">
<SSIS:Properties>
<SSIS:Property SSIS:Name="ID">{ab10a073-f437-43ba-b888-7df4ecb67e13}</SSIS:Property>
<SSIS:Property SSIS:Name="Name">PIMS_PROPERTY_MERGE</SSIS:Property>
<SSIS:Property SSIS:Name="VersionMajor">0</SSIS:Property>
<SSIS:Property SSIS:Name="VersionMinor">0</SSIS:Property>
<SSIS:Property SSIS:Name="VersionBuild">0</SSIS:Property>
<SSIS:Property SSIS:Name="VersionComments">
</SSIS:Property>
<SSIS:Property SSIS:Name="CreationDate">2024-02-05T22:43:26.2113404-08:00</SSIS:Property>
<SSIS:Property SSIS:Name="CreatorName">ARIMA-DELL\smart</SSIS:Property>
<SSIS:Property SSIS:Name="CreatorComputerName">ARIMA-DELL</SSIS:Property>
<SSIS:Property SSIS:Name="Description">
</SSIS:Property>
<SSIS:Property SSIS:Name="FormatVersion">1</SSIS:Property>
</SSIS:Properties>
<SSIS:Packages>
<SSIS:Package SSIS:Name="PIMS_PROPERTY_MERGE.dtsx" SSIS:EntryPoint="1" />
</SSIS:Packages>
<SSIS:ConnectionManagers />
<SSIS:DeploymentInfo>
<SSIS:ProjectConnectionParameters />
<SSIS:PackageInfo>
<SSIS:PackageMetaData SSIS:Name="PIMS_PROPERTY_MERGE.dtsx">
<SSIS:Properties>
<SSIS:Property SSIS:Name="ID">{8025F2FD-D9A2-4353-9157-A87C7B09C318}</SSIS:Property>
<SSIS:Property SSIS:Name="Name">sd</SSIS:Property>
<SSIS:Property SSIS:Name="VersionMajor">1</SSIS:Property>
<SSIS:Property SSIS:Name="VersionMinor">0</SSIS:Property>
<SSIS:Property SSIS:Name="VersionBuild">128</SSIS:Property>
<SSIS:Property SSIS:Name="VersionComments">
</SSIS:Property>
<SSIS:Property SSIS:Name="VersionGUID">{9061AF7F-6B9A-49A9-82DA-4D3888F3BB1A}</SSIS:Property>
<SSIS:Property SSIS:Name="PackageFormatVersion">8</SSIS:Property>
<SSIS:Property SSIS:Name="Description">
</SSIS:Property>
<SSIS:Property SSIS:Name="ProtectionLevel">0</SSIS:Property>
</SSIS:Properties>
<SSIS:Parameters>
<SSIS:Parameter SSIS:Name="CM.PIMS.ConnectByProxy">
<SSIS:Properties>
<SSIS:Property SSIS:Name="ID">
</SSIS:Property>
<SSIS:Property SSIS:Name="CreationName">
</SSIS:Property>
<SSIS:Property SSIS:Name="Description">
</SSIS:Property>
<SSIS:Property SSIS:Name="IncludeInDebugDump">0</SSIS:Property>
<SSIS:Property SSIS:Name="Required">0</SSIS:Property>
<SSIS:Property SSIS:Name="Sensitive">0</SSIS:Property>
<SSIS:Property SSIS:Name="Value">false</SSIS:Property>
<SSIS:Property SSIS:Name="DataType">3</SSIS:Property>
</SSIS:Properties>
</SSIS:Parameter>
<SSIS:Parameter SSIS:Name="CM.PIMS.ConnectionString">
<SSIS:Properties>
<SSIS:Property SSIS:Name="ID">
</SSIS:Property>
<SSIS:Property SSIS:Name="CreationName">
</SSIS:Property>
<SSIS:Property SSIS:Name="Description">
</SSIS:Property>
<SSIS:Property SSIS:Name="IncludeInDebugDump">0</SSIS:Property>
<SSIS:Property SSIS:Name="Required">0</SSIS:Property>
<SSIS:Property SSIS:Name="Sensitive">0</SSIS:Property>
<SSIS:Property SSIS:Name="Value">Data Source=sqldevtst.th.gov.bc.ca;User ID=PIMS_TST;Initial Catalog=PIMS_TST;Provider=SQLOLEDB.1;Persist Security Info=True;Auto Translate=False;Application Name=SSIS-Package-{A4157154-8FF2-477B-A4CA-636A021C5560}localhost,5433.pims.admin;</SSIS:Property>
<SSIS:Property SSIS:Name="DataType">18</SSIS:Property>
</SSIS:Properties>
</SSIS:Parameter>
<SSIS:Parameter SSIS:Name="CM.PIMS.ConnectRetryCount">
<SSIS:Properties>
<SSIS:Property SSIS:Name="ID">
</SSIS:Property>
<SSIS:Property SSIS:Name="CreationName">
</SSIS:Property>
<SSIS:Property SSIS:Name="Description">
</SSIS:Property>
<SSIS:Property SSIS:Name="IncludeInDebugDump">0</SSIS:Property>
<SSIS:Property SSIS:Name="Required">0</SSIS:Property>
<SSIS:Property SSIS:Name="Sensitive">0</SSIS:Property>
<SSIS:Property SSIS:Name="Value">1</SSIS:Property>
<SSIS:Property SSIS:Name="DataType">9</SSIS:Property>
</SSIS:Properties>
</SSIS:Parameter>
<SSIS:Parameter SSIS:Name="CM.PIMS.ConnectRetryInterval">
<SSIS:Properties>
<SSIS:Property SSIS:Name="ID">
</SSIS:Property>
<SSIS:Property SSIS:Name="CreationName">
</SSIS:Property>
<SSIS:Property SSIS:Name="Description">
</SSIS:Property>
<SSIS:Property SSIS:Name="IncludeInDebugDump">0</SSIS:Property>
<SSIS:Property SSIS:Name="Required">0</SSIS:Property>
<SSIS:Property SSIS:Name="Sensitive">0</SSIS:Property>
<SSIS:Property SSIS:Name="Value">5</SSIS:Property>
<SSIS:Property SSIS:Name="DataType">9</SSIS:Property>
</SSIS:Properties>
</SSIS:Parameter>
<SSIS:Parameter SSIS:Name="CM.PIMS.ConnectUsingManagedIdentity">
<SSIS:Properties>
<SSIS:Property SSIS:Name="ID">
</SSIS:Property>
<SSIS:Property SSIS:Name="CreationName">
</SSIS:Property>
<SSIS:Property SSIS:Name="Description">
</SSIS:Property>
<SSIS:Property SSIS:Name="IncludeInDebugDump">0</SSIS:Property>
<SSIS:Property SSIS:Name="Required">0</SSIS:Property>
<SSIS:Property SSIS:Name="Sensitive">0</SSIS:Property>
<SSIS:Property SSIS:Name="Value">false</SSIS:Property>
<SSIS:Property SSIS:Name="DataType">3</SSIS:Property>
</SSIS:Properties>
</SSIS:Parameter>
<SSIS:Parameter SSIS:Name="CM.PIMS.InitialCatalog">
<SSIS:Properties>
<SSIS:Property SSIS:Name="ID">
</SSIS:Property>
<SSIS:Property SSIS:Name="CreationName">
</SSIS:Property>
<SSIS:Property SSIS:Name="Description">
</SSIS:Property>
<SSIS:Property SSIS:Name="IncludeInDebugDump">0</SSIS:Property>
<SSIS:Property SSIS:Name="Required">0</SSIS:Property>
<SSIS:Property SSIS:Name="Sensitive">0</SSIS:Property>
<SSIS:Property SSIS:Name="Value">PIMS_TST</SSIS:Property>
<SSIS:Property SSIS:Name="DataType">18</SSIS:Property>
</SSIS:Properties>
</SSIS:Parameter>
<SSIS:Parameter SSIS:Name="CM.PIMS.Password">
<SSIS:Properties>
<SSIS:Property SSIS:Name="ID">
</SSIS:Property>
<SSIS:Property SSIS:Name="CreationName">
</SSIS:Property>
<SSIS:Property SSIS:Name="Description">
</SSIS:Property>
<SSIS:Property SSIS:Name="IncludeInDebugDump">0</SSIS:Property>
<SSIS:Property SSIS:Name="Required">0</SSIS:Property>
<SSIS:Property SSIS:Name="Sensitive">1</SSIS:Property>
<SSIS:Property SSIS:Name="DataType">18</SSIS:Property>
</SSIS:Properties>
</SSIS:Parameter>
<SSIS:Parameter SSIS:Name="CM.PIMS.RetainSameConnection">
<SSIS:Properties>
<SSIS:Property SSIS:Name="ID">
</SSIS:Property>
<SSIS:Property SSIS:Name="CreationName">
</SSIS:Property>
<SSIS:Property SSIS:Name="Description">
</SSIS:Property>
<SSIS:Property SSIS:Name="IncludeInDebugDump">0</SSIS:Property>
<SSIS:Property SSIS:Name="Required">0</SSIS:Property>
<SSIS:Property SSIS:Name="Sensitive">0</SSIS:Property>
<SSIS:Property SSIS:Name="Value">false</SSIS:Property>
<SSIS:Property SSIS:Name="DataType">3</SSIS:Property>
</SSIS:Properties>
</SSIS:Parameter>
<SSIS:Parameter SSIS:Name="CM.PIMS.ServerName">
<SSIS:Properties>
<SSIS:Property SSIS:Name="ID">
</SSIS:Property>
<SSIS:Property SSIS:Name="CreationName">
</SSIS:Property>
<SSIS:Property SSIS:Name="Description">
</SSIS:Property>
<SSIS:Property SSIS:Name="IncludeInDebugDump">0</SSIS:Property>
<SSIS:Property SSIS:Name="Required">0</SSIS:Property>
<SSIS:Property SSIS:Name="Sensitive">0</SSIS:Property>
<SSIS:Property SSIS:Name="Value">sqldevtst.th.gov.bc.ca</SSIS:Property>
<SSIS:Property SSIS:Name="DataType">18</SSIS:Property>
</SSIS:Properties>
</SSIS:Parameter>
<SSIS:Parameter SSIS:Name="CM.PIMS.UserName">
<SSIS:Properties>
<SSIS:Property SSIS:Name="ID">
</SSIS:Property>
<SSIS:Property SSIS:Name="CreationName">
</SSIS:Property>
<SSIS:Property SSIS:Name="Description">
</SSIS:Property>
<SSIS:Property SSIS:Name="IncludeInDebugDump">0</SSIS:Property>
<SSIS:Property SSIS:Name="Required">0</SSIS:Property>
<SSIS:Property SSIS:Name="Sensitive">0</SSIS:Property>
<SSIS:Property SSIS:Name="Value">PIMS_TST</SSIS:Property>
<SSIS:Property SSIS:Name="DataType">18</SSIS:Property>
</SSIS:Properties>
</SSIS:Parameter>
</SSIS:Parameters>
</SSIS:PackageMetaData>
</SSIS:PackageInfo>
</SSIS:DeploymentInfo>
</SSIS:Project>
</Manifest>
</DeploymentModelSpecificContent>
<ControlFlowParts />
<Miscellaneous />
<Configurations>
<Configuration>
<Name>Development</Name>
<Options>
<OutputPath>bin</OutputPath>
<ConnectionMappings />
<ConnectionProviderMappings />
<ConnectionSecurityMappings />
<DatabaseStorageLocations />
<TargetServerVersion>SQLServer2022</TargetServerVersion>
<AzureMode>false</AzureMode>
<LinkedAzureTenantId />
<LinkedAzureAccountId />
<LinkedAzureSSISIR />
<LinkedAzureStorage />
<RemoteExecutionFolder />
<ParameterConfigurationValues>
<ConfigurationSetting>
<Id>LastModifiedTime</Id>
<Name>LastModifiedTime</Name>
<Value xsi:type="xsd:dateTime">2024-02-06T06:50:27.5563488Z</Value>
</ConfigurationSetting>
</ParameterConfigurationValues>
</Options>
</Configuration>
</Configurations>
</Project>
Loading

0 comments on commit 868b1b3

Please sign in to comment.