Skip to content

Feature/create api marketplace metrics#37

Draft
jordivx wants to merge 22 commits into
developfrom
feature/create-api-marketplace-metrics
Draft

Feature/create api marketplace metrics#37
jordivx wants to merge 22 commits into
developfrom
feature/create-api-marketplace-metrics

Conversation

@jordivx

@jordivx jordivx commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@jordivx jordivx requested a review from jorge-romero June 18, 2026 07:41
@github-actions

Copy link
Copy Markdown

📊 Static Analysis Summary

🔍 Code Quality Checks

  • ✅ JaCoCo coverage report generated

📦 Download detailed reports from the workflow artifacts.

1 similar comment
@github-actions

Copy link
Copy Markdown

📊 Static Analysis Summary

🔍 Code Quality Checks

  • ✅ JaCoCo coverage report generated

📦 Download detailed reports from the workflow artifacts.

@jordivx jordivx marked this pull request as draft June 25, 2026 07:13
@jordivx jordivx force-pushed the feature/create-api-marketplace-metrics branch from 302e7ed to a069870 Compare June 25, 2026 07:34
@github-actions

Copy link
Copy Markdown

📊 Static Analysis Summary

🔍 Code Quality Checks

  • ✅ JaCoCo coverage report generated

📦 Download detailed reports from the workflow artifacts.

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

📊 Static Analysis Summary

🔍 Code Quality Checks

  • ✅ JaCoCo coverage report generated

📦 Download detailed reports from the workflow artifacts.

@jorge-romero jorge-romero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Please move your version to v0.0.4, as we are delivering the v0.0.3 now :-)
  • Remove autogenerated by OpenAPI classes like MarketplaceMetricsApi.java and the model (if it comes with the next PR I could assume to have it. It includes the API and the service
  • We are missing controller tests.

Comment thread api-marketplace-metrics/openapi/api-marketplace-metrics.yaml Outdated
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

📊 Static Analysis Summary

🔍 Code Quality Checks

  • ✅ JaCoCo coverage report generated

📦 Download detailed reports from the workflow artifacts.

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

📊 Static Analysis Summary

🔍 Code Quality Checks

  • ✅ JaCoCo coverage report generated

📦 Download detailed reports from the workflow artifacts.

1 similar comment
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

📊 Static Analysis Summary

🔍 Code Quality Checks

  • ✅ JaCoCo coverage report generated

📦 Download detailed reports from the workflow artifacts.

Co-authored-by: Vila,Jordi (IT EDP) <jordi.vila@boehringer-ingelheim.com>
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

📊 Static Analysis Summary

🔍 Code Quality Checks

  • ✅ JaCoCo coverage report generated

📦 Download detailed reports from the workflow artifacts.

@github-actions

Copy link
Copy Markdown

📊 Static Analysis Summary

🔍 Code Quality Checks

  • ✅ JaCoCo coverage report generated

📦 Download detailed reports from the workflow artifacts.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

📊 Static Analysis Summary

🔍 Code Quality Checks

  • ✅ JaCoCo coverage report generated

📦 Download detailed reports from the workflow artifacts.

@jorge-romero jorge-romero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review my comments


@Override
public ResponseEntity<MarketplaceCatalogItemsMetrics> getMarketplaceCatalogItemsMetrics() {
MarketplaceCatalogItemsMetrics catalogItemsMetrics = marketplaceMetricsFacade.getMarketplaceCatalogItemsMetrics();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

marketplaceMetricsFacade.getMarketplaceCatalogItemsMetrics() return an empty list or throws an exception, so the not found return is never executed.

title: An item title
shortDescription: Example description
date: "2021-07-01T00:00:00Z"
pagination:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pagination we agree that was not needed why it is returned?

-- changeset ods:010-seed-marketplace-metrics-api-definitions
-- Description: Seed API definitions for Marketplace Metrics API.
-- ============================================================================
INSERT INTO api_definitions (api_id, name, base_path, version, auth_types, is_public, enabled)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review which will be the endpoint, as if it the marketplace metrics, the semantic of nesting under projects is not clear to me.
As you are adding an api for get all the catalog-items, and other to get all the components for all the projects.

The semantic of the projects api is managing the projects, and projects/xxx/components manage the components.
It this is for metrics it should be in a different path the retrieval of catalog-items at least

"404":
$ref: "#/components/responses/NotFoundResponse"
"500":
$ref: "#/components/responses/InternalErrorResponse"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the 502 is returned too

"404":
$ref: "#/components/responses/NotFoundResponse"
"500":
$ref: "#/components/responses/InternalErrorResponse"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

502 is returned too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants