Skip to content

Commit 77192f8

Browse files
author
Chris Wiechmann
committed
Copied relevant gateway-config changes from fork into main repo
1 parent 061fcbb commit 77192f8

18 files changed

+79
-112
lines changed
Binary file not shown.

Diff for: gateway-config/anm/merge-dir/apigateway/conf/acl.json

-111
This file was deleted.

Diff for: gateway-config/anm/merge-dir/apigateway/conf/adminUsers.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"id": "user-6",
3333
"name": "achoudhary",
3434
"roles": ["role-1", "role-6", "role-7"]
35-
},
35+
},
3636
{
3737
"id": "user-7",
3838
"name": "anujkumar",
@@ -78,7 +78,13 @@
7878
"id": "role-7",
7979
"name": "Policy Developer",
8080
"displayName": "Policy Developer"
81+
},
82+
{
83+
"id": "role-8",
84+
"name": "Monitoring",
85+
"displayName": "Monitoring"
8186
}
87+
8288
],
8389
"uniqueIdCounters": {
8490
"Role": 8,
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# This file is read when the server starts up. If a server configuration contains a value in the format
2+
# ${env.X}, where X is any string (for example, MyCustomSetting), this file MUST contain an equivalent
3+
# name-value pair of env.MyCustomSetting=MyCustomValue.
4+
# When the server starts up, every occurrence of env.MyCustomSetting is expanded to the value of MyCustomValue.
5+
# For example, by default the port in the server configuration is set to ${env.PORT.TRAFFIC}, specifying a name-value
6+
# pair of env.PORT.TRAFFIC=8080 results in the server opening up port 8080 at start up.
7+
8+
# An example of how you might bind a reference to a host-specific certificate to a given deployment. The
9+
# SSL X509 Certificate in the 'SSL Interface' configuration item can then reference it using the binding
10+
# variable '${env.serverCertificate}'
11+
#env.serverCertificate=${system.prefix.cert}CN=MYHOST
12+
13+
# the default port which the Instance listens on for HTTP traffic
14+
env.PORT.TRAFFIC=8080
15+
16+
# the default port which the Instance listens on for management/configuration HTTP traffic
17+
env.PORT.MANAGEMENT=8085
18+
19+
# the default port which the Instance listens on for sample messages
20+
env.PORT.SAMPLE.SERVICES=8081
21+
22+
# the hostname of the OAuth Server defaults to localhost
23+
env.OAUTH.SERVER=localhost
24+
25+
# the default port which OAuth 2.0 Services listen on for traffic
26+
env.PORT.OAUTH2.SERVICES=8089
27+
28+
# the hostname of the OAuth Client defaults to localhost
29+
env.OAUTH.CLIENT=localhost
30+
31+
# the default port which OAuth 2.0 Client Services listen on for traffic
32+
env.PORT.OAUTH2.CLIENT=8088
33+
34+
# the default AMA broker port
35+
env.BROKER.PORT=61616
36+
37+
# API Portal Port
38+
env.PORT.APIPORTAL=8075
39+
40+
# API Portal Traffic Port
41+
env.PORT.PORTAL.TRAFFIC=8065
42+
43+
# Content Security Policy Header value for API Portal and Client Application Registry
44+
env.SERVICES.CONTENTSECURITYPOLICY=script-src 'self' https://axway.com/ https://*.axway.com 'unsafe-eval'; img-src 'self' https://*.axway.com data: blob:; style-src 'self' 'unsafe-inline' https://*.axway.com; font-src 'self' data: blob:; object-src 'self'; media-src 'self'; frame-src 'self';frame-ancestors 'none'; upgrade-insecure-requests
45+
46+
# Content Security Policy Header value for Anlaytics
47+
env.ANALYTICS.CONTENTSECURITYPOLICY=script-src 'self' https://axway.com/ https://*.axway.com 'unsafe-eval'; img-src 'self' https://*.axway.com data: blob:; style-src 'self' 'unsafe-inline' https://*.axway.com; font-src 'self' data: blob:; object-src 'self'; media-src 'self'; frame-src 'self';frame-ancestors 'none'; upgrade-insecure-requests
48+
49+
env.SMTP.USERNAME=AKIAVAFE2RS247WDMVWK
50+
env.SMTP.PASSWORD=BEGvZKXLVa0TLMRDZZ3knK86mkrXI+g3R+r/aMMZDRjy

Diff for: gateway-config/apimgr/merge-dir/apigateway/mocked-apis/scripts/callAPIs.sh

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ if [ "$APIGATEWAY_HOME" == "" -o "$API_TRAFFIC_URL" == "" ]; then
77
echo "Missing APIGATEWAY_HOME. For example please call: ./scripts/callAPIs.sh \"/opt/Axway/apigateway\" \"https://traffic.axway-amplify-central.com\""
88
echo "Or as a background process"
99
echo "nohup ./callAPIs.sh /opt/Axway/apigateway https://traffic.axway-amplify-central.com >/dev/null 2>&1 &"
10+
echo "Or"
11+
echo "nohup ./callAPIs.sh /opt/Axway/apigateway https://traffic.axway-apim-on-eks.de >/dev/null 2>&1 &"
1012
exit
1113
fi
1214

Diff for: gateway-config/apimgr/merge-dir/apigateway/webapps/apiportal/vordel/apiportal/app/app.config

+20
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,26 @@ dojoConfig.app = {
211211
{value: false, label: 'False'}
212212
]
213213
},
214+
ODataApi: {
215+
label: 'OData API',
216+
required: false,
217+
help: "Set to true, if this API is an OData API",
218+
type: "switch",
219+
options: [
220+
{value: true, label: 'True'},
221+
{value: false, label: 'False'}
222+
]
223+
},
224+
validateRequest: {
225+
label: 'Validate request',
226+
required: false,
227+
help: "If true, the request will be checked against OpenAPI Schema definition.",
228+
type: "switch",
229+
options: [
230+
{value: true, label: 'True'},
231+
{value: false, label: 'False'}
232+
]
233+
},
214234
securityLevel: {
215235
label: 'Security level',
216236
required: true,

0 commit comments

Comments
 (0)