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

Commit d4a7c65

Browse files
Merge pull request #16 from solace-iot-team/feature-upgrade-conn-6.5-2
Feature upgrade conn 6.5 2
2 parents c04cc81 + 603272b commit d4a7c65

File tree

57 files changed

+2045
-1275
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+2045
-1275
lines changed

ReleaseNotes.md

+17
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
Solace Async API Management.
44

5+
## Version 0.0.35
6+
* [API-M Admin & Developer Portal](https://github.com/solace-iot-team/async-apim/tree/main/apim-portal): 0.0.35
7+
* [API-M Server OpenAPI](https://github.com/solace-iot-team/async-apim/blob/main/apim-server/server/common/api.yml): 0.0.17
8+
* [API-M Server](https://github.com/solace-iot-team/async-apim/tree/main/apim-server): 0.0.11
9+
* [API-M Connector OpenAPI](https://github.com/solace-iot-team/platform-api): 0.6.5
10+
11+
#### API-M Admin & Developer Portal
12+
13+
**Fixes:**
14+
- **Intial page load showing 'system unavailable'**
15+
- fixed. shows homepage.
16+
- **Typescript version:**
17+
- moved back to 4.3.5 (supported version)
18+
19+
**Framework**
20+
- **refactored Manage API Products**
21+
522
## Version 0.0.34
623
* [API-M Admin & Developer Portal](https://github.com/solace-iot-team/async-apim/tree/main/apim-portal): 0.0.34
724
* [API-M Server OpenAPI](https://github.com/solace-iot-team/async-apim/blob/main/apim-server/server/common/api.yml): 0.0.17

apim-portal/package-lock.json

+16-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apim-portal/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "async-apim-portal",
3-
"version": "0.0.34",
3+
"version": "0.0.35",
44
"description": "Solace Async API Management Portal",
55
"repository": {
66
"type": "git",
@@ -80,6 +80,6 @@
8080
"@types/shelljs": "^0.8.9",
8181
"@types/uuid": "^8.3.4",
8282
"shelljs": "^0.8.4",
83-
"typescript": "^4.3.2"
83+
"typescript": "^4.3.5"
8484
}
8585
}

apim-portal/src/admin-portal/components/ManageApiProducts/DeleteApiProduct.tsx

+7-8
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,18 @@ import React from "react";
44
import { Button } from 'primereact/button';
55
import { Dialog } from 'primereact/dialog';
66

7-
import { ApiProductsService } from '@solace-iot-team/apim-connector-openapi-browser';
87
import { APClientConnectorOpenApi } from "../../../utils/APClientConnectorOpenApi";
98
import { ApiCallState, TApiCallState } from "../../../utils/ApiCallState";
109
import { ApiCallStatusError } from "../../../components/ApiCallStatusError/ApiCallStatusError";
11-
import { TAPOrganizationId } from "../../../components/APComponentsCommon";
12-
import { E_CALL_STATE_ACTIONS, TManagedObjectId } from "./ManageApiProductsCommon";
10+
import { E_CALL_STATE_ACTIONS } from "./ManageApiProductsCommon";
11+
import APAdminPortalApiProductsService from "../../utils/APAdminPortalApiProductsService";
1312

1413
import '../../../components/APComponents.css';
1514
import "./ManageApiProducts.css";
1615

1716
export interface IDeleteApiProductProps {
18-
organizationId: TAPOrganizationId,
19-
apiProductId: TManagedObjectId;
17+
organizationId: string,
18+
apiProductId: string;
2019
apiProductDisplayName: string;
2120
onError: (apiCallState: TApiCallState) => void;
2221
onSuccess: (apiCallState: TApiCallState) => void;
@@ -38,9 +37,9 @@ export const DeleteApiProduct: React.FC<IDeleteApiProductProps> = (props: IDelet
3837
const logName = `${componentName}.${funcName}()`;
3938
let callState: TApiCallState = ApiCallState.getInitialCallState(E_CALL_STATE_ACTIONS.API_DELETE_API_PRODUCT, `delete api product: ${props.apiProductDisplayName}`);
4039
try {
41-
await ApiProductsService.deleteApiProduct({
42-
organizationName: props.organizationId,
43-
apiProductName: props.apiProductId
40+
await APAdminPortalApiProductsService.deleteApApiProductDisplay({
41+
organizationId: props.organizationId,
42+
apiProductId: props.apiProductId
4443
});
4544
} catch(e) {
4645
APClientConnectorOpenApi.logError(logName, e);

0 commit comments

Comments
 (0)