Jump to content
Changes to the Jaspersoft community edition download ×

Is it possible to be using datasource from server to make report?


mit.navn.marcus

Recommended Posts

Hello,

I've made a jaspersoft server that's running on a docker host, it has access to a database running on the same docker host, which it can connect to when you're on the jaspersoft server.

My user,  has access to the website but not the database directly. He is to  make reports using jaspersoft studio.

So I want him to be able to use the datasource that I have made on the website, since he can't use an data adapter that he has made on his end.

I've tried importing the datasource from the server as a local data adapter but then jaspersoft studio is stuck getting metadata

Is this possible?

 

my solution is based on the github project: https://github.com/TIBCOSoftware/js-docker

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

This is a general issue about how to expose a data source running with a container to the outside world for development purposes. This is exactly the same as accessing a database behind a firewall.

You have 2 options that I can think of:

- Expose the port(s) the data source is running on, just like you would do for a web server.

- Use a bastion pattern, where there is a container within your container environment that has SSH exposed, which you can then use to tunnel into the data source container.

 

Sherman

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...