Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: library for accessing Google Cloud Storage APIs  (Read 13565 times)
Francois G.
Posts: 20


« on: September 08, 2021, 10:45:59 am »

Hi,

Using Genero BDL 3.10, is there any existing 4GL code that can be used to access Google Cloud Storage APIs?

Should I install the Google C++ client library, write a C adapter library, and then import that in my 4GL code?

Regards,
Francois G.
Posts: 20


« Reply #1 on: September 08, 2021, 10:50:51 am »

There is also a Google Java library, which the Genero 4GL might be able to use more readily, without much need for an intermediate adapter library.

Would anybody have any experience with Genero 4GL code that uses C++ / Java libraries?

Regards,
Sisavanh S.
Four Js
Posts: 80


« Reply #2 on: September 08, 2021, 11:18:03 am »

Hi,

I'm not familiar with these "Google Cloud Storage APIs".
From what I read:
https://cloud.google.com/storage/docs/apis

Indeed, you could try the Java interface that should work with Genero:
https://googleapis.dev/java/google-cloud-storage/latest/index.html

The other option is the REST apis with JSON or XML:
https://cloud.google.com/storage/docs/json_api
https://cloud.google.com/storage/docs/xml-api/overview

As Google does not provide a service description (WSDL or openapi) we cannot automatically generate the client stubs.
You will need implement the client functions with GWS low level apis. That can be done with your 3.10 version.

You might mis a PATCH verb for some apis. PATCH is only available with V4.

Depending on the number of Google apis you use that could be quite fast as Google provide request/response samples.

About the OAuth authentication you have a simple in $FGLDIR/web_utilities/services/openid-connect.
Maybe you can contact our professional services and see if they can help you.

Best regards,
Sisa.
Francois G.
Posts: 20


« Reply #3 on: September 08, 2021, 11:37:31 am »

Thanks a lot
jhon a.
Posts: 1


« Reply #4 on: December 16, 2021, 11:06:24 am »

Thanks for your information
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines