-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvars.yaml
106 lines (95 loc) · 4.57 KB
/
vars.yaml
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
---
######################
# OpenShift defaults #
######################
# The wildcard domain suffix where OpenShift Routes are available by default.
OPENSHIFT_APPS_DOMAIN: "{{ lookup('env', 'OPENSHIFT_APPS_DOMAIN') | default('apps-crc.testing', true) }}"
# Look up the default container namespace to see if using OpenShift AI.
USING_OPENSHIFT_AI: "{{ lookup('env', 'USING_OPENSHIFT_AI') | default('false', true) | bool }}"
# The name of the OpenShift AI Workbench.
OPENSHIFT_AI_WORKBENCH: "{{ lookup('env', 'OPENSHIFT_AI_WORKBENCH') | default('', true) }}"
# Verify SSL connections.
SSL_VERIFY: false
######################
# Zookeeper defaults #
######################
# The namespace in OpenShift where Zookeeper will run.
ZOOKEEPER_NAMESPACE: "{{ lookup('env', 'ZOOKEEPER_NAMESPACE') | default('zookeeper', true) }}"
# The default hostname for the Zookeeper cluster manager.
ZOOKEEPER_HOST_NAME: "{{ lookup('env', 'ZOOKEEPER_HOST_NAME') | default('zookeeper.' + OPENSHIFT_APPS_DOMAIN, true) }}"
# The default port that Zookeeper runs to manage the cluster.
ZOOKEEPER_PORT: "{{ lookup('env', 'ZOOKEEPER_PORT') | default('30081', true) }}"
ZOOKEEPER_MAX_RETRIES: 0
ZOOKEEPER_BASE_SLEEP_TIME_MILLIS: 5000
ZOOKEEPER_MAX_SLEEP_MILLIS: 5000
ZOOKEEPER_CONNECTION_TIMEOUT_MILLIS: 3000
ZOOKEEPER_SESSION_TIMEOUT_MILLIS: 5000
#################
# Solr defaults #
#################
# The unique ID for solr records in the search engine
SOLR_ID: "solrId"
# The namespace in OpenShift where Solr will run.
SOLR_NAMESPACE: "{{ lookup('env', 'SOLR_NAMESPACE') | default('solr', true) }}"
# Whether to use SSL when connecting to Solr.
SOLR_SSL: "{{ (lookup('env', 'SOLR_SSL') | lower) != 'false' }}"
# The host name to connect to Solr in OpenShift.
SOLR_HOST_NAME: "{{ lookup('env', 'SOLR_HOST_NAME') | default('solr.' + OPENSHIFT_APPS_DOMAIN, true) }}"
# The default port that Solr runs.
SOLR_PORT: "{{ lookup('env', 'SOLR_PORT') | default('443', true) }}"
# The solr collection to use for the site.
SOLR_COLLECTION: "{{ lookup('env', 'SOLR_COLLECTION') | default(SITE_SHORT_NAME, true) }}"
# The URL to the Solr collection.
SOLR_URL: "{{ ('https://' if SOLR_SSL == True else 'http://') + SOLR_HOST_NAME + ('' if SOLR_PORT == 443 else (':' + SOLR_PORT)) }}/solr/{{ SOLR_COLLECTION }}"
# The solr pod name to connect and create Solr configsets and collections.
SOLR_POD_NAME: "solr-0"
# The solr configset to use for the site.
SOLR_CONFIGSET: "computate"
# The Solr admin username
SOLR_USERNAME: admin
# The Solr admin password
SOLR_PASSWORD: "{{ query('kubernetes.core.k8s', kind='Secret', resource_name='solr', namespace=SOLR_NAMESPACE)[0].data['solr-password'] | b64decode }}"
# Whether to use SSL when connecting to Solr.
# Whether to use SSL when connecting to Solr.
SOLR_SSL_COMPUTATE: "{{ lookup('env', 'SOLR_SSL_COMPUTATE') | default(SOLR_SSL, true) | bool }}"
# The host name to connect to Solr in OpenShift.
SOLR_HOST_NAME_COMPUTATE: "{{ lookup('env', 'SOLR_HOST_NAME_COMPUTATE') | default(SOLR_HOST_NAME, true) }}"
# The default port that Solr runs.
SOLR_PORT_COMPUTATE: "{{ lookup('env', 'SOLR_PORT_COMPUTATE') | default(SOLR_PORT, true) }}"
# The solr collection to use for the site.
SOLR_COLLECTION_COMPUTATE: "{{ lookup('env', 'SOLR_COLLECTION_COMPUTATE') | default('computate', true) }}"
# The URL to the Solr collection.
SOLR_URL_COMPUTATE: "{{ ('https://' if SOLR_SSL_COMPUTATE == True else 'http://') + SOLR_HOST_NAME_COMPUTATE + ('' if SOLR_PORT_COMPUTATE == 443 else (':' + SOLR_PORT_COMPUTATE)) }}/solr/{{ SOLR_COLLECTION_COMPUTATE }}"
########################
# computate-vertx vars #
########################
SITE_NAME: computate-vertx
# The source code directory for the project.
SITE_SRC: "{{ lookup('env', 'COMPUTATE_VERTX_SRC') | default(lookup('env', 'HOME') + '/.local/src/' + SITE_NAME, true) }}"
DOMAIN_NAME: computate.org
SITE_POM_ARTIFACT_ID: vertx
DOMAIN_PACKAGE_NAME: "org.computate.vertx"
RELATIVE_PATHS_TO_WATCH: "src/main/java/org/computate/vertx"
SITE_BASE_URL: "http://localhost:10200"
SITE_ZONE: "America/Denver"
SITE_LOCALE: "en-US"
# The Auth roles required to be a super admin in the site.
AUTH_ROLE_SUPER_ADMIN: SiteAdmin
# The Auth roles required to be an admin in the site.
AUTH_ROLE_ADMIN: SiteAdmin
AUTH_FINE_GRAINED_POLICY_PERMISSIONS: True
# Write API code into the project.
WRITE_API: true
# Write code comments into generated code.
WRITE_COMMENTS: true
CLONE_STATIC: false
CREATE_SOLR_COLLECTION: false
ENABLE_LOG: true
ENABLE_DELETED: true
ENABLE_ARCHIVED: true
ENABLE_USER_KEY: false
ENABLE_SESSION_ID: true
ENABLE_ROLE_ADMIN: true
ENABLE_OPENID_CONNECT: true
ENABLE_QUARKUS: false
ENABLE_VERTX: true