Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy TM1py into Google Cloud Function? #494

Closed
macsir opened this issue Feb 17, 2021 · 3 comments
Closed

Deploy TM1py into Google Cloud Function? #494

macsir opened this issue Feb 17, 2021 · 3 comments
Labels

Comments

@macsir
Copy link
Contributor

macsir commented Feb 17, 2021

Hi, @MariusWirtz
Just want to know if tm1py can be deployed as google cloud function to be run to load data from BigQuery table into TM1 locally? I guess not. But could you advise if it is possible in other ways? Thanks.

@MariusWirtz
Copy link
Collaborator

Hi @macsir,

If you run TM1 locally, why not just run python locally as well and query data from Big Query with py?
Once you have data in py you can easily move it to a TM1 cube with TM1py.

I did a project recently to read/write to google sheets and we ran python locally on their TM1 server.
It worked great to connect to the google systems through a google python library. I assume it would work similarly for Big Query.

@macsir
Copy link
Contributor Author

macsir commented Feb 17, 2021 via email

@MariusWirtz
Copy link
Collaborator

I see. If all things are in the cloud that makes sense. If google cloud offers to run python, I would be surprised if TM1py doesn't work. TM1py has no eccentric dependencies except maybe for pandas (which is an optional dependency anyways).

If you do run py locally, you can also run it as a windows service, that checks every minute or so if there is "work" to do. That could make a neat architecture as well.

If python runs in the cloud, you would have to think about how you expose the TM1 REST API to the internet, which is not entirely unproblematic.

@cubewise-code cubewise-code locked and limited conversation to collaborators Mar 5, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
None yet
Development

No branches or pull requests

2 participants