This is an automated email from the ASF dual-hosted git repository.

shuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/unomi-site.git


The following commit(s) were added to refs/heads/master by this push:
     new a1a441a  Change CEST to CET and add new connectors page for proposal
a1a441a is described below

commit a1a441a5d7010e6ea77e79ab4829e34fca1ae609
Author: Serge Huber <[email protected]>
AuthorDate: Mon Nov 15 22:34:22 2021 +0100

    Change CEST to CET and add new connectors page for proposal
---
 src/main/webapp/community/events/index.html        |  2 +-
 .../community/events/meetups/2021-11-18.html       |  6 +-
 src/main/webapp/connectors.html                    | 77 ++++++++++++++++++++++
 src/main/webapp/index.html                         |  2 +-
 4 files changed, 82 insertions(+), 5 deletions(-)

diff --git a/src/main/webapp/community/events/index.html 
b/src/main/webapp/community/events/index.html
index 139010f..1e5a867 100644
--- a/src/main/webapp/community/events/index.html
+++ b/src/main/webapp/community/events/index.html
@@ -32,7 +32,7 @@ layout: default
             <h3>Coming up !</h3>
 
             <ul>
-                <li>November 18th, 2021, 1600-1800 CEST: <a 
href="meetups/2021-11-18.html">First ever Apache Unomi
+                <li>November 18th, 2021, 1600-1800 CET: <a 
href="meetups/2021-11-18.html">First ever Apache Unomi
                     meetup</a></li>
             </ul>
 
diff --git a/src/main/webapp/community/events/meetups/2021-11-18.html 
b/src/main/webapp/community/events/meetups/2021-11-18.html
index 2a280f7..de7c76c 100644
--- a/src/main/webapp/community/events/meetups/2021-11-18.html
+++ b/src/main/webapp/community/events/meetups/2021-11-18.html
@@ -1,5 +1,5 @@
 ---
-title: Events - Coming up - Meetups - First Apache Unomi Meetup, Nov 18th 2021 
1600-1800 CEST
+title: Events - Coming up - Meetups - First Apache Unomi Meetup, Nov 18th 2021 
1600-1800 CET
 layout: default
 ---
 
@@ -33,7 +33,7 @@ layout: default
             <p>
                 Join us for the first ever (online) community meetup of the 
Apache Unomi CDP project organized by the
                 Apache
-                project management committee (PMC) on <strong>Nov 18th, 2021 
from 1600 to 1800 CEST</strong> and learn
+                project management committee (PMC) on <strong>Nov 18th, 2021 
from 1600 to 1800 CET</strong> and learn
                 about API-first open-source
                 customer data, analytics and personalization!
             </p>
@@ -46,7 +46,7 @@ layout: default
 
             <h2>When and where</h2>
 
-            <p>November 18th, 2021 at 1600-1800 CEST in an online meeting (see 
registration below).</p>
+            <p>November 18th, 2021 at 1600-1800 CET in an online meeting (see 
registration below).</p>
 
             <h2>Agenda</h2>
 
diff --git a/src/main/webapp/connectors.html b/src/main/webapp/connectors.html
new file mode 100644
index 0000000..bfa2580
--- /dev/null
+++ b/src/main/webapp/connectors.html
@@ -0,0 +1,77 @@
+---
+title: Documentation
+layout: default
+---
+
+    <div class="container mb-5 pt-5">
+      <h2 class="pb-2 mb-2 border-bottom">Connectors</h2>
+
+      <h4 class="pt-4 mt-2 text-dark">Featured</h4>
+
+      <div class="row mb-2">
+        <div class="col-md-4">
+          <div class="card flex-md-row mb-4 box-shadow h-md-250">
+            <div class="card-body d-flex flex-column align-items-start">
+              <strong class="d-inline-block mb-2 text-success"><i class="fas 
fa-circle"></i> Stable</strong>
+              <h3 class="mb-0 text-dark">Salesforce CRM <span 
class="text-muted">1.5.7</span></h3>
+              <div class="mb-1 text-muted">Last update: July 27th, 2021</div>
+              <p class="card-text">
+                <a href="manual/1_5_x/index.html">Download</a><br>
+              </p>
+            </div>
+          </div>
+        </div>
+        <div class="col-md-4">
+          <div class="card flex-md-row mb-4 box-shadow h-md-250">
+            <div class="card-body d-flex flex-column align-items-start">
+              <strong class="d-inline-block mb-2 text-warning"><i class="fas 
fa-circle"></i> Unstable</strong>
+              <h3 class="mb-0 text-dark">MailChimp <span 
class="text-muted">${latest.development.version}</span></h3>
+              <div class="mb-1 text-muted">In development</div>
+              <p class="card-text">
+                <a href="manual/latest/index.html">Download</a><br>
+              </p>
+            </div>
+          </div>
+        </div>
+        <div class="col-md-12">
+          <p>Add your own connector to this page! Learn <a href="">how 
now</a>.</p>
+        </div>
+      </div>
+
+      <h4 class="pt-4 mt-2 text-dark">Build your own !</h4>
+
+      <div class="row mb-2">
+        <div class="col-md-8">
+          <p>Quick example of a Groovy connector</p>
+          <code>
+            <pre>
+import org.apache.unomi.api.services.EventService
+import org.jsoup.nodes.Document
+
+import static groovyx.net.http.HttpBuilder.configure
+
+Document page = configure {
+    request.uri = 
'https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-all'
+}.get()
+
+String license = page.select('span.b.lic').collect { it.text() }.join(', ')
+
+println "Event type:${event.getEventType()}"
+println "Profile ID=${event.getProfile().getItemId()}"
+println "Action name=${action.actionType.metadata.name}"
+println "Action parameters=${action.parameterValues}"
+
+println "Groovy is licensed under: ${license}"
+
+EventService.NO_CHANGE
+            </pre>
+          </code>
+        </div>
+        <div class="col-md-4">
+          <a href="">Learn</a> more about building your own Groovy connector !
+        </div>
+      </div>
+    </div>
+
+      </div><!-- /.container -->
+
diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html
index 4b58e86..a900b29 100644
--- a/src/main/webapp/index.html
+++ b/src/main/webapp/index.html
@@ -37,7 +37,7 @@ layout: default
 
             <p>
             Join us for the first ever (online) community meetup of the Apache 
Unomi CDP project organized by the Apache
-            project management committee (PMC) on <strong>Nov 18th, 2021 from 
1600 to 1800 CEST</strong> and learn about API-first open-source
+            project management committee (PMC) on <strong>Nov 18th, 2021 from 
1600 to 1800 CET</strong> and learn about API-first open-source
             customer data, analytics and personalization!
             </p>
 

Reply via email to