Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cross-project-issues-dev] New public API in MPC

Hi all,

Just a small heads-up: The MPC project now has an official public API as
part of its 1.3.0 Luna contribution. I missed cc'ing this list in my
original announcement, so please see the mail below for details.

This shouldn't really affect the release train in any way.

I also don't expect any issues for other MPC consumers, because the existing
internal API has been kept as stable as possible. There are a couple of
small changes to the internal service implementations that should be trivial
to adapt to, in case anybody was using those directly. Please comment on
https://bugs.eclipse.org/bugs/show_bug.cgi?id=432803 if you see any problems.

Best,
Carsten

-------- Original Message --------
Subject: [mpc-dev] MPC gets a public API
Date: Wed, 16 Apr 2014 20:02:40 +0200
From: Carsten Reckord <reckord@xxxxxxxx>
Reply-To: Communication between MPC committers <mpc-dev@xxxxxxxxxxx>
To: Communication between MPC committers <mpc-dev@xxxxxxxxxxx>

Hi all,

I wanted to let everybody know that as part of our 1.3.0 release for Luna,
MPC now has a proper public API. The inofficial internal API has been pretty
stable for a number of releases now, so it seemed only logical to make it
public.

All relevant services to query the Marketplace REST API are now available in
org.eclipse.epp.mpc.core in the org.eclipse.epp.mpc.core.service package.

The core data model used by the services has been extracted to interfaces in
the org.eclipse.epp.mpc.core.model package. This required some small changes
to the old internal model classes and some overloading of method signatures
in the internal DefaultMarketplaceService implementation to use the new
public data model.

I expect most client code to be unaffected by this. If you are using the
internal service definitions, you will see some deprecations, but migrating
to the official API should be trivial and straight-forward.

The Marketplace Wizard has also got a bit of public API now, Allowing to
launch the wizards with more control over its initial state.

Please use https://bugs.eclipse.org/bugs/show_bug.cgi?id=432803 to comment
on the new API or raise new bugs if you have additional use cases that are
not currently covered.


Best,
Carsten



Back to the top