Using "https://devspace.sh/" in Ubuntu, Is it possible to have KNIME, Kafka and python be used for containerizing in dev space? Currently their documentation is about the react, vue and other web based apps only.
Yes. DevSpace works with any language, any framework and any IDE. So, you can definitely work on a python application using the hot reloading feature and then also deploy a Kafka cluster using DevSpace which you are using from the python application.
Check out the Helm deployments section for details on how to deploy Kafka using DevSpace's Helm integration: https://devspace.sh/cli/docs/configuration/deployments/helm-charts
Related
this is a very simple question to which I am not able to find a simple answer: how can I implement log4js to run in a react app?
I have tried to install the npm package https://www.npmjs.com/package/log4js
But this one seems to be made to run in a node application, and not a react application. the documentation is very scarce about how to use log4js in a react app. I can't find anything to help me.
log4j is a backend service,it's used to log events that happen on the backend, you can use it with a backend framework that would be the api and database of your application.
react is a frontend framework, you can use a client side logger library such as
https://github.com/pimterry/loglevel to log your errors in development.
if you want to keep getting logs in production (after you deploy your website)
use this plugin to send logs to your server
https://github.com/kutuluk/loglevel-plugin-remote
Back in Android Studio 2.0 you could just add a Cloud Endpoints 1.0 backend module and it would generate for you a sample project that used Objectify. It was very convenient.
However, Android Studio 3.0 no longer has this feature and Cloud Endpoints 2.0 requires you use IntelliJ Ultimate edition to generate a App Engine Standard Environment project. However... IntelliJ Ultimate edition costs $500 and it doesn't appear a sample project with Objectify is created... Sigh...
So my question is, what is the best way to create a sample Cloud Endpoints project that uses Objectify? Because as of right now there appears to be no clear way from reading the documentation unless you want to shell out $500 for IntelliJ Ultimate edition.
Am I missing something??
I would suggest using the sample app as a start. You can import it as a Gradle project to Android Studio. Adding Objectify manually shouldn't be too difficult from there.
In addition to what is commented in the previous answer, if there are any doubts regarding how to use Objectify with App Engine, you can check out this code for integrating Objectify on a Java application.
You can run it using Maven as this:
mvn clean package
mvn appengine:run
After running it locally, you can deploy the app and check it works correctly:
mvn appengine:deploy
Once you check it works and understand the code, you can integrate it with the sample app indicated in the previous answer and combine them to create your Endpoints project with Objectify.
I have an angularjs app with a c# webapi . The repo for the angular app is stash and the c# restapi is in TFS. Is it possible/easy to create an automated build and deployment environment for this stack? What are possible solutions for this? Does anyone have a blogpost abt. this?
There is two way to integrate with Bitbucket repo and TFS for now:
Option 1: One-Time import of source code form Bitbucket
Option 2: Stick with Bitbucket and trigger CI on VSTS/TFS
Note it's not a real CI
While this is not exactl what some people might expect from CI
(because it doesn’t really build on every check-in) for most scenarios
this should be good enough. Especially if your build process is
running for a longer time this shouldn’t be an issue at all.
Details please refer this tutorial: Integrating VSTS with Bitbucket, you could also take a look at this blog: Visual Studio Team Services: Connecting a BitBucket Repository
For the CI/CD of angular app/angularjs/asp.net web api, even though there is not a blog full described everything. You still could refer some similar related blogs(even for Azure) and setup your own pipeline, use NPM to install packages/dependencies:
Setting up a CI pipeline for deploying your Angular application to
Azure using Visual Studio Team Services and GitHub
Define a continuous integration build for your Node.js app
How to deploy a pure Angular application from Visual Studio Team System to Azure websites
Is gulp-connect a suitable server for an AngularJs app in a Production environment? If not is their an alternative I can use with gulp and nodejs?
I've started learning AngularJs and am using gulp-connect in my dev environment and am wondering if it would be suitable for production.
I would suggest to have a look on http://expressjs.com/ and http://restify.com/ also you can see bit of a comparison in the following article. http://techblog.netflix.com/search?q=node.js
I have been trying to find a way to deploy a Dropwizard app on Google AppEngine, but I haven't found anything so far.
Judging by this question (and answer) I think it might not be possible.
I would like to be sure about that, and If it does work, I'd like to learn how.
There is a dropwizard fork called warwizard which apparently lets you create war files from your dropwizard code, but it has not been touched for over 6 months, which would likely make it difficult to work with using the dropwizard docs.
Dropwizard is just Jersey+Jackson+Jetty bundled together nicely. Jetty and App Engine won't get along (that is, App Engine is already running Jetty, so it doesn't want the application to provide its own).
You're probably best off using Jersey and Jackson without Dropwizard tying them together: http://blog.iparissa.com/googles-app-engine-java/google-app-engine-jax-rs-jersey/ & http://www.cowtowncoder.com/blog/archives/2009/11/entry_338.html
You can however, run Dropwizard on Google Compute Engine. Which is basically just linux VMs provided by Google, with access to their APIs if needed.
I manged to get my Dropwizard instance working by doing the following on GCE:
Install Java
sudo apt-get install java7-runtime-headless
Open firewall ports:
gcutil addfirewall rest --description="http" --allowed="tcp:8080
gcutil addfirewall admin --description="admin" --allowed="tcp:8081"
Copy file to GCE
gcutil --project={project-id} push {instance-name} {local-file} {remote-target-path}
Run your app
java -jar your-app.jar server your-config.yml
EDIT: there is also another alternative called wiztowar https://github.com/twilio/wiztowar which supports DW 0.6.2 only.
I've been trying to solve this issue for the past two month. Here are my findings:
1- Yes, you can deploy Dropwizard as a WAR file. You need to use some hacks like Wizard in a box or WizToWar
2- No! You can't deploy that WAR file on AppEngine standard environment.
Why?
The main issue is that AppEngine is using servlet-api v2.5 (which is more than 10 years old!) and has no plan to upgrade to servlet-api v3 or higher. Dropwizard on the other hand require servlet-api v3 or higher.
BUT wait! there is another option
You can deploy Dropwizard on App Engine Flexible Environment
App Engine Flex is still in beta, but I've heard it will be available for public usage in Q1 2017. If you want to use it now, you have to ask for that to be enabled for you.
How do you deploy on App Engine Flex?
-> I've put all the steps on doing that in a blog post here:
Deploying Dropwizard on App Engine Flex