Jaggery is a framework to write webapps and HTTP-focused web services for all aspects of the application: front-end, communication, Server-side logic and persistence in pure Javascript.
Questions tagged [jaggery-js]
54 questions
7
votes
1 answer
Jaggery (WS02) endpoint reference/dynamic endpoint
I'm currently developing an application in Jaggery which I deploy on their API manager.
From the Jaggery back end I'm calling a SOAP webservice using the method documented here, which specifies:
<%
var url =…

Continuity8
- 2,403
- 4
- 19
- 34
3
votes
2 answers
How to create file(.apk) from URL in Jaggery?
I have application store and applications have their url. I want to download apks from those urls to my jaggery server. Although below code(my first solution) create myApp.apk successfully, its not work properly.
First i tried to below code,
var…

kemalsami
- 337
- 5
- 17
2
votes
1 answer
Create a new page in dashboard designer in WSO2 DAS
I try to create a new page inside dashboard designer jaggery application in Data Analytic Server (DAS) of wso2. For this purpose I add in /themes/template a new template, in this case delete-gadget.jag, I add a new controller in /controllers with…

maikelm
- 403
- 6
- 30
1
vote
0 answers
WSO2 APIM Analytics not populating Log Analyzer links in Admin Portal
We have setup WSO2 API-M v2.1.0 with API-M Analytics v2.1.0 with Postgresql and HAProxy on CentOS. The API analytics reports are being shown as expected from the Publisher and the Store side and even the api availability from the Admin Portal.
This…

Simon Trimboy
- 61
- 1
- 5
1
vote
0 answers
Getting user claims through jaggery for API Manager
I have a requirement to get user claims of a user logged into API Manager. I would prefer to do this using jaggery.
However, when I try the following
var carbon = require('carbon');
var tenantId = -1234;
var url =…

Jaden
- 145
- 5
1
vote
3 answers
how to calculate salary of last week in javascript?
I'm trying to calculate salary of last week of employees. It means current week should not me included in the calculation. Right now I have -7 from current date to check my data. This is my code
var currentDate = new…
user7397952
1
vote
1 answer
WSO2 API Manager Admin Services - Get List of Secondary Store Users
I am using admin services to get a list of all users available in the store. I am calling the service through Jaggery using this code:
ws = require('ws');
var user = "";
var wsUser = new ws.WSRequest();
var optionsUser = new…

BCela
- 13
- 4
1
vote
1 answer
How to fix the character encoding produced by jaggery-js?
How to fix the character encoding problem produced by jaggery-js?
<% print('á, ú, č, š') %>
ı, ü, ğ, ö , ç , ş , İ
…
M.Uluer
- 65
- 1
- 7
1
vote
1 answer
Consume WSO2 admin services via Javascript
I am trying to consume WSO2 admin services, specifically in the Identity Server. I want create a new tenant. I consume TenantMgtAdminService (https://127.0.0.1:9443/services/TenantMgtAdminService?wsdl), function addTenant. For consume this service I…

maikelm
- 403
- 6
- 30
1
vote
1 answer
WSO2 Dashboard SAML auth: PKIX path building failed
Using the wso2 identity server in my on production site I try to access to "dashboard jaggery apps" for manage own user account (change password, etc). But when I try to login in there (using SAML2 in the https production domain) shows the following…

Migue Jara
- 67
- 1
- 10
1
vote
0 answers
Add User Emails in WSO2 EMM 1.1.0 not working
I am testing WSO2 EMM 1.1.0 on a Ubuntu. When you add a new user an invitation email should go to the user. The email settings can be defined in the configuration page. I have used the followings config for email
Host: smtp.gmail.com
Port:…

Nikhil Rishi
- 33
- 2
1
vote
1 answer
Does Jaggery support filter?
Can we add custom filter in JaggeryJS to do something like session check?
Is there any samples about writing custom filter?
Thanks in advance!

dereck
- 499
- 1
- 10
- 20
1
vote
0 answers
Firebase JWT AUTH with JaggeryJS Server Side Javascript (Not Node.js)
I am trying to create a JWT for Firebase authentication using the server side javascript language: jaggeryJS.
Below I will outline
My approach to the JWT creation
The front-end response.
1 My approach to the JWT creation
HmacSHA256 function…

Alex Cram
- 11
- 1
1
vote
1 answer
How to use application.serve in jaggery.js?
The documentation has little information on this subject. If I copy application.serve declaration into my script, I get an error:
Cannot find function serve in object [object Application]
The script file is very…

extjstricks
- 45
- 6
1
vote
1 answer
wso2 enterprise mobile manager
I'm trying to install wso2 EMM 1.
But I'm not able to start server itself. It gave me an error for database not started or not configured. Everything done as per instruction.
TID: [0] [EMM] [2014-03-16 12:15:11,685] INFO…

user3425035
- 11
- 1