Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules/
dist/
/typedoc
.DS_Store
.idea
2 changes: 1 addition & 1 deletion .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "package-lock.json|^.secrets.baseline$",
"lines": null
},
"generated_at": "2024-11-03T14:03:27Z",
"generated_at": "2024-12-23T09:33:42Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,14 @@ console.log(result);

where,
- **region** : Region name where the App Configuration service instance is created.
- `us-south` for Dallas
- `eu-gb` for London
- `au-syd` for Sydney
- `us-east` for Washington DC
- `eu-de` for Frankfurt
- `AppConfiguration.REGION_US_SOUTH` for Dallas
- `AppConfiguration.REGION_EU_GB` for London
- `AppConfiguration.REGION_AU_SYD` for Sydney
- `AppConfiguration.REGION_US_EAST` for Washington DC
- `AppConfiguration.REGION_EU_DE` for Frankfurt
- `AppConfiguration.REGION_CA_TOR` for Toronto
- `AppConfiguration.REGION_JP_TOK` for Tokyo
- `AppConfiguration.REGION_JP_OSA` for Osaka
- **guid** : Instance ID of the App Configuration service. Obtain it from the service credentials section of the App Configuration dashboard.
- **apikey** : The encrypted APIKey generated as described [here](./README_APIKEY_ENCRYPTION.md).
- **collectionId**: ID of the collection created in App Configuration service instance under the **Collections** section.
Expand Down
2 changes: 1 addition & 1 deletion example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## Step 1: Create an instance of App Configuration service
- Log in to your IBM Cloud account.
- In the [IBM Cloud catalog](https://cloud.ibm.com/catalog#services), search **App Configuration** and select [App Configuration](https://cloud.ibm.com/catalog/services/app-configuration). The service configuration screen opens.
- **Select a region** - Currently, Dallas (us-south), London (eu-gb), Sydney (au-syd), Washington DC (us-east) and Frankfurt (eu-de) regions are supported.
- **Select a region** - Currently, Dallas (us-south), London (eu-gb), Sydney (au-syd), Washington DC (us-east), Frankfurt (eu-de), Toronto(ca-tor), Tokyo(jp-tok) and Osaka(jp-osa) regions are supported.
- Select a pricing plan, resource group and configure your resource with a service name, or use the preset name.
- Click **Create**. A new service instance is created and the App Configuration console displayed.

Expand Down
17 changes: 9 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ibm-appconfiguration-js-client-sdk",
"version": "0.2.0-beta.0",
"version": "0.2.0-beta.1",
"description": "IBM Cloud App Configuration JavaScript Client SDK",
"keywords": [
"client-sdk",
Expand Down
6 changes: 6 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,4 +237,10 @@ export default class AppConfiguration {
public static REGION_US_EAST = 'us-east';

public static REGION_EU_DE = 'eu-de';

public static REGION_CA_TOR = 'ca-tor';

public static REGION_JP_TOK = 'jp-tok';

public static REGION_JP_OSA = 'jp-osa';
}