Configure iReport with BigQuery - jasper-reports

I am trying to configure iReport from Jaspersoft with BigQuery and I am following every step posted on the Internet but they don't work.
The specific steps to configure this are following those from here
The main step is to create a Project in BigQuery which gives you 3 main things:
the Project ID
the Client ID
the Client Secret
With these parameters you can create the JDBC URL explained here which is required to connect iReport with BigQuery.
BUT, when you get to the part when you only have to put the Credentials (username, and password) on the "New Database JDBC Connection" creation of iReport, I can't use my Client Secret, iReport requests the <path to key file>, which I think is a *.p12 file, because iReport gives this error:
QL problems: java.io.IOException: toDerInputStream rejects tag type ##
Please help either on creating this *.p12 file and see what happens or maybe giving me the exact steps to make this configuration work, if any of you have configured this correctly.
Thank You.

The *.p12 file is used when you want to connect with a ServiceAccount.
Please go to Google apis console and select your project.
At the Dashboard there will be your Project ID
To obtain username, and password please go to the API Access menu and select: Create another client ID From here you either select service account or Installed application.
If you choose service account you'll get the .p12 file and the username.
If you choose installed application then you should select the Other then press Create Client ID then you have your client ID and client Secret
Hopefully this will solve your problem, if not, then feel free to ask.

Related

Credentials for Db2 in IBM

I recently signed up for the Lite version (free) of Db2 in IBM. When I select 'open console', I receive an error message: {"trace":"89cc4337d11c197f1e4c12c51f027b77","errors":[{"code":"authentication_failure","message":"HWCSEC0016E: Authentication failed for SSO. This may caused by failed to generate access token in console side using existing credentials.","target":{"type":"","name":""},"more_info":""}]}. I've placed a couple of ticktets with IBM, but they say since I signed up for the 'free' service that they are unable to assist even though I only need assistance to access the service. Any thoughts?
Deleted the existing DB instance and created a new one in different location. And that worked for me.

Connecting Excel to a Azure Devops Query

I can not see my queries using Excel Team plugin. I get an error enter image description here
TF8001:An error occurred while accessing the work item database. Contact the administrator
Please use the administrator account to check these:
First, please check whether the current query allows your account to access it.
click on the Shared query-->Security
Make sure that the related options are allowed.
Second, make sure that your account has access to the current work item.
Project Settings--> Project configuration
Finally if you execute the query to tfs work item database, you should contact your Administrator to add permission for your account.

icCube - XMLA authentication/authorization not working as expected

I am trying to limit user to see only one schema over XMLA.
For that i have done:
created separate role without full access check
Created separate role without full access check
In Applications tab checked only XMLA
In Schemas tab selected "Authorize Selected" and select only one schema
Created user with just created role
applied new user definitions
After that steps, when i connect via XMLA with just created users i still see all schemas.
What i am doing wrong?
One point that is important when using XMLA interface is to disable the 'anonymous' login. When doing XMLA if this mode is activate it is going to be used in priority.
To change this you need to modify icCube.xml and restart icCube Server. See more on online doc here.

Get IBM Bluemix SQL Database service credentials before I bind it to application, is it possible?

When I bind SQL Database service to an application I can see credentials from application panel. But in case I've created a service and would like to work with it before I'm binding to any application, is it possible? I haven't find a way to see credentials, only internal tools to work with database.
Thank you.
Once you provision a new SQL Database instance, you need to enter the service details page in bluemix, find the 'Launch' button to go to the service page which will open up separately. On the service page go to Set up `-->` Connect Applications `-- >` Connection settings. You will get all the connection details except the username and password.
If you are not able to resolve the username and password then you have got two alternatives :-
1. Create a dummy application, bind it to your SQL Database, get the credentials from VCAP_SERVICES, and you can use them externally.
2. If you are looking for something only on `DB2` then you have another alternative called `DashDB` available in Bluemix. Here the settings are well defined, credentials are clearly available and will work even without binding the service to an application.
Hope this helps you. Thanks.

DreamFactory - Guest user setup to access only the Database service

I am using the builtin Local DB (MySql) in DreamFactory and I am trying to access a GET on https://my_dsp/rest/db/my_table from Postman as a guest(without any kind of authentication). I am getting
"context": null,
"message": "No application name header or parameter value in request.",
"code": 400
Here is what i did as per the instruction
1. Setup Schema and added data to the existing Database service which comes with the dsp
2. Set up a role name and desc
3. gave a GET service access(Database) to the role with Component * for all. Nothing is done in User tab or lookup key
4. Ticked on Config - > allow guest user and selected the role
Its working fine from API Docs (/db/{table_name}) but cant access it from Postman or other place. All the settings are updated and I flush the system cache as well. What am I exactly missing? Some help will be highly appreciated.
Thanks
This error is unrelated to your guest access configuration or your DB configuration. You have failed to provide an application name header or URI parameter in your API call. I recommend you review the product documentation on the basics of making a call to DreamFactory.
In short, in Postman, you will need to either provide your application name in a URI parameter, like
https://my_dsp/rest/db/my_table?app_name={myappname}
Or as an HTTP header, like
X-DreamFactory-Application-Name: {myappname}
I recently answered this with a step-by-step guide on the DreamFactory forum here.