Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dirigible » Injected API Requests(Requests for new Injected APIs)
Injected API Requests [message #1706248] Tue, 25 August 2015 09:45 Go to next message
Eclipse UserFriend
Hi,

Lets' use this topic for requests and discussions about the Injected API support. As of now the included APIs consists of four major sets - standard objects (Request, Response, Session, Datasource, Storages, etc.), services (Mail Service, Indexing Service, Extensions Service, etc.), utilities (IO, HTTP, XML, Base64, DB, etc.) and extensions (Wiki).

The Java interface can be found at:
https://github.com/eclipse/dirigible/blob/3fd591670e9451e8b5c833fd50ca09adccbe45f1/org.eclipse.dirigible/org.eclipse.dirigible.parent/runtime/org.eclipse.dirigible.runtime.core/src/org/eclipse/dirigible/runtime/scripting/IInjectedAPI.java

The documentation is at: http://api.dirigible.io

Regards,
Nedelcho
Re: Injected API Requests [message #1708076 is a reply to message #1706248] Sat, 12 September 2015 09:04 Go to previous messageGo to next message
Yordan Pavlov is currently offline Yordan PavlovFriend
Messages: 10
Registered: October 2014
Junior Member
Hi Nedelcho,

Do we really need the setter methods to be a part of the injected API?

The only really useful set method, according to me is this one:
public void set(String key, Object value);


Regards,
Yordan
Re: Injected API Requests [message #1708441 is a reply to message #1708076] Wed, 16 September 2015 14:12 Go to previous messageGo to next message
Eclipse UserFriend
Hi Yordan,

Good point! It is not just useless, but probably dangerous to have setter methods for the standard injected objects once they have been set by the execution engine. We can create a bug for 2.1, if there is no objections removing them.

Regards,
Nedelcho
Re: Injected API Requests [message #1708568 is a reply to message #1708441] Thu, 17 September 2015 13:59 Go to previous messageGo to next message
Eclipse UserFriend
Bug created:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=477725
Re: Injected API Requests [message #1739438 is a reply to message #1708568] Mon, 01 August 2016 12:44 Go to previous message
Eclipse UserFriend
Hi All,

Let's continue to use this "injected" kind of API objects as built-in/internal APIs and to start promoting the new "public" Enterprise JavaScript API. It is available already at http://api.dirigible.io and the honest reasoning behind it at: http://www.dirigible.io/blogs/2016/08/01/blogs_why_enterprise_js.html

Everyone is welcome to join this effort of defining a "standard" set of APIs needed by the business application developers in the Cloud.

Regards,
Nedelcho
Previous Topic:JavaScript Engine Types Determination
Next Topic:Secured/Unsecured URLs Discussion
Goto Forum:
  


Current Time: Fri Apr 19 17:00:27 GMT 2024

Powered by FUDForum. Page generated in 0.02402 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top