If publishing a datamodel with TimeSeries attributes defined(like below)in the UI, it will fail with an error message:type Property { modelName: String value: TimeSeries}
I am able to login with clientID and client Secret to our test project using cdf cli. Also the “cdf dm create” is working. However, when publishing a graphql using “cdf dm publish” there was always a validation error even using the demo GraphQL data model. Below is the error message:$ cdf dm publish --file=./test.graphql --external-id="testgraphql1" --space="testgraphql1" --version 1 --verbose2023-02-28T13:24:31.576Z cdf:middleware:auth Fetching auth token from CDF...2023-02-28T13:24:31.577Z cdf Getting token via Client Secret2023-02-28T13:24:31.578Z cdf:auth:client-secret Starting to aquire client credential token2023-02-28T13:24:32.032Z cdf:middleware:auth Finished fetching auth token from CDF2023-02-28T13:24:32.038Z cdf:data-models:publish dataModelVersionsHandler initialized2023-02-28T13:24:32.038Z cdf:data-models:publish Reading graphql file ./test.graphql2023-02-28T13:24:32.039Z cdf:data-models:publish Schema contents 'type Actor {\r\n' + ' name: String!\r\n' + ' age: Int\r\n'
At release, will Schema Services support being federated into a GraphQL schema, like with Hot Chocolate or Apollo? This is how we are planning to utilize combining what is available in CDF with what we are providing in our GraphQL schemas and I was assuming this is feasible. But, a dev mentioned that the downstream services have to support being federated for it to be made available at the federation gateway. If you are using Lighthouse for your implementation, then I see it has preview support for being federated, but I need to confirm you will configure it this way or whatever you may be using will support being federated. Thanks!
I am seeing how to create Templates used to query data, but I have not yet found information related to defining GraphQL mutations. Do you know where I can find this information? Thanks! Here are some places I’ve been looking.Docs:Templates | Cognite DocumentationAbout template management | Cognite DocumentationSearch results for "templates" | Cognite DocumentationThe tests in the Python SDK:https://github.com/cognitedata/cognite-sdk-python/blob/master/tests/tests_integration/test_api/test_templates.py There is some info related to GraphQL mutations and Cognite here, but this doesn’t seem related to Cognite’s Template functionality:https://itg.cognite.ai/docs/tutorials/data-ingestion/ingesting-datahttps://github.com/cognitedata/sample-cdf-graphql-angular-app/blob/9641e4967e0a288241ef68b3e94786b56de456c2/src/app/itg-api.service.ts#L125
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.