spring-cloud-deployer-cloudfoundry | Spring Cloud Deployer implementation for Cloud | Microservice library

 by   spring-cloud Java Version: Current License: Apache-2.0

kandi X-RAY | spring-cloud-deployer-cloudfoundry Summary

kandi X-RAY | spring-cloud-deployer-cloudfoundry Summary

spring-cloud-deployer-cloudfoundry is a Java library typically used in Architecture, Microservice, Cloud-foundry applications. spring-cloud-deployer-cloudfoundry has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

This project provides a common means to deploy applications to Cloud Foundry based on the Spring Cloud Deployer SPI.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              spring-cloud-deployer-cloudfoundry has a low active ecosystem.
              It has 26 star(s) with 33 fork(s). There are 35 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 16 open issues and 197 have been closed. On average issues are closed in 55 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of spring-cloud-deployer-cloudfoundry is current.

            kandi-Quality Quality

              spring-cloud-deployer-cloudfoundry has 0 bugs and 0 code smells.

            kandi-Security Security

              spring-cloud-deployer-cloudfoundry has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              spring-cloud-deployer-cloudfoundry code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              spring-cloud-deployer-cloudfoundry is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              spring-cloud-deployer-cloudfoundry releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed spring-cloud-deployer-cloudfoundry and discovered the below as its top functions. This is intended to give you an instant insight into spring-cloud-deployer-cloudfoundry implemented functionality, and help decide if they suit your requirements.
            • Builds the tree of expressions
            • Store expressions in the string
            • Add a value to the set
            • Checks the next value
            • Deploys an application
            • Creates a map of command line arguments
            • Adds the environment variables to the application environment
            • Push an application into the deployment
            • Schedules the schedule
            • Retrieves the number of jobs that are available
            • Schedules a task for execution
            • Retrieves the job id associated with the specified PCF job
            • Deletes the application file
            • Delete file or directory
            • Determine if the resource should be deleted
            • Request bind service
            • The task launcher will be used by the client
            • Initialize the app name prefix
            • Retrieves the log message
            • Lists all spaces
            • List organization id
            • Creates an AppStatus object from the application details
            • Launches a reactor
            • Transforms getTask response to TaskStatus
            • Get attributes
            • Retrieves the log for a task
            Get all kandi verified functions for this library.

            spring-cloud-deployer-cloudfoundry Key Features

            No Key Features are available at this moment for spring-cloud-deployer-cloudfoundry.

            spring-cloud-deployer-cloudfoundry Examples and Code Snippets

            No Code Snippets are available at this moment for spring-cloud-deployer-cloudfoundry.

            Community Discussions

            QUESTION

            Running a spring batch with partitions in cloud foundry
            Asked 2018-Jun-04 at 14:40

            I have created an app with spring batch(with partition) application taking example of this https://github.com/mminella/S3JDBC. My app is reading some files from object store and doing some processing and writing back to object the store. My app with local partition works fine in my machine.

            I changed the maven, to run in cloud foundry , did change for deployer partition handler and step execution listener and deploying on pcf.

            But while trying to push and run the app on pcf , I am getting an issue : Failing URI /v2/info. I tried to log the error found that there is one call to my app e.g https://mypcf.com:443/v2/info and after that it gives the error. I cant provide full logs because of some restrictions. So I want to know :

            1. To deploy a spring batch in pcf(is there any extra configuration needed except the maven dependency and code changes for deployerpartitionhandler and stepexecutionlistener and @cloudtask): org.springframework.cloud spring-cloud-deployer-cloudfoundry 1.1.0.M1
            2. Is it mandatory to have a separate data base service like my-sql for the partition job. Cant I use H2(the default one, if I don't configure anything)?
            3. Do I need to do any configuration in pcf to support running multiple partitions ?
            4. As I am running remote partitioning , can I run that app on local STS or Intellij(not on PCF-DEV)so that it will run my app in pcf(remote) and launch the workers.(Sorry for the stupid question , I am new to PCF).
            ...

            ANSWER

            Answered 2018-Jun-04 at 14:40

            Thanks for checking out my example. To answer your questions:

            1. You should be able to use the latest deployer release (instead of that rather old version).
            2. Yes. Partitioned steps need to all be able to share the same job repository data store so an in memory database like H2 will not work for that use case.
            3. Besides defining your datasource, that's all that is required to live in PCF. That being said, there are other things that need to be configured, but you can use other mechanisms to do so (Spring Cloud Config Server, application.properties/yml, etc).
            4. Yes, you should be able to run the master locally and have it deploy the workers onto PCF if you're using the CF deployer.

            Source https://stackoverflow.com/questions/50654448

            QUESTION

            Not able to execute task using stream in cloud foundry
            Asked 2017-Aug-24 at 10:21

            I have created a stream which is working in local and able to execute task by keeping spring-cloud-deployer-local dependency in the class path of sink application. Now the same application I want to test in PCF by changing the deployer with spring-cloud-deployer-cloudfoundry but app is not able to start in PCF. Please find the PCF log for same .

            PCF log

            ...

            ANSWER

            Answered 2017-Aug-24 at 10:21

            Apparently, you are missing this reactor-core dependency:

            io.projectreactor reactor-core ${reactor.version}

            Choose the compatible version for the reactor core. For instance, if you are using CF deployer 1.2.x then choose any of the 3.0.x versions of reactor-core.

            Source https://stackoverflow.com/questions/45853926

            QUESTION

            Launching a Task via Http use Cloudsteam and Cloudfoundary Tasklauncher
            Asked 2017-Jun-01 at 20:17

            I Try to start a Spring Cloud Task by Message (Http Post). http-->Processor("Transform the Message into an Tasklaunchrequest")-->CloudFoundaryTasklauncher. I use 3 seperate services HTTP-Cnntroller(Source) ,RequestTransformer(Processor),Tasklauncher(Sink).Sending the POST Message to the HTTP-Cnntroller and the Requesttransformation works fine. But it's seems the Tasklaunching not work...I need help (solution without Spring Cloud Dataflow)

            Environment: pcfdev version version 6.26.0+9c9a261.2017-04-06.

            Tasklauncher

            ...

            ANSWER

            Answered 2017-Jun-01 at 20:17

            Few things I noticed.

            1)

            org.springframework.cloud spring-cloud-deployer-cloudfoundry 1.0.0.RELEASE

            1.0.0.RELEASE is severely old. We are currently at 1.2.0.RELEASE - please use the latest. There have been a lot of stability and performance improvements around stream/task apps and how they are orchestrated via this library. Also, please use the latest release of CF-server as well.

            2) The error:

            2017-05-30T09:34:37.981+02:00 [APP/PROC/WEB/0] [OUT] Caused by: org.springframework.messaging.MessageHandlingException: nested exception is java.lang.IllegalStateException: Timeout on blocking read

            This is usually observed when the predefined timeout setting is not enough to launch the task in SCDF running on CF. We have an env-var SPRING_CLOUD_DEPLOYER_CLOUDFOUNDRY_TASK_API_TIMEOUT that can be overridden to a larger value. In 1.2.0, we default this to 360s.

            Source https://stackoverflow.com/questions/44257528

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install spring-cloud-deployer-cloudfoundry

            You can download it from GitHub.
            You can use spring-cloud-deployer-cloudfoundry like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the spring-cloud-deployer-cloudfoundry component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/spring-cloud/spring-cloud-deployer-cloudfoundry.git

          • CLI

            gh repo clone spring-cloud/spring-cloud-deployer-cloudfoundry

          • sshUrl

            git@github.com:spring-cloud/spring-cloud-deployer-cloudfoundry.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link