├── .gitignore ├── README.md ├── container-apache-tomcat-web-server-sample ├── .DS_Store ├── ApacheTomcat │ ├── .DS_Store │ ├── LICENSE │ ├── NOTICE │ ├── RELEASE-NOTES │ ├── RUNNING.txt │ ├── bin │ │ ├── bootstrap.jar │ │ ├── catalina-tasks.xml │ │ ├── catalina.bat │ │ ├── catalina.sh │ │ ├── ciphers.bat │ │ ├── ciphers.sh │ │ ├── commons-daemon-native.tar.gz │ │ ├── commons-daemon.jar │ │ ├── configtest.bat │ │ ├── configtest.sh │ │ ├── daemon.sh │ │ ├── digest.bat │ │ ├── digest.sh │ │ ├── setclasspath.bat │ │ ├── setclasspath.sh │ │ ├── shutdown.bat │ │ ├── shutdown.sh │ │ ├── startup.bat │ │ ├── startup.sh │ │ ├── tomcat-juli.jar │ │ ├── tomcat-native.tar.gz │ │ ├── tool-wrapper.bat │ │ ├── tool-wrapper.sh │ │ ├── version.bat │ │ └── version.sh │ ├── conf │ │ ├── catalina.policy │ │ ├── catalina.properties │ │ ├── context.xml │ │ ├── jaspic-providers.xml │ │ ├── jaspic-providers.xsd │ │ ├── logging.properties │ │ ├── server.xml │ │ ├── tomcat-users.xml │ │ ├── tomcat-users.xsd │ │ └── web.xml │ ├── lib │ │ ├── annotations-api.jar │ │ ├── catalina-ant.jar │ │ ├── catalina-ha.jar │ │ ├── catalina-storeconfig.jar │ │ ├── catalina-tribes.jar │ │ ├── catalina.jar │ │ ├── ecj-4.6.3.jar │ │ ├── el-api.jar │ │ ├── jasper-el.jar │ │ ├── jasper.jar │ │ ├── jaspic-api.jar │ │ ├── jsp-api.jar │ │ ├── servlet-api.jar │ │ ├── tomcat-api.jar │ │ ├── tomcat-coyote.jar │ │ ├── tomcat-dbcp.jar │ │ ├── tomcat-i18n-es.jar │ │ ├── tomcat-i18n-fr.jar │ │ ├── tomcat-i18n-ja.jar │ │ ├── tomcat-jdbc.jar │ │ ├── tomcat-jni.jar │ │ ├── tomcat-util-scan.jar │ │ ├── tomcat-util.jar │ │ ├── tomcat-websocket.jar │ │ └── websocket-api.jar │ ├── logs │ │ ├── catalina.2018-03-02.log │ │ ├── catalina.2018-03-05.log │ │ ├── catalina.2018-03-09.log │ │ ├── catalina.2018-03-12.log │ │ ├── catalina.2018-05-21.log │ │ ├── catalina.out │ │ ├── host-manager.2018-03-02.log │ │ ├── host-manager.2018-03-09.log │ │ ├── host-manager.2018-03-12.log │ │ ├── host-manager.2018-05-21.log │ │ ├── localhost.2018-03-02.log │ │ ├── localhost.2018-03-05.log │ │ ├── localhost.2018-03-09.log │ │ ├── localhost.2018-03-12.log │ │ ├── localhost.2018-05-21.log │ │ ├── localhost_access_log.2018-03-02.txt │ │ ├── localhost_access_log.2018-03-09.txt │ │ ├── localhost_access_log.2018-03-12.txt │ │ ├── localhost_access_log.2018-05-21.txt │ │ ├── manager.2018-03-02.log │ │ ├── manager.2018-03-09.log │ │ ├── manager.2018-03-12.log │ │ └── manager.2018-05-21.log │ ├── temp │ │ └── safeToDelete.tmp │ ├── webapps │ │ ├── ROOT │ │ │ ├── RELEASE-NOTES.txt │ │ │ ├── WEB-INF │ │ │ │ └── web.xml │ │ │ ├── asf-logo-wide.svg │ │ │ ├── bg-button.png │ │ │ ├── bg-middle.png │ │ │ ├── bg-nav.png │ │ │ ├── bg-upper.png │ │ │ ├── favicon.ico │ │ │ ├── index.jsp │ │ │ ├── tomcat-power.gif │ │ │ ├── tomcat.css │ │ │ ├── tomcat.gif │ │ │ ├── tomcat.png │ │ │ └── tomcat.svg │ │ ├── docs │ │ │ ├── BUILDING.txt │ │ │ ├── RELEASE-NOTES.txt │ │ │ ├── RUNNING.txt │ │ │ ├── WEB-INF │ │ │ │ └── web.xml │ │ │ ├── aio.html │ │ │ ├── api │ │ │ │ └── index.html │ │ │ ├── appdev │ │ │ │ ├── build.xml.txt │ │ │ │ ├── deployment.html │ │ │ │ ├── index.html │ │ │ │ ├── installation.html │ │ │ │ ├── introduction.html │ │ │ │ ├── processes.html │ │ │ │ ├── sample │ │ │ │ │ ├── build.xml │ │ │ │ │ ├── docs │ │ │ │ │ │ └── README.txt │ │ │ │ │ ├── index.html │ │ │ │ │ ├── sample.war │ │ │ │ │ ├── src │ │ │ │ │ │ └── mypackage │ │ │ │ │ │ │ └── Hello.java │ │ │ │ │ └── web │ │ │ │ │ │ ├── WEB-INF │ │ │ │ │ │ └── web.xml │ │ │ │ │ │ ├── hello.jsp │ │ │ │ │ │ ├── images │ │ │ │ │ │ └── tomcat.gif │ │ │ │ │ │ └── index.html │ │ │ │ ├── source.html │ │ │ │ └── web.xml.txt │ │ │ ├── apr.html │ │ │ ├── architecture │ │ │ │ ├── index.html │ │ │ │ ├── overview.html │ │ │ │ ├── requestProcess.html │ │ │ │ ├── requestProcess │ │ │ │ │ ├── authentication-process.png │ │ │ │ │ └── request-process.png │ │ │ │ ├── startup.html │ │ │ │ └── startup │ │ │ │ │ ├── serverStartup.pdf │ │ │ │ │ └── serverStartup.txt │ │ │ ├── balancer-howto.html │ │ │ ├── building.html │ │ │ ├── cgi-howto.html │ │ │ ├── changelog.html │ │ │ ├── class-loader-howto.html │ │ │ ├── cluster-howto.html │ │ │ ├── comments.html │ │ │ ├── config │ │ │ │ ├── ajp.html │ │ │ │ ├── automatic-deployment.html │ │ │ │ ├── cluster-channel.html │ │ │ │ ├── cluster-deployer.html │ │ │ │ ├── cluster-interceptor.html │ │ │ │ ├── cluster-listener.html │ │ │ │ ├── cluster-manager.html │ │ │ │ ├── cluster-membership.html │ │ │ │ ├── cluster-receiver.html │ │ │ │ ├── cluster-sender.html │ │ │ │ ├── cluster-valve.html │ │ │ │ ├── cluster.html │ │ │ │ ├── context.html │ │ │ │ ├── cookie-processor.html │ │ │ │ ├── credentialhandler.html │ │ │ │ ├── engine.html │ │ │ │ ├── executor.html │ │ │ │ ├── filter.html │ │ │ │ ├── globalresources.html │ │ │ │ ├── host.html │ │ │ │ ├── http.html │ │ │ │ ├── http2.html │ │ │ │ ├── index.html │ │ │ │ ├── jar-scan-filter.html │ │ │ │ ├── jar-scanner.html │ │ │ │ ├── jaspic.html │ │ │ │ ├── listeners.html │ │ │ │ ├── loader.html │ │ │ │ ├── manager.html │ │ │ │ ├── realm.html │ │ │ │ ├── resources.html │ │ │ │ ├── server.html │ │ │ │ ├── service.html │ │ │ │ ├── sessionidgenerator.html │ │ │ │ ├── systemprops.html │ │ │ │ └── valve.html │ │ │ ├── connectors.html │ │ │ ├── default-servlet.html │ │ │ ├── deployer-howto.html │ │ │ ├── developers.html │ │ │ ├── elapi │ │ │ │ └── index.html │ │ │ ├── extras.html │ │ │ ├── funcspecs │ │ │ │ ├── fs-admin-apps.html │ │ │ │ ├── fs-admin-objects.html │ │ │ │ ├── fs-admin-opers.html │ │ │ │ ├── fs-default.html │ │ │ │ ├── fs-jdbc-realm.html │ │ │ │ ├── fs-jndi-realm.html │ │ │ │ ├── fs-memory-realm.html │ │ │ │ ├── index.html │ │ │ │ └── mbean-names.html │ │ │ ├── html-manager-howto.html │ │ │ ├── images │ │ │ │ ├── add.gif │ │ │ │ ├── asf-logo.svg │ │ │ │ ├── code.gif │ │ │ │ ├── cors-flowchart.png │ │ │ │ ├── design.gif │ │ │ │ ├── docs-stylesheet.css │ │ │ │ ├── docs.gif │ │ │ │ ├── fix.gif │ │ │ │ ├── fonts │ │ │ │ │ ├── OpenSans400.woff │ │ │ │ │ ├── OpenSans400italic.woff │ │ │ │ │ ├── OpenSans600.woff │ │ │ │ │ ├── OpenSans600italic.woff │ │ │ │ │ ├── OpenSans700.woff │ │ │ │ │ ├── OpenSans700italic.woff │ │ │ │ │ └── fonts.css │ │ │ │ ├── tomcat.gif │ │ │ │ ├── tomcat.png │ │ │ │ ├── update.gif │ │ │ │ └── void.gif │ │ │ ├── index.html │ │ │ ├── introduction.html │ │ │ ├── jasper-howto.html │ │ │ ├── jdbc-pool.html │ │ │ ├── jndi-datasource-examples-howto.html │ │ │ ├── jndi-resources-howto.html │ │ │ ├── jspapi │ │ │ │ └── index.html │ │ │ ├── logging.html │ │ │ ├── manager-howto.html │ │ │ ├── maven-jars.html │ │ │ ├── mbeans-descriptors-howto.html │ │ │ ├── mbeans-descriptors.dtd │ │ │ ├── monitoring.html │ │ │ ├── proxy-howto.html │ │ │ ├── realm-howto.html │ │ │ ├── rewrite.html │ │ │ ├── security-howto.html │ │ │ ├── security-manager-howto.html │ │ │ ├── servletapi │ │ │ │ └── index.html │ │ │ ├── setup.html │ │ │ ├── ssi-howto.html │ │ │ ├── ssl-howto.html │ │ │ ├── tribes │ │ │ │ ├── developers.html │ │ │ │ ├── faq.html │ │ │ │ ├── interceptors.html │ │ │ │ ├── introduction.html │ │ │ │ ├── membership.html │ │ │ │ ├── setup.html │ │ │ │ ├── status.html │ │ │ │ └── transport.html │ │ │ ├── virtual-hosting-howto.html │ │ │ ├── web-socket-howto.html │ │ │ ├── websocketapi │ │ │ │ └── index.html │ │ │ ├── windows-auth-howto.html │ │ │ └── windows-service-howto.html │ │ ├── examples │ │ │ ├── WEB-INF │ │ │ │ ├── classes │ │ │ │ │ ├── CookieExample.class │ │ │ │ │ ├── CookieExample.java │ │ │ │ │ ├── HelloWorldExample.class │ │ │ │ │ ├── HelloWorldExample.java │ │ │ │ │ ├── LocalStrings.properties │ │ │ │ │ ├── LocalStrings_en.properties │ │ │ │ │ ├── LocalStrings_es.properties │ │ │ │ │ ├── LocalStrings_fr.properties │ │ │ │ │ ├── LocalStrings_pt.properties │ │ │ │ │ ├── RequestHeaderExample.class │ │ │ │ │ ├── RequestHeaderExample.java │ │ │ │ │ ├── RequestInfoExample.class │ │ │ │ │ ├── RequestInfoExample.java │ │ │ │ │ ├── RequestParamExample.class │ │ │ │ │ ├── RequestParamExample.java │ │ │ │ │ ├── ServletToJsp.class │ │ │ │ │ ├── ServletToJsp.java │ │ │ │ │ ├── SessionExample.class │ │ │ │ │ ├── SessionExample.java │ │ │ │ │ ├── async │ │ │ │ │ │ ├── Async0$1.class │ │ │ │ │ │ ├── Async0.class │ │ │ │ │ │ ├── Async0.java │ │ │ │ │ │ ├── Async1$1.class │ │ │ │ │ │ ├── Async1.class │ │ │ │ │ │ ├── Async1.java │ │ │ │ │ │ ├── Async2$1.class │ │ │ │ │ │ ├── Async2.class │ │ │ │ │ │ ├── Async2.java │ │ │ │ │ │ ├── Async3.class │ │ │ │ │ │ ├── Async3.java │ │ │ │ │ │ ├── AsyncStockContextListener.class │ │ │ │ │ │ ├── AsyncStockContextListener.java │ │ │ │ │ │ ├── AsyncStockServlet.class │ │ │ │ │ │ ├── AsyncStockServlet.java │ │ │ │ │ │ ├── Stockticker$Stock.class │ │ │ │ │ │ ├── Stockticker$TickListener.class │ │ │ │ │ │ ├── Stockticker.class │ │ │ │ │ │ └── Stockticker.java │ │ │ │ │ ├── cal │ │ │ │ │ │ ├── Entries.class │ │ │ │ │ │ ├── Entries.java │ │ │ │ │ │ ├── Entry.class │ │ │ │ │ │ ├── Entry.java │ │ │ │ │ │ ├── JspCalendar.class │ │ │ │ │ │ ├── JspCalendar.java │ │ │ │ │ │ ├── TableBean.class │ │ │ │ │ │ └── TableBean.java │ │ │ │ │ ├── checkbox │ │ │ │ │ │ ├── CheckTest.class │ │ │ │ │ │ └── CheckTest.java │ │ │ │ │ ├── colors │ │ │ │ │ │ ├── ColorGameBean.class │ │ │ │ │ │ └── ColorGameBean.java │ │ │ │ │ ├── compressionFilters │ │ │ │ │ │ ├── CompressionFilter.class │ │ │ │ │ │ ├── CompressionFilter.java │ │ │ │ │ │ ├── CompressionFilterTestServlet.class │ │ │ │ │ │ ├── CompressionFilterTestServlet.java │ │ │ │ │ │ ├── CompressionResponseStream.class │ │ │ │ │ │ ├── CompressionResponseStream.java │ │ │ │ │ │ ├── CompressionServletResponseWrapper.class │ │ │ │ │ │ └── CompressionServletResponseWrapper.java │ │ │ │ │ ├── dates │ │ │ │ │ │ ├── JspCalendar.class │ │ │ │ │ │ └── JspCalendar.java │ │ │ │ │ ├── error │ │ │ │ │ │ ├── Smart.class │ │ │ │ │ │ └── Smart.java │ │ │ │ │ ├── examples │ │ │ │ │ │ ├── ExampleTagBase.class │ │ │ │ │ │ ├── ExampleTagBase.java │ │ │ │ │ │ ├── FooTag.class │ │ │ │ │ │ ├── FooTag.java │ │ │ │ │ │ ├── FooTagExtraInfo.class │ │ │ │ │ │ ├── FooTagExtraInfo.java │ │ │ │ │ │ ├── LogTag.class │ │ │ │ │ │ ├── LogTag.java │ │ │ │ │ │ ├── ShowSource.class │ │ │ │ │ │ ├── ShowSource.java │ │ │ │ │ │ ├── ValuesTag.class │ │ │ │ │ │ └── ValuesTag.java │ │ │ │ │ ├── filters │ │ │ │ │ │ ├── ExampleFilter.class │ │ │ │ │ │ └── ExampleFilter.java │ │ │ │ │ ├── http2 │ │ │ │ │ │ ├── SimpleImagePush.class │ │ │ │ │ │ └── SimpleImagePush.java │ │ │ │ │ ├── jsp2 │ │ │ │ │ │ └── examples │ │ │ │ │ │ │ ├── BookBean.class │ │ │ │ │ │ │ ├── BookBean.java │ │ │ │ │ │ │ ├── FooBean.class │ │ │ │ │ │ │ ├── FooBean.java │ │ │ │ │ │ │ ├── ValuesBean.class │ │ │ │ │ │ │ ├── ValuesBean.java │ │ │ │ │ │ │ ├── el │ │ │ │ │ │ │ ├── Functions.class │ │ │ │ │ │ │ └── Functions.java │ │ │ │ │ │ │ └── simpletag │ │ │ │ │ │ │ ├── EchoAttributesTag.class │ │ │ │ │ │ │ ├── EchoAttributesTag.java │ │ │ │ │ │ │ ├── FindBookSimpleTag.class │ │ │ │ │ │ │ ├── FindBookSimpleTag.java │ │ │ │ │ │ │ ├── HelloWorldSimpleTag.class │ │ │ │ │ │ │ ├── HelloWorldSimpleTag.java │ │ │ │ │ │ │ ├── RepeatSimpleTag.class │ │ │ │ │ │ │ ├── RepeatSimpleTag.java │ │ │ │ │ │ │ ├── ShuffleSimpleTag.class │ │ │ │ │ │ │ ├── ShuffleSimpleTag.java │ │ │ │ │ │ │ ├── TileSimpleTag.class │ │ │ │ │ │ │ └── TileSimpleTag.java │ │ │ │ │ ├── listeners │ │ │ │ │ │ ├── ContextListener.class │ │ │ │ │ │ ├── ContextListener.java │ │ │ │ │ │ ├── SessionListener.class │ │ │ │ │ │ └── SessionListener.java │ │ │ │ │ ├── nonblocking │ │ │ │ │ │ ├── ByteCounter$1.class │ │ │ │ │ │ ├── ByteCounter$CounterListener.class │ │ │ │ │ │ ├── ByteCounter.class │ │ │ │ │ │ ├── ByteCounter.java │ │ │ │ │ │ ├── NumberWriter$1.class │ │ │ │ │ │ ├── NumberWriter$NumberWriterListener.class │ │ │ │ │ │ ├── NumberWriter.class │ │ │ │ │ │ └── NumberWriter.java │ │ │ │ │ ├── num │ │ │ │ │ │ ├── NumberGuessBean.class │ │ │ │ │ │ └── NumberGuessBean.java │ │ │ │ │ ├── sessions │ │ │ │ │ │ ├── DummyCart.class │ │ │ │ │ │ └── DummyCart.java │ │ │ │ │ ├── trailers │ │ │ │ │ │ ├── ResponseTrailers$1.class │ │ │ │ │ │ ├── ResponseTrailers$TrailerFieldSupplier.class │ │ │ │ │ │ ├── ResponseTrailers.class │ │ │ │ │ │ └── ResponseTrailers.java │ │ │ │ │ ├── util │ │ │ │ │ │ ├── CookieFilter.class │ │ │ │ │ │ ├── CookieFilter.java │ │ │ │ │ │ ├── HTMLFilter.class │ │ │ │ │ │ └── HTMLFilter.java │ │ │ │ │ ├── validators │ │ │ │ │ │ ├── DebugValidator.class │ │ │ │ │ │ └── DebugValidator.java │ │ │ │ │ └── websocket │ │ │ │ │ │ ├── ExamplesConfig.class │ │ │ │ │ │ ├── ExamplesConfig.java │ │ │ │ │ │ ├── chat │ │ │ │ │ │ ├── ChatAnnotation.class │ │ │ │ │ │ └── ChatAnnotation.java │ │ │ │ │ │ ├── drawboard │ │ │ │ │ │ ├── Client$1.class │ │ │ │ │ │ ├── Client.class │ │ │ │ │ │ ├── Client.java │ │ │ │ │ │ ├── DrawMessage$ParseException.class │ │ │ │ │ │ ├── DrawMessage.class │ │ │ │ │ │ ├── DrawMessage.java │ │ │ │ │ │ ├── DrawboardContextListener.class │ │ │ │ │ │ ├── DrawboardContextListener.java │ │ │ │ │ │ ├── DrawboardEndpoint$1.class │ │ │ │ │ │ ├── DrawboardEndpoint$2.class │ │ │ │ │ │ ├── DrawboardEndpoint$3$1.class │ │ │ │ │ │ ├── DrawboardEndpoint$3.class │ │ │ │ │ │ ├── DrawboardEndpoint.class │ │ │ │ │ │ ├── DrawboardEndpoint.java │ │ │ │ │ │ ├── Room$1$1.class │ │ │ │ │ │ ├── Room$1.class │ │ │ │ │ │ ├── Room$2.class │ │ │ │ │ │ ├── Room$MessageType.class │ │ │ │ │ │ ├── Room$Player.class │ │ │ │ │ │ ├── Room.class │ │ │ │ │ │ ├── Room.java │ │ │ │ │ │ └── wsmessages │ │ │ │ │ │ │ ├── AbstractWebsocketMessage.class │ │ │ │ │ │ │ ├── AbstractWebsocketMessage.java │ │ │ │ │ │ │ ├── BinaryWebsocketMessage.class │ │ │ │ │ │ │ ├── BinaryWebsocketMessage.java │ │ │ │ │ │ │ ├── CloseWebsocketMessage.class │ │ │ │ │ │ │ ├── CloseWebsocketMessage.java │ │ │ │ │ │ │ ├── StringWebsocketMessage.class │ │ │ │ │ │ │ └── StringWebsocketMessage.java │ │ │ │ │ │ ├── echo │ │ │ │ │ │ ├── EchoAnnotation.class │ │ │ │ │ │ ├── EchoAnnotation.java │ │ │ │ │ │ ├── EchoAsyncAnnotation$1.class │ │ │ │ │ │ ├── EchoAsyncAnnotation$CompletedFuture.class │ │ │ │ │ │ ├── EchoAsyncAnnotation.class │ │ │ │ │ │ ├── EchoAsyncAnnotation.java │ │ │ │ │ │ ├── EchoEndpoint$1.class │ │ │ │ │ │ ├── EchoEndpoint$EchoMessageHandlerBinary.class │ │ │ │ │ │ ├── EchoEndpoint$EchoMessageHandlerText.class │ │ │ │ │ │ ├── EchoEndpoint.class │ │ │ │ │ │ ├── EchoEndpoint.java │ │ │ │ │ │ ├── EchoStreamAnnotation.class │ │ │ │ │ │ ├── EchoStreamAnnotation.java │ │ │ │ │ │ └── servers.json │ │ │ │ │ │ └── snake │ │ │ │ │ │ ├── Direction.class │ │ │ │ │ │ ├── Direction.java │ │ │ │ │ │ ├── Location$1.class │ │ │ │ │ │ ├── Location.class │ │ │ │ │ │ ├── Location.java │ │ │ │ │ │ ├── Snake.class │ │ │ │ │ │ ├── Snake.java │ │ │ │ │ │ ├── SnakeAnnotation.class │ │ │ │ │ │ ├── SnakeAnnotation.java │ │ │ │ │ │ ├── SnakeTimer$1.class │ │ │ │ │ │ ├── SnakeTimer.class │ │ │ │ │ │ └── SnakeTimer.java │ │ │ │ ├── jsp │ │ │ │ │ ├── applet │ │ │ │ │ │ └── Clock2.java │ │ │ │ │ ├── debug-taglib.tld │ │ │ │ │ └── example-taglib.tld │ │ │ │ ├── jsp2 │ │ │ │ │ └── jsp2-example-taglib.tld │ │ │ │ ├── lib │ │ │ │ │ ├── taglibs-standard-impl-1.2.5.jar │ │ │ │ │ └── taglibs-standard-spec-1.2.5.jar │ │ │ │ ├── tags │ │ │ │ │ ├── displayProducts.tag │ │ │ │ │ ├── helloWorld.tag │ │ │ │ │ └── panel.tag │ │ │ │ └── web.xml │ │ │ ├── index.html │ │ │ ├── jsp │ │ │ │ ├── async │ │ │ │ │ ├── async1.jsp │ │ │ │ │ ├── async1.jsp.html │ │ │ │ │ ├── async3.jsp │ │ │ │ │ ├── async3.jsp.html │ │ │ │ │ ├── index.jsp │ │ │ │ │ └── index.jsp.html │ │ │ │ ├── cal │ │ │ │ │ ├── Entries.java.html │ │ │ │ │ ├── Entry.java.html │ │ │ │ │ ├── JspCalendar.java.html │ │ │ │ │ ├── TableBean.java.html │ │ │ │ │ ├── cal1.jsp │ │ │ │ │ ├── cal1.jsp.html │ │ │ │ │ ├── cal2.jsp │ │ │ │ │ ├── cal2.jsp.html │ │ │ │ │ ├── calendar.html │ │ │ │ │ └── login.html │ │ │ │ ├── checkbox │ │ │ │ │ ├── CheckTest.html │ │ │ │ │ ├── check.html │ │ │ │ │ ├── checkresult.jsp │ │ │ │ │ ├── checkresult.jsp.html │ │ │ │ │ └── cresult.html │ │ │ │ ├── colors │ │ │ │ │ ├── ColorGameBean.html │ │ │ │ │ ├── clr.html │ │ │ │ │ ├── colors.html │ │ │ │ │ ├── colrs.jsp │ │ │ │ │ └── colrs.jsp.html │ │ │ │ ├── dates │ │ │ │ │ ├── date.html │ │ │ │ │ ├── date.jsp │ │ │ │ │ └── date.jsp.html │ │ │ │ ├── error │ │ │ │ │ ├── er.html │ │ │ │ │ ├── err.jsp │ │ │ │ │ ├── err.jsp.html │ │ │ │ │ ├── error.html │ │ │ │ │ ├── errorpge.jsp │ │ │ │ │ └── errorpge.jsp.html │ │ │ │ ├── forward │ │ │ │ │ ├── forward.jsp │ │ │ │ │ ├── forward.jsp.html │ │ │ │ │ ├── fwd.html │ │ │ │ │ ├── one.jsp │ │ │ │ │ ├── one.jsp.html │ │ │ │ │ └── two.html │ │ │ │ ├── images │ │ │ │ │ ├── code.gif │ │ │ │ │ ├── execute.gif │ │ │ │ │ └── return.gif │ │ │ │ ├── include │ │ │ │ │ ├── foo.html │ │ │ │ │ ├── foo.jsp │ │ │ │ │ ├── foo.jsp.html │ │ │ │ │ ├── inc.html │ │ │ │ │ ├── include.jsp │ │ │ │ │ └── include.jsp.html │ │ │ │ ├── index.html │ │ │ │ ├── jsp2 │ │ │ │ │ ├── el │ │ │ │ │ │ ├── Functions.java.html │ │ │ │ │ │ ├── ValuesBean.java.html │ │ │ │ │ │ ├── ValuesTag.java.html │ │ │ │ │ │ ├── basic-arithmetic.html │ │ │ │ │ │ ├── basic-arithmetic.jsp │ │ │ │ │ │ ├── basic-arithmetic.jsp.html │ │ │ │ │ │ ├── basic-comparisons.html │ │ │ │ │ │ ├── basic-comparisons.jsp │ │ │ │ │ │ ├── basic-comparisons.jsp.html │ │ │ │ │ │ ├── composite.html │ │ │ │ │ │ ├── composite.jsp │ │ │ │ │ │ ├── composite.jsp.html │ │ │ │ │ │ ├── functions.html │ │ │ │ │ │ ├── functions.jsp │ │ │ │ │ │ ├── functions.jsp.html │ │ │ │ │ │ ├── implicit-objects.html │ │ │ │ │ │ ├── implicit-objects.jsp │ │ │ │ │ │ └── implicit-objects.jsp.html │ │ │ │ │ ├── jspattribute │ │ │ │ │ │ ├── FooBean.java.html │ │ │ │ │ │ ├── HelloWorldSimpleTag.java.html │ │ │ │ │ │ ├── ShuffleSimpleTag.java.html │ │ │ │ │ │ ├── TileSimpleTag.java.html │ │ │ │ │ │ ├── jspattribute.html │ │ │ │ │ │ ├── jspattribute.jsp │ │ │ │ │ │ ├── jspattribute.jsp.html │ │ │ │ │ │ ├── shuffle.html │ │ │ │ │ │ ├── shuffle.jsp │ │ │ │ │ │ └── shuffle.jsp.html │ │ │ │ │ ├── jspx │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ ├── basic.jspx │ │ │ │ │ │ ├── basic.jspx.html │ │ │ │ │ │ ├── svgexample.html │ │ │ │ │ │ ├── textRotate.html │ │ │ │ │ │ ├── textRotate.jpg │ │ │ │ │ │ ├── textRotate.jspx │ │ │ │ │ │ └── textRotate.jspx.html │ │ │ │ │ ├── misc │ │ │ │ │ │ ├── EchoAttributesTag.java.html │ │ │ │ │ │ ├── coda.jspf │ │ │ │ │ │ ├── coda.jspf.html │ │ │ │ │ │ ├── config.html │ │ │ │ │ │ ├── config.jsp │ │ │ │ │ │ ├── config.jsp.html │ │ │ │ │ │ ├── dynamicattrs.html │ │ │ │ │ │ ├── dynamicattrs.jsp │ │ │ │ │ │ ├── dynamicattrs.jsp.html │ │ │ │ │ │ ├── prelude.jspf │ │ │ │ │ │ └── prelude.jspf.html │ │ │ │ │ ├── simpletag │ │ │ │ │ │ ├── BookBean.java.html │ │ │ │ │ │ ├── FindBookSimpleTag.java.html │ │ │ │ │ │ ├── Functions.java.html │ │ │ │ │ │ ├── HelloWorldSimpleTag.java.html │ │ │ │ │ │ ├── RepeatSimpleTag.java.html │ │ │ │ │ │ ├── book.html │ │ │ │ │ │ ├── book.jsp │ │ │ │ │ │ ├── book.jsp.html │ │ │ │ │ │ ├── hello.html │ │ │ │ │ │ ├── hello.jsp │ │ │ │ │ │ ├── hello.jsp.html │ │ │ │ │ │ ├── repeat.html │ │ │ │ │ │ ├── repeat.jsp │ │ │ │ │ │ └── repeat.jsp.html │ │ │ │ │ └── tagfiles │ │ │ │ │ │ ├── displayProducts.tag.html │ │ │ │ │ │ ├── hello.html │ │ │ │ │ │ ├── hello.jsp │ │ │ │ │ │ ├── hello.jsp.html │ │ │ │ │ │ ├── helloWorld.tag.html │ │ │ │ │ │ ├── panel.html │ │ │ │ │ │ ├── panel.jsp │ │ │ │ │ │ ├── panel.jsp.html │ │ │ │ │ │ ├── panel.tag.html │ │ │ │ │ │ ├── products.html │ │ │ │ │ │ ├── products.jsp │ │ │ │ │ │ └── products.jsp.html │ │ │ │ ├── jsptoserv │ │ │ │ │ ├── ServletToJsp.java.html │ │ │ │ │ ├── hello.jsp │ │ │ │ │ ├── hello.jsp.html │ │ │ │ │ ├── jsptoservlet.jsp │ │ │ │ │ ├── jsptoservlet.jsp.html │ │ │ │ │ └── jts.html │ │ │ │ ├── num │ │ │ │ │ ├── numguess.html │ │ │ │ │ ├── numguess.jsp │ │ │ │ │ └── numguess.jsp.html │ │ │ │ ├── plugin │ │ │ │ │ ├── applet │ │ │ │ │ │ ├── Clock2.class │ │ │ │ │ │ └── Clock2.java │ │ │ │ │ ├── plugin.html │ │ │ │ │ ├── plugin.jsp │ │ │ │ │ └── plugin.jsp.html │ │ │ │ ├── security │ │ │ │ │ └── protected │ │ │ │ │ │ ├── error.jsp │ │ │ │ │ │ ├── error.jsp.html │ │ │ │ │ │ ├── index.jsp │ │ │ │ │ │ ├── index.jsp.html │ │ │ │ │ │ ├── login.jsp │ │ │ │ │ │ └── login.jsp.html │ │ │ │ ├── sessions │ │ │ │ │ ├── DummyCart.html │ │ │ │ │ ├── carts.html │ │ │ │ │ ├── carts.jsp │ │ │ │ │ ├── carts.jsp.html │ │ │ │ │ └── crt.html │ │ │ │ ├── simpletag │ │ │ │ │ ├── foo.html │ │ │ │ │ ├── foo.jsp │ │ │ │ │ └── foo.jsp.html │ │ │ │ ├── snp │ │ │ │ │ ├── snoop.html │ │ │ │ │ ├── snoop.jsp │ │ │ │ │ └── snoop.jsp.html │ │ │ │ ├── source.jsp │ │ │ │ ├── source.jsp.html │ │ │ │ ├── tagplugin │ │ │ │ │ ├── choose.html │ │ │ │ │ ├── choose.jsp │ │ │ │ │ ├── choose.jsp.html │ │ │ │ │ ├── foreach.html │ │ │ │ │ ├── foreach.jsp │ │ │ │ │ ├── foreach.jsp.html │ │ │ │ │ ├── howto.html │ │ │ │ │ ├── if.html │ │ │ │ │ ├── if.jsp │ │ │ │ │ ├── if.jsp.html │ │ │ │ │ └── notes.html │ │ │ │ └── xml │ │ │ │ │ ├── xml.html │ │ │ │ │ ├── xml.jsp │ │ │ │ │ └── xml.jsp.html │ │ │ ├── servlets │ │ │ │ ├── cookies.html │ │ │ │ ├── helloworld.html │ │ │ │ ├── images │ │ │ │ │ ├── code.gif │ │ │ │ │ ├── execute.gif │ │ │ │ │ └── return.gif │ │ │ │ ├── index.html │ │ │ │ ├── nonblocking │ │ │ │ │ └── bytecounter.html │ │ │ │ ├── reqheaders.html │ │ │ │ ├── reqinfo.html │ │ │ │ ├── reqparams.html │ │ │ │ └── sessions.html │ │ │ └── websocket │ │ │ │ ├── chat.xhtml │ │ │ │ ├── drawboard.xhtml │ │ │ │ ├── echo.xhtml │ │ │ │ ├── index.xhtml │ │ │ │ └── snake.xhtml │ │ ├── hello │ │ │ ├── WEB-INF │ │ │ │ ├── classes │ │ │ │ │ ├── AnotherHelloServlet.class │ │ │ │ │ ├── AnotherHelloServlet.java │ │ │ │ │ ├── HelloServlet.class │ │ │ │ │ └── HelloServlet.java │ │ │ │ └── web.xml │ │ │ └── index.html │ │ ├── host-manager │ │ │ ├── META-INF │ │ │ │ └── context.xml │ │ │ ├── WEB-INF │ │ │ │ ├── jsp │ │ │ │ │ ├── 401.jsp │ │ │ │ │ ├── 403.jsp │ │ │ │ │ └── 404.jsp │ │ │ │ └── web.xml │ │ │ ├── images │ │ │ │ ├── asf-logo.svg │ │ │ │ └── tomcat.gif │ │ │ ├── index.jsp │ │ │ └── manager.xml │ │ └── manager │ │ │ ├── META-INF │ │ │ └── context.xml │ │ │ ├── WEB-INF │ │ │ ├── jsp │ │ │ │ ├── 401.jsp │ │ │ │ ├── 403.jsp │ │ │ │ ├── 404.jsp │ │ │ │ ├── connectorCerts.jsp │ │ │ │ ├── connectorCiphers.jsp │ │ │ │ ├── connectorTrustedCerts.jsp │ │ │ │ ├── sessionDetail.jsp │ │ │ │ └── sessionsList.jsp │ │ │ └── web.xml │ │ │ ├── images │ │ │ ├── asf-logo.svg │ │ │ └── tomcat.gif │ │ │ ├── index.jsp │ │ │ ├── status.xsd │ │ │ └── xform.xsl │ └── work │ │ └── Catalina │ │ └── localhost │ │ ├── ROOT │ │ └── org │ │ │ └── apache │ │ │ └── jsp │ │ │ ├── index_jsp.class │ │ │ └── index_jsp.java │ │ └── manager │ │ └── org │ │ └── apache │ │ └── jsp │ │ └── WEB_002dINF │ │ └── jsp │ │ ├── _401_jsp.class │ │ └── _401_jsp.java └── README.md ├── reliable-services-actor-sample ├── .gitignore ├── Actors │ ├── ActorCounter │ │ ├── .project │ │ ├── CounterActorApplication │ │ │ ├── ApplicationManifest.xml │ │ │ └── CounterActorPkg │ │ │ │ ├── Code │ │ │ │ └── sample.sh │ │ │ │ ├── Config │ │ │ │ └── Settings.xml │ │ │ │ ├── Data │ │ │ │ └── _readme.txt │ │ │ │ └── ServiceManifest.xml │ │ ├── CounterActorService │ │ │ ├── .project │ │ │ ├── build.gradle │ │ │ ├── settings.gradle │ │ │ └── src │ │ │ │ └── counteractor │ │ │ │ ├── CounterActorHost.java │ │ │ │ └── CounterActorImpl.java │ │ ├── CounterInterface │ │ │ ├── .project │ │ │ ├── build.gradle │ │ │ └── src │ │ │ │ └── counterinterface │ │ │ │ └── CounterActor.java │ │ ├── PublishProfiles │ │ │ ├── Cloud.json │ │ │ └── Local.json │ │ ├── Readme │ │ ├── Scripts │ │ │ ├── connect.sh │ │ │ ├── deploy.sh │ │ │ ├── install.sh │ │ │ ├── uninstall.sh │ │ │ └── upgrade.sh │ │ ├── TestClient │ │ │ ├── .project │ │ │ ├── HowToRun.txt │ │ │ ├── build.gradle │ │ │ ├── settings.gradle │ │ │ └── src │ │ │ │ └── counterclient │ │ │ │ └── CounterClient.java │ │ ├── build.gradle │ │ └── settings.gradle │ ├── VisualObjectActor │ │ ├── .project │ │ ├── PublishProfiles │ │ │ ├── Cloud.json │ │ │ └── Local.json │ │ ├── Readme │ │ ├── Scripts │ │ │ ├── connect.sh │ │ │ ├── deploy.sh │ │ │ ├── install.sh │ │ │ ├── uninstall.sh │ │ │ └── upgrade.sh │ │ ├── VisualObjectActorService │ │ │ ├── .project │ │ │ ├── build.gradle │ │ │ ├── settings.gradle │ │ │ └── src │ │ │ │ └── visualobjectactorservice │ │ │ │ ├── VisualObjectActorHost.java │ │ │ │ └── VisualObjectActorImpl.java │ │ ├── VisualObjectApplication │ │ │ ├── ApplicationManifest.xml │ │ │ ├── VisualObjects.ActorServicePkg │ │ │ │ ├── Code │ │ │ │ │ └── sample.sh │ │ │ │ ├── Config │ │ │ │ │ └── Settings.xml │ │ │ │ ├── Data │ │ │ │ │ └── _readme.txt │ │ │ │ └── ServiceManifest.xml │ │ │ └── VisualObjects.WebServicePkg │ │ │ │ ├── Code │ │ │ │ ├── sample.sh │ │ │ │ └── wwwroot │ │ │ │ │ ├── demo.js │ │ │ │ │ ├── favicon.ico │ │ │ │ │ ├── index.html │ │ │ │ │ └── paper-full.js │ │ │ │ ├── Config │ │ │ │ └── Settings.xml │ │ │ │ ├── Data │ │ │ │ └── _readme.txt │ │ │ │ └── ServiceManifest.xml │ │ ├── VisualObjectCommon │ │ │ ├── .project │ │ │ ├── build.gradle │ │ │ └── src │ │ │ │ └── visualobjectcommon │ │ │ │ ├── Color.java │ │ │ │ ├── Coordinate.java │ │ │ │ ├── Speed.java │ │ │ │ ├── VisualObject.java │ │ │ │ └── VisualObjectActor.java │ │ ├── VisualObjectWebService │ │ │ ├── .project │ │ │ ├── build.gradle │ │ │ ├── settings.gradle │ │ │ └── src │ │ │ │ └── visualobjectwebservice │ │ │ │ ├── VisualObjectWebService.java │ │ │ │ ├── VisualObjectWebServiceHost.java │ │ │ │ ├── VisualObjectsBox.java │ │ │ │ ├── VisualObjectsBoxImpl.java │ │ │ │ ├── WebCommunicationListener.java │ │ │ │ └── WebSocketApp.java │ │ ├── build.gradle │ │ └── settings.gradle │ ├── build.gradle │ └── settings.gradle ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── Services │ ├── EchoServer │ │ ├── EchoServer1.0 │ │ │ ├── .gitignore │ │ │ ├── .project │ │ │ ├── EchoServerApplication │ │ │ │ ├── ApplicationManifest.xml │ │ │ │ └── EchoServerPkg │ │ │ │ │ ├── Code │ │ │ │ │ └── sample.sh │ │ │ │ │ ├── Config │ │ │ │ │ └── _readme.txt │ │ │ │ │ ├── Data │ │ │ │ │ └── _readme.txt │ │ │ │ │ └── ServiceManifest.xml │ │ │ ├── EchoServerService │ │ │ │ ├── .project │ │ │ │ ├── build.gradle │ │ │ │ ├── settings.gradle │ │ │ │ └── src │ │ │ │ │ └── echoserver │ │ │ │ │ ├── EchoServerService.java │ │ │ │ │ ├── EchoServerServiceHost.java │ │ │ │ │ ├── HttpServer.java │ │ │ │ │ └── WebCommunicationListener.java │ │ │ ├── PublishProfiles │ │ │ │ ├── Cloud.json │ │ │ │ └── Local.json │ │ │ ├── ReadMe │ │ │ ├── Scripts │ │ │ │ ├── connect.sh │ │ │ │ ├── deploy.sh │ │ │ │ ├── install.sh │ │ │ │ ├── uninstall.sh │ │ │ │ └── upgrade.sh │ │ │ ├── build.gradle │ │ │ └── settings.gradle │ │ ├── EchoServer2.0 │ │ │ ├── .gitignore │ │ │ ├── .project │ │ │ ├── EchoServerApplication2 │ │ │ │ ├── ApplicationManifest.xml │ │ │ │ └── EchoServerPkg │ │ │ │ │ ├── Code │ │ │ │ │ └── sample.sh │ │ │ │ │ ├── Config │ │ │ │ │ └── _readme.txt │ │ │ │ │ ├── Data │ │ │ │ │ └── _readme.txt │ │ │ │ │ └── ServiceManifest.xml │ │ │ ├── EchoServerService │ │ │ │ ├── .project │ │ │ │ ├── build.gradle │ │ │ │ ├── setttings.gradle │ │ │ │ └── src │ │ │ │ │ └── echoserver │ │ │ │ │ ├── EchoServerService.java │ │ │ │ │ ├── EchoServerServiceHost.java │ │ │ │ │ ├── HttpServer.java │ │ │ │ │ └── WebCommunicationListener.java │ │ │ ├── PublishProfiles │ │ │ │ ├── Cloud.json │ │ │ │ └── Local.json │ │ │ ├── Readme │ │ │ ├── Scripts │ │ │ │ ├── connect.sh │ │ │ │ ├── deploy.sh │ │ │ │ ├── install.sh │ │ │ │ ├── uninstall.sh │ │ │ │ └── upgrade.sh │ │ │ ├── build.gradle │ │ │ └── settings.gradle │ │ ├── build.gradle │ │ └── settings.gradle │ ├── Gateway │ │ ├── .project │ │ ├── GatewayApplication │ │ │ ├── ApplicationManifest.xml │ │ │ └── GatewayPkg │ │ │ │ ├── Code │ │ │ │ └── sample.sh │ │ │ │ ├── Config │ │ │ │ └── Settings.xml │ │ │ │ ├── Data │ │ │ │ └── _readme.txt │ │ │ │ └── ServiceManifest.xml │ │ ├── GatewayService │ │ │ ├── .project │ │ │ ├── build.gradle │ │ │ ├── settings.gradle │ │ │ └── src │ │ │ │ └── gateway │ │ │ │ ├── GatewayService.java │ │ │ │ ├── GatewayServiceHost.java │ │ │ │ └── HttpCommunicationListener.java │ │ ├── PublishProfiles │ │ │ ├── Cloud.json │ │ │ └── Local.json │ │ ├── Readme │ │ ├── Scripts │ │ │ ├── connect.sh │ │ │ ├── deploy.sh │ │ │ ├── install.sh │ │ │ ├── uninstall.sh │ │ │ └── upgrade.sh │ │ ├── build.gradle │ │ └── settings.gradle │ ├── WatchDog │ │ ├── .project │ │ ├── PublishProfiles │ │ │ ├── Cloud.json │ │ │ └── Local.json │ │ ├── Readme │ │ ├── Scripts │ │ │ ├── connect.sh │ │ │ ├── deploy.sh │ │ │ ├── install.sh │ │ │ ├── uninstall.sh │ │ │ └── upgrade.sh │ │ ├── WatchdogApplication │ │ │ ├── ApplicationManifest.xml │ │ │ └── WatchdogPkg │ │ │ │ ├── Code │ │ │ │ └── sample.sh │ │ │ │ ├── Config │ │ │ │ ├── Settings.xml │ │ │ │ └── _readme.txt │ │ │ │ ├── Data │ │ │ │ └── _readme.txt │ │ │ │ └── ServiceManifest.xml │ │ ├── WatchdogService │ │ │ ├── .project │ │ │ ├── build.gradle │ │ │ ├── settings.gradle │ │ │ └── src │ │ │ │ └── watchdog │ │ │ │ ├── CommunicationExceptionHandler.java │ │ │ │ ├── HttpCommunicationClient.java │ │ │ │ ├── HttpCommunicationClientFactory.java │ │ │ │ ├── HttpCommunicationListener.java │ │ │ │ ├── Monitor.java │ │ │ │ ├── WatchDogService.java │ │ │ │ └── WatchDogServiceHost.java │ │ ├── build.gradle │ │ └── settings.gradle │ ├── build.gradle │ └── settings.gradle ├── build.gradle └── settings.gradle ├── reliable-services-embedded-jetty-sample ├── .gitignore ├── .project ├── EmbeddedJettyApplication │ ├── ApplicationManifest.xml │ └── EmbeddedJettyServerPkg │ │ ├── Code │ │ └── entryPoint.sh │ │ ├── Config │ │ └── Settings.xml │ │ ├── Data │ │ └── _readme.txt │ │ └── ServiceManifest.xml ├── EmbeddedJettyServer │ ├── .project │ ├── build.gradle │ └── src │ │ └── statelessservice │ │ ├── EmbeddedJettyServerService.java │ │ ├── EmbeddedJettyServerServiceHost.java │ │ └── HttpCommunicationListener.java ├── PublishProfiles │ ├── Cloud.json │ └── Local.json ├── README.md ├── Scripts │ ├── connect.sh │ ├── deploy.sh │ ├── install.sh │ ├── uninstall.sh │ └── upgrade.sh ├── build.gradle └── settings.gradle └── reliable-services-httpcommunication-sample ├── .gitignore ├── README.md └── Voting ├── .project ├── PublishProfiles ├── Cloud.json └── Local.json ├── Scripts ├── connect.sh ├── deploy.sh ├── install.sh ├── uninstall.sh └── upgrade.sh ├── VotingApplication ├── ApplicationManifest.xml ├── VotingDataServicePkg │ ├── Code │ │ └── entryPoint.sh │ ├── Config │ │ └── Settings.xml │ ├── Data │ │ └── _readme.txt │ └── ServiceManifest.xml └── VotingWebPkg │ ├── Code │ ├── entryPoint.sh │ └── wwwroot │ │ ├── favicon.ico │ │ └── index.html │ ├── Config │ └── Settings.xml │ ├── Data │ └── _readme.txt │ └── ServiceManifest.xml ├── VotingDataService ├── .project ├── build.gradle └── src │ └── statefulservice │ ├── HttpCommunicationListener.java │ ├── HttpServer.java │ ├── VotingDataService.java │ └── VotingDataServiceHost.java ├── VotingWeb ├── .project ├── build.gradle └── src │ └── statelessservice │ ├── CommunicationExceptionHandler.java │ ├── HttpCommunicationClient.java │ ├── HttpCommunicationClientFactory.java │ ├── HttpCommunicationListener.java │ ├── VotingWebService.java │ └── VotingWebServiceHost.java ├── build.gradle └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | build/ 3 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/.DS_Store -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/.DS_Store -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/bin/bootstrap.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/bin/bootstrap.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/bin/commons-daemon-native.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/bin/commons-daemon-native.tar.gz -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/bin/commons-daemon.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/bin/commons-daemon.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/bin/tomcat-juli.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/bin/tomcat-juli.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/bin/tomcat-native.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/bin/tomcat-native.tar.gz -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/annotations-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/annotations-api.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/catalina-ant.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/catalina-ant.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/catalina-ha.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/catalina-ha.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/catalina-storeconfig.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/catalina-storeconfig.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/catalina-tribes.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/catalina-tribes.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/catalina.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/catalina.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/ecj-4.6.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/ecj-4.6.3.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/el-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/el-api.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/jasper-el.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/jasper-el.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/jasper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/jasper.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/jaspic-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/jaspic-api.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/jsp-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/jsp-api.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/servlet-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/servlet-api.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-api.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-coyote.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-coyote.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-dbcp.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-dbcp.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-i18n-es.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-i18n-es.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-i18n-fr.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-i18n-fr.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-i18n-ja.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-i18n-ja.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-jdbc.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-jdbc.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-jni.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-jni.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-util-scan.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-util-scan.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-util.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-util.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-websocket.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/tomcat-websocket.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/lib/websocket-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/lib/websocket-api.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/logs/catalina.2018-03-05.log: -------------------------------------------------------------------------------- 1 | 05-Mar-2018 08:46:14.052 INFO [Thread-5] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-9999"] 2 | 05-Mar-2018 08:46:14.080 INFO [Thread-5] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"] 3 | 05-Mar-2018 08:46:14.136 INFO [Thread-5] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina] 4 | 05-Mar-2018 08:46:14.184 INFO [Thread-5] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-9999"] 5 | 05-Mar-2018 08:46:14.189 INFO [Thread-5] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"] 6 | 05-Mar-2018 08:46:14.191 INFO [Thread-5] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-9999"] 7 | 05-Mar-2018 08:46:14.192 INFO [Thread-5] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"] 8 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/logs/host-manager.2018-03-02.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/logs/host-manager.2018-03-02.log -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/logs/host-manager.2018-03-09.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/logs/host-manager.2018-03-09.log -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/logs/host-manager.2018-03-12.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/logs/host-manager.2018-03-12.log -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/logs/host-manager.2018-05-21.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/logs/host-manager.2018-05-21.log -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/logs/localhost.2018-03-05.log: -------------------------------------------------------------------------------- 1 | 05-Mar-2018 08:46:14.171 INFO [Thread-5] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 2 | 05-Mar-2018 08:46:14.171 INFO [Thread-5] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 3 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/logs/localhost.2018-03-09.log: -------------------------------------------------------------------------------- 1 | 09-Mar-2018 15:23:08.007 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 2 | 09-Mar-2018 15:23:08.007 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 3 | 09-Mar-2018 15:23:08.008 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@4d1c00d0') 4 | 09-Mar-2018 17:22:12.703 INFO [Thread-5] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 5 | 09-Mar-2018 17:22:12.703 INFO [Thread-5] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 6 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/logs/localhost.2018-05-21.log: -------------------------------------------------------------------------------- 1 | 21-May-2018 23:24:02.663 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 2 | 21-May-2018 23:24:02.664 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 3 | 21-May-2018 23:24:02.669 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@1ce24091') 4 | 21-May-2018 23:27:42.252 INFO [Thread-5] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 5 | 21-May-2018 23:27:42.252 INFO [Thread-5] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 6 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/logs/localhost_access_log.2018-03-09.txt: -------------------------------------------------------------------------------- 1 | 0:0:0:0:0:0:0:1 - - [09/Mar/2018:15:24:10 -0800] "GET /hello HTTP/1.1" 302 - 2 | 0:0:0:0:0:0:0:1 - - [09/Mar/2018:15:24:10 -0800] "GET /hello/ HTTP/1.1" 200 129 3 | 0:0:0:0:0:0:0:1 - - [09/Mar/2018:15:24:10 -0800] "GET /favicon.ico HTTP/1.1" 200 21630 4 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/logs/localhost_access_log.2018-05-21.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/logs/localhost_access_log.2018-05-21.txt -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/logs/manager.2018-03-02.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/logs/manager.2018-03-02.log -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/logs/manager.2018-03-09.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/logs/manager.2018-03-09.log -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/logs/manager.2018-05-21.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/logs/manager.2018-05-21.log -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/temp/safeToDelete.tmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/temp/safeToDelete.tmp -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/ROOT/bg-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/ROOT/bg-button.png -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/ROOT/bg-middle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/ROOT/bg-middle.png -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/ROOT/bg-nav.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/ROOT/bg-nav.png -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/ROOT/bg-upper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/ROOT/bg-upper.png -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/ROOT/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/ROOT/favicon.ico -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/ROOT/tomcat-power.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/ROOT/tomcat-power.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/ROOT/tomcat.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/ROOT/tomcat.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/ROOT/tomcat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/ROOT/tomcat.png -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/appdev/sample/docs/README.txt: -------------------------------------------------------------------------------- 1 | Licensed to the Apache Software Foundation (ASF) under one or more 2 | contributor license agreements. See the NOTICE file distributed with 3 | this work for additional information regarding copyright ownership. 4 | The ASF licenses this file to You under the Apache License, Version 2.0 5 | (the "License"); you may not use this file except in compliance with 6 | the License. You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | This is a dummy README file for the sample 17 | web application. 18 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/appdev/sample/sample.war: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/appdev/sample/sample.war -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/appdev/sample/web/images/tomcat.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/appdev/sample/web/images/tomcat.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/architecture/requestProcess/authentication-process.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/architecture/requestProcess/authentication-process.png -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/architecture/requestProcess/request-process.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/architecture/requestProcess/request-process.png -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/architecture/startup/serverStartup.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/architecture/startup/serverStartup.pdf -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/add.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/add.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/code.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/code.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/cors-flowchart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/cors-flowchart.png -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/design.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/design.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/docs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/docs.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/fix.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/fix.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/fonts/OpenSans400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/fonts/OpenSans400.woff -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/fonts/OpenSans400italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/fonts/OpenSans400italic.woff -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/fonts/OpenSans600.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/fonts/OpenSans600.woff -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/fonts/OpenSans600italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/fonts/OpenSans600italic.woff -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/fonts/OpenSans700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/fonts/OpenSans700.woff -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/fonts/OpenSans700italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/fonts/OpenSans700italic.woff -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/tomcat.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/tomcat.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/tomcat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/tomcat.png -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/update.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/update.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/void.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/docs/images/void.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/CookieExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/CookieExample.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/HelloWorldExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/HelloWorldExample.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/RequestHeaderExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/RequestHeaderExample.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/RequestInfoExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/RequestInfoExample.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/RequestParamExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/RequestParamExample.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/ServletToJsp.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/ServletToJsp.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/SessionExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/SessionExample.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Async0$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Async0$1.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Async0.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Async0.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Async1$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Async1$1.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Async1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Async1.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Async2$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Async2$1.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Async2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Async2.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Async3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Async3.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/AsyncStockContextListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/AsyncStockContextListener.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/AsyncStockServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/AsyncStockServlet.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Stockticker$Stock.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Stockticker$Stock.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Stockticker$TickListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Stockticker$TickListener.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Stockticker.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/async/Stockticker.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/cal/Entries.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/cal/Entries.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/cal/Entry.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/cal/Entry.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/cal/JspCalendar.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/cal/JspCalendar.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/cal/TableBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/cal/TableBean.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/checkbox/CheckTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/checkbox/CheckTest.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/colors/ColorGameBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/colors/ColorGameBean.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/dates/JspCalendar.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/dates/JspCalendar.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/error/Smart.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/error/Smart.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/examples/FooTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/examples/FooTag.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/examples/LogTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/examples/LogTag.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/examples/ShowSource.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/examples/ShowSource.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/examples/ValuesTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/examples/ValuesTag.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/filters/ExampleFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/filters/ExampleFilter.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/http2/SimpleImagePush.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/http2/SimpleImagePush.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/ValuesBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/ValuesBean.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/listeners/ContextListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/listeners/ContextListener.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/listeners/SessionListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/listeners/SessionListener.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/nonblocking/ByteCounter$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/nonblocking/ByteCounter$1.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/nonblocking/ByteCounter$CounterListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/nonblocking/ByteCounter$CounterListener.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/nonblocking/ByteCounter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/nonblocking/ByteCounter.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/nonblocking/NumberWriter$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/nonblocking/NumberWriter$1.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/nonblocking/NumberWriter$NumberWriterListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/nonblocking/NumberWriter$NumberWriterListener.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/nonblocking/NumberWriter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/nonblocking/NumberWriter.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/num/NumberGuessBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/num/NumberGuessBean.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/sessions/DummyCart.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/sessions/DummyCart.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers$1.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers$TrailerFieldSupplier.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers$TrailerFieldSupplier.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/util/CookieFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/util/CookieFilter.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/util/HTMLFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/util/HTMLFilter.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/validators/DebugValidator.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/validators/DebugValidator.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/ExamplesConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/ExamplesConfig.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/chat/ChatAnnotation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/chat/ChatAnnotation.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Client$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Client$1.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Client.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Client.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawMessage$ParseException.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawMessage$ParseException.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawMessage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawMessage.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardContextListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardContextListener.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$1.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$2.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$3$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$3$1.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$3.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$1$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$1$1.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$1.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$2.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$MessageType.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$MessageType.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$Player.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$Player.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/Room.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/AbstractWebsocketMessage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/AbstractWebsocketMessage.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/BinaryWebsocketMessage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/BinaryWebsocketMessage.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/CloseWebsocketMessage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/CloseWebsocketMessage.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/StringWebsocketMessage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/StringWebsocketMessage.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoAnnotation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoAnnotation.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoAsyncAnnotation$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoAsyncAnnotation$1.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoAsyncAnnotation$CompletedFuture.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoAsyncAnnotation$CompletedFuture.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoAsyncAnnotation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoAsyncAnnotation.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint$1.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint$EchoMessageHandlerBinary.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint$EchoMessageHandlerBinary.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint$EchoMessageHandlerText.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint$EchoMessageHandlerText.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoStreamAnnotation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/EchoStreamAnnotation.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/echo/servers.json: -------------------------------------------------------------------------------- 1 | { 2 | "options": {"failByDrop": false}, 3 | "outdir": "./reports/servers", 4 | 5 | "servers": [ 6 | {"agent": "Basic", 7 | "url": "ws://localhost:8080/examples/websocket/echoAnnotation", 8 | "options": {"version": 18}}, 9 | {"agent": "Stream", 10 | "url": "ws://localhost:8080/examples/websocket/echoStreamAnnotation", 11 | "options": {"version": 18}}, 12 | {"agent": "Async", 13 | "url": "ws://localhost:8080/examples/websocket/echoAsyncAnnotation", 14 | "options": {"version": 18}} 15 | ], 16 | 17 | "cases": ["*"], 18 | "exclude-cases": [], 19 | "exclude-agent-cases": {} 20 | } 21 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/snake/Direction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/snake/Direction.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/snake/Direction.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package websocket.snake; 18 | 19 | public enum Direction { 20 | NONE, NORTH, SOUTH, EAST, WEST 21 | } 22 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/snake/Location$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/snake/Location$1.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/snake/Location.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/snake/Location.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/snake/Snake.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/snake/Snake.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/snake/SnakeAnnotation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/snake/SnakeAnnotation.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/snake/SnakeTimer$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/snake/SnakeTimer$1.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/snake/SnakeTimer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/classes/websocket/snake/SnakeTimer.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/lib/taglibs-standard-impl-1.2.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/lib/taglibs-standard-impl-1.2.5.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/lib/taglibs-standard-spec-1.2.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/lib/taglibs-standard-spec-1.2.5.jar -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/WEB-INF/tags/helloWorld.tag: -------------------------------------------------------------------------------- 1 | 17 | Hello, world! 18 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/error/errorpge.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Licensed to the Apache Software Foundation (ASF) under one or more 3 | contributor license agreements. See the NOTICE file distributed with 4 | this work for additional information regarding copyright ownership. 5 | The ASF licenses this file to You under the Apache License, Version 2.0 6 | (the "License"); you may not use this file except in compliance with 7 | the License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --%> 17 | 18 | 19 | 20 | 21 | <%@ page isErrorPage="true" %> 22 |

The exception <%= exception.getMessage() %> tells me you 23 | made a wrong choice. 24 | 25 | 26 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/forward/one.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Licensed to the Apache Software Foundation (ASF) under one or more 3 | contributor license agreements. See the NOTICE file distributed with 4 | this work for additional information regarding copyright ownership. 5 | The ASF licenses this file to You under the Apache License, Version 2.0 6 | (the "License"); you may not use this file except in compliance with 7 | the License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --%> 17 | 18 | 19 | 20 | 21 | 22 | VM Memory usage < 50%. 23 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/forward/one.jsp.html: -------------------------------------------------------------------------------- 1 | Source Code
<%--
 2 |  Licensed to the Apache Software Foundation (ASF) under one or more
 3 |   contributor license agreements.  See the NOTICE file distributed with
 4 |   this work for additional information regarding copyright ownership.
 5 |   The ASF licenses this file to You under the Apache License, Version 2.0
 6 |   (the "License"); you may not use this file except in compliance with
 7 |   the License.  You may obtain a copy of the License at
 8 | 
 9 |       http://www.apache.org/licenses/LICENSE-2.0
10 | 
11 |   Unless required by applicable law or agreed to in writing, software
12 |   distributed under the License is distributed on an "AS IS" BASIS,
13 |   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 |   See the License for the specific language governing permissions and
15 |   limitations under the License.
16 | --%>
17 | <html>
18 | 
19 | <body bgcolor="white">
20 | <font color="red">
21 | 
22 | VM Memory usage &lt; 50%.
23 | </html>
24 | 
-------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/forward/two.html: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | VM Memory usage > 50%. 23 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/images/code.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/images/code.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/images/execute.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/images/execute.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/images/return.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/images/return.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/include/foo.html: -------------------------------------------------------------------------------- 1 | 17 | To get the current time in ms 18 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/include/foo.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Licensed to the Apache Software Foundation (ASF) under one or more 3 | contributor license agreements. See the NOTICE file distributed with 4 | this work for additional information regarding copyright ownership. 5 | The ASF licenses this file to You under the Apache License, Version 2.0 6 | (the "License"); you may not use this file except in compliance with 7 | the License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | 17 | --%><%= System.currentTimeMillis() %> 18 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/include/foo.jsp.html: -------------------------------------------------------------------------------- 1 | Source Code
<%--
 2 |  Licensed to the Apache Software Foundation (ASF) under one or more
 3 |   contributor license agreements.  See the NOTICE file distributed with
 4 |   this work for additional information regarding copyright ownership.
 5 |   The ASF licenses this file to You under the Apache License, Version 2.0
 6 |   (the "License"); you may not use this file except in compliance with
 7 |   the License.  You may obtain a copy of the License at
 8 | 
 9 |       http://www.apache.org/licenses/LICENSE-2.0
10 | 
11 |   Unless required by applicable law or agreed to in writing, software
12 |   distributed under the License is distributed on an "AS IS" BASIS,
13 |   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 |   See the License for the specific language governing permissions and
15 |   limitations under the License.
16 | 
17 | --%><%= System.currentTimeMillis() %>
18 | 
-------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/jsp2/jspx/textRotate.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/jsp2/jspx/textRotate.jpg -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/jsp2/misc/coda.jspf: -------------------------------------------------------------------------------- 1 | 17 |
18 |
19 | This banner included with <include-coda> 20 |
21 |
22 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/jsp2/misc/coda.jspf.html: -------------------------------------------------------------------------------- 1 | Source Code
<!--
 2 |   Licensed to the Apache Software Foundation (ASF) under one or more
 3 |   contributor license agreements.  See the NOTICE file distributed with
 4 |   this work for additional information regarding copyright ownership.
 5 |   The ASF licenses this file to You under the Apache License, Version 2.0
 6 |   (the "License"); you may not use this file except in compliance with
 7 |   the License.  You may obtain a copy of the License at
 8 | 
 9 |       http://www.apache.org/licenses/LICENSE-2.0
10 | 
11 |   Unless required by applicable law or agreed to in writing, software
12 |   distributed under the License is distributed on an "AS IS" BASIS,
13 |   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 |   See the License for the specific language governing permissions and
15 |   limitations under the License.
16 | -->
17 | <hr>
18 | <center>
19 | This banner included with &lt;include-coda&gt;
20 | </center>
21 | <hr>
22 | 
-------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/jsp2/misc/prelude.jspf: -------------------------------------------------------------------------------- 1 | 17 |
18 |
19 | This banner included with <include-prelude> 20 |
21 |
22 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/jsp2/misc/prelude.jspf.html: -------------------------------------------------------------------------------- 1 | Source Code
<!--
 2 |   Licensed to the Apache Software Foundation (ASF) under one or more
 3 |   contributor license agreements.  See the NOTICE file distributed with
 4 |   this work for additional information regarding copyright ownership.
 5 |   The ASF licenses this file to You under the Apache License, Version 2.0
 6 |   (the "License"); you may not use this file except in compliance with
 7 |   the License.  You may obtain a copy of the License at
 8 | 
 9 |       http://www.apache.org/licenses/LICENSE-2.0
10 | 
11 |   Unless required by applicable law or agreed to in writing, software
12 |   distributed under the License is distributed on an "AS IS" BASIS,
13 |   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 |   See the License for the specific language governing permissions and
15 |   limitations under the License.
16 | -->
17 | <hr>
18 | <center>
19 | This banner included with &lt;include-prelude&gt;
20 | </center>
21 | <hr>
22 | 
-------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/jsp2/tagfiles/helloWorld.tag.html: -------------------------------------------------------------------------------- 1 | Source Code
<!--
 2 |  Licensed to the Apache Software Foundation (ASF) under one or more
 3 |   contributor license agreements.  See the NOTICE file distributed with
 4 |   this work for additional information regarding copyright ownership.
 5 |   The ASF licenses this file to You under the Apache License, Version 2.0
 6 |   (the "License"); you may not use this file except in compliance with
 7 |   the License.  You may obtain a copy of the License at
 8 | 
 9 |       http://www.apache.org/licenses/LICENSE-2.0
10 | 
11 |   Unless required by applicable law or agreed to in writing, software
12 |   distributed under the License is distributed on an "AS IS" BASIS,
13 |   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 |   See the License for the specific language governing permissions and
15 |   limitations under the License.
16 | -->
17 | Hello, world!
18 | 
-------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/jsptoserv/hello.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Licensed to the Apache Software Foundation (ASF) under one or more 3 | contributor license agreements. See the NOTICE file distributed with 4 | this work for additional information regarding copyright ownership. 5 | The ASF licenses this file to You under the Apache License, Version 2.0 6 | (the "License"); you may not use this file except in compliance with 7 | the License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --%> 17 | 18 | 19 | 20 |

21 | I have been invoked by 22 | <% out.print (request.getAttribute("servletName").toString()); %> 23 | Servlet. 24 |

25 | 26 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Licensed to the Apache Software Foundation (ASF) under one or more 3 | contributor license agreements. See the NOTICE file distributed with 4 | this work for additional information regarding copyright ownership. 5 | The ASF licenses this file to You under the Apache License, Version 2.0 6 | (the "License"); you may not use this file except in compliance with 7 | the License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --%> 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/plugin/applet/Clock2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/plugin/applet/Clock2.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/security/protected/error.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Licensed to the Apache Software Foundation (ASF) under one or more 3 | contributor license agreements. See the NOTICE file distributed with 4 | this work for additional information regarding copyright ownership. 5 | The ASF licenses this file to You under the Apache License, Version 2.0 6 | (the "License"); you may not use this file except in compliance with 7 | the License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --%> 17 | 18 | 19 | Error Page For Examples 20 | 21 | 22 | Invalid username and/or password, please try 23 | again. 24 | 25 | 26 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/jsp/source.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Licensed to the Apache Software Foundation (ASF) under one or more 3 | contributor license agreements. See the NOTICE file distributed with 4 | this work for additional information regarding copyright ownership. 5 | The ASF licenses this file to You under the Apache License, Version 2.0 6 | (the "License"); you may not use this file except in compliance with 7 | the License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --%> 17 | <%@ taglib uri="http://tomcat.apache.org/example-taglib" 18 | prefix="eg" %> 19 | 20 | 21 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/servlets/images/code.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/servlets/images/code.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/servlets/images/execute.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/servlets/images/execute.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/servlets/images/return.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/examples/servlets/images/return.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/hello/WEB-INF/classes/AnotherHelloServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/hello/WEB-INF/classes/AnotherHelloServlet.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/hello/WEB-INF/classes/HelloServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/hello/WEB-INF/classes/HelloServlet.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/hello/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | HelloWorld 11 | HelloServlet 12 | 13 | 14 | 16 | 17 | 18 | HelloWorld 19 | /sayhello 20 | 21 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/hello/index.html: -------------------------------------------------------------------------------- 1 | 2 | My Home Page 3 | 4 |

Hello World!

5 | 6 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/host-manager/images/tomcat.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/host-manager/images/tomcat.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/host-manager/index.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Licensed to the Apache Software Foundation (ASF) under one or more 3 | contributor license agreements. See the NOTICE file distributed with 4 | this work for additional information regarding copyright ownership. 5 | The ASF licenses this file to You under the Apache License, Version 2.0 6 | (the "License"); you may not use this file except in compliance with 7 | the License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --%> 17 | <%@ page session="false" trimDirectiveWhitespaces="true" %> 18 | <% response.sendRedirect(request.getContextPath() + "/html"); %> -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/host-manager/manager.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 23 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/manager/images/tomcat.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/manager/images/tomcat.gif -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/webapps/manager/index.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Licensed to the Apache Software Foundation (ASF) under one or more 3 | contributor license agreements. See the NOTICE file distributed with 4 | this work for additional information regarding copyright ownership. 5 | The ASF licenses this file to You under the Apache License, Version 2.0 6 | (the "License"); you may not use this file except in compliance with 7 | the License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --%> 17 | <%@ page session="false" trimDirectiveWhitespaces="true" %> 18 | <% response.sendRedirect(request.getContextPath() + "/html"); %> -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/ApacheTomcat/work/Catalina/localhost/manager/org/apache/jsp/WEB_002dINF/jsp/_401_jsp.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/container-apache-tomcat-web-server-sample/ApacheTomcat/work/Catalina/localhost/manager/org/apache/jsp/WEB_002dINF/jsp/_401_jsp.class -------------------------------------------------------------------------------- /container-apache-tomcat-web-server-sample/README.md: -------------------------------------------------------------------------------- 1 | # Apache Tomcat Web Server Sample 2 | 3 | This sample contains an Apache Tomcat Web server that hosts a simple Java application. This entire web server is then packaged up and deployed as a container. The instructions on how to use this sample are in the following [article](). 4 | 5 | ## Contents 6 | 7 | The entire application is self contained and doesn't need to be built. The ApacheTomcat folder contains the necessary packages for this sample. The important folders in the ApacheTomcat folder is defined in the table below. 8 | 9 | Folder | Description | 10 | --- | --- | 11 | bin | Helper Tomcat scripts to manage the standalone app server etc. | 12 | conf | Tomcat configuration files | 13 | lib | Necessary jar files to build and run the application server and the applicationContains JSON files that define the cluster the application is targetted for.| 14 | webapps/hello | This folder contains the Hello World applications | -------------------------------------------------------------------------------- /reliable-services-actor-sample/.gitignore: -------------------------------------------------------------------------------- 1 | [Oo]bj/ 2 | [Bb]in/ 3 | pkg/ 4 | objd/ 5 | TestResults/ 6 | .nuget/ 7 | *.sln.ide/ 8 | _ReSharper.*/ 9 | packages/ 10 | .vs/ 11 | *.user 12 | *.suo 13 | *.cache 14 | *.docstates 15 | _ReSharper.* 16 | nuget.exe 17 | .settings 18 | *.sln.ide 19 | 20 | # For Java 21 | .gradle 22 | *.class 23 | .classpath 24 | .project 25 | /**/build/**/* 26 | 27 | # Package Files # 28 | *.jar 29 | *.war 30 | *.ear 31 | *.dll 32 | *.so 33 | *.DS_Store 34 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ActorCounter 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.buildship.core.gradleprojectbuilder 15 | 16 | 17 | 18 | 19 | 20 | servicefabric.projectNature 21 | org.eclipse.jdt.core.javanature 22 | org.eclipse.buildship.core.gradleprojectnature 23 | 24 | 25 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/CounterActorApplication/ApplicationManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | Actor counter service 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/CounterActorApplication/CounterActorPkg/Code/sample.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | BASEDIR=$(dirname $0) 3 | cd $BASEDIR 4 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/lib 5 | java -Djava.library.path=$LD_LIBRARY_PATH -jar actorcounter.counter.jar 6 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/CounterActorApplication/CounterActorPkg/Config/Settings.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | 5 | 6 |
7 |
8 | 9 |
10 |
11 | 12 | 13 |
14 |
-------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/CounterActorApplication/CounterActorPkg/Data/_readme.txt: -------------------------------------------------------------------------------- 1 | Data packages contain data files like custom dictionaries, 2 | non-overridable configuration files, custom initialized data files, etc. 3 | 4 | Service Fabric will recycle all EXEs and DLLHOSTs specified in the host and support packages when any of the data packages 5 | specified inside service manifest are upgraded. -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/CounterActorService/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | CounterActorService 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javanature 20 | org.eclipse.buildship.core.gradleprojectnature 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/CounterActorService/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':Interface' 2 | 3 | project(':Interface').projectDir = new File(settingsDir, '../CounterInterface') 4 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/CounterInterface/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Interface 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javanature 20 | org.eclipse.buildship.core.gradleprojectnature 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/CounterInterface/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java' 2 | apply plugin: 'eclipse' 3 | 4 | sourceSets { 5 | main { 6 | java.srcDirs = ['src'] 7 | resources { 8 | srcDirs = ['src'] 9 | } 10 | } 11 | } 12 | 13 | clean.doFirst { 14 | delete "${projectDir}/lib" 15 | delete "${projectDir}/out" 16 | } 17 | 18 | repositories { 19 | mavenCentral() 20 | } 21 | 22 | configurations { 23 | azuresf 24 | } 25 | 26 | dependencies { 27 | azuresf ('com.microsoft.servicefabric:sf-actors:1.0.1') 28 | compile fileTree(dir: 'lib', include: '*.jar') 29 | } 30 | 31 | task explodeDeps(type: Copy, dependsOn:configurations.azuresf) { task -> 32 | configurations.azuresf.filter { it.toString().contains("native") }.each{ 33 | from zipTree(it) 34 | } 35 | configurations.azuresf.filter { !it.toString().contains("native") }.each { 36 | from it 37 | } 38 | into "lib" 39 | include "libj*.so", "*.jar" 40 | } 41 | 42 | compileJava.dependsOn(explodeDeps) 43 | 44 | jar { 45 | baseName "actorcounter.counterinterface" 46 | destinationDir = file('out/lib') 47 | } 48 | 49 | defaultTasks 'clean', 'jar' 50 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/CounterInterface/src/counterinterface/CounterActor.java: -------------------------------------------------------------------------------- 1 | // ------------------------------------------------------------ 2 | // Copyright (c) Microsoft Corporation. All rights reserved. 3 | // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. 4 | // ------------------------------------------------------------ 5 | 6 | package counterinterface; 7 | 8 | import java.util.concurrent.CompletableFuture; 9 | import microsoft.servicefabric.actors.Actor; 10 | 11 | public interface CounterActor extends Actor { 12 | 13 | CompletableFuture getCountAsync(); 14 | 15 | CompletableFuture setCountAsync(int count); 16 | } 17 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/PublishProfiles/Cloud.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClusterConnectParameters": 3 | { 4 | "ConnectionIPOrURL": "", 5 | "ConnectionPort": "", 6 | "ClientKey": "", 7 | "ClientCert": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/PublishProfiles/Local.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClusterConnectParameters": 3 | { 4 | "ConnectionIPOrURL": "localhost", 5 | "ConnectionPort": "19080", 6 | "ClientKey": "", 7 | "ClientCert": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/Readme: -------------------------------------------------------------------------------- 1 | Implements a counter. Uses Actor (persisted, volatile or null state-provider) programming paradigm. You need to go inside TestClient and build it and run it as a console application after you have done deploying the Service, to see the effect. -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/Scripts/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -x 3 | appplicationCount=`sfctl application list | grep CounterActorApplication | wc -l` 4 | if [[ "$appplicationCount" -eq "0" ]];then 5 | echo "Deploying Application" 6 | /bin/bash Scripts/install.sh 7 | else 8 | echo "CleanUp: Undeploying existing app" 9 | /bin/bash Scripts/uninstall.sh 10 | echo "Redeploying" 11 | /bin/bash Scripts/install.sh 12 | fi -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/Scripts/install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -x 3 | 4 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 5 | appPkg="$DIR/../CounterActorApplication" 6 | 7 | sfctl application upload --path $appPkg --show-progress -t 1200 8 | sfctl application provision --application-type-build-path CounterActorApplication 9 | sfctl application create --app-name fabric:/CounterActorApplication --app-type CounterActorApplicationType --app-version 1.0.0 10 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/Scripts/uninstall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sfctl application delete --application-id CounterActorApplication 4 | sfctl application unprovision --application-type-name CounterActorApplicationType --application-type-version 1.0.0 5 | sfctl store delete --content-path CounterActorApplication 6 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/Scripts/upgrade.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -x 3 | 4 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 5 | appPkg="$DIR/../CounterActorApplication" 6 | 7 | sfctl application upload --path $appPkg --show-progress -t 1200 8 | if [ $? -ne 0 ]; then 9 | echo "Application copy failed." 10 | exit 1 11 | fi 12 | 13 | sfctl application provision --application-type-build-path CounterActorApplication 14 | if [ $? -ne 0 ]; then 15 | echo "Application type registration failed." 16 | exit 1 17 | fi 18 | 19 | version=$(sed -e "s/xmlns/ignore/" $appPkg/ApplicationManifest.xml | xmllint --xpath "string(//ApplicationManifest/@ApplicationTypeVersion)" -) 20 | eval sfctl application upgrade --application-id CounterActorApplication --application-version ${version} --parameters "{}" --mode "Monitored" 21 | if [ $? -ne 0 ]; then 22 | echo "Upgrade of application failed." 23 | exit 1 24 | fi -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/TestClient/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | TestClient 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javanature 20 | org.eclipse.buildship.core.gradleprojectnature 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/TestClient/HowToRun.txt: -------------------------------------------------------------------------------- 1 | # Once TestClient is compiled, go to 'out/lib' folder and run the following: 2 | # export LD_LIBRARY_PATH=lib/:/opt/microsoft/servicefabric/bin/Fabric/Fabric.Code/ 3 | # java -jar -Djava.library.path=$LD_LIBRARY_PATH ActorCounterTest.jar 4 | 5 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/TestClient/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':Interface' 2 | project(':Interface').projectDir = new File(settingsDir, '../CounterInterface') 3 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/ActorCounter/settings.gradle: -------------------------------------------------------------------------------- 1 | include 'CounterActorService','TestClient',':Interface' 2 | project(':Interface').projectDir = new File(settingsDir, './CounterInterface') 3 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | VisualObjectActor 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | servicefabric.projectNature 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.buildship.core.gradleprojectnature 22 | 23 | 24 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/PublishProfiles/Cloud.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClusterConnectParameters": 3 | { 4 | "ConnectionIPOrURL": "", 5 | "ConnectionPort": "", 6 | "ClientKey": "", 7 | "ClientCert": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/PublishProfiles/Local.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClusterConnectParameters": 3 | { 4 | "ConnectionIPOrURL": "localhost", 5 | "ConnectionPort": "19080", 6 | "ClientKey": "", 7 | "ClientCert": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/Readme: -------------------------------------------------------------------------------- 1 | # Visual Objects 2 | This sample project uses Paper.js to render a set of objects. Each object is represented by an Actor, where the location and trajectory of each is calculated on the server side by the Actor representing the object. 3 | 4 | ## How to run Visual Objects 5 | This sample creates multiple Visual actor which keeps on moving in the plane. 6 | To run the sample, execute gradle and install application by executing install.sh. Once the application has started, go to [http://localhost:8507/index.html](http://localhost:8507/index.html). Try opening it in multiple browser windows or on multiple machines to see how the server-side calculation produces the same result on every screen. 7 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/Scripts/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -x 3 | appplicationCount=`sfctl application list | grep VisualObjectApplication | wc -l` 4 | if [[ "$appplicationCount" -eq "0" ]];then 5 | echo "Deploying Application" 6 | /bin/bash Scripts/install.sh $@ 7 | else 8 | echo "CleanUp: Undeploying existing app" 9 | /bin/bash Scripts/uninstall.sh 10 | echo "Redeploying" 11 | /bin/bash Scripts/install.sh $@ 12 | fi -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/Scripts/uninstall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sfctl application delete --application-id VisualObjectApplication 4 | sfctl application unprovision --application-type-name VisualObjectsApplicationType --application-type-version 1.0.0 5 | sfctl store delete --content-path VisualObjectApplication 6 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectActorService/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | VisualObjectActorService 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javanature 20 | org.eclipse.buildship.core.gradleprojectnature 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectActorService/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':VisualObjectCommon' 2 | 3 | project(':VisualObjectCommon').projectDir = new File(settingsDir, '../VisualObjectCommon') 4 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectApplication/VisualObjects.ActorServicePkg/Code/sample.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | BASEDIR=$(dirname $0) 3 | cd $BASEDIR 4 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/lib 5 | java -Djava.library.path=$LD_LIBRARY_PATH -jar visualobjectactor.service.jar 6 | 7 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectApplication/VisualObjects.ActorServicePkg/Config/Settings.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | 5 | 6 |
7 |
8 | 9 |
10 |
11 | 12 | 13 |
14 |
15 | 16 |
17 |
-------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectApplication/VisualObjects.ActorServicePkg/Data/_readme.txt: -------------------------------------------------------------------------------- 1 | Data packages contain data files like custom dictionaries, 2 | non-overridable configuration files, custom initialized data files, etc. 3 | 4 | Service Fabric will recycle all EXEs and DLLHOSTs specified in the host and support packages when any of the data packages 5 | specified inside service manifest are upgraded. -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectApplication/VisualObjects.WebServicePkg/Code/sample.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | BASEDIR=$(dirname $0) 3 | cd $BASEDIR 4 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/lib 5 | java -Djava.library.path=$LD_LIBRARY_PATH -jar visualobjectactor.webservice.jar 6 | 7 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectApplication/VisualObjects.WebServicePkg/Code/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectApplication/VisualObjects.WebServicePkg/Code/wwwroot/favicon.ico -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectApplication/VisualObjects.WebServicePkg/Code/wwwroot/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Microsoft Azure Service Fabric Visual Objects Demo 5 | 6 | 7 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectApplication/VisualObjects.WebServicePkg/Config/Settings.xml: -------------------------------------------------------------------------------- 1 |  2 | 6 |
7 | 8 | 9 |
10 |
11 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectApplication/VisualObjects.WebServicePkg/Data/_readme.txt: -------------------------------------------------------------------------------- 1 | Data packages contain data files like custom dictionaries, 2 | non-overridable configuration files, custom initialized data files, etc. 3 | 4 | Service Fabric will recycle all EXEs and DLLHOSTs specified in the host and support packages when any of the data packages 5 | specified inside service manifest are upgraded. -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectCommon/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | VisualObjectCommon 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javanature 20 | org.eclipse.buildship.core.gradleprojectnature 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectCommon/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java' 2 | apply plugin: 'eclipse' 3 | 4 | sourceSets { 5 | main { 6 | java.srcDirs = ['src'] 7 | resources { 8 | srcDirs = ['src'] 9 | } 10 | } 11 | } 12 | 13 | clean.doFirst { 14 | delete "${projectDir}/lib" 15 | delete "${projectDir}/out" 16 | } 17 | 18 | repositories { 19 | mavenCentral() 20 | } 21 | 22 | configurations { 23 | azuresf 24 | } 25 | 26 | dependencies { 27 | azuresf ('com.microsoft.servicefabric:sf-actors:1.0.1') 28 | compile fileTree(dir: 'lib', include: '*.jar') 29 | } 30 | 31 | task explodeDeps(type: Copy, dependsOn:configurations.azuresf) { task -> 32 | configurations.azuresf.filter { it.toString().contains("native") }.each{ 33 | from zipTree(it) 34 | } 35 | configurations.azuresf.filter { !it.toString().contains("native") }.each { 36 | from it 37 | } 38 | into "lib" 39 | include "libj*.so", "*.jar" 40 | } 41 | 42 | compileJava.dependsOn(explodeDeps) 43 | jar { 44 | baseName "visualobject.common" 45 | destinationDir = file('out/lib') 46 | } 47 | 48 | defaultTasks 'clean', 'jar' 49 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectCommon/src/visualobjectcommon/VisualObjectActor.java: -------------------------------------------------------------------------------- 1 | // ------------------------------------------------------------ 2 | // Copyright (c) Microsoft Corporation. All rights reserved. 3 | // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. 4 | // ------------------------------------------------------------ 5 | 6 | package visualobjectcommon; 7 | 8 | import java.util.concurrent.CompletableFuture; 9 | import microsoft.servicefabric.actors.Actor; 10 | 11 | public interface VisualObjectActor extends Actor { 12 | 13 | CompletableFuture getStateAsJsonAsync(); 14 | } 15 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectWebService/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | VisualObjectWebService 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javanature 20 | org.eclipse.buildship.core.gradleprojectnature 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectWebService/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':VisualObjectCommon' 2 | 3 | project(':VisualObjectCommon').projectDir = new File(settingsDir, '../VisualObjectCommon') 4 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/VisualObjectWebService/src/visualobjectwebservice/VisualObjectsBox.java: -------------------------------------------------------------------------------- 1 | // ------------------------------------------------------------ 2 | // Copyright (c) Microsoft Corporation. All rights reserved. 3 | // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. 4 | // ------------------------------------------------------------ 5 | 6 | package visualobjectwebservice; 7 | 8 | import java.util.concurrent.CompletableFuture; 9 | 10 | public interface VisualObjectsBox { 11 | 12 | CompletableFuture getObjectsAsync(); 13 | } 14 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/VisualObjectActor/settings.gradle: -------------------------------------------------------------------------------- 1 | include 'VisualObjectCommon', 'VisualObjectActorService', 'VisualObjectWebService' 2 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java' 2 | apply plugin: 'eclipse' 3 | 4 | defaultTasks 'clean', 'jar', 'copyDeps' 5 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Actors/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':Interface' 2 | include ':ActorCounter:CounterActorService', ':ActorCounter:TestClient' 3 | include ':VisualObjectActor:VisualObjectCommon', ':VisualObjectActor:VisualObjectActorService',':VisualObjectActor:VisualObjectWebService' 4 | include ':VisualObjectCommon' 5 | 6 | 7 | project(':Interface').projectDir = new File(settingsDir, 'ActorCounter/CounterInterface') 8 | project(':VisualObjectCommon').projectDir = new File(settingsDir, 'VisualObjectActor/VisualObjectCommon') 9 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to Azure samples 2 | 3 | Thank you for your interest in contributing to Azure samples! 4 | 5 | ## Ways to contribute 6 | 7 | You can contribute to [Azure samples](https://azure.microsoft.com/documentation/samples/) in a few different ways: 8 | 9 | - Submit feedback on [this sample page](https://azure.microsoft.com/documentation/samples/service-fabric-dotnet-web-reference-app/) whether it was helpful or not. 10 | - Submit issues through [issue tracker](https://github.com/Azure-Samples/service-fabric-dotnet-web-reference-app/issues) on GitHub. We are actively monitoring the issues and improving our samples. 11 | - If you wish to make code changes to samples, or contribute something new, please follow the [GitHub Forks / Pull requests model](https://help.github.com/articles/fork-a-repo/): Fork the sample repo, make the change and propose it back by submitting a pull request. -------------------------------------------------------------------------------- /reliable-services-actor-sample/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Microsoft Corporation 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | EchoServer1.0 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | servicefabric.projectNature 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.buildship.core.gradleprojectnature 22 | 23 | 24 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/EchoServerApplication/ApplicationManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | EchoServer Application 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/EchoServerApplication/EchoServerPkg/Code/sample.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | BASEDIR=$(dirname $0) 3 | cd $BASEDIR 4 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/lib 5 | java -Djava.library.path=$LD_LIBRARY_PATH -jar echoserver.jar 6 | 7 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/EchoServerApplication/EchoServerPkg/Config/_readme.txt: -------------------------------------------------------------------------------- 1 | contains a Settings.xml file, that can specify parameters for the service 2 | 3 | Configuration packages describe user-defined, application-overridable configuration settings (sections of key-value pairs) 4 | required for running service replicas/instances of service types specified in the service manifest. The configuration settings 5 | must be stored in Settings.xml in the config package folder. 6 | 7 | The service developer uses Service Fabric APIs to locate the package folders and read application-overridable configuration settings. 8 | The service developer can also register callbacks that are invoked when any of the configuration packages specified in the 9 | service manifest are upgraded and re-reads new configuration settings inside that callback. 10 | 11 | This means that Service Fabric will not recycle EXEs and DLLHOSTs specified in the host and support packages when 12 | configuration packages are up-graded. -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/EchoServerApplication/EchoServerPkg/Data/_readme.txt: -------------------------------------------------------------------------------- 1 | Data packages contain data files like custom dictionaries, 2 | non-overridable configuration files, custom initialized data files, etc. 3 | 4 | Service Fabric will recycle all EXEs and DLLHOSTs specified in the host and support packages when any of the data packages 5 | specified inside service manifest are upgraded. -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/EchoServerApplication/EchoServerPkg/ServiceManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Service that implements a EchoServer service 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | sample.sh 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/EchoServerService/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | EchoServerService 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javanature 20 | org.eclipse.buildship.core.gradleprojectnature 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/EchoServerService/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/EchoServerService/settings.gradle -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/EchoServerService/src/echoserver/EchoServerService.java: -------------------------------------------------------------------------------- 1 | // ------------------------------------------------------------ 2 | // Copyright (c) Microsoft Corporation. All rights reserved. 3 | // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. 4 | // ------------------------------------------------------------ 5 | 6 | package echoserver; 7 | 8 | import java.util.ArrayList; 9 | import java.util.List; 10 | import microsoft.servicefabric.services.communication.runtime.ServiceInstanceListener; 11 | import microsoft.servicefabric.services.runtime.StatelessService; 12 | 13 | public class EchoServerService extends StatelessService { 14 | 15 | @Override 16 | protected List createServiceInstanceListeners() { 17 | ArrayList listeners = new ArrayList<>(); 18 | listeners.add(new ServiceInstanceListener((context) -> { 19 | return new WebCommunicationListener(context); 20 | })); 21 | return listeners; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/PublishProfiles/Cloud.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClusterConnectParameters": 3 | { 4 | "ConnectionIPOrURL": "", 5 | "ConnectionPort": "", 6 | "ClientKey": "", 7 | "ClientCert": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/PublishProfiles/Local.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClusterConnectParameters": 3 | { 4 | "ConnectionIPOrURL": "localhost", 5 | "ConnectionPort": "19080", 6 | "ClientKey": "", 7 | "ClientCert": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/ReadMe: -------------------------------------------------------------------------------- 1 | This is a sample EchoServer application. After deploying application, go to browser and type in http://localhost:8508/getMessage, you should see '[version 1.0]Hello World !!!'. If you type in http://localhost:8508/getMessage/?John, you should see '[version 1.0]Hello John!!!' 2 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/Scripts/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -x 3 | appplicationCount=`sfctl application list | grep EchoServerApplication | wc -l` 4 | if [[ "$appplicationCount" -eq "0" ]];then 5 | echo "Deploying Application" 6 | /bin/bash Scripts/install.sh 7 | else 8 | echo "CleanUp: Undeploying existing app" 9 | /bin/bash Scripts/uninstall.sh 10 | echo "Redeploying" 11 | /bin/bash Scripts/install.sh 12 | fi -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/Scripts/install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -x 3 | 4 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 5 | appPkg="$DIR/../EchoServerApplication" 6 | 7 | sfctl application upload --path $appPkg --show-progress -t 1200 8 | sfctl application provision --application-type-build-path EchoServerApplication 9 | if [ $# -eq 0 ] 10 | then 11 | echo "No arguments supplied, proceed with default instanceCount of 1" 12 | sfctl application create --app-name fabric:/EchoServerApplication --app-type EchoServerApplicationType --app-version 1.0.0 13 | elif [ $1 = 0 ] 14 | then 15 | echo "Onebox environment, proceed with default instanceCount of 1." 16 | sfctl application create --app-name fabric:/EchoServerApplication --app-type EchoServerApplicationType --app-version 1.0.0 17 | elif [ $1 = 1 ] 18 | then 19 | echo "Multinode env, proceed with default instanceCount of -1" 20 | sfctl application create --app-name fabric:/EchoServerApplication --app-type EchoServerApplicationType --app-version 1.0.0 --parameters "{\"InstanceCount\":\"-1\"}" 21 | fi 22 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/Scripts/uninstall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sfctl application delete --application-id EchoServerApplication 4 | sfctl application unprovision --application-type-name EchoServerApplicationType --application-type-version 1.0.0 5 | sfctl store delete --content-path EchoServerApplication 6 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer1.0/settings.gradle: -------------------------------------------------------------------------------- 1 | include 'EchoServerService' -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | EchoServer2.0 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | servicefabric.projectNature 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.buildship.core.gradleprojectnature 22 | 23 | 24 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/EchoServerApplication2/ApplicationManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | EchoServer Application 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/EchoServerApplication2/EchoServerPkg/Code/sample.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | BASEDIR=$(dirname $0) 3 | cd $BASEDIR 4 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/lib 5 | java -Djava.library.path=$LD_LIBRARY_PATH -jar echoserver.jar 6 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/EchoServerApplication2/EchoServerPkg/Config/_readme.txt: -------------------------------------------------------------------------------- 1 | contains a Settings.xml file, that can specify parameters for the service 2 | 3 | Configuration packages describe user-defined, application-overridable configuration settings (sections of key-value pairs) 4 | required for running service replicas/instances of service types specified in the service manifest. The configuration settings 5 | must be stored in Settings.xml in the config package folder. 6 | 7 | The service developer uses Service Fabric APIs to locate the package folders and read application-overridable configuration settings. 8 | The service developer can also register callbacks that are invoked when any of the configuration packages specified in the 9 | service manifest are upgraded and re-reads new configuration settings inside that callback. 10 | 11 | This means that Service Fabric will not recycle EXEs and DLLHOSTs specified in the host and support packages when 12 | configuration packages are up-graded. -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/EchoServerApplication2/EchoServerPkg/Data/_readme.txt: -------------------------------------------------------------------------------- 1 | Data packages contain data files like custom dictionaries, 2 | non-overridable configuration files, custom initialized data files, etc. 3 | 4 | Service Fabric will recycle all EXEs and DLLHOSTs specified in the host and support packages when any of the data packages 5 | specified inside service manifest are upgraded. -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/EchoServerApplication2/EchoServerPkg/ServiceManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Service that implements a EchoServer service 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | sample.sh 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/EchoServerService/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | EchoServerService 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javanature 20 | org.eclipse.buildship.core.gradleprojectnature 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/EchoServerService/setttings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/EchoServerService/setttings.gradle -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/EchoServerService/src/echoserver/EchoServerService.java: -------------------------------------------------------------------------------- 1 | // ------------------------------------------------------------ 2 | // Copyright (c) Microsoft Corporation. All rights reserved. 3 | // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. 4 | // ------------------------------------------------------------ 5 | 6 | package echoserver; 7 | 8 | import java.util.ArrayList; 9 | import java.util.List; 10 | import microsoft.servicefabric.services.communication.runtime.ServiceInstanceListener; 11 | import microsoft.servicefabric.services.runtime.StatelessService; 12 | 13 | public class EchoServerService extends StatelessService { 14 | 15 | @Override 16 | protected List createServiceInstanceListeners() { 17 | ArrayList listeners = new ArrayList<>(); 18 | listeners.add(new ServiceInstanceListener((context) -> { 19 | return new WebCommunicationListener(context); 20 | })); 21 | return listeners; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/PublishProfiles/Cloud.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClusterConnectParameters": 3 | { 4 | "ConnectionIPOrURL": "", 5 | "ConnectionPort": "", 6 | "ClientKey": "", 7 | "ClientCert": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/PublishProfiles/Local.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClusterConnectParameters": 3 | { 4 | "ConnectionIPOrURL": "localhost", 5 | "ConnectionPort": "19080", 6 | "ClientKey": "", 7 | "ClientCert": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/Readme: -------------------------------------------------------------------------------- 1 | This is a sample EchoServer application. Using command in install.sh, echo server app can be upgraded from version 1.0 to version 2.0. After upgrading the application, go to the browser and type in http://localhost:8508/getMessage, to see '[version 2.0]Hello World !!!'. If you type in http://localhost:8508/getMessage/?John, you should see '[version 2.0]Hello John!!!' 2 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/Scripts/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -x 3 | appplicationCount=`sfctl application list | grep EchoServerApplication | wc -l` 4 | if [[ "$appplicationCount" -eq "0" ]];then 5 | echo "Deploying Application" 6 | /bin/bash Scripts/install.sh 7 | else 8 | echo "CleanUp: Undeploying existing app" 9 | /bin/bash Scripts/uninstall.sh 10 | echo "Redeploying" 11 | /bin/bash Scripts/install.sh 12 | fi -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/Scripts/install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -x 3 | 4 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 5 | appPkg="$DIR/../EchoServerApplication2" 6 | 7 | sfctl application upload --path $appPkg --show-progress -t 1200 8 | sfctl application provision --application-type-build-path EchoServerApplication2 9 | 10 | # Check parameters to see if InstanceCount was previously specified 11 | params=$(sfctl application info --application-id EchoServerApplication --query "parameters[].[key, value][]") 12 | if [[ $params =~ "InstanceCount" ]]; then 13 | sfctl application upgrade --app-id EchoServerApplication --app-version 2.0.0 --parameters "{\"InstanceCount\":\"-1\"}" --mode "Monitored" 14 | else 15 | sfctl application upgrade --app-id EchoServerApplication --app-version 2.0.0 --parameters "" --mode "Monitored" 16 | fi 17 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/Scripts/uninstall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sfctl application delete --application-id fabric:/EchoServerApplication 4 | sfctl application unprovision --application-type-name EchoServerApplicationType --application-type-version 2.0.0 5 | sfctl application unprovision --application-type-name EchoServerApplicationType --application-type-version 1.0.0 6 | sfctl store delete --content-path EchoServerApplication 7 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/EchoServer2.0/settings.gradle: -------------------------------------------------------------------------------- 1 | include 'EchoServerService' -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java' 2 | apply plugin: 'eclipse' 3 | 4 | allprojects { 5 | task hello { 6 | doLast{ task -> 7 | println "I'm $task.project.name" 8 | } 9 | } 10 | } 11 | 12 | defaultTasks 'clean', 'jar', 'copyDeps' 13 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/EchoServer/settings.gradle: -------------------------------------------------------------------------------- 1 | include 'EchoServer1.0:EchoServerService', 'EchoServer2.0:EchoServerService' 2 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/Gateway/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Gateway 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | servicefabric.projectNature 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.buildship.core.gradleprojectnature 22 | 23 | 24 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/Gateway/GatewayApplication/ApplicationManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | Gateway Application 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/Gateway/GatewayApplication/GatewayPkg/Code/sample.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=8888,suspend=n 3 | BASEDIR=$(dirname $0) 4 | cd $BASEDIR 5 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/lib 6 | java -Djava.library.path=$LD_LIBRARY_PATH -jar gateway.jar 7 | 8 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/Gateway/GatewayApplication/GatewayPkg/Config/Settings.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | 5 |
6 |
-------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/Gateway/GatewayApplication/GatewayPkg/Data/_readme.txt: -------------------------------------------------------------------------------- 1 | Data packages contain data files like custom dictionaries, 2 | non-overridable configuration files, custom initialized data files, etc. 3 | 4 | Service Fabric will recycle all EXEs and DLLHOSTs specified in the host and support packages when any of the data packages 5 | specified inside service manifest are upgraded. -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/Gateway/GatewayApplication/GatewayPkg/ServiceManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Gateway service 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | sample.sh 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/Gateway/GatewayService/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | GatewayService 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javanature 20 | org.eclipse.buildship.core.gradleprojectnature 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/Gateway/GatewayService/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':Interface' 2 | 3 | project(':Interface').projectDir = new File(settingsDir, '../../Actors/ActorCounter/CounterInterface') -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/Gateway/PublishProfiles/Cloud.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClusterConnectParameters": 3 | { 4 | "ConnectionIPOrURL": "", 5 | "ConnectionPort": "", 6 | "ClientKey": "", 7 | "ClientCert": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/Gateway/PublishProfiles/Local.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClusterConnectParameters": 3 | { 4 | "ConnectionIPOrURL": "localhost", 5 | "ConnectionPort": "19080", 6 | "ClientKey": "", 7 | "ClientCert": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/Gateway/Readme: -------------------------------------------------------------------------------- 1 | Gateway app acts as a Gateway to connect to actor service. To create actor url is http://:/Actor/ . For example http://localhost:12346/Actor/Actor1 2 | 3 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/Gateway/Scripts/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -x 3 | appplicationCount=`sfctl application list | grep GatewayApplication | wc -l` 4 | if [[ "$appplicationCount" -eq "0" ]];then 5 | echo "Deploying Application" 6 | /bin/bash Scripts/install.sh $@ 7 | else 8 | echo "CleanUp: Undeploying existing app" 9 | /bin/bash Scripts/uninstall.sh 10 | echo "Redeploying" 11 | /bin/bash Scripts/install.sh $@ 12 | fi 13 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/Gateway/Scripts/uninstall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sfctl application delete --application-id GatewayApplication 4 | sfctl application unprovision --application-type-name GatewayApplicationType --application-type-version 1.0.0 5 | sfctl store delete --content-path GatewayApplication 6 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/Gateway/settings.gradle: -------------------------------------------------------------------------------- 1 | include 'GatewayService' 2 | include ':Interface' 3 | 4 | project(':Interface').projectDir = new File(settingsDir, '../../Actors/ActorCounter/CounterInterface') 5 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/WatchDog/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | WatchDog 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | servicefabric.projectNature 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.buildship.core.gradleprojectnature 22 | 23 | 24 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/WatchDog/PublishProfiles/Cloud.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClusterConnectParameters": 3 | { 4 | "ConnectionIPOrURL": "", 5 | "ConnectionPort": "", 6 | "ClientKey": "", 7 | "ClientCert": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/WatchDog/PublishProfiles/Local.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClusterConnectParameters": 3 | { 4 | "ConnectionIPOrURL": "localhost", 5 | "ConnectionPort": "19080", 6 | "ClientKey": "", 7 | "ClientCert": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/WatchDog/Readme: -------------------------------------------------------------------------------- 1 | This app tests if EchoServer application is running fine or not. To run watchdog, you need to have your EchoServer application up and running. This app pings EchoServerApp and in case of error update the EchoServer service health to Warning state. 2 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/WatchDog/Scripts/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -x 3 | appplicationCount=`sfctl application list | grep WatchdogApplication | wc -l` 4 | if [[ "$appplicationCount" -eq "0" ]];then 5 | echo "Deploying Application" 6 | /bin/bash Scripts/install.sh $@ 7 | else 8 | echo "CleanUp: Undeploying existing app" 9 | /bin/bash Scripts/uninstall.sh 10 | echo "Redeploying" 11 | /bin/bash Scripts/install.sh $@ 12 | fi -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/WatchDog/Scripts/uninstall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sfctl application delete --application-id WatchdogApplication 4 | sfctl application unprovision --application-type-name WatchdogApplicationType --application-type-version 1.0.0 5 | sfctl store delete --content-path WatchdogApplication 6 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/WatchDog/WatchdogApplication/ApplicationManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | Watchdog Application 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/WatchDog/WatchdogApplication/WatchdogPkg/Code/sample.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=8888,suspend=n 3 | BASEDIR=$(dirname $0) 4 | cd $BASEDIR 5 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/lib 6 | java -Djava.library.path=$LD_LIBRARY_PATH -jar watchdog.jar 7 | 8 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/WatchDog/WatchdogApplication/WatchdogPkg/Config/Settings.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 |
4 | 5 | 6 | 7 | 8 |
9 |
-------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/WatchDog/WatchdogApplication/WatchdogPkg/Config/_readme.txt: -------------------------------------------------------------------------------- 1 | contains a Settings.xml file, that can specify parameters for the service 2 | 3 | Configuration packages describe user-defined, application-overridable configuration settings (sections of key-value pairs) 4 | required for running service replicas/instances of service types specified in the ser-vice manifest. The configuration settings 5 | must be stored in Settings.xml in the config package folder. 6 | 7 | The service developer uses Windows Fabric APIs to locate the package folders and read applica-tion-overridable configuration settings. 8 | The service developer can also register callbacks that are in-voked when any of the configuration packages specified in the 9 | service manifest are upgraded and re-reads new configuration settings inside that callback. 10 | 11 | This means that Windows Fabric will not recycle EXEs and DLLHOSTs specified in the host and support packages when 12 | configuration packages are up-graded. -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/WatchDog/WatchdogApplication/WatchdogPkg/Data/_readme.txt: -------------------------------------------------------------------------------- 1 | Data packages contain data files like custom dictionaries, 2 | non-overridable configuration files, custom initialized data files, etc. 3 | 4 | Service Fabric will recycle all EXEs and DLLHOSTs specified in the host and support packages when any of the data packages 5 | specified inside service manifest are upgraded. -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/WatchDog/WatchdogApplication/WatchdogPkg/ServiceManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Watchdog type 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | sample.sh 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/WatchDog/WatchdogService/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | WatchdogService 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javanature 20 | org.eclipse.buildship.core.gradleprojectnature 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/WatchDog/WatchdogService/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':EchoServer:EchoServer1.0:EchoServerService' 2 | 3 | project(':EchoServer:EchoServer1.0:EchoServerService').projectDir = new File(settingsDir, '../EchoServer/EchoServer1.0/EchoServerService') -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/WatchDog/settings.gradle: -------------------------------------------------------------------------------- 1 | include 'WatchdogService' -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java' 2 | apply plugin: 'eclipse' 3 | 4 | defaultTasks 'clean', 'jar', 'copyDeps' 5 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/Services/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':Interface' 2 | include ':EchoServer:EchoServer1.0:EchoServerService' 3 | include ':EchoServer:EchoServer2.0:EchoServerService' 4 | include ':WatchDog:WatchdogService' 5 | include ':Gateway:GatewayService' 6 | 7 | project(':Interface').projectDir = new File(settingsDir, '../Actors/ActorCounter/CounterInterface') 8 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java' 2 | apply plugin: 'eclipse' 3 | 4 | defaultTasks 'clean', 'jar', 'copyDeps' 5 | -------------------------------------------------------------------------------- /reliable-services-actor-sample/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':Interface' 2 | include ':Services:EchoServer:EchoServer1.0:EchoServerService' 3 | include ':Services:EchoServer:EchoServer2.0:EchoServerService' 4 | include ':Actors:ActorCounter:CounterActorService', ':Actors:ActorCounter:TestClient' 5 | include ':Services:WatchDog:WatchdogService' 6 | include ':Services:Gateway:GatewayService' 7 | include ':Actors:VisualObjectActor:VisualObjectCommon', ':Actors:VisualObjectActor:VisualObjectActorService',':Actors:VisualObjectActor:VisualObjectWebService' 8 | include ':VisualObjectCommon' 9 | 10 | 11 | project(':Interface').projectDir = new File(settingsDir, 'Actors/ActorCounter/CounterInterface') 12 | project(':VisualObjectCommon').projectDir = new File(settingsDir, 'Actors/VisualObjectActor/VisualObjectCommon') 13 | -------------------------------------------------------------------------------- /reliable-services-embedded-jetty-sample/.gitignore: -------------------------------------------------------------------------------- 1 | # For Java 2 | .gradle 3 | *.class 4 | .classpath 5 | .project 6 | /**/build/**/* 7 | 8 | # Package Files # 9 | *.jar 10 | *.war 11 | *.ear 12 | *.dll 13 | *.so 14 | *.DS_Store -------------------------------------------------------------------------------- /reliable-services-embedded-jetty-sample/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | reliable-services-embedded-jetty-sample 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | servicefabric.projectNature 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.buildship.core.gradleprojectnature 22 | 23 | 24 | -------------------------------------------------------------------------------- /reliable-services-embedded-jetty-sample/EmbeddedJettyApplication/ApplicationManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | EmbeddedJetty Application 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /reliable-services-embedded-jetty-sample/EmbeddedJettyApplication/EmbeddedJettyServerPkg/Code/entryPoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | BASEDIR=$(dirname $0) 3 | cd $BASEDIR 4 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/lib 5 | echo $LD_LIBRARY_PATH 6 | java -Djava.library.path=$LD_LIBRARY_PATH -jar EmbeddedJettyServer.jar 7 | -------------------------------------------------------------------------------- /reliable-services-embedded-jetty-sample/EmbeddedJettyApplication/EmbeddedJettyServerPkg/Config/Settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /reliable-services-embedded-jetty-sample/EmbeddedJettyApplication/EmbeddedJettyServerPkg/Data/_readme.txt: -------------------------------------------------------------------------------- 1 | Data packages contain data files like custom dictionaries, 2 | non-overridable configuration files, custom initialized data files, etc. 3 | 4 | Service Fabric will recycle all EXEs and DLLHOSTs specified in the host and support packages when any of the data packages 5 | specified inside service manifest are upgraded. -------------------------------------------------------------------------------- /reliable-services-embedded-jetty-sample/EmbeddedJettyApplication/EmbeddedJettyServerPkg/ServiceManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Service that implements a EmbeddedJettyServer service 4 | 5 | 6 | 7 | 8 | 9 | 10 | entryPoint.sh 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /reliable-services-embedded-jetty-sample/EmbeddedJettyServer/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | EmbeddedJettyServer 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javanature 20 | org.eclipse.buildship.core.gradleprojectnature 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-embedded-jetty-sample/EmbeddedJettyServer/src/statelessservice/EmbeddedJettyServerServiceHost.java: -------------------------------------------------------------------------------- 1 | package statelessservice; 2 | 3 | import java.time.Duration; 4 | import java.util.logging.Logger; 5 | import java.util.logging.Level; 6 | 7 | import microsoft.servicefabric.services.runtime.ServiceRuntime; 8 | 9 | public class EmbeddedJettyServerServiceHost { 10 | 11 | private static final Logger logger = Logger.getLogger(EmbeddedJettyServerServiceHost.class.getName()); 12 | 13 | public static void main(String[] args) throws Exception{ 14 | try { 15 | ServiceRuntime.registerStatelessServiceAsync("EmbeddedJettyServerType", (context)-> new EmbeddedJettyServerService(), Duration.ofSeconds(10)); 16 | logger.log(Level.INFO, "Registered stateless service of type EmbeddedJettyServerType"); 17 | Thread.sleep(Long.MAX_VALUE); 18 | } catch (Exception ex) { 19 | logger.log(Level.SEVERE, "Exception occurred", ex); 20 | throw ex; 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /reliable-services-embedded-jetty-sample/PublishProfiles/Cloud.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClusterConnectionParameters": 3 | { 4 | "ConnectionIPOrURL": "", 5 | "ConnectionPort": "", 6 | "ClientKey": "", 7 | "ClientCert": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /reliable-services-embedded-jetty-sample/PublishProfiles/Local.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClusterConnectionParameters": 3 | { 4 | "ConnectionIPOrURL": "localhost", 5 | "ConnectionPort": "19080", 6 | "ClientKey": "", 7 | "ClientCert": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /reliable-services-embedded-jetty-sample/Scripts/install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -ex 2 | 3 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 4 | appPkgPath="$DIR/../EmbeddedJettyApplication" 5 | 6 | if [[ "$#" != "0" ]];then 7 | version="$1" 8 | else 9 | version="1.0.0" 10 | fi 11 | 12 | sfctl application upload --path $appPkgPath -t 1200 13 | if [ $? -ne 0 ]; then 14 | echo "Application copy failed." 15 | exit 1 16 | fi 17 | 18 | sfctl application provision --application-type-build-path EmbeddedJettyApplication 19 | if [ $? -ne 0 ]; then 20 | echo "Application type registration failed." 21 | exit 1 22 | fi 23 | 24 | sfctl application create --app-name fabric:/EmbeddedJettyApplication --app-type EmbeddedJettyApplicationType --app-version $version 25 | if [ $? -ne 0 ]; then 26 | echo "Application creation failed." 27 | exit 1 28 | fi 29 | 30 | echo "Install script executed successfully." 31 | -------------------------------------------------------------------------------- /reliable-services-embedded-jetty-sample/Scripts/uninstall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ "$#" != "0" ]];then 4 | version="$1" 5 | else 6 | version="1.0.0" 7 | fi 8 | 9 | appplicationCount=`sfctl application list | grep fabric:/EmbeddedJettyApplication | wc -l` 10 | if [[ "$appplicationCount" -eq "0" ]];then 11 | echo "Nothing to uninstall" 12 | exit 0 13 | fi 14 | 15 | sfctl application delete --application-id EmbeddedJettyApplication 16 | if [ $? -ne 0 ]; then 17 | echo "Application removal failed." 18 | exit 1 19 | fi 20 | 21 | sfctl application unprovision --application-type-name EmbeddedJettyApplicationType --application-type-version $version 22 | if [ $? -ne 0 ]; then 23 | echo "Unregistering application type failed." 24 | exit 1 25 | fi 26 | 27 | sfctl store delete --content-path EmbeddedJettyApplication 28 | if [ $? -ne 0 ]; then 29 | echo "Unable to delete image store content." 30 | exit 1 31 | fi 32 | echo "Uninstall script executed successfully." 33 | -------------------------------------------------------------------------------- /reliable-services-embedded-jetty-sample/Scripts/upgrade.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -ex 2 | 3 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 4 | appPkgPath="$DIR/../EmbeddedJettyApplication" 5 | if [[ "$#" != "0" ]];then 6 | version="$1" 7 | else 8 | version="1.0.0" 9 | fi 10 | sfctl application upload --path $appPkgPath -t 1200 11 | if [ $? -ne 0 ]; then 12 | echo "Application copy failed." 13 | exit 1 14 | fi 15 | sfctl application provision --application-type-build-path EmbeddedJettyApplication 16 | if [ $? -ne 0 ]; then 17 | echo "Application type registration failed." 18 | exit 1 19 | fi 20 | sfctl application upgrade --application-id fabric:/EmbeddedJettyApplication --application-version ${version} --parameters {} --mode "Monitored" 21 | if [ $? -ne 0 ]; then 22 | echo "Upgrade of application failed." 23 | exit 1 24 | fi 25 | echo "Upgrade script executed successfully." 26 | -------------------------------------------------------------------------------- /reliable-services-embedded-jetty-sample/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java' 2 | apply plugin: 'eclipse' 3 | 4 | defaultTasks 'clean', 'jar', 'copyDeps' -------------------------------------------------------------------------------- /reliable-services-embedded-jetty-sample/settings.gradle: -------------------------------------------------------------------------------- 1 | include 'EmbeddedJettyServer' 2 | -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/.gitignore: -------------------------------------------------------------------------------- 1 | # For Java 2 | .gradle 3 | *.class 4 | .classpath 5 | .project 6 | /**/build/**/* 7 | 8 | # Package Files # 9 | *.jar 10 | *.war 11 | *.ear 12 | *.dll 13 | *.so 14 | *.DS_Store -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Voting 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | servicefabric.projectNature 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.buildship.core.gradleprojectnature 22 | 23 | 24 | -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/PublishProfiles/Cloud.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClusterConnectionParameters": 3 | { 4 | "ConnectionIPOrURL": "", 5 | "ConnectionPort": "", 6 | "ClientKey": "", 7 | "ClientCert": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/PublishProfiles/Local.json: -------------------------------------------------------------------------------- 1 | { 2 | "ClusterConnectionParameters": 3 | { 4 | "ConnectionIPOrURL": "localhost", 5 | "ConnectionPort": "19080", 6 | "ClientKey": "", 7 | "ClientCert": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/Scripts/install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -ex 2 | 3 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 4 | appPkgPath="$DIR/../VotingApplication" 5 | 6 | if [[ "$#" != "0" ]];then 7 | version="$1" 8 | else 9 | version="1.0.0" 10 | fi 11 | 12 | sfctl application upload --path $appPkgPath -t 1200 13 | if [ $? -ne 0 ]; then 14 | echo "Application copy failed." 15 | exit 1 16 | fi 17 | 18 | sfctl application provision --application-type-build-path VotingApplication 19 | if [ $? -ne 0 ]; then 20 | echo "Application type registration failed." 21 | exit 1 22 | fi 23 | 24 | sfctl application create --app-name fabric:/VotingApplication --app-type VotingApplicationType --app-version $version 25 | if [ $? -ne 0 ]; then 26 | echo "Application creation failed." 27 | exit 1 28 | fi 29 | 30 | echo "Install script executed successfully." 31 | -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/Scripts/uninstall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ "$#" != "0" ]];then 4 | version="$1" 5 | else 6 | version="1.0.0" 7 | fi 8 | 9 | appplicationCount=`sfctl application list | grep fabric:/VotingApplication | wc -l` 10 | if [[ "$appplicationCount" -eq "0" ]];then 11 | echo "Nothing to uninstall" 12 | exit 0 13 | fi 14 | 15 | sfctl application delete --application-id VotingApplication 16 | if [ $? -ne 0 ]; then 17 | echo "Application removal failed." 18 | exit 1 19 | fi 20 | 21 | sfctl application unprovision --application-type-name VotingApplicationType --application-type-version $version 22 | if [ $? -ne 0 ]; then 23 | echo "Unregistering application type failed." 24 | exit 1 25 | fi 26 | 27 | sfctl store delete --content-path VotingApplication 28 | if [ $? -ne 0 ]; then 29 | echo "Unable to delete image store content." 30 | exit 1 31 | fi 32 | echo "Uninstall script executed successfully." 33 | -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/Scripts/upgrade.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -ex 2 | 3 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 4 | appPkgPath="$DIR/../VotingApplication" 5 | if [[ "$#" != "0" ]];then 6 | version="$1" 7 | else 8 | version="1.0.0" 9 | fi 10 | sfctl application upload --path $appPkgPath -t 1200 11 | if [ $? -ne 0 ]; then 12 | echo "Application copy failed." 13 | exit 1 14 | fi 15 | sfctl application provision --application-type-build-path VotingApplication 16 | if [ $? -ne 0 ]; then 17 | echo "Application type registration failed." 18 | exit 1 19 | fi 20 | sfctl application upgrade --application-id VotingApplication --application-version ${version} --parameters "{}" --mode "Monitored" 21 | if [ $? -ne 0 ]; then 22 | echo "Upgrade of application failed." 23 | exit 1 24 | fi 25 | echo "Upgrade script executed successfully." 26 | -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/VotingApplication/VotingDataServicePkg/Code/entryPoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | BASEDIR=$(dirname $0) 3 | cd $BASEDIR 4 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/lib 5 | echo $LD_LIBRARY_PATH 6 | java -Djava.library.path=$LD_LIBRARY_PATH -jar VotingDataService.jar 7 | -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/VotingApplication/VotingDataServicePkg/Config/Settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 |
7 | 8 |
9 | 10 |
11 | 12 | 13 | 18 |
19 | -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/VotingApplication/VotingDataServicePkg/Data/_readme.txt: -------------------------------------------------------------------------------- 1 | Data packages contain data files like custom dictionaries, 2 | non-overridable configuration files, custom initialized data files, etc. 3 | 4 | Service Fabric will recycle all EXEs and DLLHOSTs specified in the host and support packages when any of the data packages 5 | specified inside service manifest are upgraded. -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/VotingApplication/VotingDataServicePkg/ServiceManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Service that implements a VotingDataService service 4 | 5 | 6 | 7 | 8 | 9 | 10 | entryPoint.sh 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/VotingApplication/VotingWebPkg/Code/entryPoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | BASEDIR=$(dirname $0) 3 | cd $BASEDIR 4 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/lib 5 | echo $LD_LIBRARY_PATH 6 | java -Djava.library.path=$LD_LIBRARY_PATH -jar VotingWeb.jar 7 | -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/VotingApplication/VotingWebPkg/Code/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/service-fabric-java-getting-started/f098f96822688c8e00b3d806791e889567d3d53a/reliable-services-httpcommunication-sample/Voting/VotingApplication/VotingWebPkg/Code/wwwroot/favicon.ico -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/VotingApplication/VotingWebPkg/Config/Settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/VotingApplication/VotingWebPkg/Data/_readme.txt: -------------------------------------------------------------------------------- 1 | Data packages contain data files like custom dictionaries, 2 | non-overridable configuration files, custom initialized data files, etc. 3 | 4 | Service Fabric will recycle all EXEs and DLLHOSTs specified in the host and support packages when any of the data packages 5 | specified inside service manifest are upgraded. -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/VotingApplication/VotingWebPkg/ServiceManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Service that implements a VotingWeb service 4 | 5 | 6 | 7 | 8 | 9 | 10 | entryPoint.sh 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/VotingDataService/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | VotingDataService 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javanature 20 | org.eclipse.buildship.core.gradleprojectnature 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/VotingDataService/src/statefulservice/VotingDataService.java: -------------------------------------------------------------------------------- 1 | package statefulservice; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | import microsoft.servicefabric.services.communication.runtime.ServiceReplicaListener; 7 | import microsoft.servicefabric.services.runtime.StatefulService; 8 | import system.fabric.StatefulServiceContext; 9 | 10 | public class VotingDataService extends StatefulService { 11 | 12 | protected VotingDataService (StatefulServiceContext statefulServiceContext) { 13 | super (statefulServiceContext); 14 | } 15 | 16 | @Override 17 | protected List createServiceReplicaListeners() { 18 | ServiceReplicaListener listener1 = new ServiceReplicaListener(initParams -> { 19 | return new HttpCommunicationListener(this.getServiceContext(), 20 | this.getReliableStateManager()); 21 | }, "Listener1"); 22 | List listenerList = new ArrayList<>(); 23 | listenerList.add(listener1); 24 | return listenerList; 25 | } 26 | 27 | } -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/VotingDataService/src/statefulservice/VotingDataServiceHost.java: -------------------------------------------------------------------------------- 1 | package statefulservice; 2 | 3 | import java.time.Duration; 4 | import java.util.logging.Logger; 5 | import java.util.logging.Level; 6 | 7 | import microsoft.servicefabric.services.runtime.ServiceRuntime; 8 | 9 | public class VotingDataServiceHost { 10 | 11 | private static final Logger logger = Logger.getLogger(VotingDataServiceHost.class.getName()); 12 | 13 | public static void main(String[] args) throws Exception{ 14 | try { 15 | ServiceRuntime.registerStatefulServiceAsync("VotingDataServiceType", (context)-> new VotingDataService(context), Duration.ofSeconds(10)); 16 | logger.log(Level.INFO, "Registered stateful service of type DataServiceType"); 17 | Thread.sleep(Long.MAX_VALUE); 18 | } catch (Exception ex) { 19 | logger.log(Level.SEVERE, "Exception occurred", ex); 20 | throw ex; 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/VotingWeb/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | VotingWeb 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.buildship.core.gradleprojectbuilder 14 | 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javanature 20 | org.eclipse.buildship.core.gradleprojectnature 21 | 22 | 23 | -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/VotingWeb/src/statelessservice/VotingWebServiceHost.java: -------------------------------------------------------------------------------- 1 | package statelessservice; 2 | 3 | import java.time.Duration; 4 | import java.util.logging.Logger; 5 | import java.util.logging.Level; 6 | 7 | import microsoft.servicefabric.services.runtime.ServiceRuntime; 8 | 9 | public class VotingWebServiceHost { 10 | 11 | private static final Logger logger = Logger.getLogger(VotingWebServiceHost.class.getName()); 12 | 13 | public static void main(String[] args) throws Exception{ 14 | try { 15 | ServiceRuntime.registerStatelessServiceAsync("VotingWebType", (context)-> new VotingWebService(), Duration.ofSeconds(10)); 16 | logger.log(Level.INFO, "Registered stateless service of type VotingWebType"); 17 | Thread.sleep(Long.MAX_VALUE); 18 | } catch (Exception ex) { 19 | logger.log(Level.SEVERE, "Exception occurred", ex); 20 | throw ex; 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /reliable-services-httpcommunication-sample/Voting/settings.gradle: -------------------------------------------------------------------------------- 1 | include 'VotingDataService' 2 | 3 | include 'VotingWeb' --------------------------------------------------------------------------------