-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/panama-core-v6'
# Conflicts: # Panama.Core.Tests/Panama.Core.Tests.csproj # Panama.Sql.Dapper/Panama.Core.Sql.Dapper.csproj
- Loading branch information
Showing
533 changed files
with
16,786 additions
and
111,208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ bld/ | |
msbuild.log | ||
msbuild.err | ||
msbuild.wrn | ||
[Dd]ata/ | ||
|
||
.idea/ | ||
.ionic/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions
5
Panama.Database.Sql/database.yml → Containers/mssql-2017/docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
DB_USERNAME=testdata | ||
DB_DATABASE=devdb | ||
DB_PASSWORD=test.secret.password | ||
DB_ROOT_PASSWORD=rootSecretPassword | ||
DB_PORT=3306 | ||
ENVIROMENT=Debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM mysql:8.0 | ||
|
||
#Use below if docker-compose volumes are unavailable | ||
#COPY scripts/* /docker-entrypoint-initdb.d/ | ||
#COPY conf/* /etc/mysql/conf.d | ||
CMD ["mysqld"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM mysql:8.0 | ||
|
||
#Use below if docker-compose volumes are unavailable | ||
#COPY scripts/* /docker-entrypoint-initdb.d/ | ||
#COPY conf/* /etc/mysql/conf.d | ||
|
||
CMD ["mysqld"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM mysql:8.0 | ||
|
||
#Use below if docker-compose volumes are unavailable | ||
#COPY scripts/* /docker-entrypoint-initdb.d/ | ||
#COPY conf/* /etc/mysql/conf.d | ||
|
||
CMD ["mysqld"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[mysqld] | ||
server-id = 1 | ||
character-set-server = utf8mb4 | ||
collation-server = utf8mb4_unicode_ci | ||
binlog_format = row | ||
binlog_row_image = full | ||
gtid_mode = ON | ||
enforce_gtid_consistency = ON | ||
log_replica_updates = TRUE | ||
log_bin = ON | ||
|
||
[client] | ||
default-character-set = utf8mb4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
version: '3.7' | ||
|
||
services: | ||
db: | ||
container_name: db | ||
build: | ||
context: . | ||
dockerfile: Dockerfile.Development | ||
command: > | ||
bash -c " | ||
chmod 644 /etc/mysql/conf.d/*.cnf | ||
&& /entrypoint.sh mysqld --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci | ||
" | ||
ports: | ||
- "3309:3306" | ||
volumes: | ||
- ./data:/var/lib/mysql/ | ||
- ./conf/custom.cnf:/etc/mysql/conf.d/custom.cnf | ||
- ./scripts:/docker-entrypoint-initdb.d | ||
environment: | ||
MYSQL_USER: ${DB_USERNAME} | ||
MYSQL_DATABASE: ${DB_DATABASE} | ||
MYSQL_PASSWORD: ${DB_PASSWORD} | ||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD} | ||
|
||
volumes: | ||
dbdata: | ||
driver: local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# create databases | ||
CREATE DATABASE IF NOT EXISTS `devdb`; | ||
CREATE DATABASE IF NOT EXISTS `logdb`; | ||
|
||
# create root user and grant rights | ||
CREATE USER 'adminuser'@'%' IDENTIFIED BY 'Tx@XD&Zvlt=SDVo'; | ||
GRANT ALL ON devdb.* TO 'adminuser'@'%'; | ||
GRANT ALL ON logdb.* TO 'adminuser'@'%'; | ||
GRANT SUPER ON *.* TO 'adminuser'@'%'; | ||
GRANT PROCESS ON *.* TO 'adminuser'@'%'; | ||
GRANT REPLICATION CLIENT ON *.* TO 'adminuser'@'%'; | ||
GRANT REPLICATION SLAVE ON *.* TO 'adminuser'@'%'; | ||
|
||
use devdb; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
use `devdb`; | ||
|
||
create table if not exists `User` ( | ||
_ID int auto_increment, | ||
ID char(36) not null, | ||
FirstName varchar(25) null, | ||
LastName varchar(25) null, | ||
Email varchar(100) null, | ||
`Password` varchar(100) null, | ||
Created datetime not null, | ||
PRIMARY KEY (_ID) | ||
) engine=innodb; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
use `devdb`; | ||
|
||
create table if not exists `Setting` ( | ||
`_ID` int auto_increment, | ||
`ID` char(36) not null, | ||
`Key` varchar(25) null, | ||
`Value` varchar(25) null, | ||
`Created` datetime not null, | ||
PRIMARY KEY (_ID) | ||
) engine=innodb; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
DB_USERNAME=testdata | ||
DB_DATABASE=devdb | ||
DB_PASSWORD=test.secret.password | ||
DB_ROOT_PASSWORD=rootSecretPassword | ||
DB_PORT=3306 | ||
ENVIROMENT=Debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM mysql:8.0.30 | ||
|
||
#Use below if docker-compose volumes are unavailable | ||
#COPY scripts/* /docker-entrypoint-initdb.d/ | ||
#COPY conf/* /etc/mysql/conf.d | ||
CMD ["mysqld"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM mysql:8.0.30 | ||
|
||
#Use below if docker-compose volumes are unavailable | ||
#COPY scripts/* /docker-entrypoint-initdb.d/ | ||
#COPY conf/* /etc/mysql/conf.d | ||
|
||
CMD ["mysqld"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM mysql:8.0.30 | ||
|
||
#Use below if docker-compose volumes are unavailable | ||
#COPY scripts/* /docker-entrypoint-initdb.d/ | ||
#COPY conf/* /etc/mysql/conf.d | ||
|
||
CMD ["mysqld"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[mysqld] | ||
server-id = 1 | ||
character-set-server = utf8mb4 | ||
collation-server = utf8mb4_unicode_ci | ||
binlog_format = row | ||
binlog_row_image = full | ||
binlog_expire_logs_seconds = 604800 | ||
gtid_mode = ON | ||
enforce_gtid_consistency = ON | ||
log_replica_updates = TRUE | ||
log_bin = ON | ||
|
||
[client] | ||
default-character-set = utf8mb4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
version: '3.7' | ||
|
||
services: | ||
db: | ||
container_name: db | ||
build: | ||
context: . | ||
dockerfile: Dockerfile.Development | ||
command: > | ||
bash -c " | ||
chmod 644 /etc/mysql/conf.d/*.cnf | ||
&& /entrypoint.sh mysqld --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci | ||
" | ||
ports: | ||
- "3309:3306" | ||
volumes: | ||
- ./data:/var/lib/mysql/ | ||
- ./conf/custom.cnf:/etc/mysql/conf.d/custom.cnf | ||
- ./scripts:/docker-entrypoint-initdb.d | ||
environment: | ||
MYSQL_USER: ${DB_USERNAME} | ||
MYSQL_DATABASE: ${DB_DATABASE} | ||
MYSQL_PASSWORD: ${DB_PASSWORD} | ||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD} | ||
|
||
volumes: | ||
dbdata: | ||
driver: local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# create databases | ||
CREATE DATABASE IF NOT EXISTS `devdb`; | ||
CREATE DATABASE IF NOT EXISTS `logdb`; | ||
|
||
# create root user and grant rights | ||
CREATE USER 'adminuser'@'%' IDENTIFIED BY 'Tx@XD&Zvlt=SDVo'; | ||
GRANT ALL ON devdb.* TO 'adminuser'@'%'; | ||
GRANT ALL ON logdb.* TO 'adminuser'@'%'; | ||
GRANT SUPER ON *.* TO 'adminuser'@'%'; | ||
GRANT PROCESS ON *.* TO 'adminuser'@'%'; | ||
GRANT REPLICATION CLIENT ON *.* TO 'adminuser'@'%'; | ||
GRANT REPLICATION SLAVE ON *.* TO 'adminuser'@'%'; | ||
|
||
use devdb; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
use `devdb`; | ||
|
||
create table if not exists `User` ( | ||
_ID int auto_increment, | ||
ID char(36) not null, | ||
FirstName varchar(25) null, | ||
LastName varchar(25) null, | ||
Email varchar(100) null, | ||
`Password` varchar(100) null, | ||
Created datetime not null, | ||
PRIMARY KEY (_ID) | ||
) engine=innodb; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
use `devdb`; | ||
|
||
create table if not exists `Setting` ( | ||
`_ID` int auto_increment, | ||
`ID` char(36) not null, | ||
`Key` varchar(25) null, | ||
`Value` varchar(25) null, | ||
`Created` datetime not null, | ||
PRIMARY KEY (_ID) | ||
) engine=innodb; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
use `logdb`; | ||
|
||
drop table if exists `Log`; | ||
|
||
create table if not exists `Log` ( | ||
Id int auto_increment, | ||
CorrelationId char(36) null, | ||
MachineName varchar(200) not null, | ||
Logged datetime not null, | ||
Level varchar(50) null, | ||
Message text not null, | ||
Logger varchar(250) null, | ||
Callsite varchar(250) null, | ||
Exception text null, | ||
PRIMARY KEY (Id) | ||
) engine=innodb; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: "3.8" | ||
services: | ||
rabbitmq3: | ||
container_name: "rabbitmq" | ||
image: rabbitmq:3.8-management-alpine | ||
environment: | ||
- RABBITMQ_DEFAULT_USER=myuser | ||
- RABBITMQ_DEFAULT_PASS=mypassword | ||
ports: | ||
# AMQP protocol port | ||
- '5672:5672' | ||
# HTTP management UI | ||
- '15672:15672' |
Oops, something went wrong.