Skip to content

chanijindal1/EC-WebLogic

 
 

Repository files navigation

EC-WebLogic

The ElectricFlow WebLogic integration

Compile

Run gradlew to compile the plugin

./gradlew

Tests

Compile And Upload

  1. Install git sudo apt-get install git
  2. Get this plugin git clone https://github.com/electric-cloud/EC-WebLogic.git
  3. Run gradlew to compile the plugin ./gradlew jar (in EC-Weblogic directory)
  4. Upload the plugin to EC server
  5. Create a configuration for the EC-Weblogic plugin.

####Prerequisite installation:#### 1.Installation of WebLogic Server: Download Windows Installation Linux Installation

2.[Create and Configure domain](https://docs.oracle.com/cd/E13222_01/wls/docs90/config_scripting/domains.html#1001190)

####Required files:#### 1. Create a file called ecplugin.properties inside EC-Weblogic directory with the below mentioned contents.

####Contents of ecplugin.properties:#### COMMANDER_SERVER=<COMMANDER_SERVER>(Commander server IP) COMMANDER_USER=<COMMANDER_USER> COMMANDER_PASSWORD=<COMMANDER_PASSWORD> WEBLOGIC_AGENT_IP=<WEBLOGIC_AGENT_IP>(IP of the Machine where Weblogic server is installed)

WEBLOGIC_USERNAME=<NEW_WEBLOGIC_USERNAME>(Username of the new Weblogic user)
WEBLOGIC_PASSWORD=<NEW_WEBLOGIC_PASSWORD>(Password of the new Weblogic user)

####Contents of Configurations.json:#### 1. Configurations.json is a configurable file. 2. Refer to the sample Configurations.json file, /src/test/java/ecplugins/weblogic/Configurations.json. It has to be updated with the user specific inputs. 3. Inputs should be valid and specific to the environment on which the tests are run. 4. Unit tests are ordered and will execute in a sequential manner as programmed. Same resource name should be used in the respective delete and create procedures to make the Unit Tests residueless. 5. Example: "CreateCluster": [{ "wlst_abs_path": "C:/Oracle/Middleware/Oracle_Home/Oracle_Common/common/bin/wlst.cmd", "configname": "newConfig", "cluster_name" : "newCluster", "multicast_address": "239.192.0.0", "multicast_port": "7040"

		}],
             
   "DeleteCluster": [{
		"wlst_abs_path": "C:/Oracle/Middleware/Oracle_Home/Oracle_Common/common/bin/wlst.cmd",
		"configname": "newConfig",
		"cluster_name" : "newCluster"

		}]

####Run the tests:##### ./gradlew test

About

ElectricFlow integration for WebLogic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 77.6%
  • Java 16.1%
  • Shell 2.9%
  • Other 2.2%
  • CSS 0.6%
  • Groovy 0.4%
  • Makefile 0.2%