├── docs ├── api │ ├── latest.md │ └── 4.2.0-SNAPSHOT.md └── empty.txt ├── modules └── distribution │ ├── carbon-home │ ├── updates │ │ └── product.txt │ ├── bin │ │ ├── version.txt │ │ ├── portal.sh │ │ ├── monitor.sh │ │ ├── portal.bat │ │ ├── monitor.bat │ │ ├── osgi-lib.bat │ │ ├── jartobundle.bat │ │ ├── icf-provider.bat │ │ ├── ciphertool.bat │ │ ├── osgi-lib.sh │ │ ├── jartobundle.sh │ │ ├── icf-provider.sh │ │ └── ciphertool.sh │ ├── deployment │ │ ├── siddhi-files │ │ │ ├── empty.txt │ │ │ └── TestSiddhiApp.siddhi │ │ └── stream-definitions.yaml │ ├── resources │ │ └── security │ │ │ ├── wso2carbon.jks │ │ │ └── client-truststore.jks │ ├── conf │ │ ├── osgi │ │ │ └── launch.properties │ │ ├── monitor │ │ │ ├── log4j2.xml │ │ │ └── deployment.yaml │ │ ├── portal │ │ │ ├── log4j2.xml │ │ │ └── deployment.yaml │ │ └── transports │ │ │ ├── monitor │ │ │ └── netty-transports.yaml │ │ │ └── portal │ │ │ └── netty-transports.yaml │ └── runtime │ │ ├── monitor │ │ ├── carbon.bat │ │ └── carbon.sh │ │ └── portal │ │ ├── carbon.bat │ │ └── carbon.sh │ └── src │ ├── policies │ ├── public │ │ ├── images │ │ │ ├── favicon.ico │ │ │ └── wso2-logo.svg │ │ ├── js │ │ │ └── libs │ │ │ │ └── font-wso2_1.0.0 │ │ │ │ ├── fonts │ │ │ │ ├── font-wso2.eot │ │ │ │ ├── font-wso2.ttf │ │ │ │ └── font-wso2.woff │ │ │ │ └── css │ │ │ │ ├── font-wso2.min.css │ │ │ │ └── font-wso2.css │ │ └── css │ │ │ └── styles.css │ └── pages │ │ ├── index.hbs │ │ ├── privacy-policy.hbs │ │ └── cookie-policy.hbs │ ├── assembly │ ├── filter.properties │ └── bin.xml │ └── scripts │ ├── forgetme.sh │ └── forgetme.bat ├── README.md ├── issue_template.md ├── pull_request_template.md ├── .gitignore └── LICENSE /docs/api/latest.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/empty.txt: -------------------------------------------------------------------------------- 1 | Empty file to make IDE happy -------------------------------------------------------------------------------- /modules/distribution/carbon-home/updates/product.txt: -------------------------------------------------------------------------------- 1 | ${product.wum.name}-${product.version} -------------------------------------------------------------------------------- /modules/distribution/carbon-home/bin/version.txt: -------------------------------------------------------------------------------- 1 | WSO2 Analytics Dashboard v${project.version} 2 | -------------------------------------------------------------------------------- /modules/distribution/carbon-home/deployment/siddhi-files/empty.txt: -------------------------------------------------------------------------------- 1 | Empty file to make IDE happy -------------------------------------------------------------------------------- /modules/distribution/src/policies/public/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/analytics-dashboard/HEAD/modules/distribution/src/policies/public/images/favicon.ico -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # analytics-dashboard 2 | Welcome to the WSO2 Analytics Dashboard source code! For info on working with the WSO2 Analytics Dashboard repository and contributing code 3 | -------------------------------------------------------------------------------- /modules/distribution/carbon-home/resources/security/wso2carbon.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/analytics-dashboard/HEAD/modules/distribution/carbon-home/resources/security/wso2carbon.jks -------------------------------------------------------------------------------- /modules/distribution/carbon-home/resources/security/client-truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/analytics-dashboard/HEAD/modules/distribution/carbon-home/resources/security/client-truststore.jks -------------------------------------------------------------------------------- /modules/distribution/src/assembly/filter.properties: -------------------------------------------------------------------------------- 1 | product.name=WSO2 Analytics Dashboard 2 | product.version=1.0.0 3 | server.name=WSO2 Carbon Kernel 4 | server.version=5.2.12 5 | product.wum.name=wso2ad 6 | -------------------------------------------------------------------------------- /modules/distribution/src/policies/public/js/libs/font-wso2_1.0.0/fonts/font-wso2.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/analytics-dashboard/HEAD/modules/distribution/src/policies/public/js/libs/font-wso2_1.0.0/fonts/font-wso2.eot -------------------------------------------------------------------------------- /modules/distribution/src/policies/public/js/libs/font-wso2_1.0.0/fonts/font-wso2.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/analytics-dashboard/HEAD/modules/distribution/src/policies/public/js/libs/font-wso2_1.0.0/fonts/font-wso2.ttf -------------------------------------------------------------------------------- /modules/distribution/src/policies/public/js/libs/font-wso2_1.0.0/fonts/font-wso2.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/analytics-dashboard/HEAD/modules/distribution/src/policies/public/js/libs/font-wso2_1.0.0/fonts/font-wso2.woff -------------------------------------------------------------------------------- /modules/distribution/carbon-home/deployment/siddhi-files/TestSiddhiApp.siddhi: -------------------------------------------------------------------------------- 1 | @App:name('TestSiddhiApp') 2 | define stream FooStream (symbol string, price float, volume long); 3 | 4 | @source(type='inMemory', topic='symbol', @map(type='passThrough'))Define stream BarStream (symbol string, price float, volume long); 5 | 6 | from FooStream 7 | select symbol, price, volume 8 | insert into BarStream; -------------------------------------------------------------------------------- /issue_template.md: -------------------------------------------------------------------------------- 1 | **Description:** 2 | 3 | 4 | **Suggested Labels:** 5 | 6 | 7 | **Suggested Assignees:** 8 | 9 | 10 | **Affected Product Version:** 11 | 12 | **OS, DB, other environment details and versions:** 13 | 14 | **Steps to reproduce:** 15 | 16 | 17 | **Related Issues:** 18 | -------------------------------------------------------------------------------- /modules/distribution/carbon-home/deployment/stream-definitions.yaml: -------------------------------------------------------------------------------- 1 | streamDefinitions: 2 | - "{'name':'org.wso2.esb.MediatorStatistics', 'version':'1.3.0', 'nickName':'Stock Quote Information', 'description':'Some Desc', 'metaData':[{'name':'ipAdd','type':'STRING'}], 'payloadData':[{'name':'symbol','type':'STRING'}, {'name':'price','type':'DOUBLE'}, {'name':'volume','type':'INT'}, {'name':'max','type':'DOUBLE'}, {'name':'min','type':'Double'}]}" 3 | - "{'name':'org.wso2.esb.MediatorStatistics', 'version':'1.3.4', 'nickName':'Stock Quote Information', 'description':'Some Other Desc', 'metaData':[{'name':'ipAdd','type':'STRING'}], 'payloadData':[{'name':'symbol','type':'STRING'}, {'name':'price','type':'DOUBLE'}, {'name':'volume','type':'INT'}]}" 4 | - "{'name':'sweet.stream', 'version':'1.0.0', 'nickName':'Stock Quote Information', 'description':'Some Product','payloadData':[{'name':'name','type':'STRING'}, {'name':'amount','type':'DOUBLE'}]}" 5 | -------------------------------------------------------------------------------- /modules/distribution/src/scripts/forgetme.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # forget-me.sh 3 | # ---------------------------------------------------------------------------- 4 | # Copyright 2019 WSO2, Inc. http://www.wso2.org 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | # resolve links - $0 may be a softlink 19 | PRG="$0" 20 | 21 | while [ -h "$PRG" ]; do 22 | ls=`ls -ld "$PRG"` 23 | link=`expr "$ls" : '.*-> \(.*\)$'` 24 | if expr "$link" : '.*/.*' > /dev/null; then 25 | PRG="$link" 26 | else 27 | PRG=`dirname "$PRG"`/"$link" 28 | fi 29 | done 30 | 31 | # Get standard environment variables 32 | PRGDIR=`dirname "$PRG"` 33 | 34 | [ -z "$CARBON_HOME" ] && CARBON_HOME=`cd "$PRGDIR/.." ; pwd` 35 | 36 | cd $CARBON_HOME 37 | sh $CARBON_HOME/wso2/tools/identity-anonymization-tool/bin/forgetme.sh -d $CARBON_HOME/wso2/tools/identity-anonymization-tool/conf $@ -------------------------------------------------------------------------------- /modules/distribution/carbon-home/conf/osgi/launch.properties: -------------------------------------------------------------------------------- 1 | # Uncomment the following line to enable OSGi console. Specify a port as value of the following property to allow 2 | # telnet access to OSGi console 3 | # TODO Implement SSH access to the OSGi console. 4 | osgi.console= 5 | 6 | org.osgi.framework.bundle.parent=framework 7 | 8 | 9 | # When osgi.clean is set to "true", any cached data used by the OSGi framework 10 | # will be wiped clean. This will clean the caches used to store bundle 11 | # dependency resolution and eclipse extension registry data. Using this 12 | # option will force OSGi framework to reinitialize these caches. 13 | # The following setting is put in place to get rid of the problems 14 | # faced when re-starting the system. Please note that, when this setting is 15 | # true, if you manually start a bundle, it would not be available when 16 | # you re-start the system. To avid this, copy the bundle jar to the plugins 17 | # folder, before you re-start the system. 18 | osgi.clean=true 19 | 20 | # Uncomment the following line to turn on Eclipse Equinox debugging. 21 | # You may also edit the osgi-debug.options file and fine tune the debugging 22 | # options to suite your needs. 23 | #osgi.debug=./conf/osgi/osgi-debug.options 24 | 25 | carbon.server.listeners=org.wso2.carbon.launcher.extensions.OSGiLibBundleDeployer 26 | osgi.compatibility.bootdelegation=true 27 | org.osgi.framework.system.packages.extra=sun.misc 28 | org.osgi.framework.bootdelegation=sun.misc,sun.security.provider,sun.reflect.generics.reflectiveObjects,sun.security.util,org.wso2.carbon.security.caas.boot -------------------------------------------------------------------------------- /docs/api/4.2.0-SNAPSHOT.md: -------------------------------------------------------------------------------- 1 | # API Docs - v4.2.0-SNAPSHOT 2 | 3 | ## Find 4 | 5 | ### country *(Function)* 6 | 7 |
Returns the country of the given user location.
8 | 9 | Syntax 10 | ``` 11 || Name | 18 |Description | 19 |Default Value | 20 |Possible Data Types | 21 |Optional | 22 |Dynamic | 23 |
|---|---|---|---|---|---|
| input.string | 26 |The input string to derive the country. | 27 |28 | | STRING | 29 |No | 30 |No | 31 |
This outputs the country of the provided location. In this scenario, the output is 'India' .
40 | 41 | -------------------------------------------------------------------------------- /modules/distribution/src/scripts/forgetme.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM Copyright 2019 WSO2, Inc. (http://wso2.com) 3 | REM Licensed to the Apache Software Foundation (ASF) under one 4 | REM or more contributor license agreements. See the NOTICE file 5 | REM distributed with this work for additional information 6 | REM regarding copyright ownership. The ASF licenses this file 7 | REM to you under the Apache License, Version 2.0 (the 8 | REM "License"); you may not use this file except in compliance 9 | REM with the License. You may obtain a copy of the License at 10 | REM 11 | REM http://www.apache.org/licenses/LICENSE-2.0 12 | REM 13 | REM Unless required by applicable law or agreed to in writing, 14 | REM software distributed under the License is distributed on an 15 | REM # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | REM KIND, either express or implied. See the License for the 17 | REM specific language governing permissions and limitations 18 | REM under the License. 19 | 20 | rem --------------------------------------------------------------------------- 21 | rem Startup script for the ciphertool 22 | rem 23 | rem Environment Variable Prerequisites 24 | rem 25 | rem CARBON_HOME Must point at your CARBON directory 26 | rem 27 | rem JAVA_HOME Must point at your Java Development Kit installation. 28 | rem 29 | rem JAVA_OPTS (Optional) Java runtime options 30 | rem --------------------------------------------------------------------------- 31 | 32 | :checkServer 33 | setlocal enabledelayedexpansion 34 | rem %~sdp0 is expanded pathname of the current script under NT with spaces in the path removed 35 | if "%CARBON_HOME%"=="" set CARBON_HOME=%~sdp0.. 36 | SET curDrive=%cd:~0,1% 37 | SET wsasDrive=%CARBON_HOME:~0,1% 38 | if not "%curDrive%" == "%wsasDrive%" %wsasDrive%: 39 | cd %CARBON_HOME% 40 | call %CARBON_HOME%\wso2\tools\identity-anonymization-tool\bin\forgetme.bat -------------------------------------------------------------------------------- /modules/distribution/carbon-home/conf/monitor/log4j2.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 |26 | WSO2 Analytics Dashboard (referred to as “WSO2 AD 4.5.1” within this policy) is an open source data 27 | visualization application that is based on open standards and specifications. 28 |
29 | 30 |32 | This policy describes how WSO2 AD 4.5.1 captures your personal information, the purposes of collection, and 33 | information about the retention of your personal information. 34 |
35 |36 | Please note that this policy is for reference only, and is applicable for the software as a product. WSO2 37 | Inc. and its developers have no access to the information held within WSO2 AD 4.5.1. Please see the 38 | Disclaimer section for more information. Entities, organisations or individuals controlling the use and 39 | administration of WSO2 AD 4.5.1 should create their own privacy policies setting out the manner in which 40 | data is controlled or processed by the respective entity, organisation or individual. 41 |
42 | 43 |45 | WSO2 AD 4.5.1 considers anything related to you and by which you may be identified as your personal 46 | information. This includes, but is not limited to: 47 |
48 |57 | WSO2 AD 4.5.1 collects your login details to serve your access requirements. 58 |
59 |60 | In addition, the information sent to WSO2 AD 4.5.1 by your organization to be processed may include personal 61 | information. This information is not retained unless WSO2 AD 4.5.1 is specifically configured by server 62 | administrators to store that information in databases based on the client requirement. 63 |
64 |65 | WSO2 strongly recommends you to verify whether the information you request to store in databases for the 66 | purpose of processing include personal information, and if it does, to use the data obfuscation/removal 67 | methods supported by WSO2 AD 4.5.1 to hide/delete that information once it is processed. 68 |
69 |70 | WSO2 AD 4.5.1 also records the time of the day you logged in (year, month, week, hour or minute) for the 71 | purpose of processing the streaming data it handles when it needs to be analyzed based on time. 72 |
73 | 74 |76 | WSO2 AD 4.5.1 collects your information by: 77 |
78 |86 | WSO2 AD 4.5.1 uses the following personal information only to protect your account from unauthorized 87 | access or potential hacking attempts.: 88 |
89 |97 | Please note that the organisation, entity or individual running WSO2 AD 4.5.1 may be compelled to disclose 98 | your personal information with or without your consent when it is required by law following due and lawful 99 | process. 100 |
101 | 102 |104 | If you, as a user of WSO2 AD 4.5.1 submit personal information relating to yourself or another party to 105 | WSO2 AD 4.5.1, you can use the data removal/obfuscation features supported by the product to hide/remove 106 | that information. 107 |
108 |109 | If your personal information is submitted to WSO2 AD 4.5.1 by your organization or another third party, 110 | request that party to hide/delete that information. 111 |
112 | 113 |115 | Upgraded versions of WSO2 AD 4.5.1 may contain changes to this policy and revisions to this policy will be 116 | packaged within such upgrades. Such changes would only apply to users who choose to use upgraded versions. 117 |
118 | 119 |121 | If your data is already published to WSO2 AD 4.5.1 ; you have the right to deactivate your account if you 122 | find that this privacy policy is unacceptable to you. 123 |
124 |125 | If you do not have an account and you do not agree with our privacy policy, you can chose not to create one. 126 |
127 | 128 |130 | Please contact WSO2 if you have any question or concerns regarding this privacy policy. 131 |
132 |133 | https://wso2.com/contact/ 134 |
135 | 136 |138 | WSO2, its employees, partners, and affiliates do not have access to and do not require, store, process or 139 | control any of the data, including personal data contained in WSO2 AD 4.5.1. All data, including personal 140 | data is controlled and processed by the entity or individual running WSO2 AD 4.5.1. WSO2, its employees 141 | partners and affiliates are not a data processor or a data controller within the meaning of any data privacy 142 | regulations. WSO2 does not provide any warranties or undertake any responsibility or liability in connection 143 | with the lawfulness or the manner and purposes for which WSO2 AD 4.5.1 is used by such entities or persons. 144 |
145 |146 | This privacy policy is for the informational purposes of the entity or persons running WOS2 AD 4.5.1 and 147 | sets out the processes and functionality contained within WSO2 AD 4.5.1 regarding personal data protection. 148 | It is the responsibility of entities and persons running WSO2 AD 4.5.1 to create and administer its own 149 | rules and processes governing users’ personal data, and such rules and processes may change the use, storage 150 | and disclosure policies contained herein. Therefore users should consult the entity or persons running WSO2 151 | AD 4.5.1 for its own privacy policy for details governing users’ personal data. 152 |
153 |24 | WSO2 Analytics Dashboard (referred to as "WSO2 AD" within this policy) is an open source data visualization 25 | application that is based on open standards and specifications. 26 |
27 | 28 |30 | WSO2 SP uses cookies so that it can provide the best user experience for you and identify you for security 31 | purposes. If you disable cookies, some of the services may become inaccessible to you. 32 |
33 | 34 |36 | WSO2 AD 4.5.1 stores and retrieves information on your browser using cookies. Some cookies allow a user to 37 | log in to the system and maintain sessions. Some cookies are simply used to give you a more personalised 38 | web experience and these cookies cannot be used to personally identify you or your activities. 39 |
40 |41 | This cookie policy is part of the WSO2 AD 4.5.1 Privacy 42 | Policy. 43 |
44 | 45 |47 | A browser cookie is a small piece of data that is stored on your device to help websites and mobile apps 48 | remember things about you. Other technologies, including web storage and identifiers associated with your 49 | device, may be used for similar purposes. In this policy, we use the term “cookies” to discuss all of these 50 | technologies. 51 |
52 | 53 |Cookies are used in two main ways in WSO2 AD 4.5.1.
55 |61 | WSO2 AD 4.5.1 uses cookies for the following purposes listed below: 62 |
63 | 64 |66 | WSO2 AD 4.5.1 uses these cookies to remember your settings and preferences, and to auto-fill the form fields 67 | to make your interactions with the site easier. 68 |
69 |70 | These cookies cannot be used to personally identify you. 71 |
72 | 73 |82 | WSO2 AD 4.5.1 may use cookies to allow “Remember Me” functionalities. 83 |
84 |86 | Using WSO2 AD 4.5.1 may cause some third-party cookies to be set in your browser. WSO2 AD 4.5.1 has no 87 | control over how any of them operate. WSO2 strongly advises you to refer the respective cookie policy of 88 | such sites carefully as WSO2 has no knowledge or use on these cookies. 89 |
90 | 91 |93 | WSO2 AD 4.5.1 uses persistent cookies and session cookies. A persistent cookie helps WSO2 AD 4.5.1 to 94 | recognize you as an existing user so that it is easier to return to WSO2 or interact with WSO2 AD 4.5.1 95 | without signing in again. After you sign in, a persistent cookie stays in your browser and will be read by 96 | WSO2 AD 4.5.1 when you return to WSO2 AD 4.5.1. 97 |
98 |99 | A session cookie is a cookie that is erased when the user closes the web browser. The session cookie is 100 | stored in temporary memory and is not retained after the browser is closed. Session cookies do not collect 101 | information from the user's computer. 102 |
103 | 104 |106 | The following are the main types of cookies used by WSO2 AD 4.5.1 107 |
108 |115 | Following cookies are used: 116 |
117 || Web application | 121 |Cookie Name | 122 |Purpose | 123 |
|---|---|---|
| Business Rules Manager | 128 |BR_USER | 129 |Maintains the browser session of the Business Rules Manager. | 130 |
| 133 | | HID | 134 |Stores a part of the access token for the session that is only accessible from HTTPS. | 135 |
| 138 | | RTK | 139 |Stores the refresh token for the session. | 140 |
| Status Dashboard | 143 |DASHBOARD_USER | 144 |Maintains the browser session of the Status Dashboard. | 145 |
| 148 | | HID | 149 |Stores a part of the access token for the session that is only accessible from HTTPS. | 150 |
| 153 | | REFRESH_TOKEN | 154 |Stores the refresh token for the session. | 155 |
| Dashboard Portal | 158 |DASHBOARD_USER | 159 |Maintains the browser session of the Dashboard Portal. | 160 |
| 163 | | HID | 164 |Stores a part of the access token for the session that is only accessible from HTTPS. | 165 |
| 168 | | REFRESH_TOKEN | 169 |Stores the refresh token for the session. | 170 |
176 | Most browsers allow you to control cookies through their settings preferences. However, if you limit the 177 | given ability for websites to set cookies, you may worsen your overall user experience since it will no 178 | longer be personalized to you. It may also stop you from saving customized settings such as login 179 | information. 180 |
181 |182 | Most likely, disabling cookies will make you unable to use authentication and authorization functionalities 183 | offered by WSO2 AD 4.5.1. 184 |
185 |186 | If you have any questions or concerns regarding the use of cookies, please contact the entity or individuals 187 | (or their data protection officer, if applicable) running this WSO2 AD 4.5.1 instance. 188 |
189 | 190 |192 | This cookie policy is only for illustrative purposes of the product WSO2 AD 4.5.1. The content in the policy 193 | is technically correct at the time of the product shipment. The organization which runs this WSO2 AD 4.5.1 194 | instance has full authority and responsibility with regard to the effective Cookie Policy. WSO2, its 195 | employees, partners, and affiliates do not have access to and do not require, store, process or control any 196 | of the data, including personal data contained in WSO2 IAD 4.5.1. All data, including personal data is 197 | controlled and processed by the entity or individual running WSO2 AD 4.5.1. WSO2, its employees partners and 198 | affiliates are not a data processor or a data controller within the meaning of any data privacy regulations. 199 | WSO2 does not provide any warranties or undertake any responsibility or liability in connection with the 200 | lawfulness or the manner and purposes for which WSO2 AD 4.5.1 is used by such entities or persons. 201 |
202 |