Skip to content

Commit 4eb2d19

Browse files
committed
fw-commons: v1.1.0
0 parents  commit 4eb2d19

File tree

119 files changed

+9483
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+9483
-0
lines changed

.dockerignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
_mydocs/
2+
_releases/
3+
.git/
4+
.yarn/cache/
5+
**/.DS_Store
6+
**/node_modules
7+
Assets/
8+
docs/
9+
lerna-debug.log
10+
packages/app-cli/
11+
packages/app-clipper/
12+
packages/app-desktop/
13+
packages/app-mobile/
14+
packages/generator-joplin/
15+
packages/plugin-repo-cli/
16+
packages/server/db-*.sqlite
17+
packages/server/dist/
18+
packages/server/logs/
19+
packages/server/temp/

.env

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
# ******************
2+
# postgres
3+
# ******************
4+
POSTGRES_VERSION=16.3
5+
POSTGRES_USER=admin
6+
POSTGRES_PASSWORD=admin
7+
POSTGRES_HOSTNAME=postgres
8+
POSTGRES_HOST=5432
9+
POSTGRES_PORT=5434
10+
DB_HOST=localhost
11+
12+
# ******************
13+
# pgadmin
14+
# ******************
15+
PGADMIN_VERSION=8.8
16+
PGADMIN_DEFAULT_EMAIL=[email protected]
17+
PGADMIN_DEFAULT_PASSWORD=admin
18+
PGADMIN_LISTEN_PORT=5050
19+
20+
# ******************
21+
# keycloak
22+
# ******************
23+
KEYCLOAK_VERSION=25.0.2
24+
KEYCLOAK_PORT=8080
25+
KC_HTTP_PORT=8080
26+
KC_HTTPS_PORT=8443
27+
KEYCLOAK_ADMIN=admin
28+
KEYCLOAK_ADMIN_PASSWORD=admin
29+
KEYCLOAK_CLIENT_ID=ezbuy-client
30+
KEYCLOAK_CLIENT_SECRET=mI92QDfvi20tZgFtjpRAPWu8TR6eMHmw
31+
KEYCLOAK_REALM=ezbuy-server
32+
KEYCLOAK_SERVER_URL=http://localhost:8080
33+
KEYCLOAK_GRANT_TYPE=password
34+
KEYCLOAK_HOST=localhost
35+
36+
# ******************
37+
# minio
38+
# ******************
39+
MINIO_VERSION=RELEASE.2024-08-03T04-33-23Z
40+
MINIO_ROOT_USER=admin
41+
MINIO_ROOT_PASSWORD=tienha@!@#
42+
MINIO_PORT=9001
43+
44+
# ******************
45+
# Kafka
46+
# ******************
47+
KAFKA_VERSION=7.7.0
48+
KAFKA_SERVICE_HOST=kafka
49+
KAFKA_SERVICE_PORT=9092
50+
KAFKA_SERVICE_ADDR=kafka:${KAFKA_SERVICE_PORT}
51+
KAFKA_BROKER_ID=1
52+
KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
53+
KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://${KAFKA_SERVICE_ADDR},PLAINTEXT_HOST://kafka:29092
54+
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
55+
KAFKA_INTER_BROKER_LISTENER_NAME=PLAINTEXT
56+
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1
57+
58+
# ******************
59+
# Kafka Connect
60+
# ******************
61+
KAFKA_CONNECT_VERSION=3.0
62+
63+
# ******************
64+
# Zookeeper
65+
# ******************
66+
ZOOKEEPER_VERSION=3.0
67+
68+
# ******************
69+
# elasticsearch
70+
# ******************
71+
ELASTIC_VERSION=8.15.0
72+
#Passwords for stack users
73+
# User 'elastic' (built-in)
74+
ELASTIC_PASSWORD='tienha@!@#'
75+
76+
# User 'logstash_internal' (custom)
77+
# The user Logstash uses to connect and send data to Elasticsearch.
78+
LOGSTASH_INTERNAL_PASSWORD='tienha@!@#'
79+
80+
# User 'kibana_system' (built-in)
81+
# The user Kibana uses to connect and communicate with Elasticsearch.
82+
KIBANA_SYSTEM_PASSWORD='tienha@!@#'
83+
84+
# Users 'metricbeat_internal', 'filebeat_internal' and 'heartbeat_internal' (custom)
85+
# The users Beats use to connect and send data to Elasticsearch.
86+
METRICBEAT_INTERNAL_PASSWORD=''
87+
FILEBEAT_INTERNAL_PASSWORD=''
88+
HEARTBEAT_INTERNAL_PASSWORD=''
89+
90+
# User 'monitoring_internal' (custom)
91+
# The user Metricbeat uses to collect monitoring data from stack components.
92+
MONITORING_INTERNAL_PASSWORD=''
93+
94+
# User 'beats_system' (built-in)
95+
# The user the Beats use when storing monitoring information in Elasticsearch.
96+
BEATS_SYSTEM_PASSWORD=''
97+
98+
# ******************
99+
# Swagger UI
100+
# ******************
101+
SWAGGER_VERSION=v5.17.14
102+
URLS=[{ url: 'http://api.ezbuy.local/product/v3/api-docs', name: 'Product' },{ url: 'http://api.ezbuy.local/media/v3/api-docs', name: 'Media' },{ url: 'http://api.ezbuy.local/customer/v3/api-docs', name: 'Customer' },{ url: 'http://api.ezbuy.local/cart/v3/api-docs', name: 'Cart'},{ url: 'http://api.ezbuy.local/rating/v3/api-docs', name: 'Rating' }, { url: 'http://api.ezbuy.local/order/v3/api-docs', name: 'Order'},{ url: 'http://api.ezbuy.local/payment/v3/api-docs', name: 'Payment'},{ url: 'http://api.ezbuy.local/payment-paypal/v3/api-docs', name: 'Payment-paypal'},{ url: 'http://api.ezbuy.local/location/v3/api-docs', name: 'Location'}, { url: 'http://api.ezbuy.local/inventory/v3/api-docs', name: 'Inventory'},{ url: 'http://api.ezbuy.local/tax/v3/api-docs', name: 'Tax' },{ url: 'http://api.ezbuy.local/promotion/v3/api-docs', name: 'Promotion'},{ url: 'http://api.ezbuy.local/search/v3/api-docs', name: 'Search'}]

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Declare files that will always have LF line endings on checkout.
2+
*.sh text eol=lf

.gitignore

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
HELP.md
2+
target/
3+
!.mvn/wrapper/maven-wrapper.jar
4+
!**/src/main/**/target/
5+
!**/src/test/**/target/
6+
7+
### STS ###
8+
.apt_generated
9+
.classpath
10+
.factorypath
11+
.project
12+
.settings
13+
.springBeans
14+
.sts4-cache
15+
16+
### IntelliJ IDEA ###
17+
.idea
18+
*.iws
19+
*.iml
20+
*.ipr
21+
22+
### NetBeans ###
23+
/nbproject/private/
24+
/nbbuild/
25+
/dist/
26+
/nbdist/
27+
/.nb-gradle/
28+
build/
29+
!**/src/main/**/build/
30+
!**/src/test/**/build/
31+
32+
### VS Code ###
33+
.vscode/
34+
35+
### MacOS ###
36+
.DS_Store
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
wrapperVersion=3.3.2
18+
distributionType=only-script
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.7/apache-maven-3.9.7-bin.zip

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Hoàng Anh Tiến
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)