mantle-usl | Mantle Universal Service Library | Business library
kandi X-RAY | mantle-usl Summary
kandi X-RAY | mantle-usl Summary
Mantle Universal Service Library
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mantle-usl
mantle-usl Key Features
mantle-usl Examples and Code Snippets
Community Discussions
Trending Discussions on mantle-usl
QUESTION
I am trying to access Moqui entities using REST API. Here is an the example call.
...ANSWER
Answered 2019-Feb-23 at 06:31Checkout https://www.moqui.org/m/docs/framework/Security#artifact-authz
The following text is copied from Moqui documentation.
The first step to configure artifact authorization is to create a group of artifacts. This involves a ArtifactGroup record and a ArtifactGroupMember record for each artifact, or artifact name pattern, in the group.
For example here is the artifact group for the Example app with the root screen (ExampleApp.xml) as a member of the group:
QUESTION
I amb writing a small component which needs to pull data from a Google BigQuery table to later save that as Party.
So I created a new component for which I have a service with one single action to call a script and a script. On the component I also added a build.gradle to add the dependency to google bigquery.
Problem is that when I try to import the bigquery libraries from the script it says it can't find them.
component/mycomponent/{data,entity,screen,script,service}
mycomponent/component.xml:
...ANSWER
Answered 2018-Oct-06 at 06:38Please see the Moqui component structure documentation here for a description of directories and files used by convention in components:
https://www.moqui.org/docs/framework/Tool+and+Config+Overview#extensions-and-add-ons
There was a description of the 'lib' directory there, which is how you get JAR files on the classpath in a Moqui component. I just added some additional details for supported files as well including build.gradle with notes related to this question.
In short the real question is how to get stuff on the Java classpath and that is done using the 'classes' and 'lib' directories in a Moqui component directory. What you're missing is something in your build.gradle file to copy built and depended on JAR file to the 'lib' directory. Here is an example of something you can add to your build.gradle file to do this:
QUESTION
I have a custom groovy class inside mantle-usl component. I would like to use the class in other component. Hence, I need to add a dependency so that the new component (or project) has the jar of mantle-usl ready for use.
Is there anyone who can help with this? I attempted to modify the build.gradle file of the project. And add a project dependency, but it returned an error.
...ANSWER
Answered 2017-Apr-27 at 23:50The mantle-usl component doesn't have any compiled code in it so the build.gradle file does not build a jar file, it is only used for running the Spock tests.
I wouldn't recommend adding your own code to mantle-usl, it is easier and cleaner to put it in a separate component. For an example of a build.gradle file that does build a jar file look at the moqui/example component or most of the moqui tool components (such as moqui-elasticsearch).
You also don't need to modify the main build.gradle file from the moqui-framework repository, dependencies should be declared in the build.gradle file in each component (which are picked up automatically in the main build).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mantle-usl
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page