-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsparkmicroweb-project-as-code.yml
More file actions
169 lines (150 loc) · 6.89 KB
/
sparkmicroweb-project-as-code.yml
File metadata and controls
169 lines (150 loc) · 6.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
#
# Standard DevOps project creation options.
#
# Pay close attention to parameters that require values unique
# to you, such as those for Git, Docker, and AWS.
#
# To use Git, Docker, and any provider, be sure to have created
# an account with each.
#
# For Git, before generating the project be sure to create the
# repository and designate as public before
#
# Minimally, anywhere you see an xxx, replace with your relevant value
#
project:
name: Spark Micro Java Web Demo
description: Sample Spark Microweb Hibernate project
techstack:
name: SparkMicroWeb
# To see the list of available tech stacks on a Harbormaster instance using command:
# harbormaster_cli stack_list --output pretty
model:
name: bowling-league-Sprint-1
# options: Unique name of an existing model, a URL to a model file or Git repo,
# or full/relative path to a model file.
#
# To see the list of supported model types use command:
# harbormaster_cli model_types_supported
#
# To see the list of available models on a Harbormaster instance use command:
# harbormaster_cli model_list --output pretty
#
# For JAR files and Git Repos with Java Files, include the root package names of the root package
# javaRootPackageNames:
# - com.freeport.bo
# primaryKeyPattern: _pojoName_Id # the pattern to look for when interrogating a POJO for a primary key field
# allowed values are a either a literal, ex: id OR
# POJOName with a suffix, ex: _pojoName_Id will handle accountId, customerId, etc...
#
# DevOps Project Creation Options
#
options:
#
# Application parameters
#
application:
name: sparkmicrowebdemo
description: Demo Angular7 project generated by Harbormaster
author: Dev Team
email: xxxx.xxxxxxxxx@xxxxxxxx.com
application logo URL: ./img/turnstone.biologics.png
company name: Turnstone Biologics
version: 0.0.1
#
# Docker parameters
#
docker:
userName: xxxxxxxxxxxx
password: xxxxxxxxxxxx
orgName: xxxxxxxxxxxx
repo: sparkmicrowebdemo
tag: latest
host: #empty uses docker hubd default
#
# CI/CD parameters
#
cicd:
platform: codeship # options: codeship, circleci, jfrog.pipelines
# jenkins, azure, aws, gitlab,
# bitbucket, github
AES key: # codeship project key; ex: XKyy2IDcSptIIvMY8KLMVMcxVs+ZK6AyNu1B4Wu1DPY=
#
# Git repository parameters
#
git:
name: git_test_SparkMicroWeb # an arbitrary name, but for JFrog, this should be the name of the Git related integration
username: xxxx
password: xxxx
repository: SparkMicroWeb
tag: latest
host: bitbucket.org
#
# HashiCorp Terraform parameters
#
terraform:
inUse: true
provider: aws # options: aws, google, azure, nutanix
region: us-east-1 # options: any cloud provider region
ssh-fingerprint: xxxxxxxxxxxxxxxxx # required by CircleCI for SSH
#
# AWS parameters
#
aws:
key-pair-name: xxxxxxxxxxxx
vpc: xxxxxxxxxxxxx
ec2-instance-type: t2.medium # options: any AWS instance type
access-key: ASSIGN__ON_CICD_PLATFORM_AS_ENV_VARS
secret-key: ASSIGN__ON_CICD_PLATFORM_AS_ENV_VARS
#
# Nutanix parameters
#
nutanix:
inUse: false
userName: xxxxxxxxxxxxxxxxxxxxxxxxx
password: xxxxxxxxxxxxxx
endpoint: xxx.xxx.xxx.xxx
insecure: true
port: xxxxx
clusterId: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
email: Harbormasterr.aithods.com
vmUserName: xxxxxxxxxxx
vmPassword: xxxxxxxxxxx
vmHost: xxx.xxx.xxx.3xxx
vmOS: linux # options linux, windows - windows not yet supproted
#
# Kubernetes parameters: If not in use, and Terraform
# is in use, physical infrastructure
# will be provisioned on the provider
#
kubernetes:
inUse: true
host: https://xxx.xxx.xxx.xxx
project: xxxxxxxxxxx # assigned project name
region: us-central1-a # options: any provider region
hostTarget: google # option: google, aws, azure, nutanix
username: admin
password: 5UhfcIPAPsiPXklT
exposeAsService: true
serviceType: LoadBalancer # options: LoadBalancer, NodePort, ClusterIP
useSessionAffinity: true
#
# Artifact repository for build dependencies and binaries
#
artifact-repo:
inUse: false
type: nexus # options: nexus, jfrog
userName: xxxxxxx
password: xxxxxxxx
email: xxxx.xxxxxx@xxxxxxx.com
repoUrl: http://xxx.xxx.xxx.xxx:8081/repository/npm-public
#
# Hibernate ORM parameters
#
hibernate:
hibernate.connection.driver.class: com.mysql.jdbc.Driver
hibernate.connection.username: xxxx
hibernate.connection.password: xxxx
hibernate.dialect: org.hibernate.dialect.MySQL8Dialect
hibernate.max.fetch.depth: 1
hibernate.connection.url: jdbc:mysql://localhost:3306/lambdademo?createDatabaseIfNotExist\u003dtrue #do no remove the createDatabaseIfNotExist\u003dtrue