This repository has been archived by the owner on Sep 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathenv.sh
62 lines (48 loc) · 1.94 KB
/
env.sh
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
#!/bin/sh
# The address to the Symphony Agent API and Key Manager endpoints prefix (see -Dsessionauth.url, -Dkeyauth.url, -Dpod.url and -Dagent.url below)
FOUNDATION_API_URL=https://foundation-dev-api.symphony.com
# The address to the Symphony Pod endpoint prefix (see -Dpod.url below)
FOUNDATION_POD_URL=https://foundation-dev.symphony.com
# This is specific for foundation-dev.symphony.com endpoint configuration
# Your pod setup may be different (in ports, hosts and URL paths)
export SESSIONAUTH_URL=$FOUNDATION_API_URL/sessionauth
export KEYAUTH_URL=$FOUNDATION_API_URL/keyauth
export POD_URL=$FOUNDATION_POD_URL/pod
export AGENT_URL=$FOUNDATION_API_URL/agent
#####
# Sensible data
# Please use encryption to use these environment variables on CI environments
# Start
#####
# Trusts all *.symphony.com Symphony Pods
export TRUSTSTORE_FILE=./certs/server.truststore
export TRUSTSTORE_PASSWORD=changeit
# Used by all bots as Symphony Service Account
export [email protected]
export BOT_USER_CERT_FILE=./certs/symphony-java-client.p12
export BOT_USER_CERT_PASSWORD=...
# Used by HelloWorldBot to identify Symphony user that receives the message
export [email protected]
# Used by EchoBotIT (src/test/java/..)
export [email protected]
export SENDER_USER_CERT_FILE=./certs/testbot.p12
export SENDER_USER_CERT_PASSWORD=...
export TEST_ROOM_STREAM=276YAAI9Kzvl3wRA+z2hln___qV6zxh9dA
export [email protected]
#####
# Sensible data
# End
#####
# Used by RssBot to identify RSS feed source
export RSS_URL=https://twitrss.me/twitter_user_to_rss/?user=symphonyoss
export RSS_LIMIT=3
if [ -f $BOT_USER_CERT_PATH ]; then
echo "Found bot cert file $BOT_USER_CERT_PATH"
else
echo "Bot cert file is missing: $BOT_USER_CERT_PATH"
fi
if [ -f $TRUSTSTORE_FILE ]; then
echo "Found truststore file $TRUSTSTORE_FILE"
else
echo "truststore file is missing: $TRUSTSTORE_FILE"
fi