1. Giuseppe Luigi Punzi
  2. Valentina Server
  3. Mittwoch, März 09 2016, 01:15 PM
  4.  Abonnieren via E-Mail
I see you can configure a REST port and a HTTP port.

What exactly is HTTP port for?

In documentation I just see there is a param in INI file, but don't explains how to use it.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
With HTTP port enabled it is possible to generate reports in HTML format directly from the web browser.

Query should be in the following format:

http://localhost:12121/PROJECT_NAME/REPORT_NAME?db=DB_NAME&;query=QUERY_TEXT


DB_NAME - name of the Valentina database, hosted on Valentina Server.

For example:

http://localhost:12121/valentina_sakila_reports/Report_DailySalesForWeek?db=valentina_sakila&;query=SELECT%201
Kommentar
There are no comments made yet.
Giuseppe Luigi Punzi Akzeptierte Antwort
Interesting, This works with datasources outside Valentina server like you can do over Rest? Or database should be a Valentina Database? Ther aren't any kind of security?
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Also, if this port is set, Valentina Studio uses it in Preview mode when Browser button is pressed.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Currently only for Valentina Databases.
REST is more flexible, but not so simple.
Kommentar
There are no comments made yet.
Ruslan Zasukhin Akzeptierte Antwort
Sergey,

as far as I remember idea was to use HTTP port
to return HTML pages, which implement something similar to phpAdmin
as bult-in feature of VSERVER.

and we have try to use our own report engine to generate that HTML pages.

This task is not finished, so we keep this HTTP port = 0.

again, this will be (if will be) kind of own HTML admin.
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
@Ruslan: sounds cool. Looking forward to this feature.
Kommentar
There are no comments made yet.
  • Seite :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories