<commit_before># Install the helloworld application
# TODO: use app from wasdev

serverName = "Test1"

application "HelloworldApp2" do

  path "/usr/local/helloworldApp"
  repository "http://central.maven.org/maven2/org/apache/tuscany/sca/samples/helloworld-webapp/2.0/helloworld-webapp-2.0.war"
  scm_provider Chef::Provider::RemoteFile::Deploy
  owner "wlp"
  group "wlp-admin"

  wlp_application do

    server_name serverName

    features [ "jsp-2.2", "servlet-3.0" ]

#   application name and location default to above "HelloworldApp" and path
#   config other application attributes via attributes here, eg:
#      application_type "war"
#      application_location "/some/file"
#      application_context_root "someroot"
#      application_auto_start "true"
#   or, to use a custom xml template from this cookbook:
#    application_xml_template "HelloworldApp.xml.erb"

  end

  wlp do
    server_name serverName
  end

end<commit_msg>Remove the use of the wlp provider as its all in wlp_application now<commit_after># Install the helloworld application
# TODO: use app from wasdev

serverName = "Test1"

application "HelloworldApp2" do

  path "/usr/local/helloworldApp"
  repository "http://central.maven.org/maven2/org/apache/tuscany/sca/samples/helloworld-webapp/2.0/helloworld-webapp-2.0.war"
  scm_provider Chef::Provider::RemoteFile::Deploy
  owner "wlp"
  group "wlp-admin"

  wlp_application do

    server_name serverName

    features [ "jsp-2.2", "servlet-3.0" ]

#   application name and location default to above "HelloworldApp" and path
#   config other application attributes via attributes here, eg:
#      application_type "war"
#      application_location "/some/file"
#      application_context_root "someroot"
#      application_auto_start "true"
#   or, to use a custom xml template from this cookbook:
#    application_xml_template "HelloworldApp.xml.erb"

  end

end
{'fraction_non_alphanumeric': 0.09272918861959958, 'fraction_numerical': 0.011591148577449948, 'mean_word_length': 4.064, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '309394', 'n_tokens_mistral': 631, 'n_tokens_neox': 611, 'n_words': 160}