Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

application_wlp (2) Versions 0.2.0

Deploys and configures applications to WebSphere Application Server Liberty Profile

Policyfile
Berkshelf
Knife
cookbook 'application_wlp', '~> 0.2.0', :supermarket
cookbook 'application_wlp', '~> 0.2.0'
knife supermarket install application_wlp
knife supermarket download application_wlp
README
Dependencies
Quality 33%

Description

The application_wlp cookbook deploys applications to the WebSphere Application Server Liberty Profile.

Note that this cookbook provides the Liberty Profile specific bindings for the application cookbook; you will find general documentation in that cookbook.

Requirements

Chef:

  • Chef version 11.6 or greater

Platform:

  • Debian
  • Ubuntu
  • Centos
  • Redhat

Cookbooks:

  • application (~> 3.0)
  • wlp

Resources

The LWRPs provided by this cookbook are not meant to be used by themselves; make sure you are familiar with the application cookbook before proceeding.

wlp_application

Attribute Parameters

  • server_name:
  • features: Defaults to <code>[]</code>.
  • application_location:
  • config:
  • server_config: Defaults to <code>{"httpEndpoint"=>{"id"=>"defaultHttpEndpoint", "host"=>"*", "httpPort"=>"9080", "httpsPort"=>"9443"}}</code>.

Usage

Deploy an application to Liberty:
```ruby
application "my-app" do
path "/usr/local/my-app"
repository "/nas/distro/my-app.war"
revision "..."
scm_provider Chef::Provider::File::Deploy

wlp_application do
server_name "MyAppServer"
features [ "jsp-2.2", "servlet-3.0" ]
end
end

If you need to provide custom application configuration you can provide your own server.xml configuration:
ruby
application "my-app" do
path "/usr/local/my-app"
repository "/nas/distro/my-app.war"
revision "..."
scm_provider Chef::Provider::File::Deploy

wlp_application do
server_name "MyAppServer"
config ({
"featureManager" => {
"feature" => ["jsp-2.2" ] },
"application" => {
"name" => "myApp",
"location" => "/usr/local/my-app/current/my-app.war" }
})
end
end
```

Support

Use the issue tracker for reporting any bugs or enhancements. For any questions please use the WASdev forum.

The cookbook is maintained by IBM.

Notice

© Copyright IBM Corporation 2013.

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

application >= 4.1.2
wlp >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.2.0 passed this metric

Contributing File Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.2.0 failed this metric

FC016: LWRP does not declare a default action: application_wlp/resources/wlp_application.rb:1
FC064: Ensure issues_url is set in metadata: application_wlp/metadata.rb:1
FC065: Ensure source_url is set in metadata: application_wlp/metadata.rb:1
FC066: Ensure chef_version is set in metadata: application_wlp/metadata.rb:1
FC069: Ensure standardized license defined in metadata: application_wlp/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.2.0 passed this metric

Testing File Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number