Git Product home page Git Product logo

Comments (7)

TEJAPS avatar TEJAPS commented on August 13, 2024

@achyuthe , can you please rephrase your question
whether the issue is with camunda engine or camunda client

which API are you talking about
can you provide more such details, thank you

from camunda_springboot.

achyuthe avatar achyuthe commented on August 13, 2024

@TEJAPS My email is [email protected]. Can we talk there.

from camunda_springboot.

TEJAPS avatar TEJAPS commented on August 13, 2024

Try going through this demo once : https://www.youtube.com/watch?v=jKELnreX-80

from camunda_springboot.

achyuthe avatar achyuthe commented on August 13, 2024

@TEJAPS
This is my pom.xml. I am not able to deploy my flow into camunda using the rest end point

4.0.0 org.springframework.boot spring-boot-starter-parent 2.2.0.RELEASE
<groupId>com.test.usx</groupId>
<artifactId>erb</artifactId>
<version>1.4</version>
<name>erb</name>
<description>Workflow</description>

<inceptionYear>2019</inceptionYear>


<repositories>
    <repository>
        <id>cloudera</id>
        <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
    </repository>
    <repository>
        <id>confluent</id>
        <url>http://packages.confluent.io/maven/</url>
    </repository>
    <repository>
        <id>camunda-bpm-nexus</id>
        <name>Camunda Maven Repository</name>
        <url>https://app.camunda.com/nexus/content/groups/public</url>
    </repository>
</repositories>
<pluginRepositories>
    <pluginRepository>
        <id>cloudera</id>
        <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
    </pluginRepository>
    <pluginRepository>
        <id>confluent</id>
        <url>http://packages.confluent.io/maven/</url>
    </pluginRepository>
</pluginRepositories>

<distributionManagement>
    <repository>
        <id>releases</id>
        <name>Internal Releases</name>
        <url>http://nexus.rxcorp.com:8081/nexus/repository/releases/</url>
    </repository>
    <snapshotRepository>
        <id>snapshots</id>
        <uniqueVersion>true</uniqueVersion>
        <name>Internal Snapshots</name>
        <url>http://nexus.rxcorp.com:8081/nexus/repository/snapshots/</url>
    </snapshotRepository>
</distributionManagement>


<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <java.level>8</java.level>
    <java.version>1.${java.level}</java.version>
    <jdk.version>${java.version}</jdk.version>
    <scala.binary.version>2.11</scala.binary.version>
    <scala.version>${scala.binary.version}.12</scala.version>
    <maven.compiler.source>${java.version}</maven.compiler.source>
    <maven.compiler.target>${java.version}</maven.compiler.target>
    <kafka-avro-serializer.version>3.3.1</kafka-avro-serializer.version>
    <spring.vault.version>2.1.0.RELEASE</spring.vault.version>
    <avro.version>1.8.2</avro.version>
    <camunda.version>7.14.0</camunda.version>
    <camunda-bpm-spring-boot.version>3.3.1</camunda-bpm-spring-boot.version>
    <javax.mail.version>1.6.2</javax.mail.version>
    <spray.json.version>1.3.5</spray.json.version>
    <jackson.mapper.version>1.9.12</jackson.mapper.version>
    <event-schema-utils.version>1.5</event-schema-utils.version>
    <logback-classic.version>1.3.0-alpha4</logback-classic.version>
    <logback-elastic.version>1.6</logback-elastic.version>
    <scala-maven-plugin.version>3.2.2</scala-maven-plugin.version>
    <ojdbc.version>12.1.0.2</ojdbc.version>
    <logback-elastic.version>1.6</logback-elastic.version>
    <springfox-swagger.version>2.9.2</springfox-swagger.version>
    <h2batabase.version>1.4.197</h2batabase.version>
    <git-commit-id-plugin.version>3.0.1</git-commit-id-plugin.version>
    <jgitflow-maven-plugin.version>1.0-m5.1</jgitflow-maven-plugin.version>
    <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
</properties>

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.camunda.bpm</groupId>
            <artifactId>camunda-bom</artifactId>
            <version>${camunda.version}</version>
            <scope>import</scope>
            <type>pom</type>
        </dependency>
    </dependencies>
</dependencyManagement>

<dependencies>
    <dependency>
        <groupId>org.scala-lang</groupId>
        <artifactId>scala-library</artifactId>
        <version>${scala.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.kafka</groupId>
        <artifactId>spring-kafka</artifactId>
    </dependency>
    <!--   <dependency>
           <groupId>com.rxcorp.usx.ebo</groupId>
           <artifactId>ebo-custom-webapp</artifactId>
           <version>7.11.0-SNAPSHOT</version>
       </dependency>-->
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
    </dependency>
    <dependency>
        <groupId>org.camunda.bpm.springboot</groupId>
        <artifactId>camunda-bpm-spring-boot-starter</artifactId>
        <version>${camunda.version}</version>
    </dependency>
    <dependency>
        <groupId>org.camunda.bpm.springboot</groupId>
        <artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
        <version>${camunda.version}</version>
    </dependency>
    <dependency>
        <groupId>org.camunda.bpm.springboot</groupId>
        <artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId>
        <version>${camunda.version}</version>
        <!--    <exclusions>
                <exclusion>
                    <groupId>org.camunda.bpm.webapp</groupId>
                    <artifactId>camunda-webapp-webjar</artifactId>
                </exclusion>
            </exclusions>-->
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-security</artifactId>
    </dependency>

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-jdbc</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-devtools</artifactId>
        <scope>runtime</scope>
        <optional>true</optional>
    </dependency>
    <dependency>
        <groupId>com.rxcorp.usx.ebo</groupId>
        <artifactId>event-schema-utils</artifactId>
        <version>${event-schema-utils.version}</version>
    </dependency>
    <dependency>
        <groupId>com.sun.mail</groupId>
        <artifactId>javax.mail</artifactId>
        <version>${javax.mail.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-configuration-processor</artifactId>
        <optional>true</optional>
    </dependency>
    <dependency>
        <groupId>org.projectlombok</groupId>
        <artifactId>lombok</artifactId>
        <optional>true</optional>
    </dependency>
    <dependency>
        <groupId>org.camunda.bpm.extension.swagger</groupId>
        <artifactId>camunda-bpm-swagger-json</artifactId>
        <version>7.8.0</version>
    </dependency>
    <dependency>
        <groupId>org.webjars</groupId>
        <artifactId>swagger-ui</artifactId>
        <version>3.1.4</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>com.h2database</groupId>
        <artifactId>h2</artifactId>
        <version>${h2batabase.version}</version>
        <scope>runtime</scope>
    </dependency>
    <dependency>
        <groupId>com.oracle</groupId>
        <artifactId>ojdbc7</artifactId>
        <version>${ojdbc.version}</version>
    </dependency>
    <dependency>
        <groupId>org.apache.avro</groupId>
        <artifactId>avro</artifactId>
        <version>${avro.version}</version>
    </dependency>
    <dependency>
        <groupId>io.confluent</groupId>
        <artifactId>kafka-avro-serializer</artifactId>
        <version>${kafka-avro-serializer.version}</version>
    </dependency>
    <dependency>
        <groupId>com.internetitem</groupId>
        <artifactId>logback-elasticsearch-appender</artifactId>
        <version>${logback-elastic.version}</version>
    </dependency>
    <dependency>
        <groupId>io.springfox</groupId>
        <artifactId>springfox-swagger2</artifactId>
        <version>${springfox-swagger.version}</version>
    </dependency>
    <dependency>
        <groupId>io.springfox</groupId>
        <artifactId>springfox-swagger-ui</artifactId>
        <version>${springfox-swagger.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-vault-config</artifactId>
        <version>${spring.vault.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.kafka</groupId>
        <artifactId>spring-kafka-test</artifactId>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>io.spray</groupId>
        <artifactId>spray-json_${scala.binary.version}</artifactId>
        <version>${spray.json.version}</version>
    </dependency>
</dependencies>
<build>
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <configuration>
                <mainClass>com.rxcorp.usx.ebo.EventBasedOrchestratorApplication</mainClass>
                <layout>ZIP</layout>
            </configuration>
        </plugin>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>${maven-compiler-plugin.version}</version>
            <configuration>
                <source>${maven.compiler.source}</source>
                <target>${maven.compiler.target}</target>
            </configuration>
            <executions>
                <execution>
                    <phase>compile</phase>
                    <goals>
                        <goal>compile</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
        <plugin>
            <groupId>external.atlassian.jgitflow</groupId>
            <artifactId>jgitflow-maven-plugin</artifactId>
            <version>${jgitflow-maven-plugin.version}</version>
            <configuration>
                <enableSshAgent>true</enableSshAgent>
                <noDeploy>true</noDeploy>
                <noReleaseBuild>true</noReleaseBuild>
                <noFeatureBuild>true</noFeatureBuild>
                <noHotfixBuild>true</noHotfixBuild>
                <enableFeatureVersions>false</enableFeatureVersions>
                <releaseBranchVersionSuffix>RC</releaseBranchVersionSuffix>
                <allowSnapshots>true</allowSnapshots>
                <pushReleases>true</pushReleases>
                <pushHotfixes>true</pushHotfixes>
                <pushFeatures>true</pushFeatures>
                <flowInitContext>
                    <versionTagPrefix>v</versionTagPrefix>
                </flowInitContext>
            </configuration>
        </plugin>
        <plugin>
            <groupId>net.alchim31.maven</groupId>
            <artifactId>scala-maven-plugin</artifactId>
            <version>${scala-maven-plugin.version}</version>
            <configuration>
                <scalaCompatVersion>${scala.binary.version}</scalaCompatVersion>
                <scalaVersion>${scala.version}</scalaVersion>
                <jvmArgs>
                    <jvmArg>-Xmx4g</jvmArg>
                </jvmArgs>
                <recompileMode>incremental</recompileMode>
                <useZincServer>true</useZincServer>
            </configuration>
            <executions>
                <execution>
                    <id>scala-compile-first</id>
                    <phase>process-resources</phase>
                    <goals>
                        <goal>add-source</goal>
                        <goal>compile</goal>
                    </goals>
                </execution>
                <execution>
                    <id>scala-test-compile</id>
                    <phase>process-test-resources</phase>
                    <goals>
                        <goal>testCompile</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
        <plugin>
            <groupId>pl.project13.maven</groupId>
            <artifactId>git-commit-id-plugin</artifactId>
            <version>${git-commit-id-plugin.version}</version>
            <executions>
                <execution>
                    <id>get-the-git-infos</id>
                    <goals>
                        <goal>revision</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
                <prefix>git</prefix>
                <verbose>false</verbose>
                <generateGitPropertiesFile>true</generateGitPropertiesFile>
                <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
                <format>json</format>
                <gitDescribe>
                    <skip>false</skip>
                    <always>false</always>
                    <dirty>-dirty</dirty>
                </gitDescribe>
            </configuration>
        </plugin>
    </plugins>
</build>

from camunda_springboot.

TEJAPS avatar TEJAPS commented on August 13, 2024

Based on versions the base rest path prefix is changing, it should be one of the below POST request:

  1. http://localhost:8085/engine-rest/deployment/create
  2. http://localhost:8085/rest/deployment/create

prefix that is changing is engine-rest or rest

from camunda_springboot.

AkshitKumar13 avatar AkshitKumar13 commented on August 13, 2024

Hi @TEJAPS if your Swagger UI is not coming then i can help you in this project please assign this to me

from camunda_springboot.

TEJAPS avatar TEJAPS commented on August 13, 2024

Hi @AkshitKumar13 I have not added any swagger ui for springboot app - as it does not have much exposed custom api's.
All we are using so far is camunda api's only.

But if you are interested
You can come up with any one utility api
And then you can proceed with swagger ui for the same.

Thank you

from camunda_springboot.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.