GithubHelp home page GithubHelp logo

xebialabs-community / xld-azure-app-services-plugin Goto Github PK

View Code? Open in Web Editor NEW
1.0 30.0 3.0 116 KB

XLD plugin for Azure App Services

License: MIT License

Python 90.51% Java 9.49%
xld azure xl-deploy

xld-azure-app-services-plugin's Introduction

XL Deploy plugin for Azure App Services

CI status

Build Status Codacy Code Climate License: MIT Github All Releases

Overview

The Azure App Service plugin is an XL Deploy plugin that has the ability to deploy to the Azure App Service backend.

Features

  • Supports the discovery of resource groups, service plans and web apps for a given subscription
  • Supports Azure Web App deployments
    • Application Settings
    • Connection Strings
  • Supports webjobs
    • Triggered
    • Continuous
  • Define Application Service Plan
  • Resource Group creation via control task

Requirements

  • XLD Server 6+
  • Version 6.x of this plugin is NOT compatible with XLD 7.x

Installation

Plugin can be downloaded directly from the plugin's repository on Github.

Place the plugin XLDP file into <xld-home>/plugins directory.

Azure Connection Information

Azure connection settings are defined in an azure.Subscription configuration item under the Infrastructure node in the XL Deploy repository.

Property Description
subscriptionId Azure subscription
tenantId Tenant Id
clientId Client Id
clientKey Client Key
ftpUser Ftp User
ftpPassword Ftp Password

Please refer to the Create an Azure Active Directory application section in Create Service Principal documentation for setting up and obtaining a Client Id, Client Key and Tenant Id

For information on setting up FTP credentials, please refer to Deployment Credentions

Discovery

azure.Subscription supports XL Deploy's discovery feature. Discovery of the following types are supported :

  • Resource Group (azure.ResourceGroup)
  • Web App (azure.WebAppModule)

Deployable Types

Deployable Target Container
azure.AppServicePlanSpec azure.ResourceGroup
azure.WebApp azure.ResourceGroup
azure.TriggeredWebJobModule azure.ResourceGroup
azure.ContinuousWebJobModule azure.ResourceGroup

xld-azure-app-services-plugin's People

Contributors

jdewinne avatar ndebuhr avatar xebialabs-se avatar

Stargazers

 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

xld-azure-app-services-plugin's Issues

Can't connect to Azure

Hey guys,

I am having trouble making any connection to azure using the new plugin. I realize that may no be your problem :) but was looking for a little help. I thought perhaps it was a firewall problem. I followed the directions here (https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-create-service-principal-portal) and using those creds (except for the ftp user) I am able to connect. First does the check connection use the ftp user, and if so does it have to be in any special format? Any tips, I can't seem to make headway.

Error I get when Checking connection:
Error while executing script [azure_app_services/check_connection.py]: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: connect in <script> at line number 21
com.xebialabs.platform.script.jython.JythonException: Error while executing script [azure_app_services/check_connection.py]: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: connect in <script> at line number 21

Thanks!
Bernie

What needs to be included on classpath for install?

Hey There,

I was trying to load the plugin into our sandbox xld and got an error:
java.lang.IllegalArgumentException: Unknown enum-class supplied for property sku of kind ENUM: com.microsoft.azure.management.websites.models.SkuOptions

I assume I need to add some stuff to the lib directory. Can you let me know what I need to add to load and use the plugin?

Thanks!
Bernie

gson library version too low

This plugin is transitively using gson 2.2.4. Since plugins share the same classloader it can break other plugins that rely on newer versions of gson depending on the order that libraries are loaded. Here is an example from an in-house plugin:

java.lang.NoSuchMethodError: com.google.gson.JsonArray.add(Ljava/lang/String;)V

That method was added in gson 2.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.