Tool for performing Liferay Client Extension related operations from the command line
Getting Started with new Client Extensions Dev Experience aka Localdev
import org.apache.kafka.clients.producer.KafkaProducer; | |
import org.apache.kafka.clients.producer.ProducerConfig; | |
import org.apache.kafka.clients.producer.ProducerRecord; | |
import org.apache.kafka.common.security.scram.ScramLoginModule; | |
import org.apache.kafka.common.serialization.StringSerializer; | |
import java.util.Properties; | |
public class PaymentConfirmedProducer { |
import org.apache.kafka.clients.consumer.ConsumerConfig; | |
import org.apache.kafka.clients.consumer.ConsumerRecord; | |
import org.apache.kafka.clients.consumer.KafkaConsumer; | |
import org.apache.kafka.common.security.scram.ScramLoginModule; | |
import org.apache.kafka.common.serialization.StringDeserializer; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import java.time.Duration; | |
import java.util.List; |
{ | |
"entryType":"Web Content Article", | |
"entryClassPK":"34471", | |
"transitionURL":"/o/headless-admin-workflow/v1.0/workflow-tasks/34488/change-transition", | |
"entryClassName":"com.liferay.journal.model.JournalArticle", | |
"kaleoTaskInstanceToken":{ | |
"columnBitmask":0, | |
"cachedModel":false, | |
"groupId":20119, | |
"dueDate":null, |
buildscript { | |
dependencies { | |
classpath files("/home/... the entire path to .../liferay-portal/modules/sdk/gradle-plugins-workspace/build/tmp/jar/com.liferay.gradle.plugins.workspace-6.1.4.jar") | |
classpath files("/home/... the entire path to .../liferay-portal/modules/sdk/gradle-plugins-workspace/lib/com.liferay.workspace.bundle.url.codec-1.0.0.jar") | |
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd.gradle", version: "5.2.0" | |
classpath group: "com.bmuschko", name: "gradle-docker-plugin", version: "6.7.0" | |
classpath group: "com.fasterxml.jackson.core", name: "jackson-databind", version: "2.10.3" | |
classpath group: "com.fasterxml.jackson.dataformat", name: "jackson-dataformat-yaml", version: "2.10.3" | |
classpath group: "com.google.code.gson", name: "gson", version: "2.9.0" | |
classpath group: "com.liferay", name: "com.liferay.gradle.plugins", version: "14.0.128" |
/** | |
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. | |
* | |
* This library is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU Lesser General Public License as published by the Free | |
* Software Foundation; either version 2.1 of the License, or (at your option) | |
* any later version. | |
* | |
* This library is distributed in the hope that it will be useful, but WITHOUT | |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
mkdir mysql-ws
to download mysql filescd mysql-ws
, download the mysql bundle.
wget https://downloads.mysql.com/archives/get/p/23/file/mysql-server_5.7.28-1ubuntu18.04_amd64.deb-bundle.tar
tar -xvf mysql-server_5.7.28-1ubuntu18.04_amd64.deb-bundle.tar
rm -rf mysql-testsuite_5.7.28-1ubuntu18.04_amd64.deb mysql-community-test_5.7.28-1ubuntu18.04_amd64.deb
sudo dpkg -i mysql-*deb