Cloud Foundry Eclipse Plug-In Connects With MySQL, PostgreSQL DBs
The Cloud Foundry team announced a new release of its plug-in for Eclipse that enable developers to connect to their data stored in the popular MySQL and PostgreSQL databases.The Cloud Foundry team has announced a new release of the Cloud Foundry plug-in for Eclipse. According to the team, this release of the plug-in serves as another major step in Cloud Foundry's commitment to Java and Spring developers. With this update, the Cloud Foundry Eclipse plug-in now allows developers to connect to their data stored in the popular MySQL and PostgreSQL databases, directly from their integrated development environment (IDE) or command line, without changing their applications. "In the course of developing, testing and deploying cloud applications, developers sometimes need to directly access the application data," said Nieraj Singh, a member of the Cloud Foundry team in a blog post. "The Cloud Foundry Integration for Eclipse advances this capability and now features the ability to launch external command-line applications for Cloud Foundry services like MySQL and PostgreSQL. The plug-in offers Spring and Java developers using Eclipse or STS [Spring Tool Suite] a way to manipulate, or port the data contained in their Cloud Foundry applications more easily." An earlier release of the Cloud Foundry plug-in (1.1.0) introduced tunneling support for data services, and the command-line application feature in 1.4.0 now extends the support by automatically resolving tunnel values when launching a command-line application for a Cloud Foundry service, Singh said. "In addition, a set of predefined commands for executing commonly used command-line applications are available by default, and ready to use if the external command-line application is installed and set in the operating system's PATH environment variable."
These commands are launched from within Eclipse or STS, and executed in an external command-line terminal, Singh added. "New commands can be defined either through a new Eclipse preference page for Cloud Foundry, or by opening a "Service Tunnel Commands" wizard from the Services table in the Cloud Foundry Server editor," he said. "The commands are stored as Eclipse preferences and therefore persisted across Eclipse runtime sessions."