This repository was archived by the owner on Nov 15, 2024. It is now read-only.
File tree 12 files changed +29
-36
lines changed
shared/codestream_configs
12 files changed +29
-36
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ sandbox. This is how installations are performed for our CI/CD pipelines.
61
61
have not loaded a dev_tools mongo sandbox). A default api sandbox name of
62
62
` api ` is assumed in some tools so we'll use it here (though you can change
63
63
it).
64
-
64
+
65
65
For private repo workflows:
66
66
```
67
67
dt-sb-install --name api --type cs_server_nr --info-file sb.info.nr.api --yes [--no-deps]
@@ -80,8 +80,8 @@ sandbox. This is how installations are performed for our CI/CD pipelines.
80
80
dt-sb-create-playground -t $CS_API_TOP/sandbox/playgrounds/default.template
81
81
```
82
82
1 . Install the [ inbound email] ( ../inbound_email/README.md ) , [ outbound
83
- email] ( ../outbound_email/README.md ) , [ broadcaster] ( ../broadcaster/README.md )
84
- & [ onprem admin ] ( ../onprem_admin/README.md ) sandboxes.
83
+ email] ( ../outbound_email/README.md ) & [ broadcaster] ( ../broadcaster/README.md )
84
+ sandboxes.
85
85
1 . Load all of your sandboxes into one shell and create a ` cs ` playground for
86
86
your codestream-cloud configuration.
87
87
```
Original file line number Diff line number Diff line change 4
4
5
5
cd $CSBE_TOP
6
6
git status -sb
7
- for i in api_server broadcaster inbound_email outbound_email onprem_admin ; do (cd $i && echo " $i : package version: ` get-json-property -j package.json -p version` ChangeLog: ` dt-sb-changelog-tool --latest-version --with-date` " ); done
7
+ for i in api_server broadcaster inbound_email outbound_email; do (cd $i && echo " $i : package version: ` get-json-property -j package.json -p version` ChangeLog: ` dt-sb-changelog-tool --latest-version --with-date` " ); done
Original file line number Diff line number Diff line change 12
12
13
13
# update paths
14
14
export PATH=$CSSVC_BACKEND_ROOT /api_server/bin:$CSSVC_BACKEND_ROOT /broadcaster/bin:$CSSVC_BACKEND_ROOT /outbound_email/bin:$CSSVC_BACKEND_ROOT /inbound_email/bin:$PATH
15
- export NODE_PATH=$CSSVC_BACKEND_ROOT /api_server/node_modules:$CSSVC_BACKEND_ROOT /broadcaster/node_modules:$CSSVC_BACKEND_ROOT /outbound_email/server/node_modules:$CSSVC_BACKEND_ROOT /inbound_email/node_modules:$CSSVC_BACKEND_ROOT /onprem_admin/node_modules: $ NODE_PATH
15
+ export NODE_PATH=$CSSVC_BACKEND_ROOT /api_server/node_modules:$CSSVC_BACKEND_ROOT /broadcaster/node_modules:$CSSVC_BACKEND_ROOT /outbound_email/server/node_modules:$CSSVC_BACKEND_ROOT /inbound_email/node_modules:$NODE_PATH
16
16
17
17
[ ! -d " $CSSVC_BACKEND_ROOT /log" ] && { echo " creating $CSSVC_BACKEND_ROOT /log/ for run-time logs" && mkdir $CSSVC_BACKEND_ROOT /log || return 1; }
18
18
Original file line number Diff line number Diff line change @@ -44,8 +44,3 @@ context.
44
44
The inbound email service verifies the messages and injects into CodeStream by
45
45
way of making API calls. Supplemental inbound email docs can be found
46
46
[ here] ( ../inbound_email/docs/README.md ) .
47
-
48
- * [ On-Prem Admin] ( ../onprem_admin/README.md ) - An admin server and browser
49
- Single Page App for editing the configuration, monitoring the services and
50
- performing other maintenance functions for On-Prem installations. Supplemental
51
- onprem admin docs can be found [ here] ( ../onprem_admin/docs/README.md ) .
Original file line number Diff line number Diff line change 7
7
"install:broadcaster" : " echo BROADCASTER && cd broadcaster && npm i --no-save" ,
8
8
"install:mailin" : " echo INBOUND_EMAIL && cd inbound_email && npm i --no-save" ,
9
9
"install:mailout" : " echo OUTBOUND_EMAIL && cd outbound_email && npm i --no-save" ,
10
- "install:opadm" : " echo ONPREM_ADMIN && cd onprem_admin && npm i --no-save" ,
11
10
"runtime-dirs" : " [ ! -d log ] && mkdir log || true" ,
12
- "install:all" : " npm run runtime-dirs && npm run install:api && npm run install:broadcaster && npm run install:mailin && npm run install:mailout && npm run install:opadm " ,
11
+ "install:all" : " npm run runtime-dirs && npm run install:api && npm run install:broadcaster && npm run install:mailin && npm run install:mailout" ,
13
12
"start:api" : " cd api_server && npm run start" ,
14
13
"start:broadcaster" : " cd broadcaster && npm run start" ,
15
14
"start:mailin" : " cd inbound_email && npm run start" ,
16
15
"start:mailout" : " cd outbound_email && npm run start" ,
17
- "start:opadm" : " cd onprem_admin && npm run build && npm run start" ,
18
16
19
17
"run:docker:csrabbitmq" : " docker run -d -p 5672:5672 -p 15672:15672 --name csrabbitmq teamcodestream/rabbitmq-onprem:0.0.0" ,
20
18
"start:docker:csrabbitmq" : " docker start csrabbitmq" ,
Original file line number Diff line number Diff line change @@ -97,11 +97,11 @@ export CS_OUTBOUND_EMAIL_TOP=$CSBE_TOP/outbound_email
97
97
# CS_OUTBOUND_EMAIL_DEPS=....
98
98
. $CS_OUTBOUND_EMAIL_TOP /sandbox/defaults.sh
99
99
100
- echo " Loading onprem-admin environment..."
101
- export OPADM_NAME=$CSBE_NAME
102
- export OPADM_SANDBOX=$CSBE_SANDBOX
103
- export OPADM_TOP=$CSBE_TOP /onprem_admin
104
- # OPADM_DEPS=....
105
- . $OPADM_TOP /sandbox/defaults.sh
100
+ # echo "Loading onprem-admin environment..."
101
+ # export OPADM_NAME=$CSBE_NAME
102
+ # export OPADM_SANDBOX=$CSBE_SANDBOX
103
+ # export OPADM_TOP=$CSBE_TOP/onprem_admin
104
+ # # OPADM_DEPS=....
105
+ # . $OPADM_TOP/sandbox/defaults.sh
106
106
107
107
sbcfg_setup_for_newrelic_instrumentation $CSSVC_BACKEND_ROOT $CSBE_TOP $CSBE_SHORT_NAME
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 183
183
},
184
184
"newrelic" : {
185
185
"<appProvider>" : {
186
+ "accountNumber" : " NR1 Account Number for webview telemetry [CSSVC_NEWRELIC_WEBVIEW_ACCOUNT_NUMBER]" ,
186
187
"browserIngestKey" : " NR1 ingest browser key [CSSVC_NEWRELIC_BROWSER_KEY]" ,
187
188
"licenseIngestKey" : " NR1 ingest license key [CSSVC_NEWRELIC_LICENSE_KEY]" ,
188
- "telemetryEndpoint" : " Host endpoint passed to APM tracing library [CSSVC_NEWRELIC_TELEMETRY_ENDPOINT]"
189
+ "telemetryEndpoint" : " Host endpoint passed to APM tracing library [CSSVC_NEWRELIC_TELEMETRY_ENDPOINT]" ,
190
+ "webviewAgentId" : " NR1 Agent ID for webview telemetry [CSSVC_NEWRELIC_WEBVIEW_AGENT_ID]" ,
191
+ "webviewAppId" : " NR1 App ID for webview telemetry [CSSVC_NEWRELIC_WEBVIEW_APP_ID]"
189
192
}
190
193
},
191
194
"okta" : {
Original file line number Diff line number Diff line change 571
571
},
572
572
"newrelic" : {
573
573
"<appProvider>" : {
574
+ "accountNumber" : {
575
+ "desc" : " NR1 Account Number for webview telemetry" ,
576
+ "env" : " CSSVC_NEWRELIC_WEBVIEW_ACCOUNT_NUMBER"
577
+ },
574
578
"browserIngestKey" : {
575
579
"desc" : " NR1 ingest browser key" ,
576
580
"env" : " CSSVC_NEWRELIC_BROWSER_KEY"
583
587
"default" : " staging-collector.newrelic.com" ,
584
588
"desc" : " Host endpoint passed to APM tracing library" ,
585
589
"env" : " CSSVC_NEWRELIC_TELEMETRY_ENDPOINT"
590
+ },
591
+ "webviewAgentId" : {
592
+ "desc" : " NR1 Agent ID for webview telemetry" ,
593
+ "env" : " CSSVC_NEWRELIC_WEBVIEW_AGENT_ID"
594
+ },
595
+ "webviewAppId" : {
596
+ "desc" : " NR1 App ID for webview telemetry" ,
597
+ "env" : " CSSVC_NEWRELIC_WEBVIEW_APP_ID"
586
598
}
587
599
}
588
600
},
Original file line number Diff line number Diff line change 1
- 26
1
+ 27
You can’t perform that action at this time.
0 commit comments