Skip to content

Commit

Permalink
fix: update bff api
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryT-CG committed Mar 1, 2024
1 parent 8377097 commit 3ac0f22
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 10 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
"@ngx-translate/core": "^14.0.0",
"@ngx-translate/http-loader": "^7.0.0",
"@onecx/accelerator": "^4.5.1",
"@onecx/integration-interface": "^4.5.1",
"@onecx/keycloak-auth": "^4.5.1",
"@onecx/portal-integration-angular": "^4.5.1",
"@onecx/portal-layout-styles": "^4.5.1",
"@onecx/integration-interface": "^4.9.0",
"@onecx/keycloak-auth": "^4.9.0",
"@onecx/portal-integration-angular": "^4.9.0",
"@onecx/portal-layout-styles": "^4.9.0",
"file-saver": "^2.0.5",
"i18n-iso-countries": "^7.10.0",
"ngx-color": "^8.0.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
</div>
<div class="col-12 md:col-5 lg:col-5 xl:col-6">
<div class="flex flex-column justify-content-center gap-1 text-center md:text-left">
<div class="font-bold">{{ product.name }}</div>
<div>{{ limitText(product.displayName, 75) }}</div>
<div class="font-bold" [title]="product.displayName">{{ limitText(product.displayName, 100) }}</div>
<div [title]="'PRODUCT.NAME' | translate">{{ limitText(product.name, 75) }}</div>
</div>
</div>
</div>
Expand Down
2 changes: 2 additions & 0 deletions src/app/shared/generated/model/microfrontendAbstract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ export interface MicrofrontendAbstract {
* reference to the product entity as a weak reference
*/
productName: string;
iconName?: string;
operator?: boolean;
classifications?: Array<string>;
/**
* available endpoints which are exposed by MFE
Expand Down
1 change: 1 addition & 0 deletions src/app/shared/generated/model/microservice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ export interface Microservice {
appName?: string;
description?: string;
productName?: string;
operator?: boolean;
}

6 changes: 6 additions & 0 deletions src/assets/api/openapi-bff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -941,6 +941,10 @@ components:
productName:
type: string
description: reference to the product entity as a weak reference
iconName:
type: string
operator:
type: boolean
classifications:
type: array
uniqueItems: true
Expand Down Expand Up @@ -1187,6 +1191,8 @@ components:
type: string
productName:
type: string
operator:
type: boolean
UpdateMicroserviceRequest:
type: object
properties:
Expand Down

0 comments on commit 3ac0f22

Please sign in to comment.