From 2a2d8aa62e635ad2bc74998454d68556d20d628e Mon Sep 17 00:00:00 2001 From: akolomentsev Date: Thu, 5 Apr 2018 11:45:16 -0700 Subject: [PATCH] update readme files for examples --- build.gradle | 2 +- mods-examples/barrier-queue/build.gradle | 2 + .../barrier-queue/docs/files/diagram.png | Bin 0 -> 4331 bytes mods-examples/barrier-queue/readme.md | 3 ++ mods-examples/barrier/build.gradle | 2 + mods-examples/barrier/docs/files/diagram.png | Bin 0 -> 3573 bytes mods-examples/barrier/readme.md | 3 ++ mods-examples/big-blue-bus/build.gradle | 2 + .../big-blue-bus/docs/files/diagram.png | Bin 0 -> 7439 bytes mods-examples/big-blue-bus/readme.md | 3 ++ mods-examples/clock/build.gradle | 2 + mods-examples/clock/docs/files/diagram.png | Bin 0 -> 3077 bytes mods-examples/clock/readme.md | 3 ++ mods-examples/clock2/Dockerfile | 24 ------------ mods-examples/clock2/build.gradle | 1 - mods-examples/clock2/readme.md | 36 ------------------ mods-examples/composition-drawer/build.gradle | 6 +-- mods-examples/examples.gradle | 23 +++++++++++ mods-examples/hello-world/Dockerfile | 24 ------------ mods-examples/hello-world/build.gradle | 1 - mods-examples/hello-world/readme.md | 36 ------------------ mods-examples/nws-usa-alerts/build.gradle | 2 + .../nws-usa-alerts/docs/files/diagram.png | Bin 0 -> 6016 bytes mods-examples/nws-usa-alerts/readme.md | 3 ++ mods-examples/queue/build.gradle | 2 + mods-examples/queue/docs/files/diagram.png | Bin 0 -> 3528 bytes mods-examples/queue/readme.md | 3 ++ mods-examples/readme.template.md | 3 ++ mods-examples/rtm-filter/build.gradle | 2 + .../rtm-filter/docs/files/diagram.png | Bin 0 -> 3064 bytes mods-examples/rtm-filter/readme.md | 3 ++ 31 files changed, 64 insertions(+), 127 deletions(-) create mode 100644 mods-examples/barrier-queue/docs/files/diagram.png create mode 100644 mods-examples/barrier/docs/files/diagram.png create mode 100644 mods-examples/big-blue-bus/docs/files/diagram.png create mode 100644 mods-examples/clock/docs/files/diagram.png delete mode 100644 mods-examples/clock2/Dockerfile delete mode 100644 mods-examples/clock2/readme.md delete mode 100644 mods-examples/hello-world/Dockerfile delete mode 100644 mods-examples/hello-world/readme.md create mode 100644 mods-examples/nws-usa-alerts/docs/files/diagram.png create mode 100644 mods-examples/queue/docs/files/diagram.png create mode 100644 mods-examples/rtm-filter/docs/files/diagram.png diff --git a/build.gradle b/build.gradle index 31ff00d..63da9b4 100644 --- a/build.gradle +++ b/build.gradle @@ -163,7 +163,7 @@ subprojects { println "creating default project structure for project '${project.name}'..." // create directories for all source sets - sourceSets.all { sourceSet -> + sourceSets.forEach { sourceSet -> sourceSet.java.srcDirs.forEach { def pathToCreate = new File(it, pckgDir) println "creating sources path for '${sourceSet.name}': '$pathToCreate'" diff --git a/mods-examples/barrier-queue/build.gradle b/mods-examples/barrier-queue/build.gradle index 371f386..f704d11 100644 --- a/mods-examples/barrier-queue/build.gradle +++ b/mods-examples/barrier-queue/build.gradle @@ -1,6 +1,8 @@ apply plugin: 'application' apply from: '../examples.gradle' +description "barrier queue" + mainClassName = 'com.satori.mods.examples.App' applicationName = projectDir.name diff --git a/mods-examples/barrier-queue/docs/files/diagram.png b/mods-examples/barrier-queue/docs/files/diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..9e87191d3c4af94fa8fd9b1de0fafef6f6c33f4f GIT binary patch literal 4331 zcmd6rcT`i^zQ@&Z6s&-XfC3iUI1mM;W*`=-31tFO51>G(#!#e4i=e=u6agiK7NiPF z7y&~91O`Mkq?Bq$e%^o#K zNI)8&Up;tE!XR2yG$G-T>vR9}h4&ao3;Y#CY#bdfD~h>Z_Jj<2A`h6lkI?0cA5)}C z;?X-)#}J&S=v&K|%F%aS3nfxiZ&@Vy?-k{phjIN`@)N1yY@?dVESqF=y=7KJQu1!S zK{jvZr%5I5ylASo-}}ZChuy*^IYX&KsUmEA!Ry{x0lNqRzqtQt0_^t+Q=eBpGuVO!a`BH=oF2^7=B7lg;fo!s-K_ zY;lP@&70bso4;>AWD)NMbm+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=89*7cevG1%>YJMFCb^LnW!%gIGT;&ow9rY@>YXCWey???oNpcDA7 zD_ZOPw#Ik=OFZ}AECK3vqoboyrw=uwPDoh6(r(ZSyWYLa&~kTkvrQl8ECLW4clYAZ zuaSZ-H|r}`h@-RZbh?MVFMjOJn~d~ycm0X6vBHv)D%%k?`Sz)+QaJCu;^JzD!32^& z358}o6T_8~-70PSCMw^(HJXs^IiNU(Oh&}0;C;3IKOV+orKm>{(JDVewT^+Hzd+@E z4q9^AtF-MPlVUZTgdylXK|~Mo<>iwg_<`kFLsv0b(|+dB9hfeu(*aW#c_FhVuj*k< zC&fZ{0=r0LmG@TKFN3@YkjIikbU+7m)aXjzJs5uI8h;SLgo51nKyd)&Gpe_M$b0D^ z(%>ZXuHnqqhm0=WLwTa+isbA%f$3SehRm;kNro^tzVIA%HF@!5bZDdz7}1grC~5$X;y&Tjt=+* zY0u?SNv**PgQ~TiO`*4>1U6XE_Z{(GDC&{F4kp@h!GrVPq9bhl4fI$b=-u4nLh_Te z{3qzK2%+9Wpa6$60zkw226`Z~c^z5~rRm8eu`0SL zno|jun*d36#1(Q23c-l)0?sRd-nr!s>ZgDtTE +## 'barrier queue' example +![diagram](docs/files/diagram.png) + ##### build app ``` gradle installDist diff --git a/mods-examples/barrier/build.gradle b/mods-examples/barrier/build.gradle index 371f386..aef54d8 100644 --- a/mods-examples/barrier/build.gradle +++ b/mods-examples/barrier/build.gradle @@ -1,6 +1,8 @@ apply plugin: 'application' apply from: '../examples.gradle' +description "barrier" + mainClassName = 'com.satori.mods.examples.App' applicationName = projectDir.name diff --git a/mods-examples/barrier/docs/files/diagram.png b/mods-examples/barrier/docs/files/diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..8694f1babc78e9997b88c848006d9b6387d0461e GIT binary patch literal 3573 zcmd5hwNjkNMdXaC3yy~CEJU^P{uMZ-e|MOWG~sWmdTj0 z#6-f_V(?nV5`(dfDEoFF>ejjE+&}KQ=bn4+KhN`gzvuh={m$?Ad_T+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99Ta*juaGyVrF{%~^Sp;5Ot20gfm z4Ko2@aPxKrA9zc28g#%xKtyPq?a+U8LO2-)NAmcL=ybJ>9!zoxVxvI$odgk&kSlfW*B|EmD5U=KV8@|F?(HPv*bd+kjEL>JRjy$k|xigoaOymp14^=BEVZ?$PD=z z5r4lIvyJ-+n3v%tkA&#>+50bg-9DUi-#P$zG@R8Stq+DLEJ7Cv%FoU^c-1R5yR41; z7bJR|BKJSmG4k8J7A!q(XwG_X+2AH$YC#90B5WH$O)xQII_Ci4+ag!*e@zz+*U}>v zDh>)>u}(?acc%C;9B`NuY1OibHXqL-`dS22$z*Wa+YK_8`RRM}$Z?OWp^;ZhdAAD} z`aACCpOb|aeFoXWoeVsBOh#^4Y7#0+7xT)TmK`G{&x}v%JoJ%VgmUjXj9VQ?ev0;Y nd$V&Xf^c%sOSc|L#jz#Z{bI}#s!D^dbGvl44KEjJS_l6fKeq_@ literal 0 HcmV?d00001 diff --git a/mods-examples/barrier/readme.md b/mods-examples/barrier/readme.md index 0b20e34..a55e1ee 100644 --- a/mods-examples/barrier/readme.md +++ b/mods-examples/barrier/readme.md @@ -1,4 +1,7 @@ +## 'barrier' example +![diagram](docs/files/diagram.png) + ##### build app ``` gradle installDist diff --git a/mods-examples/big-blue-bus/build.gradle b/mods-examples/big-blue-bus/build.gradle index bbb6069..a4cbcf5 100644 --- a/mods-examples/big-blue-bus/build.gradle +++ b/mods-examples/big-blue-bus/build.gradle @@ -1,6 +1,8 @@ apply plugin: 'application' apply from: '../examples.gradle' +description "big blue bus" + mainClassName = 'com.satori.mods.examples.BigBlueBus' applicationName = projectDir.name diff --git a/mods-examples/big-blue-bus/docs/files/diagram.png b/mods-examples/big-blue-bus/docs/files/diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..d5102a4f040acf4d6370726ed0eb308a129bc0a4 GIT binary patch literal 7439 zcmeHscUV)|*1n308U;~_C<5bEL?QGR`Z%D72q>T=5PFkdLa0JijEJ-WlwPd#W(d7W zKoCQbme2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3v(1RHcf$AJ*1SKl|@Jr-z}It>CW&zZ9GNd=r5 z;H)VM;^H=5=3vgG{a|9e-P=+8W9y^y@~3kQ;BxmucTvSA9(*1G;9v(p;d?LQzQS(v zuCL9afrRJtt`BsS!y`^e8~{P*kIStg21>{oz-Kq+CH0BKdZj7nhMhckFboAkHy3=2 zJ1K&>1}pca1yPG%1p^=a6Np$cvLJ5(V*uZOR;QKvy%7}7*92H&1sE^!mwG;xd^HJ!(jPu`7g7wSqpEI2F3WJqvAFW6+gyb)<{|OMB z1}x77qyaX=lG?(^x~^Ed@)SjHu8&aa#BWgdC?Xfmum^->yaNbMoNHGBAlyErpUe=I zCtlUQHo9%!R+(;phScB)JQsuGEyMYg;dys-F#rZ2LZtdf-`m|{ECc{5D>94`x#isN zZgb${!iolv_f^0SI*n!kg8P`UOR9dOR%C-cBk`59Kr0vXLzxoIfKxcf^G%U}LEZVY z?v9jR26t@yJ7@TT35*`$zXpY?kf0I$gcuqTyU$X8g{x3*H41#_+@p3)QzhpYlgIx9 DtanZ? literal 0 HcmV?d00001 diff --git a/mods-examples/big-blue-bus/readme.md b/mods-examples/big-blue-bus/readme.md index 150cf78..b286748 100644 --- a/mods-examples/big-blue-bus/readme.md +++ b/mods-examples/big-blue-bus/readme.md @@ -1,4 +1,7 @@ +## 'big blue bus' example +![diagram](docs/files/diagram.png) + ##### build app ``` gradle installDist diff --git a/mods-examples/clock/build.gradle b/mods-examples/clock/build.gradle index e9fe600..da8a447 100644 --- a/mods-examples/clock/build.gradle +++ b/mods-examples/clock/build.gradle @@ -1,6 +1,8 @@ apply plugin: 'application' apply from: '../examples.gradle' +description "clock" + mainClassName = 'com.satori.mods.examples.ClockApp' applicationName = projectDir.name diff --git a/mods-examples/clock/docs/files/diagram.png b/mods-examples/clock/docs/files/diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..876081e1ed21141164ea9c7b6f769586bbc749b7 GIT binary patch literal 3077 zcmb7GXH-+&5=Bwzy-5}6A_NG6NRf{c5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r!M6ZGfKm* zXlmW`F^{lLY*8GO4$kW!KpaA%oU^1W`UsP4Ze$u40Hh-rx5#3#6yUDyyT9 z{$*eZZ{tnuKBo)nM&4~;mDm(BY}wRq10wgkpl1V4qD_McaY|)+e2F$?Mn3`Kdi+n6 zB0AbQNkb9|8l!xGBBcqLEmwUQm%=dFT`5B6pmJb#`ng5F0p&qUD$$aN^|=>4-}4_) n`S1A{s;e*Krtxs0@cg1bH$=ep6`Y1J-V +## 'clock' example +![diagram](docs/files/diagram.png) + ##### build app ``` gradle installDist diff --git a/mods-examples/clock2/Dockerfile b/mods-examples/clock2/Dockerfile deleted file mode 100644 index 840a915..0000000 --- a/mods-examples/clock2/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -# generated, do not modify -FROM centos:7 - -RUN yum -y update &&\ - yum -y install --setopt=tsflags=nodocs java-1.8.0-openjdk &&\ - yum clean all - -# install jdk -ENV JAVA_HOME /usr/lib/jvm/jre-1.8.0-openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# copy app files -ADD . /app -RUN chmod +x /app/bin/clock2 -RUN rm -f /app/Dockerfile - -# cleanup -RUN rm -rf /tmp -RUN mkdir /tmp -RUN chmod a+rw /tmp - -# default command to execute when creating a new container -WORKDIR /app -CMD ["/app/bin/clock2"] \ No newline at end of file diff --git a/mods-examples/clock2/build.gradle b/mods-examples/clock2/build.gradle index 1c18021..39c57a2 100644 --- a/mods-examples/clock2/build.gradle +++ b/mods-examples/clock2/build.gradle @@ -1,5 +1,4 @@ apply plugin: 'application' -apply from: '../examples.gradle' mainClassName = 'com.satori.mods.examples.ClocksApp2' applicationName = projectDir.name diff --git a/mods-examples/clock2/readme.md b/mods-examples/clock2/readme.md deleted file mode 100644 index fe0f8ec..0000000 --- a/mods-examples/clock2/readme.md +++ /dev/null @@ -1,36 +0,0 @@ - -##### build app -``` -gradle installDist -``` - -##### run app using gradle -``` -gradle run -``` - -##### run app using command line -``` -./.out/install/clock2/bin/clock2 -``` - -##### build docker image -``` -gradle buildDockerImage -``` - -##### run interactive docker container using gradle -``` -gradle runDockerContainer -``` - -##### run interactive docker container using command line -``` -docker run --rm -ti mods-examples-clock2 -``` - -##### run daemonized docker container -``` -docker run --restart=always --log-opt max-size=64m --log-opt max-file=16 -d --name=clock2 mods-examples-clock2 -``` - diff --git a/mods-examples/composition-drawer/build.gradle b/mods-examples/composition-drawer/build.gradle index 6bba7e2..f76af05 100644 --- a/mods-examples/composition-drawer/build.gradle +++ b/mods-examples/composition-drawer/build.gradle @@ -1,5 +1,3 @@ -import com.satori.libs.composition.drawer.* - buildscript{ repositories { mavenCentral() @@ -8,7 +6,7 @@ buildscript{ } } dependencies { - classpath "com.satori:satori-libs-composition-drawer:0.5.13-SNAPSHOT" + classpath "com.satori:satori-libs-composition-drawer:0.5.14-SNAPSHOT" } } @@ -24,7 +22,7 @@ generateCode.dependsOn generateCompositionImage configurations{compositionDrawer} dependencies { - compositionDrawer "com.satori:satori-libs-composition-drawer:0.5.13-SNAPSHOT" + compositionDrawer "com.satori:satori-libs-composition-drawer:0.5.14-SNAPSHOT" } task generateCompositionImage2(type: JavaExec) { diff --git a/mods-examples/examples.gradle b/mods-examples/examples.gradle index 43d5945..011ba52 100644 --- a/mods-examples/examples.gradle +++ b/mods-examples/examples.gradle @@ -1,5 +1,25 @@ import groovy.text.* +buildscript{ + repositories { + mavenCentral() + maven { + url('https://oss.sonatype.org/content/repositories/snapshots/') + } + } + dependencies { + classpath "com.satori:satori-libs-composition-drawer:0.5.14-SNAPSHOT" + } +} + +task generateCompositionImage(type: GenerateCompositionDiagramTask) { + group "codegen" + cfgPath = file("res/com/satori/mods/resources/config.json") + imgPath = file("docs/files/diagram.png") + blockWidth = 220 + blockHeight = 45 +} + startScripts { //applicationName = 'app' defaultJvmOpts = ["-server", "-d64"] @@ -18,6 +38,9 @@ task generateReadme(type: TransformTask) { output file("readme.md") outputs.upToDateWhen { false } } +generateReadme.dependsOn generateCompositionImage +generateCode.dependsOn generateReadme + task generateLogProperties(type: TransformTask) { group 'codegen' diff --git a/mods-examples/hello-world/Dockerfile b/mods-examples/hello-world/Dockerfile deleted file mode 100644 index 5443dda..0000000 --- a/mods-examples/hello-world/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -# generated, do not modify -FROM centos:7 - -RUN yum -y update &&\ - yum -y install --setopt=tsflags=nodocs java-1.8.0-openjdk &&\ - yum clean all - -# install jdk -ENV JAVA_HOME /usr/lib/jvm/jre-1.8.0-openjdk -ENV PATH $JAVA_HOME/bin:$PATH - -# copy app files -ADD . /app -RUN chmod +x /app/bin/hello-world -RUN rm -f /app/Dockerfile - -# cleanup -RUN rm -rf /tmp -RUN mkdir /tmp -RUN chmod a+rw /tmp - -# default command to execute when creating a new container -WORKDIR /app -CMD ["/app/bin/hello-world"] \ No newline at end of file diff --git a/mods-examples/hello-world/build.gradle b/mods-examples/hello-world/build.gradle index 5a331e8..58bbcda 100644 --- a/mods-examples/hello-world/build.gradle +++ b/mods-examples/hello-world/build.gradle @@ -1,5 +1,4 @@ apply plugin: 'application' -apply from: '../examples.gradle' mainClassName = 'com.satori.mods.examples.HelloWorldApp' applicationName = projectDir.name diff --git a/mods-examples/hello-world/readme.md b/mods-examples/hello-world/readme.md deleted file mode 100644 index a183172..0000000 --- a/mods-examples/hello-world/readme.md +++ /dev/null @@ -1,36 +0,0 @@ - -##### build app -``` -gradle installDist -``` - -##### run app using gradle -``` -gradle run -``` - -##### run app using command line -``` -./.out/install/hello-world/bin/hello-world -``` - -##### build docker image -``` -gradle buildDockerImage -``` - -##### run interactive docker container using gradle -``` -gradle runDockerContainer -``` - -##### run interactive docker container using command line -``` -docker run --rm -ti mods-examples-hello-world -``` - -##### run daemonized docker container -``` -docker run --restart=always --log-opt max-size=64m --log-opt max-file=16 -d --name=hello-world mods-examples-hello-world -``` - diff --git a/mods-examples/nws-usa-alerts/build.gradle b/mods-examples/nws-usa-alerts/build.gradle index a5d6206..6aa200d 100644 --- a/mods-examples/nws-usa-alerts/build.gradle +++ b/mods-examples/nws-usa-alerts/build.gradle @@ -1,6 +1,8 @@ apply plugin: 'application' apply from: '../examples.gradle' +description "nws usa alerts" + mainClassName = 'com.satori.mods.examples.NwsUsaAlerts' applicationName = projectDir.name diff --git a/mods-examples/nws-usa-alerts/docs/files/diagram.png b/mods-examples/nws-usa-alerts/docs/files/diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..e890fbf9082dfd11797656995142ce433d5b85c9 GIT binary patch literal 6016 zcmchbS6EZqx`wfVh=8DifQW*Kw75iiwa^ie-a@g2Dv%Ibzj#-V*ji*IwJ_+?;c>&qc~J$1~^592w*N-v1AKprgikit`i=4Gp7)y0Sj- zIZ8uwMC;_y!*9!%-qX;qt7$0TG4vi@O7*ulh8*BRcsW@DROO!`sG-!bGmI=^kCgpG zE&K#Xe2jO@Kq7IGC1?Cemr^U8@U!3@;n7@YXKW79eOV4S`-ae1oH=fwdXj^cg>vgr zp!)dM{@~D0@Rp36Z_ViPP7P@6Qqf)&dQE0v2aMj^g>|SUeyS$if#FV_Ehn~I@acW9Wr2k6ru$RV z3#He{_WXVzxlU_A1eqRb5wEm2Go&btmMNBdEyZou2ob^-To?V0g%*C4|MYm{XhMA5 zZv1NN_w5d0vm+qFnB}beeR|V2 zvb)q%Z0SJk(l;Al)E>2za-FJAr`SC1{&D)Q+y)c))ML8$Es#B9%6g-E^n?|l}qKz^82mzj)v8c z=XcjhC2n?;8J1rXSLFR6dmph2r2-4rVk(iGY+SkNx$}lA{^;4yE|8;2%UMx{AJOAT zUe{o7L2TkCoVaS2S8Ov$@hpmBe7ITrU92)D&T3fV5!zF7b_7179>D>#INxn^;GuAG zzuoiY6fb67XWatY^kZMZd_vvbCN0`%g$+59cR~1S zo61IDJ#*~vRwjN#QOCz&AT(EN#R$Wm$YO7#{4&mse8cPI)KS7GYYm*1)alN>`Ds2} zuV54HEcv?0;L-cIX=l4yc1n}aJ^lB%w_CVKEhQtX<|vD)7)FNMXWzZASVcxf_%c|# zEKtWZb&xy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Wlp!a)X1>Rl~&p<7ZEulc4g=d6UI1^rWjP6q>ZBSu=l z=X{c`yQ}4DmveZlLD=m@a;+oU$|Gaj>*`%r1VIIV9cG3t{n1tQ2=A3vUjjTN5bS+Z z)6VHkb)C{%20tTW(49%yS?u(=<8S}dEvk2wk}t@ij8yEK35l3`*QYu)-Ft()p(8R; zUaVEE>i*1WCkvP)8MkbH5qnWUxcTIP9#Io9wx?@wr08d-|D!?C?atLHCH+eYc0V6T z1}a=2>@o#}14W1ZephTF#*GLvdR*ndQk%L1VR39)) za4&Q%o@s@6$7k=|jK|kUolXQ>t01m8A0~W?I4`Jc@wRs|QC;+lxC>c|W2vmT77r|s z(rKWSqVuXsPUFctmeW1mV^J`8M(9liyk3v)zq$PAe4#GK!xkOV4V|V71}b9n~rKL*xfWyVVFYrtCK&K;^q{tPEn-q o{?oenkM{xPbj~s0l}zP%b;R;oo +## 'nws usa alerts' example +![diagram](docs/files/diagram.png) + ##### build app ``` gradle installDist diff --git a/mods-examples/queue/build.gradle b/mods-examples/queue/build.gradle index 371f386..c8ef993 100644 --- a/mods-examples/queue/build.gradle +++ b/mods-examples/queue/build.gradle @@ -1,6 +1,8 @@ apply plugin: 'application' apply from: '../examples.gradle' +description "queue" + mainClassName = 'com.satori.mods.examples.App' applicationName = projectDir.name diff --git a/mods-examples/queue/docs/files/diagram.png b/mods-examples/queue/docs/files/diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..f062f01e8431d42f56debeaf8fbb194d722ab553 GIT binary patch literal 3528 zcmc&%c{o&iA8&CLp~9^uv=AR&&!4mM>thZE-LSGg(m404q`?8X6FCGx z|4KNIl;oKb9-Htp7bTy^3)#p!?Z6fW)s+ihj}&x;cV?@|*u*U-HsrS#VHd88y*&gs zUKlM854z~_NH|ecsw7@A{wdG?7VWw0IIIlKELJmVYKGH98~Mbh))2=Y;#q0xr?KRy zo4VH(v8%Txmw1jBi-5wQa4<3$sf#hj81Dx7>ZI$Wk5`l(^J3cnFcopTh8<6PG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U>4ERk$Rl>*_h6h9EBs!ezwnliB+CgGNj$~`7f}`-F z$$Ion>4R6(QiQVmc^k!v*R(jP8kRMu83W!=oW@ro)q%IGsYdw6NwboW(LMZ$YAaK< z^>72MA^8Pl_mZdfk#Y?T#J)A!Uwv=O`M&?>0DLy5iT4|9xqEgM@h^F2@R>n>XxohS L&CZi_uLl1c8Wa9q literal 0 HcmV?d00001 diff --git a/mods-examples/queue/readme.md b/mods-examples/queue/readme.md index bb63acc..215726e 100644 --- a/mods-examples/queue/readme.md +++ b/mods-examples/queue/readme.md @@ -1,4 +1,7 @@ +## 'queue' example +![diagram](docs/files/diagram.png) + ##### build app ``` gradle installDist diff --git a/mods-examples/readme.template.md b/mods-examples/readme.template.md index 5a3995a..a95270a 100644 --- a/mods-examples/readme.template.md +++ b/mods-examples/readme.template.md @@ -5,6 +5,9 @@ def appScript = project.startScripts.applicationName def appName = project.applicationName def projName = project.name %>--> +## '<%=project.description%>' example +![diagram](docs/files/diagram.png) + ##### build app ``` gradle installDist diff --git a/mods-examples/rtm-filter/build.gradle b/mods-examples/rtm-filter/build.gradle index a5d6206..7962556 100644 --- a/mods-examples/rtm-filter/build.gradle +++ b/mods-examples/rtm-filter/build.gradle @@ -1,6 +1,8 @@ apply plugin: 'application' apply from: '../examples.gradle' +description "rtm filter" + mainClassName = 'com.satori.mods.examples.NwsUsaAlerts' applicationName = projectDir.name diff --git a/mods-examples/rtm-filter/docs/files/diagram.png b/mods-examples/rtm-filter/docs/files/diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..d18214bd50b3d287f59cdad7aa8f23d9b5c8afa4 GIT binary patch literal 3064 zcmb7Gc{r478>f=}lo&dQvI`SR_GCB47KIq2Wb86CB4m^$vNwaq+GI%9NK&n2Uvlg%@IG zWDER10ber50bp#B`_jn5!rcln(!U%s%E-fbfx3k$(Z?<)2-NiyGgIH(H8M)%s86>s z=i?8QtZ?9o!e!$|M(xX$+%BB+LE~h6EDB62wv}ZpvpYkqn3;F_E&G#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 100644 --- a/mods-examples/rtm-filter/readme.md +++ b/mods-examples/rtm-filter/readme.md @@ -1,4 +1,7 @@ +## 'rtm filter' example +![diagram](docs/files/diagram.png) + ##### build app ``` gradle installDist