Skip to content

Commit

Permalink
Merge pull request #266 from kmgowda/kmg-cleanup-9
Browse files Browse the repository at this point in the history
Make 'PerL' as subproject of SBK

Signed-off-by: Keshava Munegowda <keshava.gowda@gmail.com>
  • Loading branch information
kmgowda authored Jan 15, 2022
2 parents e781f0f + 868002a commit 2c8b75f
Show file tree
Hide file tree
Showing 253 changed files with 568 additions and 1,535 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ task addDriver(dependsOn: deleteDriver) {
}

dependencies {
api project(":perl")
api project(":sbk-api")
api project(":sbk-ram")
api project(":sbk-gem")
Expand Down
52 changes: 52 additions & 0 deletions perl/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/**
* Copyright (c) KMG. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*/

apply plugin: 'java-library'
apply plugin: "maven-publish"

buildscript {
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath group: 'org.nosphere.apache', name: 'creadur-rat-gradle', version: apacheRatVersion
}
}

apply from: "$rootDir/gradle/rat.gradle"
apply from: "$rootDir/gradle/maven.gradle"

dependencies {
annotationProcessor group: 'org.projectlombok', name: 'lombok', version: lombokVersion
api group: 'javax.annotation', name: 'javax.annotation-api', version: javaxAnnotationVersion
api group: 'org.projectlombok', name: 'lombok', version: lombokVersion
api group: 'com.github.spotbugs', name: 'spotbugs-annotations', version: spotbugsVersion
api group: 'commons-cli', name: 'commons-cli', version: commonsCliVersion
api group: 'org.apache.commons', name: 'commons-csv', version: apacheCommonsVersion
api group: 'org.hdrhistogram', name: 'HdrHistogram', version: HdrHistogramVersion
api group: 'org.slf4j', name: 'slf4j-api', version: slf4jVersion
api group: 'org.slf4j', name: 'slf4j-simple', version: slf4jVersion
implementation group: 'org.jetbrains', name: 'annotations', version: jetbrainVersion
}

task updateDocs(dependsOn: javadoc) {
doLast {
println "Update $projectDir Javadocs"
delete "$projectDir/javadoc"
copy {
from "$projectDir/build/docs/javadoc"
into "$projectDir/javadoc"
}
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 1 addition & 8 deletions sbk-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,8 @@ apply from: "$rootDir/gradle/rat.gradle"
apply from: "$rootDir/gradle/maven.gradle"

dependencies {
api project(":perl")
annotationProcessor group: 'org.projectlombok', name: 'lombok', version: lombokVersion
api group: 'javax.annotation', name: 'javax.annotation-api', version: javaxAnnotationVersion
api group: 'org.projectlombok', name: 'lombok', version: lombokVersion
api group: 'com.github.spotbugs', name: 'spotbugs-annotations', version: spotbugsVersion
api group: 'commons-cli', name: 'commons-cli', version: commonsCliVersion
api group: 'org.apache.commons', name: 'commons-csv', version: apacheCommonsVersion
api group: 'org.hdrhistogram', name: 'HdrHistogram', version: HdrHistogramVersion
api group: 'org.slf4j', name: 'slf4j-api', version: slf4jVersion
api group: 'org.slf4j', name: 'slf4j-simple', version: slf4jVersion
api group: 'org.reflections', name: 'reflections', version: reflectionsVersion
api group: 'io.micrometer', name: 'micrometer-registry-jmx', version: micrometerVersion
api group: 'io.micrometer', name: 'micrometer-registry-prometheus', version: micrometerVersion
Expand Down
160 changes: 37 additions & 123 deletions sbk-api/javadoc/allclasses-index.html

Large diffs are not rendered by default.

10 changes: 1 addition & 9 deletions sbk-api/javadoc/allpackages-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>All Packages (sbk-api 0.951 API)</title>
<title>All Packages (sbk-api 0.952 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="package index">
Expand Down Expand Up @@ -54,10 +54,6 @@ <h1 title="All&amp;nbsp;Packages" class="title">All&nbsp;Packages</h1>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Package</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><a href="io/perl/package-summary.html">io.perl</a></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><a href="io/perl/impl/package-summary.html">io.perl.impl</a></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><a href="io/sbk/action/package-summary.html">io.sbk.action</a></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><a href="io/sbk/api/package-summary.html">io.sbk.api</a></div>
Expand Down Expand Up @@ -90,10 +86,6 @@ <h1 title="All&amp;nbsp;Packages" class="title">All&nbsp;Packages</h1>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><a href="io/sbk/yal/impl/package-summary.html">io.sbk.yal.impl</a></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><a href="io/state/package-summary.html">io.state</a></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><a href="io/time/package-summary.html">io.time</a></div>
<div class="col-last odd-row-color">&nbsp;</div>
</div>
</main>
</div>
Expand Down
96 changes: 1 addition & 95 deletions sbk-api/javadoc/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Constant Field Values (sbk-api 0.951 API)</title>
<title>Constant Field Values (sbk-api 0.952 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="summary of constants">
Expand Down Expand Up @@ -52,70 +52,10 @@ <h1 title="Constant Field Values" class="title">Constant Field Values</h1>
<section class="packages">
<h2 title="Contents">Contents</h2>
<ul>
<li><a href="#io.perl">io.perl.*</a></li>
<li><a href="#io.sbk">io.sbk.*</a></li>
<li><a href="#io.time">io.time.*</a></li>
</ul>
</section>
</div>
<section class="constants-summary" id="io.perl">
<h2 title="io.perl">io.perl.*</h2>
<ul class="block-list">
<li>
<div class="caption"><span>io.perl.<a href="io/perl/PerlConfig.html" title="class in io.perl">PerlConfig</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Constant Field</div>
<div class="table-header col-last">Value</div>
<div class="col-first even-row-color"><code id="io.perl.PerlConfig.BYTES_PER_GB">public&nbsp;static&nbsp;final&nbsp;long</code></div>
<div class="col-second even-row-color"><code><a href="io/perl/PerlConfig.html#BYTES_PER_GB">BYTES_PER_GB</a></code></div>
<div class="col-last even-row-color"><code>1099511627776L</code></div>
<div class="col-first odd-row-color"><code id="io.perl.PerlConfig.BYTES_PER_KB">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second odd-row-color"><code><a href="io/perl/PerlConfig.html#BYTES_PER_KB">BYTES_PER_KB</a></code></div>
<div class="col-last odd-row-color"><code>1024</code></div>
<div class="col-first even-row-color"><code id="io.perl.PerlConfig.BYTES_PER_MB">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second even-row-color"><code><a href="io/perl/PerlConfig.html#BYTES_PER_MB">BYTES_PER_MB</a></code></div>
<div class="col-last even-row-color"><code>1048576</code></div>
<div class="col-first odd-row-color"><code id="io.perl.PerlConfig.DEFAULT_MAX_LATENCY">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second odd-row-color"><code><a href="io/perl/PerlConfig.html#DEFAULT_MAX_LATENCY">DEFAULT_MAX_LATENCY</a></code></div>
<div class="col-last odd-row-color"><code>180000</code></div>
<div class="col-first even-row-color"><code id="io.perl.PerlConfig.DEFAULT_MIN_LATENCY">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second even-row-color"><code><a href="io/perl/PerlConfig.html#DEFAULT_MIN_LATENCY">DEFAULT_MIN_LATENCY</a></code></div>
<div class="col-last even-row-color"><code>0</code></div>
<div class="col-first odd-row-color"><code id="io.perl.PerlConfig.DEFAULT_REPORTING_INTERVAL_SECONDS">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second odd-row-color"><code><a href="io/perl/PerlConfig.html#DEFAULT_REPORTING_INTERVAL_SECONDS">DEFAULT_REPORTING_INTERVAL_SECONDS</a></code></div>
<div class="col-last odd-row-color"><code>5</code></div>
<div class="col-first even-row-color"><code id="io.perl.PerlConfig.DEFAULT_RUNTIME_SECONDS">public&nbsp;static&nbsp;final&nbsp;long</code></div>
<div class="col-second even-row-color"><code><a href="io/perl/PerlConfig.html#DEFAULT_RUNTIME_SECONDS">DEFAULT_RUNTIME_SECONDS</a></code></div>
<div class="col-last even-row-color"><code>9223372036854775L</code></div>
<div class="col-first odd-row-color"><code id="io.perl.PerlConfig.DEFAULT_TIMEOUT_MS">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second odd-row-color"><code><a href="io/perl/PerlConfig.html#DEFAULT_TIMEOUT_MS">DEFAULT_TIMEOUT_MS</a></code></div>
<div class="col-last odd-row-color"><code>1000</code></div>
<div class="col-first even-row-color"><code id="io.perl.PerlConfig.HDR_SIGNIFICANT_DIGITS">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second even-row-color"><code><a href="io/perl/PerlConfig.html#HDR_SIGNIFICANT_DIGITS">HDR_SIGNIFICANT_DIGITS</a></code></div>
<div class="col-last even-row-color"><code>3</code></div>
<div class="col-first odd-row-color"><code id="io.perl.PerlConfig.LATENCY_VALUE_SIZE_BYTES">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second odd-row-color"><code><a href="io/perl/PerlConfig.html#LATENCY_VALUE_SIZE_BYTES">LATENCY_VALUE_SIZE_BYTES</a></code></div>
<div class="col-last odd-row-color"><code>8</code></div>
<div class="col-first even-row-color"><code id="io.perl.PerlConfig.LONG_MAX">public&nbsp;static&nbsp;final&nbsp;long</code></div>
<div class="col-second even-row-color"><code><a href="io/perl/PerlConfig.html#LONG_MAX">LONG_MAX</a></code></div>
<div class="col-last even-row-color"><code>2305843009213693951L</code></div>
<div class="col-first odd-row-color"><code id="io.perl.PerlConfig.MIN_IDLE_NS">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second odd-row-color"><code><a href="io/perl/PerlConfig.html#MIN_IDLE_NS">MIN_IDLE_NS</a></code></div>
<div class="col-last odd-row-color"><code>1000</code></div>
<div class="col-first even-row-color"><code id="io.perl.PerlConfig.MIN_Q_PER_WORKER">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second even-row-color"><code><a href="io/perl/PerlConfig.html#MIN_Q_PER_WORKER">MIN_Q_PER_WORKER</a></code></div>
<div class="col-last even-row-color"><code>1</code></div>
<div class="col-first odd-row-color"><code id="io.perl.PerlConfig.PERCENTILE_FORMAT">public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second odd-row-color"><code><a href="io/perl/PerlConfig.html#PERCENTILE_FORMAT">PERCENTILE_FORMAT</a></code></div>
<div class="col-last odd-row-color"><code>"0.##"</code></div>
<div class="col-first even-row-color"><code id="io.perl.PerlConfig.TOTAL_LATENCY_MAX">public&nbsp;static&nbsp;final&nbsp;long</code></div>
<div class="col-second even-row-color"><code><a href="io/perl/PerlConfig.html#TOTAL_LATENCY_MAX">TOTAL_LATENCY_MAX</a></code></div>
<div class="col-last even-row-color"><code>4611686018427387903L</code></div>
</div>
</li>
</ul>
</section>
<section class="constants-summary" id="io.sbk.config">
<h2 title="io.sbk">io.sbk.*</h2>
<ul class="block-list">
Expand Down Expand Up @@ -334,40 +274,6 @@ <h2 title="io.sbk">io.sbk.*</h2>
</li>
</ul>
</section>
<section class="constants-summary" id="io.time">
<h2 title="io.time">io.time.*</h2>
<ul class="block-list">
<li>
<div class="caption"><span>io.time.<a href="io/time/Time.html" title="interface in io.time">Time</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Constant Field</div>
<div class="table-header col-last">Value</div>
<div class="col-first even-row-color"><code id="io.time.Time.MICROS_PER_MS">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second even-row-color"><code><a href="io/time/Time.html#MICROS_PER_MS">MICROS_PER_MS</a></code></div>
<div class="col-last even-row-color"><code>1000</code></div>
<div class="col-first odd-row-color"><code id="io.time.Time.MICROS_PER_SEC">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second odd-row-color"><code><a href="io/time/Time.html#MICROS_PER_SEC">MICROS_PER_SEC</a></code></div>
<div class="col-last odd-row-color"><code>1000000</code></div>
<div class="col-first even-row-color"><code id="io.time.Time.MS_PER_MIN">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second even-row-color"><code><a href="io/time/Time.html#MS_PER_MIN">MS_PER_MIN</a></code></div>
<div class="col-last even-row-color"><code>60000</code></div>
<div class="col-first odd-row-color"><code id="io.time.Time.MS_PER_SEC">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second odd-row-color"><code><a href="io/time/Time.html#MS_PER_SEC">MS_PER_SEC</a></code></div>
<div class="col-last odd-row-color"><code>1000</code></div>
<div class="col-first even-row-color"><code id="io.time.Time.NS_PER_MICRO">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second even-row-color"><code><a href="io/time/Time.html#NS_PER_MICRO">NS_PER_MICRO</a></code></div>
<div class="col-last even-row-color"><code>1000</code></div>
<div class="col-first odd-row-color"><code id="io.time.Time.NS_PER_MS">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second odd-row-color"><code><a href="io/time/Time.html#NS_PER_MS">NS_PER_MS</a></code></div>
<div class="col-last odd-row-color"><code>1000000</code></div>
<div class="col-first even-row-color"><code id="io.time.Time.NS_PER_SEC">public&nbsp;static&nbsp;final&nbsp;long</code></div>
<div class="col-second even-row-color"><code><a href="io/time/Time.html#NS_PER_SEC">NS_PER_SEC</a></code></div>
<div class="col-last even-row-color"><code>1000000000L</code></div>
</div>
</li>
</ul>
</section>
</main>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion sbk-api/javadoc/deprecated-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Deprecated List (sbk-api 0.951 API)</title>
<title>Deprecated List (sbk-api 0.952 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="deprecated elements">
Expand Down
4 changes: 0 additions & 4 deletions sbk-api/javadoc/element-list
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
io.perl
io.perl.impl
io.sbk.action
io.sbk.api
io.sbk.api.impl
Expand All @@ -16,5 +14,3 @@ io.sbk.options.impl
io.sbk.system
io.sbk.yal
io.sbk.yal.impl
io.state
io.time
2 changes: 1 addition & 1 deletion sbk-api/javadoc/help-doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>API Help (sbk-api 0.951 API)</title>
<title>API Help (sbk-api 0.952 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="help">
Expand Down
Loading

0 comments on commit 2c8b75f

Please sign in to comment.