Skip to content

Commit 5e635cc

Browse files
committed
Updated WLST data type compatibility check method to see "class java.lang.Log" and "<type 'javainstance'>" as being compatible with WLST long
1 parent 40e1182 commit 5e635cc

File tree

4 files changed

+507
-3
lines changed

4 files changed

+507
-3
lines changed

core/src/test/python/validation_test.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,18 @@ def setUp(self):
3333
self.wls_helper = WebLogicHelper(self._logger)
3434

3535
def testModelValidation(self):
36-
37-
_model_file = self._resources_dir + '/test_jms_mail.json'
3836
_method_name = 'testModelValidation'
3937

38+
_model_file = self._resources_dir + '/variablestest.yaml'
39+
_variable_file = self._resources_dir + '/variablestest.properties'
40+
_archive_file = self._resources_dir + '/variablestest.zip'
41+
4042
mw_home = os.environ['MW_HOME']
4143
args_map = {
4244
'-oracle_home': mw_home,
43-
'-model_file': _model_file
45+
'-model_file': _model_file,
46+
'-variable_file': _variable_file,
47+
'-archive_file': _archive_file
4448
}
4549

4650
model_context = ModelContext('ValidationTestCase', args_map)
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
SecurityConfiguration.CredentialEncrypted=welcome1
2+
SecurityConfiguration.NodeManagerUsername=weblogic
3+
SecurityConfiguration.NodeManagerPasswordEncrypted=welcome1
4+
JDBCSystemResource.MyPersistentStoreDS.JdbcResource.JDBCDriverParams.PasswordEncrypted=welcome1
5+
JDBCSystemResource.MyPersistentStoreDS.JdbcResource.JDBCDriverParams.Properties.user.Value=weblogic
6+
JDBCSystemResource.MyDataSource.JdbcResource.JDBCDriverParams.PasswordEncrypted=welcome1
7+
JDBCSystemResource.MyDataSource.JdbcResource.JDBCDriverParams.Properties.user.Value=weblogic
8+
MailSession.MyMailSession.SessionPasswordEncrypted=welcome1
9+
MailSession.MyMailSession.SessionUsername=weblogic
10+
MailSession.MailSession-0.SessionPasswordEncrypted=welcome1
11+
MailSession.MailSession-0.SessionUsername=weblogic
12+
JMSSystemResource.MyJmsModule.JmsResource.ForeignServer.MyForeignServer.JNDIPropertiesCredentialEncrypted=welcome1
13+
JMSSystemResource.MyJmsModule.JmsResource.SAFRemoteContext.MyRemoteSAFcontext.SAFLoginContext.PasswordEncrypted=welcome1
14+
JMSSystemResource.MyJmsModule.JmsResource.SAFRemoteContext.MyRemoteSAFcontext.SAFLoginContext.Username=weblogic
15+
JMSBridgeDestination.JMS-Bridge-Remote-Destination.UserName=weblogic
16+
JMSBridgeDestination.JMS-Bridge-Remote-Destination.UserPasswordEncrypted=welcome1
17+
WLDFSystemResource.MyWldfModule.WLDFResource.WatchNotification.RestNotification.MyRestAction.HttpAuthenticationPasswordEncrypted=welcome1
18+
WLDFSystemResource.MyWldfModule.WLDFResource.WatchNotification.RestNotification.MyRestAction.HttpAuthenticationUserName=weblogic

0 commit comments

Comments
 (0)