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 committed Aug 31, 2023
1 parent dbabfbd commit dcd3ee0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ the detailed section referring to by linking pull requests or issues.
#### Fixed

- Removed 404-causing login polling from broker UI
- 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 @@ -9,6 +9,7 @@ import {CatalogPageSortingItem} from '@sovity.de/broker-server-client';
import {AssetDetailDialogDataService} from '../../../../component-library/catalog/asset-detail-dialog/asset-detail-dialog-data.service';
import {AssetDetailDialogResult} from '../../../../component-library/catalog/asset-detail-dialog/asset-detail-dialog-result';
import {AssetDetailDialogComponent} from '../../../../component-library/catalog/asset-detail-dialog/asset-detail-dialog.component';
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 @@ -36,6 +37,7 @@ export class CatalogPageComponent implements OnInit, OnDestroy {
constructor(
private assetDetailDialogDataService: AssetDetailDialogDataService,
private matDialog: MatDialog,
private brokerServerApiService: BrokerServerApiService,
private store: Store,
) {}

Expand Down Expand Up @@ -82,6 +84,14 @@ export class CatalogPageComponent implements OnInit, OnDestroy {
}

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

const data =
this.assetDetailDialogDataService.brokerDataOfferDetails(dataOffer);
const ref = this.matDialog.open(AssetDetailDialogComponent, {data});
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>
>contact@mobility-dataspace.eu</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 dcd3ee0

Please sign in to comment.