Giter Club home page Giter Club logo

giraffle's People

Contributors

amyschoen avatar jmeekhof avatar jonherke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

giraffle's Issues

Generate token type

Would like the ability to create a token without needing to:

  1. log into a server
  2. generate token
  3. coping pasting

@project_version@ isn't grabbing the correct version

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

New Project Wizard: Build Failure

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.

  • What went wrong:
    Execution failed for task ':gsqlNewProject'.

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

Screenshots
Screen Shot 2019-09-16 at 12 55 06 PM

Update README for beginners

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.

Task to generate default graph template

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.