What is the recommended practice here? How can plugins make use of apache httpclient (v4), given that it’s a banned dependency that is unavailable from OSGI?
This was a mistake on our end. I’ll make this available in the next eap so you should be able to use this with <provided> scope
@bplump given that we are now heading to yet anther EAP, I strongly urge you to adjust the planning of the GA release date
As mentioned here, you expected to have it complete & ready to ship in late June. But we are still in EAP stage with 80+ comments from partners since your last update and still there are new issues being found.
I would really like to ask from Atlassian that they adjust their policy to plan the release 8 weeks after the last EAP. That means that as long as partners are finding severe issues that are blocking apps from being able to adopt Platform 7, and new EAPs are required to address those issues, that there will not be a GA releases within the next 8 weeks.
We should avoid a situation in which the GA version is released 4 days after the last EAP just because there is a fixed date.
This is more pressing because we are entering summer vacation period in the northern hemisphere which will impact staffing for vendors.
I understand Atlassian operates with autonomous teams, but please also be mindful that there are currently 5 products that have Platform 7 GA release dates planned in July-August, and each of these products are still heavily in EAP mode because of issues found by partners.
It would be great if Atlassian recognises the amount of work partners are already putting into Platform 7 and appreciates what you are asking from partners.
java.lang.RuntimeException: java.lang.ClassNotFoundException: org.glassfish.jersey.internal.RuntimeDelegateImpl
at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:129)
at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:96)
at javax.ws.rs.core.Response$ResponseBuilder.newInstance(Response.java:839)
at javax.ws.rs.core.Response.status(Response.java:567)
at javax.ws.rs.core.Response.status(Response.java:578)
at runtime.
The dependency:tree for eap08 does NOT provide any dependencies for jersey glassfish implementation.
The (generous) 8 weeks countdown for the BB9 GA release should start when app developers and vendors are provided with an EAP version that is not fundamentally flawed and thus making it impossible for vendors to provide a working version of their app due to these flaws.
What does fundamentally flawed mean? IMO it’s when a problem is reported and acknowledged by ATL staff like this or a (potential) regression like this.
In the spirit of “Impossible Alone! -We’re at our best when we work as a team.” we are building our business on transparency and fairness and I am sure this will ensure mutual success for Bitbucket customers, Atlassian and vendors.
+1 for this sentiment, the same problems plague Jira, there have not been any meaningfully useful EAPs for Bitbucket up to this point.
Atlassian can’t claim app vendors have had the full duration of the EAP cycle to get ready, if every EAP released is fundamentally broken.
At present it seems unlikely our app will be ready for Bitbucket 9, in the end our mutual customers are those that will suffer from aggressive timelines.
It is intended that atlassian-rest-v2-plugin no longer provides jersey. We have verified that RESTv2 works with eap08 on a test external plugin, however there may be cases that we’ve missed.
Would you be able to provide more information on how you triggered this exception? If you can provide a code sample that can replicate the issue, that would be awesome.
The exception was thrown for unit tests and I didn’t validate integration tests. You are correct that EAP08 REST APIs work for plugins when testing endpoints on a running instance .
For Unit tests to ‘find’ a javax.ws.rs.core.Response runtime implementation I added
I run into an issue when using custom icons in the new clientside-extensions on the repository.
The new extension-point-wrapper.jsx does runtime propType tests on the provided attributes. For iconBefore and iconAfter this expects a node proptype which can be one of
Hi!
I also have issues resolving com.atlassian.bitbucket.repository.ref.restriction.RefRestrictionService with @ComponentImport, could you please make this available as bean?
This seems like prop-type validation hasn’t been accurate as it renders the icon correctly but throws console error. I’ll make this change in the next eap.
We’ve made org.apache.http.* packages public since it’s part of platform public API, and because AMPS has banned vendors from bundling this dependency.
Thanks for EAP9.
Web panel classes throw a ClassCastException (Hello Webpanel World, not shown)
2024-07-04 19:39:12,606 WARN [http-nio-7990-exec-4] admin @KFLAF1x1179x117x0 dhbzyb 0:0:0:0:0:0:0:1 "GET /projects/PROJECT_1/repos/rep_1/browse HTTP/1.1" c.a.s.i.w.f.WebFragmentSupport An error occurred rendering com.izymes.test:test-hello-web-panel. Ignoring
java.lang.ClassCastException: class com.izymes.test.web.HelloWebPanel cannot be cast to class com.atlassian.plugin.web.model.WebPanel (com.izymes.test.web.HelloWebPanel is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @219cc895; com.atlassian.plugin.web.model.WebPanel is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @6f1fba17)