optum / giraffle Goto Github PK
View Code? Open in Web Editor NEWGradle Plugin for Tigergraph
License: Apache License 2.0
Gradle Plugin for Tigergraph
License: Apache License 2.0
Describe the solution you'd like
We should add a feature to support the "logdir" option in the gsql client.
Would like the ability to create a token without needing to:
Describe the solution you'd like
The gsql client supports a cli feature for "graphstudio". It would be good for the giraffle client to support this feature as well.
Put a link to this side in the README.md
https://optum.github.io/giraffle/#/
This is were the documentation lives!
Describe the bug
For some odd reason I have to replace the tokenized version of giraffle plugin version with a static version
In the file "build.gradle.kts" replace the following:
plugins {
id("com.optum.giraffle") version "@project_version@"
}
/* REPLACE WITH BELOW */
plugins {
id("com.optum.giraffle") version "1.3.2.1"
id("net.saliman.properties") version "1.5.1"
}
repositories{
jcenter()
}
Additional context
I noticed this when trying to execute 'gradle gS' command.
This is a draft blog of the steps I was taking when encountering the bug. https://medium.com/@jon.herke/command-line-interface-cli-functionality-with-tigergraph-cloud-using-giraffle-970ead739943
Describe the bug
Getting the following error when running the new project wizard Execution failed for task ':gsqlNewProject'.
kotlin.io.NoSuchFileException: /var/folders/f3/tg1d4g617c5dbpdr6xncg2hnrg9w5m/T/gsqlPluginConfig6153035423516941993/output/.gitignore: The source file doesn't exist.
To Reproduce
12:52 $ gradle gsqlNewProject
Configure project :
GSQL Plugin successfully applied to state_health
Task :gsqlNewProject
[ant:echo] Welcome to the new project wizard. Please answer the following questions to start a new project.
[ant:input] Project Name: [myApp]
<-----------<-------------> 0% EXECUTING [11s]
[ant:input] Tigergraph Host: [localhost]
<-------------> 0% EXECUTING [13s]
[ant:input] Tigergraph Admin username: [tigergraph]
<-------------> 0% EXECUTING [14s]
<-------------> 0% EXECUTING [15s]
[ant:input] Tigergraph Admin password: [tigergraph]
<-------------> 0% EXECUTING [15s]
[ant:input] Tigergraph username: [tigergraph]
<-------------> 0% EXECUTING [16s]
[ant:input] Tigergraph password: [tigergraph]
<-------------> 0% EXECUTING [17s]
[ant:input] Do you want to support multiple environments? ([y], n)
<-------------> 0% EXECUTING [18s]
[ant:input] Do you want to use the Kotlin or Groovy DSL for you build? ([k], g)
<-------------> 0% EXECUTING [25s]
Task :gsqlNewProject FAILED
FAILURE: Build failed with an exception.
kotlin.io.NoSuchFileException: /var/folders/f3/tg1d4g617c5dbpdr6xncg2hnrg9w5m/T/gsqlPluginConfig6153035423516941993/output/.gitignore: The source file doesn't exist.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 26s
1 actionable task: 1 executed
Go to this site:
https://optum.github.io/giraffle/#/
The Get Started control is disabled so you can't access the documentation.
This seems like a good plugin, but this is my first time using Gradle and giraffle. Very hard for me to understand where to start and use the plugin. An example project directory would be very helpful, along with descriptions of where to put certain lines in the various files.
If possible it would be great if we could turn the Schema export file into a GSQL script. Please contact me if you think this would be possible. I would love to help create such a task to contribute to the robust functionality of this plugin!
Specify a command to run instead of specifying the path to a script
When creating a new graph or a subgraph currently a user has to create the new directories, gradle properties, schema script, load script, run load script, and permissions script.
This would allow a user to generate a default template for their graph project.
Gradle generateNewProjectTemplate
generate == g
Example tasks
Task gRootGraph
Task gGradleProperty (Depends on gRootGraph)
Task gSubDir (Depends on gRootGraph)
Task gDefaultSchema (Depends on gSubDir)
Task gLoad
Task gRunLoad
Please add a command line parameter to accept a SSL certificate:
“–cacert tigergraph.cer”
We need this to be able to use TigerGraph in the cloud.
Josh Meekhof indicated this is the appropriate file and line range to change:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.