Skip to content

Commit 51ddbf4

Browse files
authored
Merge pull request #330 from sil-org/remove-appconfig
Release 8.0.0-pre.1 -- Remove appconfig
2 parents d2c4b3b + 8b1d852 commit 51ddbf4

File tree

3 files changed

+5
-32
lines changed

3 files changed

+5
-32
lines changed

README.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Backend API for Identity Provider Password Management
66

77
### Linux
88

9-
1. Docker >= 1.9.1
10-
2. Docker Compose >= 1.5
9+
1. Docker
10+
2. Docker Compose
1111

1212
### Mac
1313

@@ -36,14 +36,10 @@ Backend API for Identity Provider Password Management
3636
## Configuration
3737

3838
By default, configuration is read from environment variables. These are documented
39-
in the `local.env.dist` file. Optionally, you can define configuration in AWS Systems Manager.
40-
To do this, set the following environment variables to point to the configuration in
41-
AWS:
39+
in the `local.env.dist` file. Optionally, you can define configuration in AWS Parameter Store.
40+
To do this, set the following environment variables to point to the configuration in AWS:
4241

4342
* `AWS_REGION` - the AWS region in use
44-
* `APP_ID` - AppConfig application ID or name
45-
* `CONFIG_ID` - AppConfig configuration profile ID or name
46-
* `ENV_ID` - AppConfig environment ID or name
4743
* `PARAMETER_STORE_PATH` - Parameter Store base path for this app, e.g. "/idp-pw-api/idp-name/prod"
4844

4945
In addition, the AWS API requires authentication. It is best to use an access role
@@ -54,11 +50,6 @@ If that is not an option, you can specify an access token using the `AWS_ACCESS_
5450
If `PARAMETER_STORE_PATH` is given, AWS Parameter Store will be used. Each parameter in AWS Parameter
5551
Store is set as an environment variable in the execution environment.
5652

57-
If `PARAMETER_STORE_PATH` is not given but the AppConfig variables are, AWS AppConfig will be used.
58-
The content of the AppConfig configuration profile takes the form of a typical .env file, using `#`
59-
for comments and `=` for variable assignment. Any variables read from AppConfig will overwrite variables
60-
set in the execution environment.
61-
6253
### Additional setup
6354

6455
1. Add entry to ```/etc/hosts``` for ```127.0.0.1 idp-pw-api.local```
@@ -195,7 +186,7 @@ Returns configuration parameters supplied by environment variables.
195186

196187
#### `GET /site/system-status`
197188

198-
This endpoint verifies connectivity to the database and to the email service.
189+
This endpoint verifies connectivity to the database.
199190

200191
#### `POST /reset` and `PUT /reset/{uid}/validate`
201192

application/run.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ fi
3636

3737
if [[ $PARAMETER_STORE_PATH ]]; then
3838
config-shim --path $PARAMETER_STORE_PATH apache2ctl -k start -D FOREGROUND
39-
elif [[ $APP_ID ]]; then
40-
config-shim --app $APP_ID --config $CONFIG_ID --env $ENV_ID apache2ctl -k start -D FOREGROUND
4139
else
4240
apache2ctl -k start -D FOREGROUND
4341
fi

local.env.dist

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,6 @@ IDP_NAME=
1717
#IDP_DISPLAY_NAME=
1818

1919

20-
# === AWS AppConfig ===
21-
# Leave these blank if you don't want to use AppConfig
22-
23-
# The AWS region in use
24-
AWS_REGION=
25-
26-
# The AppConfig Application ID (or name)
27-
APP_ID=
28-
29-
# The AppConfig Configuration Profile ID (or name)
30-
CONFIG_ID=
31-
32-
# The AppConfig Environment ID (or name)
33-
ENV_ID=
34-
35-
3620
# === database parameters ===
3721

3822
MYSQL_HOST=

0 commit comments

Comments
 (0)