Giter Site home page Giter Site logo

kghmanuel / pipes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marklogic-community/pipes

0.0 1.0 0.0 24.22 MB

Pipes for MarkLogic DataHub is visual programming tool for MarkLogic Data Hub. It integrates with MarkLogic's Datahub and produces custom code step(s) using a no-code UI environment.

License: Other

JavaScript 89.25% Dockerfile 0.09% Shell 0.09% HTML 0.06% CSS 0.51% Java 2.97% Vue 6.99% Batchfile 0.04%

pipes's Introduction

Pipes for MarkLogic DataHub

What is it?

A visual programming tool for MarkLogic. It integrates with the MarkLogic Data Hub and produces the code for a Custom Step using a no-code UI environment.

Pipes for MarkLogic DataHub is a community tool. As such, it is not supported by MarkLogic Corporation and is only updated and corrected based on a best-effort approach. Any contribution or feedback is welcomed to make the tool better.

Pipes is designed to run on MarkLogic 10.0-2 (with DHF 5.1.0 installed).

Great! How do I run it?

To use Pipes you will need to have an instance of MarkLogic with the Data Hub installed.

Next, download the Pipes jar from the Releases section. In the same directory where you placed the jar, create an application.properties file with following content (for Linux/Unix/Mac):

# this is where the UI will be running, make sure the port is not used
server.port=8081

# MarkLogic DHF settings
mlHost=localhost
mlStagingPort=8010
mlAppServicesPort=8000
mlAdminPort=8001
mlManagePort=8002
mlUsername=myusername
mlPassword=mypassword 
mlModulesDatabase=data-hub-MODULES

# this is the root of your DHF project to deploy backend modules to
mlDhfRoot=/my/projects/dhf 

and for Windows

# this is where the UI will be running, make sure the port is not used
server.port=8081

# MarkLogic DHF settings
mlHost=localhost
mlStagingPort=8010
mlAppServicesPort=8000
mlAdminPort=8001
mlManagePort=8002
mlUsername=myusername
mlPassword=mypassword 
mlModulesDatabase=data-hub-MODULES

# this is the root of your DHF project to deploy backend modules to
mlDhfRoot=C:/Users/user/dev/test-pipes

Can I use another filename instead of application.properties?

Yes. Assuming you want to use a filename myEnvironment.properites, add a parameter

--spring.config.location=myEnvironment.properites

when running the jar.

Backend modules

Pipes requires several backend modules to be installed on MarkLogic. They can be installed in 2 ways:

  1. When you run the Pipes jar for the first time, use the following command: java -jar marklogic-pipes-1.0.1.jar --deployBackend=true. This will start the Pipes UI, as well as copy the modules to the appropriate location within your DHF project and load these modules to the modules database specified in your application.properties

  2. We bundled Pipes modules using mlBundle. To use this bundle in your DHF project, add the following to build.gradle:

    repositories {
        maven {url 'https://dl.bintray.com/marklogic-community/Maven/'}
    }
    
    dependencies {
        mlBundle "com.marklogic:pipes-modules:1.0.1"
    }
    

    Now, you can run Pipes with java -jar marklogic-pipes-1.0.1.jar

You probably care about security. If you don't want to put your username and password into a plain text file, you can remove them from the properties file and instead pass them as a parameter to the Pipes jar. Example:
java -jar marklogic-pipes-1.0-beta-3.jar --mlUsername=MYUSER --Password=MYPASSWORD

Pipes UI is now running on localhost and the port that you've specified in the application.properties under value server.port. Example: localhost:8081

For subsequent Pipes runs on the same Data Hub Framework project, you can omit the --deployBackend parameter.

Uhm, OK, I got it up and running! How do I use it?

Learn on Pipes Wiki how to create your first Pipes project

Have fun!

alt text

How I deploy the module with my custom blocks

Read about it here: Creating custom user blocks

How can uninstall Pipes?

To remove all back-end modules that Pipes installed and delete saved data such as Blocks and Graphs from the MarkLogic database, run Pipes as follows:

java -jar marklogic-pipes-1.0.1.jar --undeployBackend=true

This will remove the database-side code libraries as well as any saved data created by Pipes, such as Blocks and Graphs.

pipes's People

Contributors

sashamitrovich avatar danielholgate avatar epoilvet avatar kgmanuel avatar dependabot[bot] avatar

Watchers

James Cloos avatar

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.