Skip to content

Commit

Permalink
fix: broker bugfixes for MDS 1.2 (#463)
Browse files Browse the repository at this point in the history
* fix: popularity not logged

* feat: add missing name to mds legal page

* chore: CHANGELOG.md
  • Loading branch information
richardtreier authored Aug 31, 2023
1 parent cde5b29 commit 976a078
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ the detailed section referring to by linking pull requests or issues.
#### Fixed

- Removed 404-causing login polling from broker UI

- Migrated transfer history page to api wrapper
- Migrated contract definition page to api wrapper
- Migrated policy definition page to api wrapper
- Migrated asset page to api wrapper
- Broker: Fixed popularity not logged when clicking on a data offer.
- Broker: Fixed missing name in legal notice

#### Removed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {Store} from '@ngxs/store';
import {CatalogPageSortingItem} from '@sovity.de/broker-server-client';
import {AssetDetailDialogDataService} from '../../../../component-library/catalog/asset-detail-dialog/asset-detail-dialog-data.service';
import {AssetDetailDialogService} from '../../../../component-library/catalog/asset-detail-dialog/asset-detail-dialog.service';
import {BrokerServerApiService} from '../../../../core/services/api/broker-server-api.service';
import {FilterValueSelectItem} from '../filter-value-select/filter-value-select-item';
import {FilterValueSelectVisibleState} from '../filter-value-select/filter-value-select-visible-state';
import {CatalogActiveFilterPill} from '../state/catalog-active-filter-pill';
Expand Down Expand Up @@ -34,6 +35,7 @@ export class CatalogPageComponent implements OnInit, OnDestroy {
constructor(
private assetDetailDialogDataService: AssetDetailDialogDataService,
private assetDetailDialogService: AssetDetailDialogService,
private brokerServerApiService: BrokerServerApiService,
private store: Store,
) {}

Expand Down Expand Up @@ -83,6 +85,14 @@ export class CatalogPageComponent implements OnInit, OnDestroy {
const data =
this.assetDetailDialogDataService.brokerDataOfferDetails(dataOffer);

// Call the detail dialog endpoint so the view count is increased
this.brokerServerApiService
.dataOfferDetailPage({
assetId: dataOffer.assetId,
connectorEndpoint: dataOffer.connectorEndpoint,
})
.subscribe();

this.assetDetailDialogService
.open(data, this.ngOnDestroy$)
.pipe(filter((it) => !!it?.refreshList))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ <h2>DRM Datenraum Mobilität GmbH</h2>
>[email protected]</a
>
</p>
<p>Represented by:<br />Manfred Rauhmeier, Michael Schäfer</p>
<p>
Represented by:<br />Manfred Rauhmeier, Michael Schäfer, Dr. Tobias Miethaner
</p>
<p>Registered with<br />Munich Local Court<br />under HRB 267003</p>
<p><b>VAT identification number</b><br />DE 345960882</p>

0 comments on commit 976a078

Please sign in to comment.