Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

Commit 7f79d3f

Browse files
Merge pull request #32 from solace-iot-team/fix-0-2-0
fixes
2 parents 9222a60 + 9483afb commit 7f79d3f

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed

ReleaseNotes.md

+13
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
Solace Async API Management.
44

5+
## Version 0.2.1
6+
* [API-M Admin & Developer Portal](https://github.com/solace-iot-team/async-apim/tree/main/apim-portal): 0.2.1
7+
* [API-M Server OpenAPI](https://github.com/solace-iot-team/async-apim/blob/main/apim-server/server/common/api.yml): 0.2.0
8+
* [API-M Server](https://github.com/solace-iot-team/async-apim/tree/main/apim-server): 0.2.0
9+
* [API-M Connector OpenAPI](https://github.com/solace-iot-team/platform-api): 0.7.11
10+
11+
**Fixes:**
12+
* **quickstart**
13+
- corrected env vars for server
14+
* **portal**
15+
- fixed fetch credentials parameters issue
16+
17+
518
## Version 0.2.0
619
* [API-M Admin & Developer Portal](https://github.com/solace-iot-team/async-apim/tree/main/apim-portal): 0.2.0
720
* [API-M Server OpenAPI](https://github.com/solace-iot-team/async-apim/blob/main/apim-server/server/common/api.yml): 0.2.0

apim-portal/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "async-apim-portal",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Solace Async API Management Portal",
55
"repository": {
66
"type": "git",

apim-portal/src/utils/APSClientOpenApi.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@ export class APSClientOpenApi {
2929
public static set = (): void => {
3030
const funcName = 'set';
3131
const logName = `${APSClientOpenApi.componentName}.${funcName}()`;
32-
if (!APSClientOpenApi.isInitialized) throw new Error(`${logName}: not initialized`);
32+
if(!APSClientOpenApi.isInitialized) throw new Error(`${logName}: not initialized`);
3333
if(APSClientOpenApi.config.apsServerUrl) {
3434
const base: URL = new URL(APSOpenAPI.BASE, APSClientOpenApi.config.apsServerUrl.toString());
3535
APSOpenAPI.BASE = base.toString();
36+
APSOpenAPI.WITH_CREDENTIALS = false;
37+
APSOpenAPI.CREDENTIALS = "omit";
3638
}
3739
console.log(`${logName}: APSOpenAPI = ${JSON.stringify(APSOpenAPI, null, 2)}`);
3840
}

quickstart/docker.compose.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
qs-async-apim-admin-portal:
1818
container_name: qs-async-apim-admin-portal
1919
image : "solaceiotteam/async-apim-admin-portal:latest"
20-
# image : "solaceiotteam/async-apim-admin-portal:0.0.21"
20+
# image : "solaceiotteam/async-apim-admin-portal:0.1.9"
2121
ports:
2222
- 5080:80
2323
restart: unless-stopped
@@ -33,6 +33,7 @@ services:
3333
- qs-async-apim-connector
3434
- qs-async-apim-server-mongodb
3535
image: "solaceiotteam/async-apim-server:latest"
36+
# image: "solaceiotteam/async-apim-server:0.1.1"
3637
ports:
3738
- 5002:3000
3839
volumes:
@@ -47,10 +48,11 @@ services:
4748
- APIM_SERVER_LOGGER_APP_ID=qs-async-apim-server
4849
- APIM_SERVER_LOGGER_LOG_LEVEL=trace
4950
- APIM_SERVER_REQUEST_SIZE_LIMIT=100kb
50-
- APIM_SERVER_SECRET=mySecret
51+
- APIM_SERVER_COOKIE_SECRET=myCookieSecret
5152
- APIM_SERVER_ROOT_USER=${APIM_SERVER_ROOT_USER}
5253
- APIM_SERVER_ROOT_USER_PWD=${APIM_SERVER_ROOT_USER_PWD}
5354
- APIM_SERVER_DATA_PATH=/data
55+
- APIM_SERVER_AUTH_TYPE=none
5456
logging:
5557
options:
5658
max-size: "10m"

0 commit comments

Comments
 (0)