Git Product home page Git Product logo

eclipse-integration-cloudfoundry's Introduction

IMPORTANT BREAKING CHANGES - October 2015

Cloud Foundry Integration for Eclipse is now an Eclipse project under Eclipse Cloud Development, and it has been renamed Eclipse Tools for Cloud Foundry (CFT):

https://projects.eclipse.org/projects/ecd.cft

This move will increase the exposure of the tools to a larger Eclipse user-base, and further enhance its features through additional contributions and feedback from a wider community.

New Repository

As part of moving to Eclipse, the tools are now hosted in a new Eclipse GitHub repository:

https://github.com/eclipse/cft

Breaking Bundle and Extension Point Changes

To comply with Eclipse project naming conventions, ALL bundle names and extension point IDs have been renamed in the new repository. This means that new versions of the tools based off the new GitHub repository will NOT be backward compatible with any older versions of the tools.

New CLA

CLA governing third-party contributions in the new repository have also changed, and the new tools will be dual-licensed: Apache License 2.0 and EPL. All third-party contributors will be required to sign a new CLA before Pull Requests are accepted and merged in the new repository. Please follow the links above for further information.

Third-Party Pull Requests in New Repository

Transition is still ongoing, and the new repository will continue to be changed frequently in the first three weeks of October 2015. It is advisable NOT to submit new Pull Requests to the new repository until after October 20 2015 as it may require re-submission due to merge conflicts. Please check the new repository README for updates.

Update Sites

For the time being, the update site URLs remain unchanged:

Current release:

http://dist.springsource.com/release/TOOLS/cloudfoundry

Nightly build:

http://dist.springsource.com/snapshot/TOOLS/cloudfoundry/nightly

However, once again, as we move forward with nightly builds based off the new repository and publish new releases, they will NOT be backward compatible with the old tools. We plan on implementing detection mechanisms such that users will be warned if the new versions of the tools, whether from the nightly or release sites, or the Eclipse marketplace, are being installed in targets that already contain the old version.

Ongoing Transition

We will no longer be accepting Pull Requests, or maintaining any of the branches in the old repository:

https://github.com/cloudfoundry/eclipse-integration-cloudfoundry

Any new enhancements and bug fixes will be pushed to the new repository.

The transition is still ongoing so we will continue to update the new repository README as new changes occur.

Raising Bugs and Feature Requests

As CFT is now an Eclipse project, bugs and new feature requests should be raised via bugzilla:

https://bugs.eclipse.org/bugs/

We will migrate some of the existing bugs and feature requests to bugzilla as well.

Next Release - November 2015

The tentative release date for the first version of CFT based off the new names and IDs, and the new repository, is the first week of November, 2015.

[OLD README] Cloud Foundry Integration for Eclipse

The Cloud Foundry Integration for Eclipse provides first-class support for the [Cloud Foundry PaaS] (http://www.cloudfoundry.com/). It allows you to directly deploy applications from your workspace to a running Pivotal CF server instance, view and manage deployed applications and services, start and stop applications.

Installation (Release)

Java 7 is now a minimum execution environment requirement to install and run Cloud Foundry Integration for Eclipse. Please make sure your Eclipse or STS is using a Java 7 or higher JRE.

when using Eclipse

Go to the [Eclipse Marketplace] (https://marketplace.eclipse.org/) and search for "Cloud Foundry". You will find the release of the Cloud Foundry Integration for Eclipse and can install that into your existing Eclipse installation. An Eclipse JEE package is recommended.

when using STS

When using the Spring Tool Suite, please make sure to upgrade to the latest STS release and then go to the Dashboard -> Extensions and select the Cloud Foundry Integration for Eclipse from there.

manually from the update site

You can always install the latest release of the Cloud Foundry Integration for Eclipse from here:

http://dist.springsource.com/release/TOOLS/cloudfoundry

(put this URL into the "Install New Software" dialog of your Eclipse)

Offline Installation

Release versions of Cloud Foundry Integration for Eclipse can be installed offline using one of the release update site zip files listed below. Once the zip file is available in an offline environment, Cloud Foundry Integration for Eclipse can be installed following these steps in Eclipse or STS:

Help -> Install New Software -> Add -> Archive

Browse to the location of the zip file, and installation should complete in offline mode.

Zips for the update sites can be found here:

Update Sites Zips

Getting started

The basic steps for using the Cloud Foundry Integration for Eclipse are described here:

http://docs.cloudfoundry.org/buildpacks/java/sts.html

Just notice that this description is targeted at users of the SpringSource Tool Suite, but once you have the Eclipse integration for Cloud Foundry installed, you can use it in the same way as described.

Getting started with Cloud Foundry, including registering a new account, can be done through:

http://docs.cloudfoundry.com/

Building the project

The Cloud Foundry Integration for Eclipse uses Maven Tycho to do continuous integration builds and to produce p2 repos and update sites. To build the tooling yourself, you can execute:

mvn -Pe36 package

eclipse-integration-cloudfoundry's People

Contributors

aclement avatar asifdxtreme avatar bcyeah avatar elsony avatar jgwest avatar keithchong avatar martinlippert avatar ohdoking avatar orlandoibm avatar phanatic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eclipse-integration-cloudfoundry's Issues

Allow extension of application server name in log messages to the console

I have a branding extension that allows me to change the icon and server name in the UI for the server. When I deploy an app to the server using the Run As> dialog, I see log messages of this type in the console :

Checking application - my-web-app
Generating application archive
Creating application in Cloud Foundry server
Pushing application to Cloud Foundry server
Application successfully pushed to Cloud Foundry server
Starting and staging application

I'd love to change this to
Checking application - my-web-app
Generating application archive
Creating application in server
Pushing application to server
Application successfully pushed to server
Starting and staging application

I'd like to submit a PR which adds another extension point to the branding plugin which takes in the company name or just uses the one passed in to the server type name.

CF plugin leaves host name text field disabled in new server wizard

See the following STS JIRA for details: https://issuetracker.springsource.com/browse/STS-4024

The fix that worked for me:

if (curOldValue != curNewValue) {
   if (/NEW/ curNewValue == null /NEW/ || !!! curNewValue instanceof IServerType) {
       if (isSupportedServerType((IServerType)curNewValue)) {
                        // Disable the host name field
                        if (controlListener != null) {

Chunk of code between /NEW/ has been added to account for null values that can be selected (folders)

Loggregator support

I'm planning to contribute the removal of the stdout and stderr log files to the DEA soon.

cloudfoundry-attic/dea_ng#115

I hope that loggregator integration is high on your list. I want to get my developers to start using this plugin soon but viewing logs will be important.

Json prase probelm

When I try to login with a user I get the following error appears:

Unable to communicate with server - Could not read JSON: No content to map due to end-of-input at [Source: org.apache.http.conn.EofSensorInputStream@161e6025; line: 1, column: 2482]; nested exception is com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input
 at [Source: org.apache.http.conn.EofSensorInputStream@161e6025; line: 1, column: 2482]

This is the response I get from my token endpoint, which is for the CF-CLI fully valid and works.

{"access_token":"eyJhbGciOiJSUzI1NiJ9...","token_type":"bearer","refresh_token":"eyJhbGciOiJSUiJ9...","expires_in":599,"scope":["password.write","cloud_controller.write","openid","cloud_controller.read"],"jti":"0eb132c2-f400-4b27-bfd5-8a0315284d2e","sub":"123321-1233-4353-8490-e1df73ef239c","client_id":"cf","cid":"cf","azp":"cf","grant_type":"password","user_id":"1234567-1234-2343-8490-e1df73ef239c","user_name":"username1","email":"[email protected]","iat":1427816165,"exp":1427816765,"iss":"https:\/\/uaa.xyx.ch\/oauth\/token","aud":["cf","password","cloud_controller","openid"]}

Thanks for you help
Dave

Here some more information:
Plugin version: 1.8.1 (A collegue of mine also tried this with version 1.8)
This happens when I try to login into a CF within the wizard of creating a new CF server.

App creation wizard should allow non-url (i.e. system/admin) buildpacks

App creation wizard expects to have a valid url in the buildpack field which is wrong behavior. Users should be able to specify a system or admin buildpack in this field.
If a manifest with a non-url buildpack name is present, the buildpack field is populated correctly and validation does not get triggered.

Handle prompts data

Starting position:
We have implemented an external authorization server (portal). So the portal provides the login information which also provides the prompts. The CF UAA functions for token handling only.

In the /login response from the portal asks for the following prompts: username, 2factor, password.

I have the same problem as here https://groups.google.com/a/cloudfoundry.org/forum/#!searchin/vcap-dev/eclipe/vcap-dev/btP9wybkg1E/uQd59Z8MPiAJ.

My questions: Are additional prompts properly handled?
After a lot of analyses I think this is the problem.

Authentication using self-signed certificates fails

I've created a self-signed cert in Ops Manager. Validating server credentials using the admin account in version 1.81 of the plugin (in STS 3.5.1) results in an authentication error:

Unable to communicate with server - I/O error on GET request for "https://api.system.22x.edu.pivotal.io/info":sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Using the --skip-ssl-validation option on the CLI results in a successful login. For the record, I've downloaded version 1.73 of the plugin and it does successfully authenticate on validation.

Drag & Drop of web app opens the Deploy Application wizard twice

When I drag and drop a web app onto the application & services window in a server's properties, the Deploy application wizard pops up twice.
The plugin version I'm using is :
Cloud Foundry Integration for Eclipse 1.7.0.201406182004-RELEASE

Here's a screenshot
img

Unable to add NISE CF as a server in Eclipse via CF Plugin

I want add my private CF NISE cloud as a server in the Eclipse IDE via the CloudFoundry Plugin.

My CF NISE setup is on virtualbox.

Initially, there were SSL exceptions (due to expired hard coded certificate in the code base and incorrect CN). i replaced the certificates with CN = api.10.39.39.39.xip.io.

the URL provided is "https://api.10.39.39.39.xip.io".
It needs email address and password to validate the account.
i have tried admin/c1oudc0w and vagrant/vagrant but its unable to validate
eclipse1

What credentials does this plugin expect for a CF NISE setup?

Prompt users whether to delete published application when deleting a workspace project

When deleting a project that is mapped to a published Cloud module, prompt the user whether to delete the application or not.

This implementation could reuse the same replace method in CloudFoundryServer as used by the "Unmap Project" feature:

https://github.com/cloudfoundry/eclipse-integration-cloudfoundry/blob/5b85a860efffe62426dc12235a0d60e586f1fdb2/org.cloudfoundry.ide.eclipse.server.core/src/org/cloudfoundry/ide/eclipse/server/core/internal/CloudFoundryServer.java#L583

This was originally raised via a Pull Request from HuaweiTech:

#27

New Eclipse with CF integration has message in the .log file about Grails

The following error message shows up in my workspace .log file when I installed only the CF integration (not the UAA plugins).

!ENTRY org.eclipse.wst.common.project.facet.core 4 0 2012-04-09 22:11:23.409
!MESSAGE Project facet grails.app has not been defined. It is used in plugin org.cloudfoundry.ide.eclipse.server.branding.

Eclipse plugin does not support SAML/One Time passcode configurations

We are integrating the login-server with SAML. The eclipse plugins only support authentication using local UAA accounts (or I believe direct LDAP integration also).

The plugins should be able to call the /login endpoint and determine that SAML is enabled and present the OTP options.

[Question] Collaborating on issues in the Pivotal tracker

Hi folks,
I'd like to understand how I can communicate that I'm fixing issues that are filed in the Pivotal tracker. For example, I'm working on a fix for this issue Add operation buttons to Env Variables wizard page., and before I send out the PR, I'd like to communicate that I'm working on this issue and maybe get the issue assigned to me in the Pivotal tracker. Am looking for the workflow of working between the tracker and github issues.

Refresh does not work in Remote Systems view does not update file content

Deploy apps.
Configure the target as a Server.
Load the files in RS view.
Open a file in editor.
Relaunch IDE.
Delete sever.
Delete the Remote Systems connection.
Redeploy the app.
Add the server.
Reopen the Remote Systems view.
Reopen the file.
See old content.Invoke Refresh.
Still see old content.

If I use cf files app path command I see new content.

Disconnecting and connecting to server does not help.

This may be an RSE Issue.

CF Int for Eclipse version:
Cloud Foundry Integration for Eclipse
Version: 1.7.0.201406182004-RELEASE

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.