Added: release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/LogsResource.java ============================================================================== --- release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/LogsResource.java (added) +++ release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/LogsResource.java Fri Sep 8 23:21:12 2017 @@ -0,0 +1,348 @@ +// *************************************************************************************************************************** +// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * +// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * +// * to you 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 * +// * * +// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an * +// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * +// * specific language governing permissions and limitations under the License. * +// *************************************************************************************************************************** +package org.apache.juneau.microservice.resources; + +import static javax.servlet.http.HttpServletResponse.*; +import static org.apache.juneau.html.HtmlDocSerializerContext.*; +import static org.apache.juneau.rest.RestContext.*; +import static org.apache.juneau.rest.annotation.HookEvent.*; +import static org.apache.juneau.internal.StringUtils.*; + +import java.io.*; +import java.net.URI; +import java.nio.charset.*; +import java.util.*; + +import org.apache.juneau.*; +import org.apache.juneau.annotation.*; +import org.apache.juneau.dto.*; +import org.apache.juneau.ini.*; +import org.apache.juneau.microservice.*; +import org.apache.juneau.rest.*; +import org.apache.juneau.rest.annotation.*; +import org.apache.juneau.rest.annotation.Properties; +import org.apache.juneau.rest.converters.*; +import org.apache.juneau.transforms.*; + +/** + * REST resource for viewing and accessing log files. + */ +@RestResource( + path="/logs", + title="Log files", + description="Log files from this service", + properties={ + @Property(name=HTML_uriAnchorText, value=PROPERTY_NAME), + }, + flags={REST_allowMethodParam}, + pojoSwaps={ + IteratorSwap.class, // Allows Iterators and Iterables to be serialized. + DateSwap.ISO8601DT.class // Serialize Date objects as ISO8601 strings. + } +) +@SuppressWarnings("nls") +public class LogsResource extends Resource { + private static final long serialVersionUID = 1L; + + private File logDir; + private LogEntryFormatter leFormatter; + + private final FileFilter filter = new FileFilter() { + @Override /* FileFilter */ + public boolean accept(File f) { + return f.isDirectory() || f.getName().endsWith(".log"); + } + }; + + /** + * Initializes the log directory and formatter. + * + * @param config The resource config. + * @throws Exception + */ + @RestHook(INIT) + public void init(RestConfig config) throws Exception { + ConfigFile cf = config.getConfigFile(); + + logDir = new File(cf.getString("Logging/logDir", ".")); + leFormatter = new LogEntryFormatter( + cf.getString("Logging/format", "[{date} {level}] {msg}%n"), + cf.getString("Logging/dateFormat", "yyyy.MM.dd hh:mm:ss"), + cf.getBoolean("Logging/useStackTraceHashes") + ); + } + + /** + * [GET /*] - Get file details or directory listing. + * + * @param req The HTTP request + * @param res The HTTP response + * @param properties The writable properties for setting the descriptions. + * @param path The log file path. + * @return The log file. + * @throws Exception + */ + @RestMethod( + name="GET", + path="/*", + swagger=@MethodSwagger( + responses={@Response(200),@Response(404)} + ) + ) + public Object getFileOrDirectory(RestRequest req, RestResponse res, @Properties ObjectMap properties, @PathRemainder String path) throws Exception { + + File f = getFile(path); + + if (f.isDirectory()) { + Set<FileResource> l = new TreeSet<FileResource>(new FileResourceComparator()); + File[] files = f.listFiles(filter); + if (files != null) { + for (File fc : files) { + URI fUrl = new URI("servlet:/" + fc.getName()); + l.add(new FileResource(fc, fUrl)); + } + } + return l; + } + + return new FileResource(f, new URI("servlet:/")); + } + + /** + * [VIEW /*] - Retrieve the contents of a log file. + * + * @param req The HTTP request. + * @param res The HTTP response. + * @param path The log file path. + * @param properties The writable properties for setting the descriptions. + * @param highlight If <code>true</code>, add color highlighting based on severity. + * @param start Optional start timestamp. Don't print lines logged before the specified timestamp. Example: "&start=2014-01-23 11:25:47". + * @param end Optional end timestamp. Don't print lines logged after the specified timestamp. Example: "&end=2014-01-23 11:25:47". + * @param thread Optional thread name filter. Only show log entries with the specified thread name. Example: "&thread=pool-33-thread-1". + * @param loggers Optional logger filter. Only show log entries if they were produced by one of the specified loggers (simple class name). Example: "&loggers=(LinkIndexService,LinkIndexRestService)". + * @param severity Optional severity filter. Only show log entries with the specified severity. Example: "&severity=(ERROR,WARN)". + * @throws Exception + */ + @RestMethod( + name="VIEW", + path="/*", + swagger=@MethodSwagger( + responses={@Response(200),@Response(404)} + ) + ) + @SuppressWarnings("nls") + public void viewFile(RestRequest req, RestResponse res, @PathRemainder String path, @Properties ObjectMap properties, @Query("highlight") boolean highlight, @Query("start") String start, @Query("end") String end, @Query("thread") String thread, @Query("loggers") String[] loggers, @Query("severity") String[] severity) throws Exception { + + File f = getFile(path); + if (f.isDirectory()) + throw new RestException(SC_METHOD_NOT_ALLOWED, "View not available on directories"); + + Date startDate = parseISO8601Date(start), endDate = parseISO8601Date(end); + + if (! highlight) { + Object o = getReader(f, startDate, endDate, thread, loggers, severity); + res.setContentType("text/plain"); + if (o instanceof Reader) + res.setOutput(o); + else { + LogParser p = (LogParser)o; + Writer w = res.getNegotiatedWriter(); + try { + p.writeTo(w); + } finally { + w.flush(); + w.close(); + } + } + return; + } + + res.setContentType("text/html"); + PrintWriter w = res.getNegotiatedWriter(); + try { + w.println("<html><body style='font-family:monospace;font-size:8pt;white-space:pre;'>"); + LogParser lp = getLogParser(f, startDate, endDate, thread, loggers, severity); + try { + if (! lp.hasNext()) + w.append("<span style='color:gray'>[EMPTY]</span>"); + else for (LogParser.Entry le : lp) { + char s = le.severity.charAt(0); + String color = "black"; + //SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST + if (s == 'I') + color = "#006400"; + else if (s == 'W') + color = "#CC8400"; + else if (s == 'E' || s == 'S') + color = "#DD0000"; + else if (s == 'D' || s == 'F' || s == 'T') + color = "#000064"; + w.append("<span style='color:").append(color).append("'>"); + le.appendHtml(w).append("</span>"); + } + w.append("</body></html>"); + } finally { + lp.close(); + } + } finally { + w.close(); + } + } + + /** + * [VIEW /*] - Retrieve the contents of a log file as parsed entries. + * + * @param req The HTTP request. + * @param path The log file path. + * @param start Optional start timestamp. Don't print lines logged before the specified timestamp. Example: "&start=2014-01-23 11:25:47". + * @param end Optional end timestamp. Don't print lines logged after the specified timestamp. Example: "&end=2014-01-23 11:25:47". + * @param thread Optional thread name filter. Only show log entries with the specified thread name. Example: "&thread=pool-33-thread-1". + * @param loggers Optional logger filter. Only show log entries if they were produced by one of the specified loggers (simple class name). Example: "&loggers=(LinkIndexService,LinkIndexRestService)". + * @param severity Optional severity filter. Only show log entries with the specified severity. Example: "&severity=(ERROR,WARN)". + * @return The parsed contents of the log file. + * @throws Exception + */ + @RestMethod( + name="PARSE", + path="/*", + converters=Queryable.class, + swagger=@MethodSwagger( + responses={@Response(200),@Response(404)} + ) + ) + public LogParser viewParsedEntries(RestRequest req, @PathRemainder String path, @Query("start") String start, @Query("end") String end, @Query("thread") String thread, @Query("loggers") String[] loggers, @Query("severity") String[] severity) throws Exception { + + File f = getFile(path); + Date startDate = parseISO8601Date(start), endDate = parseISO8601Date(end); + + if (f.isDirectory()) + throw new RestException(SC_METHOD_NOT_ALLOWED, "View not available on directories"); + + return getLogParser(f, startDate, endDate, thread, loggers, severity); + } + + /** + * [DOWNLOAD /*] - Download file. + * + * @param res The HTTP response. + * @param path The log file path. + * @return The contents of the log file. + * @throws Exception + */ + @RestMethod( + name="DOWNLOAD", + path="/*", + swagger=@MethodSwagger( + responses={@Response(200),@Response(404)} + ) + ) + public Object downloadFile(RestResponse res, @PathRemainder String path) throws Exception { + + File f = getFile(path); + + if (f.isDirectory()) + throw new RestException(SC_METHOD_NOT_ALLOWED, "Download not available on directories"); + + res.setContentType("application/octet-stream"); + res.setContentLength((int)f.length()); + return new FileInputStream(f); + } + + /** + * [DELETE /*] - Delete a file. + * + * @param path The log file path. + * @return A redirect object to the root. + * @throws Exception + */ + @RestMethod( + name="DELETE", + path="/*", + swagger=@MethodSwagger( + responses={@Response(200),@Response(404)} + ) + ) + public Object deleteFile(@PathRemainder String path) throws Exception { + + File f = getFile(path); + + if (f.isDirectory()) + throw new RestException(SC_BAD_REQUEST, "Delete not available on directories."); + + if (f.canWrite()) + if (! f.delete()) + throw new RestException(SC_FORBIDDEN, "Could not delete file."); + + return new Redirect(path + "/.."); + } + + private static BufferedReader getReader(File f) throws IOException { + return new BufferedReader(new InputStreamReader(new FileInputStream(f), Charset.defaultCharset())); + } + + private File getFile(String path) { + if (path != null && path.indexOf("..") != -1) + throw new RestException(SC_NOT_FOUND, "File not found."); + File f = (path == null ? logDir : new File(logDir.getAbsolutePath() + '/' + path)); + if (filter.accept(f)) + return f; + throw new RestException(SC_NOT_FOUND, "File not found."); + } + + /** + * File bean. + */ + @SuppressWarnings("javadoc") + public static class FileResource { + private File f; + public String type; + public Object name; + public Long size; + @BeanProperty(swap=DateSwap.DateTimeMedium.class) public Date lastModified; + public URI view, highlighted, parsed, download, delete; + + public FileResource(File f, URI uri) throws Exception { + this.f = f; + this.type = (f.isDirectory() ? "dir" : "file"); + this.name = f.isDirectory() ? new Link(f.getName(), uri.toString()) : f.getName(); + this.size = f.isDirectory() ? null : f.length(); + this.lastModified = new Date(f.lastModified()); + if (f.canRead() && ! f.isDirectory()) { + this.view = new URI(uri + "?method=VIEW"); + this.highlighted = new URI(uri + "?method=VIEW&highlight=true"); + this.parsed = new URI(uri + "?method=PARSE"); + this.download = new URI(uri + "?method=DOWNLOAD"); + this.delete = new URI(uri + "?method=DELETE"); + } + } + } + + private static class FileResourceComparator implements Comparator<FileResource>, Serializable { + private static final long serialVersionUID = 1L; + @Override /* Comparator */ + public int compare(FileResource o1, FileResource o2) { + int c = o1.type.compareTo(o2.type); + return c != 0 ? c : o1.f.getName().compareTo(o2.f.getName()); + } + } + + private Object getReader(File f, final Date start, final Date end, final String thread, final String[] loggers, final String[] severity) throws IOException { + if (start == null && end == null && thread == null && loggers == null) + return getReader(f); + return getLogParser(f, start, end, thread, loggers, severity); + } + + private LogParser getLogParser(File f, final Date start, final Date end, final String thread, final String[] loggers, final String[] severity) throws IOException { + return new LogParser(leFormatter, f, start, end, thread, loggers, severity); + } +}
Propchange: release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/LogsResource.java ------------------------------------------------------------------------------ svn:executable = * Propchange: release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/LogsResource.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/SampleRootResource.java ============================================================================== --- release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/SampleRootResource.java (added) +++ release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/SampleRootResource.java Fri Sep 8 23:21:12 2017 @@ -0,0 +1,29 @@ +// *************************************************************************************************************************** +// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * +// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * +// * to you 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 * +// * * +// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an * +// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * +// * specific language governing permissions and limitations under the License. * +// *************************************************************************************************************************** +package org.apache.juneau.microservice.resources; + +import org.apache.juneau.microservice.*; +import org.apache.juneau.rest.annotation.*; + +/** + * Sample root REST resource. + */ +@RestResource( + path="/", + title="Sample Root Resource", + description="This is a sample router page", + children={ConfigResource.class,LogsResource.class} +) +public class SampleRootResource extends ResourceGroup { + private static final long serialVersionUID = 1L; +} Propchange: release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/SampleRootResource.java ------------------------------------------------------------------------------ svn:executable = * Propchange: release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/SampleRootResource.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/ShutdownResource.java ============================================================================== --- release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/ShutdownResource.java (added) +++ release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/ShutdownResource.java Fri Sep 8 23:21:12 2017 @@ -0,0 +1,52 @@ +// *************************************************************************************************************************** +// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * +// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * +// * to you 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 * +// * * +// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an * +// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * +// * specific language governing permissions and limitations under the License. * +// *************************************************************************************************************************** +package org.apache.juneau.microservice.resources; + +import org.apache.juneau.microservice.*; +import org.apache.juneau.rest.annotation.*; + +/** + * Provides the capability to shut down this REST microservice through a REST call. + */ +@RestResource( + path="/shutdown", + title="Shut down this resource" +) +public class ShutdownResource extends Resource { + + private static final long serialVersionUID = 1L; + + /** + * [GET /] - Shutdown this resource. + * + * @return The string <js>"OK"</js>. + * @throws Exception + */ + @RestMethod(name="GET", path="/", description="Show contents of config file.") + public String shutdown() throws Exception { + new Thread( + new Runnable() { + @Override /* Runnable */ + public void run() { + try { + Thread.sleep(1000); + System.exit(0); + } catch (InterruptedException e) { + e.printStackTrace(); + } + } + } + ).start(); + return "OK"; + } +} Propchange: release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/ShutdownResource.java ------------------------------------------------------------------------------ svn:executable = * Propchange: release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/ShutdownResource.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/package.html ============================================================================== --- release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/package.html (added) +++ release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/package.html Fri Sep 8 23:21:12 2017 @@ -0,0 +1,31 @@ +<!DOCTYPE HTML> +<!-- +/*************************************************************************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file + * to you 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 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * + ***************************************************************************************************************************/ + --> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <style type="text/css"> + /* For viewing in Page Designer */ + @IMPORT url("../javadoc.css"); + body { + margin: 20px; + } + </style> +</head> +<body> +<p>Predefined Microservice Resources</p> +</body> +</html> \ No newline at end of file Propchange: release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/package.html ------------------------------------------------------------------------------ svn:executable = * Propchange: release/incubator/juneau/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/package.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: release/incubator/juneau/juneau-microservice-server/src/test/java/.gitignore ============================================================================== --- release/incubator/juneau/juneau-microservice-server/src/test/java/.gitignore (added) +++ release/incubator/juneau/juneau-microservice-server/src/test/java/.gitignore Fri Sep 8 23:21:12 2017 @@ -0,0 +1,12 @@ + *************************************************************************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * + * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * + * to you 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 * + * * + * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an * + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * + * specific language governing permissions and limitations under the License. * + *************************************************************************************************************************** Added: release/incubator/juneau/juneau-microservice-server/target/.plxarc ============================================================================== --- release/incubator/juneau/juneau-microservice-server/target/.plxarc (added) +++ release/incubator/juneau/juneau-microservice-server/target/.plxarc Fri Sep 8 23:21:12 2017 @@ -0,0 +1 @@ +maven-shared-archive-resources \ No newline at end of file Added: release/incubator/juneau/juneau-microservice-server/target/classes/META-INF/DEPENDENCIES ============================================================================== --- release/incubator/juneau/juneau-microservice-server/target/classes/META-INF/DEPENDENCIES (added) +++ release/incubator/juneau/juneau-microservice-server/target/classes/META-INF/DEPENDENCIES Fri Sep 8 23:21:12 2017 @@ -0,0 +1,53 @@ +// ------------------------------------------------------------------ +// Transitive dependencies of this project determined from the +// maven pom organized by organization. +// ------------------------------------------------------------------ + +Apache Juneau Microservice Server + + +From: 'Apache' (http://www.apache.org/) + - Apache Juneau Config File API (http://juneau.incubator.apache.org/juneau-core/juneau-config) org.apache.juneau:juneau-config:bundle:6.3.2-incubating-SNAPSHOT + License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache Juneau Data Transfer Objects (http://juneau.incubator.apache.org/juneau-core/juneau-dto) org.apache.juneau:juneau-dto:bundle:6.3.2-incubating-SNAPSHOT + License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache Juneau Marshall (http://juneau.incubator.apache.org/juneau-core/juneau-marshall) org.apache.juneau:juneau-marshall:bundle:6.3.2-incubating-SNAPSHOT + License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache Juneau Marshal RDF (http://juneau.incubator.apache.org/juneau-core/juneau-marshall-rdf) org.apache.juneau:juneau-marshall-rdf:bundle:6.3.2-incubating-SNAPSHOT + License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache Juneau REST Client API (http://juneau.incubator.apache.org/juneau-rest/juneau-rest-client) org.apache.juneau:juneau-rest-client:bundle:6.3.2-incubating-SNAPSHOT + License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache Juneau REST Servlet API (http://juneau.incubator.apache.org/juneau-rest/juneau-rest-server) org.apache.juneau:juneau-rest-server:bundle:6.3.2-incubating-SNAPSHOT + License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache Juneau Core (http://juneau.incubator.apache.org/juneau-core/juneau-svl) org.apache.juneau:juneau-svl:bundle:6.3.2-incubating-SNAPSHOT + License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + +From: 'The Apache Software Foundation' (http://www.apache.org/) + - Apache Commons Codec (http://commons.apache.org/proper/commons-codec/) commons-codec:commons-codec:jar:1.9 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache Commons Logging (http://commons.apache.org/proper/commons-logging/) commons-logging:commons-logging:jar:1.2 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache HttpClient (http://hc.apache.org/httpcomponents-client) org.apache.httpcomponents:httpclient:jar:4.5 + License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache HttpCore (http://hc.apache.org/httpcomponents-core-ga) org.apache.httpcomponents:httpcore:jar:4.4.1 + License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + +From: 'Webtide' (https://webtide.com) + - Jetty :: Http Utility (http://www.eclipse.org/jetty) org.eclipse.jetty:jetty-http:jar:9.4.6.v20170531 + License: Apache Software License - Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) License: Eclipse Public License - Version 1.0 (http://www.eclipse.org/org/documents/epl-v10.php) + - Jetty :: IO Utility (http://www.eclipse.org/jetty) org.eclipse.jetty:jetty-io:jar:9.4.6.v20170531 + License: Apache Software License - Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) License: Eclipse Public License - Version 1.0 (http://www.eclipse.org/org/documents/epl-v10.php) + - Jetty :: Security (http://www.eclipse.org/jetty) org.eclipse.jetty:jetty-security:jar:9.4.6.v20170531 + License: Apache Software License - Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) License: Eclipse Public License - Version 1.0 (http://www.eclipse.org/org/documents/epl-v10.php) + - Jetty :: Server Core (http://www.eclipse.org/jetty) org.eclipse.jetty:jetty-server:jar:9.4.6.v20170531 + License: Apache Software License - Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) License: Eclipse Public License - Version 1.0 (http://www.eclipse.org/org/documents/epl-v10.php) + - Jetty :: Servlet Handling (http://www.eclipse.org/jetty) org.eclipse.jetty:jetty-servlet:jar:9.4.6.v20170531 + License: Apache Software License - Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) License: Eclipse Public License - Version 1.0 (http://www.eclipse.org/org/documents/epl-v10.php) + - Jetty :: Utilities (http://www.eclipse.org/jetty) org.eclipse.jetty:jetty-util:jar:9.4.6.v20170531 + License: Apache Software License - Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) License: Eclipse Public License - Version 1.0 (http://www.eclipse.org/org/documents/epl-v10.php) + - Jetty :: XML utilities (http://www.eclipse.org/jetty) org.eclipse.jetty:jetty-xml:jar:9.4.6.v20170531 + License: Apache Software License - Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) License: Eclipse Public License - Version 1.0 (http://www.eclipse.org/org/documents/epl-v10.php) + + + + Added: release/incubator/juneau/juneau-microservice-server/target/classes/META-INF/LICENSE ============================================================================== --- release/incubator/juneau/juneau-microservice-server/target/classes/META-INF/LICENSE (added) +++ release/incubator/juneau/juneau-microservice-server/target/classes/META-INF/LICENSE Fri Sep 8 23:21:12 2017 @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. Added: release/incubator/juneau/juneau-microservice-server/target/classes/META-INF/NOTICE ============================================================================== --- release/incubator/juneau/juneau-microservice-server/target/classes/META-INF/NOTICE (added) +++ release/incubator/juneau/juneau-microservice-server/target/classes/META-INF/NOTICE Fri Sep 8 23:21:12 2017 @@ -0,0 +1,8 @@ + +Apache Juneau Microservice Server +Copyright 2017 Apache + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + + Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/Microservice$1.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/Microservice$1.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/Microservice$2.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/Microservice$2.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/Microservice$3.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/Microservice$3.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/Microservice.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/Microservice.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/Resource.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/Resource.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/ResourceGroup.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/ResourceGroup.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/ResourceJena.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/ResourceJena.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/ResourceJenaGroup.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/ResourceJenaGroup.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/RestMicroservice$1.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/RestMicroservice$1.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/RestMicroservice$2.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/RestMicroservice$2.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/RestMicroservice.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/RestMicroservice.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/ConfigResource.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/ConfigResource.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/DirectoryResource$FileResource.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/DirectoryResource$FileResource.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/DirectoryResource.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/DirectoryResource.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/LogEntryFormatter.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/LogEntryFormatter.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/LogParser$Entry.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/LogParser$Entry.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/LogParser.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/LogParser.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/LogsResource$1.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/LogsResource$1.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/LogsResource$FileResource.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/LogsResource$FileResource.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/LogsResource$FileResourceComparator.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/LogsResource$FileResourceComparator.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/LogsResource.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/LogsResource.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/SampleRootResource.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/SampleRootResource.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/ShutdownResource$1.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/ShutdownResource$1.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/ShutdownResource.class ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/classes/org/apache/juneau/microservice/resources/ShutdownResource.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/juneau-microservice-server-6.3.2-incubating-SNAPSHOT-sources.jar ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/juneau-microservice-server-6.3.2-incubating-SNAPSHOT-sources.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/juneau-microservice-server-6.3.2-incubating-SNAPSHOT.jar ============================================================================== Binary file - no diff available. Propchange: release/incubator/juneau/juneau-microservice-server/target/juneau-microservice-server-6.3.2-incubating-SNAPSHOT.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: release/incubator/juneau/juneau-microservice-server/target/maven-archiver/pom.properties ============================================================================== --- release/incubator/juneau/juneau-microservice-server/target/maven-archiver/pom.properties (added) +++ release/incubator/juneau/juneau-microservice-server/target/maven-archiver/pom.properties Fri Sep 8 23:21:12 2017 @@ -0,0 +1,5 @@ +#Created by Apache Maven 3.3.9 +#Fri Sep 08 19:14:45 EDT 2017 +version=6.3.2-incubating-SNAPSHOT +groupId=org.apache.juneau +artifactId=juneau-microservice-server Propchange: release/incubator/juneau/juneau-microservice-server/target/maven-archiver/pom.properties ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: release/incubator/juneau/juneau-microservice-server/target/maven-shared-archive-resources/META-INF/DEPENDENCIES ============================================================================== --- release/incubator/juneau/juneau-microservice-server/target/maven-shared-archive-resources/META-INF/DEPENDENCIES (added) +++ release/incubator/juneau/juneau-microservice-server/target/maven-shared-archive-resources/META-INF/DEPENDENCIES Fri Sep 8 23:21:12 2017 @@ -0,0 +1,53 @@ +// ------------------------------------------------------------------ +// Transitive dependencies of this project determined from the +// maven pom organized by organization. +// ------------------------------------------------------------------ + +Apache Juneau Microservice Server + + +From: 'Apache' (http://www.apache.org/) + - Apache Juneau Config File API (http://juneau.incubator.apache.org/juneau-core/juneau-config) org.apache.juneau:juneau-config:bundle:6.3.2-incubating-SNAPSHOT + License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache Juneau Data Transfer Objects (http://juneau.incubator.apache.org/juneau-core/juneau-dto) org.apache.juneau:juneau-dto:bundle:6.3.2-incubating-SNAPSHOT + License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache Juneau Marshall (http://juneau.incubator.apache.org/juneau-core/juneau-marshall) org.apache.juneau:juneau-marshall:bundle:6.3.2-incubating-SNAPSHOT + License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache Juneau Marshal RDF (http://juneau.incubator.apache.org/juneau-core/juneau-marshall-rdf) org.apache.juneau:juneau-marshall-rdf:bundle:6.3.2-incubating-SNAPSHOT + License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache Juneau REST Client API (http://juneau.incubator.apache.org/juneau-rest/juneau-rest-client) org.apache.juneau:juneau-rest-client:bundle:6.3.2-incubating-SNAPSHOT + License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache Juneau REST Servlet API (http://juneau.incubator.apache.org/juneau-rest/juneau-rest-server) org.apache.juneau:juneau-rest-server:bundle:6.3.2-incubating-SNAPSHOT + License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache Juneau Core (http://juneau.incubator.apache.org/juneau-core/juneau-svl) org.apache.juneau:juneau-svl:bundle:6.3.2-incubating-SNAPSHOT + License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) + +From: 'The Apache Software Foundation' (http://www.apache.org/) + - Apache Commons Codec (http://commons.apache.org/proper/commons-codec/) commons-codec:commons-codec:jar:1.9 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache Commons Logging (http://commons.apache.org/proper/commons-logging/) commons-logging:commons-logging:jar:1.2 + License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache HttpClient (http://hc.apache.org/httpcomponents-client) org.apache.httpcomponents:httpclient:jar:4.5 + License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + - Apache HttpCore (http://hc.apache.org/httpcomponents-core-ga) org.apache.httpcomponents:httpcore:jar:4.4.1 + License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) + +From: 'Webtide' (https://webtide.com) + - Jetty :: Http Utility (http://www.eclipse.org/jetty) org.eclipse.jetty:jetty-http:jar:9.4.6.v20170531 + License: Apache Software License - Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) License: Eclipse Public License - Version 1.0 (http://www.eclipse.org/org/documents/epl-v10.php) + - Jetty :: IO Utility (http://www.eclipse.org/jetty) org.eclipse.jetty:jetty-io:jar:9.4.6.v20170531 + License: Apache Software License - Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) License: Eclipse Public License - Version 1.0 (http://www.eclipse.org/org/documents/epl-v10.php) + - Jetty :: Security (http://www.eclipse.org/jetty) org.eclipse.jetty:jetty-security:jar:9.4.6.v20170531 + License: Apache Software License - Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) License: Eclipse Public License - Version 1.0 (http://www.eclipse.org/org/documents/epl-v10.php) + - Jetty :: Server Core (http://www.eclipse.org/jetty) org.eclipse.jetty:jetty-server:jar:9.4.6.v20170531 + License: Apache Software License - Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) License: Eclipse Public License - Version 1.0 (http://www.eclipse.org/org/documents/epl-v10.php) + - Jetty :: Servlet Handling (http://www.eclipse.org/jetty) org.eclipse.jetty:jetty-servlet:jar:9.4.6.v20170531 + License: Apache Software License - Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) License: Eclipse Public License - Version 1.0 (http://www.eclipse.org/org/documents/epl-v10.php) + - Jetty :: Utilities (http://www.eclipse.org/jetty) org.eclipse.jetty:jetty-util:jar:9.4.6.v20170531 + License: Apache Software License - Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) License: Eclipse Public License - Version 1.0 (http://www.eclipse.org/org/documents/epl-v10.php) + - Jetty :: XML utilities (http://www.eclipse.org/jetty) org.eclipse.jetty:jetty-xml:jar:9.4.6.v20170531 + License: Apache Software License - Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) License: Eclipse Public License - Version 1.0 (http://www.eclipse.org/org/documents/epl-v10.php) + + + + Added: release/incubator/juneau/juneau-microservice-server/target/maven-shared-archive-resources/META-INF/LICENSE ============================================================================== --- release/incubator/juneau/juneau-microservice-server/target/maven-shared-archive-resources/META-INF/LICENSE (added) +++ release/incubator/juneau/juneau-microservice-server/target/maven-shared-archive-resources/META-INF/LICENSE Fri Sep 8 23:21:12 2017 @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. Added: release/incubator/juneau/juneau-microservice-server/target/maven-shared-archive-resources/META-INF/NOTICE ============================================================================== --- release/incubator/juneau/juneau-microservice-server/target/maven-shared-archive-resources/META-INF/NOTICE (added) +++ release/incubator/juneau/juneau-microservice-server/target/maven-shared-archive-resources/META-INF/NOTICE Fri Sep 8 23:21:12 2017 @@ -0,0 +1,8 @@ + +Apache Juneau Microservice Server +Copyright 2017 Apache + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + + Added: release/incubator/juneau/juneau-microservice-server/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst ============================================================================== --- release/incubator/juneau/juneau-microservice-server/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst (added) +++ release/incubator/juneau/juneau-microservice-server/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst Fri Sep 8 23:21:12 2017 @@ -0,0 +1,24 @@ +org/apache/juneau/microservice/ResourceJena.class +org/apache/juneau/microservice/resources/LogsResource$1.class +org/apache/juneau/microservice/RestMicroservice.class +org/apache/juneau/microservice/ResourceGroup.class +org/apache/juneau/microservice/resources/DirectoryResource$FileResource.class +org/apache/juneau/microservice/RestMicroservice$1.class +org/apache/juneau/microservice/Microservice$1.class +org/apache/juneau/microservice/resources/DirectoryResource.class +org/apache/juneau/microservice/resources/ShutdownResource.class +org/apache/juneau/microservice/resources/LogsResource.class +org/apache/juneau/microservice/resources/LogEntryFormatter.class +org/apache/juneau/microservice/RestMicroservice$2.class +org/apache/juneau/microservice/resources/LogParser$Entry.class +org/apache/juneau/microservice/Microservice$3.class +org/apache/juneau/microservice/Microservice.class +org/apache/juneau/microservice/resources/SampleRootResource.class +org/apache/juneau/microservice/resources/LogParser.class +org/apache/juneau/microservice/ResourceJenaGroup.class +org/apache/juneau/microservice/Resource.class +org/apache/juneau/microservice/resources/ShutdownResource$1.class +org/apache/juneau/microservice/resources/ConfigResource.class +org/apache/juneau/microservice/resources/LogsResource$FileResourceComparator.class +org/apache/juneau/microservice/Microservice$2.class +org/apache/juneau/microservice/resources/LogsResource$FileResource.class Added: release/incubator/juneau/juneau-microservice-server/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst ============================================================================== --- release/incubator/juneau/juneau-microservice-server/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst (added) +++ release/incubator/juneau/juneau-microservice-server/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst Fri Sep 8 23:21:12 2017 @@ -0,0 +1,13 @@ +/Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/LogsResource.java +/Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/RestMicroservice.java +/Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/ResourceGroup.java +/Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/ResourceJenaGroup.java +/Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/SampleRootResource.java +/Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/LogEntryFormatter.java +/Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/LogParser.java +/Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/DirectoryResource.java +/Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/Resource.java +/Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/ConfigResource.java +/Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/ShutdownResource.java +/Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/Microservice.java +/Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/ResourceJena.java Added: release/incubator/juneau/juneau-microservice-server/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst ============================================================================== (empty) Added: release/incubator/juneau/juneau-microservice-server/target/rat.txt ============================================================================== --- release/incubator/juneau/juneau-microservice-server/target/rat.txt (added) +++ release/incubator/juneau/juneau-microservice-server/target/rat.txt Fri Sep 8 23:21:12 2017 @@ -0,0 +1,65 @@ + +***************************************************** +Summary +------- +Generated at: 2017-09-08T19:14:46-04:00 +Notes: 0 +Binaries: 10 +Archives: 0 +Standards: 18 + +Apache Licensed: 18 +Generated Documents: 0 + +JavaDocs are generated and so license header is optional +Generated files do not required license headers + +0 Unknown Licenses + +******************************* + +Unapproved licenses: + + +******************************* + +Archives: + +***************************************************** + Files with Apache License headers will be marked AL + Binary files (which do not require AL headers) will be marked B + Compressed archives will be marked A + Notices, licenses etc will be marked N + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/Dockerfile + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/pom.xml + B /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/doc-files/build1.png + B /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/doc-files/build2.png + B /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/doc-files/helloworld1.png + B /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/doc-files/instructions1.png + B /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/doc-files/instructions2.png + B /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/doc-files/instructions3.png + B /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/doc-files/instructions4.png + B /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/doc-files/instructions5.png + B /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/doc-files/instructions6.png + B /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/doc-files/manifest1.png + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/Microservice.java + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/package.html + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/Resource.java + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/ResourceGroup.java + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/ResourceJena.java + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/ResourceJenaGroup.java + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/ConfigEdit.html + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/ConfigResource.java + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/DirectoryResource.java + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/LogEntryFormatter.java + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/LogParser.java + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/LogsResource.java + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/package.html + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/SampleRootResource.java + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/resources/ShutdownResource.java + AL /Users/james.bognar/git/incubator-juneau/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/RestMicroservice.java + +***************************************************** + Printing headers for files without AL header... + + \ No newline at end of file Propchange: release/incubator/juneau/juneau-microservice-server/target/rat.txt ------------------------------------------------------------------------------ svn:mime-type = text/plain