diff --git a/src/.bowerrc b/src/.bowerrc new file mode 100644 index 000000000..d528c255c --- /dev/null +++ b/src/.bowerrc @@ -0,0 +1,3 @@ +{ + "directory": "main/webapp/components" +} diff --git a/src/bower.json b/src/bower.json new file mode 100644 index 000000000..f1d9e9881 --- /dev/null +++ b/src/bower.json @@ -0,0 +1,29 @@ +{ + "name": "pinpoint", + "version": "0.0.1", + "dependencies": { + "angular": "~1.0.7", + "json3": "~3.2.4", + "jquery": "~1.9.1", + "es5-shim": "~2.0.8", + "angular-resource": "~1.0.7", + "angular-cookies": "~1.0.7", + "select2": "~3.4.1", + "underscore": "~1.5.1", + "angular-bootstrap": "~0.5.0", + "angular-bootstrap-datetimepicker": "~0.1.2", + "moment": "*", + "bootstrap-datetimepicker": "~0.0.11", + "modernizr": "~2.6.2", + "jquery-ui": "~1.10.3", + "datejs": "*", + "nvd3": "~1.0.0-beta", + "d3": "~3.3.1" + }, + "devDependencies": { + "angular-mocks": "~1.0.7", + "angular-scenario": "~1.0.7" + }, + "appPath": "main/webapp", + "testPath": "test/webapp" +} diff --git a/src/karma.conf.js b/src/karma.conf.js new file mode 100644 index 000000000..4afda8620 --- /dev/null +++ b/src/karma.conf.js @@ -0,0 +1,56 @@ +// Karma configuration + +// base path, that will be used to resolve files and exclude +basePath = ''; + +// list of files / patterns to load in the browser +files = [ + JASMINE, + JASMINE_ADAPTER, + 'main/webapp/components/angular/angular.js', + 'main/webapp/components/angular-mocks/angular-mocks.js', + 'main/webapp/components/angular-resource/angular-resource.js', + 'main/webapp/scripts/*.js', + 'main/webapp/scripts/**/*.js', + 'test/webapp/**/*.js' +]; + +// list of files to exclude +exclude = []; + +// test results reporter to use +// possible values: dots || progress || growl +reporters = ['progress']; + +// web server port +port = 8080; + +// cli runner port +runnerPort = 9100; + +// enable / disable colors in the output (reporters and logs) +colors = true; + +// level of logging +// possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG +logLevel = LOG_INFO; + +// enable / disable watching file and executing tests whenever any file changes +autoWatch = true; + +// Start these browsers, currently available: +// - Chrome +// - ChromeCanary +// - Firefox +// - Opera +// - Safari (only Mac) +// - PhantomJS +// - IE (only Windows) +browsers = ['Chrome']; + +// If browser does not capture in given timeout [ms], kill it +captureTimeout = 5000; + +// Continuous Integration mode +// if true, it capture browsers, run tests and exit +singleRun = false; diff --git a/src/main/webapp/components_v1/pinpoint/chart-servermap.js b/src/main/webapp/components_v1/pinpoint/chart-servermap.js index ea6a6fd58..0400b0cf6 100644 --- a/src/main/webapp/components_v1/pinpoint/chart-servermap.js +++ b/src/main/webapp/components_v1/pinpoint/chart-servermap.js @@ -11,8 +11,8 @@ var showApplicationStatisticsSummary = function(data) { var chart = nv.models.discreteBarChart().x(function(d) { return d.label; }).y(function(d) { - return d.value; - }).staggerLabels(false).tooltips(false).showValues(true); + return d.value; + }).staggerLabels(false).tooltips(false).showValues(true); chart.xAxis.tickFormat(function(d) { if($.isNumeric(d)) { @@ -20,17 +20,17 @@ var showApplicationStatisticsSummary = function(data) { } return d; }); - + chart.yAxis.tickFormat(function(d) { return d; }); - + chart.valueFormat(function(d) { return d; }); - + chart.color(myColors); - + d3.select('#linkInfoDetails .linkInfoBarChart svg') .datum(data) .transition() diff --git a/src/main/webapp/favicon.ico b/src/main/webapp/favicon.ico new file mode 100644 index 000000000..dc1a5003a Binary files /dev/null and b/src/main/webapp/favicon.ico differ diff --git a/src/main/webapp/fonts/avenir55.eot b/src/main/webapp/fonts/avenir55.eot new file mode 100644 index 000000000..ec6eeafc5 Binary files /dev/null and b/src/main/webapp/fonts/avenir55.eot differ diff --git a/src/main/webapp/fonts/avenir55.woff b/src/main/webapp/fonts/avenir55.woff new file mode 100644 index 000000000..2371699e6 Binary files /dev/null and b/src/main/webapp/fonts/avenir55.woff differ diff --git a/src/main/webapp/fonts/avenir85.eot b/src/main/webapp/fonts/avenir85.eot new file mode 100644 index 000000000..db45193fb Binary files /dev/null and b/src/main/webapp/fonts/avenir85.eot differ diff --git a/src/main/webapp/fonts/avenir85.woff b/src/main/webapp/fonts/avenir85.woff new file mode 100644 index 000000000..c38bb02a3 Binary files /dev/null and b/src/main/webapp/fonts/avenir85.woff differ diff --git a/src/main/webapp/fonts/nanumgothic.eot b/src/main/webapp/fonts/nanumgothic.eot new file mode 100644 index 000000000..4d0e88567 Binary files /dev/null and b/src/main/webapp/fonts/nanumgothic.eot differ diff --git a/src/main/webapp/fonts/nanumgothic.woff b/src/main/webapp/fonts/nanumgothic.woff new file mode 100644 index 000000000..0ce939f07 Binary files /dev/null and b/src/main/webapp/fonts/nanumgothic.woff differ diff --git a/src/main/webapp/fonts/nanummyeongjo.eot b/src/main/webapp/fonts/nanummyeongjo.eot new file mode 100644 index 000000000..2811d11e7 Binary files /dev/null and b/src/main/webapp/fonts/nanummyeongjo.eot differ diff --git a/src/main/webapp/fonts/nanummyeongjo.woff b/src/main/webapp/fonts/nanummyeongjo.woff new file mode 100644 index 000000000..04339d37e Binary files /dev/null and b/src/main/webapp/fonts/nanummyeongjo.woff differ diff --git a/src/main/webapp/fonts/trajanpro.eot b/src/main/webapp/fonts/trajanpro.eot new file mode 100644 index 000000000..8d7fb77f1 Binary files /dev/null and b/src/main/webapp/fonts/trajanpro.eot differ diff --git a/src/main/webapp/fonts/trajanpro.woff b/src/main/webapp/fonts/trajanpro.woff new file mode 100644 index 000000000..bb7b24213 Binary files /dev/null and b/src/main/webapp/fonts/trajanpro.woff differ diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html index 437dee2d5..67a9f4a5b 100644 --- a/src/main/webapp/index.html +++ b/src/main/webapp/index.html @@ -1,383 +1,98 @@ - - - - PINPOINT + + + + + + - - + + + + + + + - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + -