Skip to content

Commit

Permalink
Рефакторинг MD пакетов (#1384)
Browse files Browse the repository at this point in the history
  • Loading branch information
marmyshev authored Dec 21, 2023
1 parent 7309f82 commit ce6eb37
Show file tree
Hide file tree
Showing 59 changed files with 891 additions and 299 deletions.
34 changes: 17 additions & 17 deletions bundles/com.e1c.v8codestyle.md/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,63 +24,63 @@
</category>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.check.ConfigurationDataLock">
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.configuration.check.ConfigurationDataLock">
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.check.MdObjectNameLength">
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.check.CommonModuleNameClient">
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameClient">
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.check.CommonModuleNameClientServer">
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameClientServer">
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.check.CommonModuleNameGlobal">
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameGlobal">
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.check.CommonModuleType">
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleType">
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.check.MdListObjectPresentationCheck">
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.check.MdScheduledJobDescriptionCheck">
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.scheduledjob.check.MdScheduledJobDescriptionCheck">
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.check.MdStandardAttributeSynonymEmpty">
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.md.check.MdScheduledJobPeriodicityCheck">
class="com.e1c.v8codestyle.md.scheduledjob.check.MdScheduledJobPeriodicityCheck">
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.md.check.RegisterResourcePrecisionCheck">
class="com.e1c.v8codestyle.md.register.check.RegisterResourcePrecisionCheck">
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.check.CommonModuleNameServerCallCheck">
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameServerCallCheck">
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.check.CommonModuleNameCachedCheck">
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameCachedCheck">
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.check.CommonModuleNameClientCachedCheck">
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameClientCachedCheck">
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.check.CommonModuleNameServerCallCachedCheck">
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameServerCallCachedCheck">
</check>
<check
category="com.e1c.v8codestyle.md"
Expand All @@ -100,15 +100,15 @@
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.md.check.SubsystemSynonymTooLongCheck">
class="com.e1c.v8codestyle.md.subsystem.check.SubsystemSynonymTooLongCheck">
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.check.CommonModuleNameGlobalClientCheck">
class="com.e1c.v8codestyle.internal.md.ExecutableExtensionFactory:com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNameGlobalClientCheck">
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.md.check.CommonModuleNamePrivilegedCheck">
class="com.e1c.v8codestyle.md.commonmodule.check.CommonModuleNamePrivilegedCheck">
</check>
<check
category="com.e1c.v8codestyle.md"
Expand All @@ -120,7 +120,7 @@
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.md.check.DocumentPostInPrivilegedModeCheck">
class="com.e1c.v8codestyle.md.document.check.DocumentPostInPrivilegedModeCheck">
</check>
<check
category="com.e1c.v8codestyle.md"
Expand All @@ -132,7 +132,7 @@
</check>
<check
category="com.e1c.v8codestyle.md"
class="com.e1c.v8codestyle.md.check.FunctionalOptionPrivilegedGetModeCheck">
class="com.e1c.v8codestyle.md.functionoption.check.FunctionalOptionPrivilegedGetModeCheck">
</check>
</extension>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ final class Messages
extends NLS
{
private static final String BUNDLE_NAME = Messages.class.getPackageName() + ".messages"; //$NON-NLS-1$
public static String CommonModuleNameClient_description;
public static String CommonModuleNameClient_message;
public static String DbObjectRefNonRefTypesCheck_Description;
public static String DbObjectRefNonRefTypesCheck_Ref_and_other;
public static String DbObjectRefNonRefTypesCheck_Title;
Expand All @@ -40,45 +38,16 @@ final class Messages
public static String MdObjectAttributeCommentNotExist_Param_Attribute_name_list;
public static String MdObjectAttributeCommentNotExist_title;
public static String MdObjectNameWithoutSuffix_Name_suffix_list_title;
public static String CommonModuleNameClient_title;
public static String CommonModuleNameClientServer_description;
public static String CommonModuleNameClientServer_message;
public static String CommonModuleNameClientServer_title;
public static String CommonModuleNamePrivilegedCheck_Description;
public static String CommonModuleNamePrivilegedCheck_Issue;
public static String CommonModuleNamePrivilegedCheck_Title;
public static String CommonModuleNameGlobal_Description;
public static String CommonModuleNameGlobal_Message;
public static String CommonModuleNameGlobal_Title;
public static String CommonModuleNameGlobalClientCheck_Description;
public static String CommonModuleNameGlobalClientCheck_Message;
public static String CommonModuleNameGlobalClientCheck_Title;
public static String CommonModuleType_description;
public static String CommonModuleType_message;
public static String CommonModuleType_title;
public static String ConfigurationDataLock_description;
public static String ConfigurationDataLock_message;
public static String ConfigurationDataLock_title;
public static String CommonModuleNameServerCallPostfixCheck_0;
public static String CommonModuleNameServerCallPostfixCheck_Common_module_name_description;
public static String CommonModuleNameServerCallPostfixCheck_Common_module_postfix_title;
public static String DbObjectAnyRefCheck_AnyRef;
public static String DbObjectAnyRefCheck_Description;
public static String DbObjectAnyRefCheck_Title;
public static String DbObjectMaxNumberLengthCheck_description;
public static String DbObjectMaxNumberLengthCheck_message;
public static String DbObjectMaxNumberLengthCheck_parameter;
public static String DbObjectMaxNumberLengthCheck_title;
public static String DocumentPostInPrivilegedModeCheck_description;
public static String DocumentPostInPrivilegedModeCheck_message_Post_in_privileged_mode;
public static String DocumentPostInPrivilegedModeCheck_message_Unpost_in_privileged_mode;
public static String DocumentPostInPrivilegedModeCheck_title;
public static String ExtensionMdObjectNamePrefixCheck_Description;
public static String ExtensionMdObjectNamePrefixCheck_Object_0_should_have_1_prefix;
public static String ExtensionMdObjectNamePrefixCheck_Title;
public static String FunctionalOptionPrivilegedGetModeCheck_description;
public static String FunctionalOptionPrivilegedGetModeCheck_message;
public static String FunctionalOptionPrivilegedGetModeCheck_title;
public static String MdObjectNameLength_description;
public static String MdObjectNameLength_Maximum_name_length_description;
public static String MdObjectNameLength_message;
Expand All @@ -93,24 +62,9 @@ final class Messages
public static String MdOwnerAttributeSynonymEmpty_Description;
public static String MdOwnerAttributeSynonymEmpty_owner_ErrorMessage;
public static String MdOwnerAttributeSynonymEmpty_parent_ErrorMessage;
public static String MdScheduledJobDescriptionCheck_title;
public static String MdScheduledJobDescriptionCheck_description;
public static String MdScheduledJobDescriptionCheck_message;
public static String MdScheduledJobPeriodicityCheck_description;
public static String MdScheduledJobPeriodicityCheck_The_minimum_job_interval_is_less_then_minute;
public static String MdScheduledJobPeriodicityCheck_title;
public static String MdScheduledJobPeriodicityCheck_Minimum_job_interval_description;
public static String UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase;
public static String UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase_description;
public static String UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase_error;
public static String RegisterResourcePrecisionCheck_description;
public static String RegisterResourcePrecisionCheck_message;
public static String RegisterResourcePrecisionCheck_title;
public static String SubsystemSynonymTooLongCheck_description;
public static String SubsystemSynonymTooLongCheck_Exclude_languages_comma_separated;
public static String SubsystemSynonymTooLongCheck_Length_of_section_name_more_than_symbols_for_language;
public static String SubsystemSynonymTooLongCheck_Maximum_section_name_length;
public static String SubsystemSynonymTooLongCheck_title;
static
{
// initialize resource bundle
Expand Down
Original file line number Diff line number Diff line change
@@ -1,52 +1,4 @@

CommonModuleNameClientServer_description = Client-server common module should end with ClientServer suffix

CommonModuleNameClientServer_message = Client-server common module should end with "{0}" suffix

CommonModuleNameClientServer_title = Client-server common module should end with ClientServer suffix

CommonModuleNameClient_description = Client common module should end with Client suffix

CommonModuleNameClient_message = Client common module name should end with "{0}" suffix

CommonModuleNameClient_title = Client common module should end with Client suffix

CommonModuleNameGlobalClientCheck_Description = Client global common module should end with Client suffix

CommonModuleNameGlobalClientCheck_Message = Client global common module should not have "{0}" suffix

CommonModuleNameGlobalClientCheck_Title = Client global common module should end with Client suffix

CommonModuleNameGlobal_Description = Global common module should end with Global suffix

CommonModuleNameGlobal_Message = Global common module should end with "{0}" suffix

CommonModuleNameGlobal_Title = Global common module should end with Global suffix

CommonModuleNamePrivilegedCheck_Description = Privileged common module should end with FullAccess suffix

CommonModuleNamePrivilegedCheck_Issue = Privileged common module should end with "{0}" suffix

CommonModuleNamePrivilegedCheck_Title = Privileged common module should end with FullAccess suffix

CommonModuleNameServerCallPostfixCheck_0 = Common module should end with {0}

CommonModuleNameServerCallPostfixCheck_Common_module_name_description = Common module should end with correct postfix

CommonModuleNameServerCallPostfixCheck_Common_module_postfix_title = Common module should end with correct postfix

CommonModuleType_description = Common module has incorrect type

CommonModuleType_message = Common module for type "{0}" has incorrect settings: {1}

CommonModuleType_title = Common module has incorrect type

ConfigurationDataLock_description = Application should use managed data lock mode

ConfigurationDataLock_message = Application should use managed data lock mode

ConfigurationDataLock_title = Configuration data lock mode

DbObjectAnyRefCheck_AnyRef = Do not use composite types AnyRef, CatalogRef, DocumentRef, and other for standard metadata objects stored in the infobase.

DbObjectAnyRefCheck_Description = Do not use composite types AnyRef, CatalogRef, DocumentRef, and other for standard metadata objects stored in the infobase.
Expand All @@ -67,26 +19,12 @@ DbObjectRefNonRefTypesCheck_Ref_and_other = Composite type attributes used in jo

DbObjectRefNonRefTypesCheck_Title = Restrictions on the use of composite type attributes

DocumentPostInPrivilegedModeCheck_title = In document that allow posting don't set flag "Post/Unpost in privileged mode"
DocumentPostInPrivilegedModeCheck_description = In document that allow posting don't set flag "Post/Unpost in privileged mode"

DocumentPostInPrivilegedModeCheck_message_Post_in_privileged_mode = In document that allow posting don't set flag "Post in privileged mode"
DocumentPostInPrivilegedModeCheck_message_Unpost_in_privileged_mode = In document that allow posting don't set flag "Unpost in privileged mode"

ExtensionMdObjectNamePrefixCheck_Description = The object name of the extension object does not have a prefix corresponding to the prefix of the extension itself

ExtensionMdObjectNamePrefixCheck_Object_0_should_have_1_prefix = The object "{0}" should have "{1}" prefix

ExtensionMdObjectNamePrefixCheck_Title = Extension object name does not have extension prefix

FunctionalOptionPrivilegedGetModeCheck_message = Functional option don't use privileged get mode
FunctionalOptionPrivilegedGetModeCheck_description = Functional option don't use privileged get mode

FunctionalOptionPrivilegedGetModeCheck_title = Functional option don't use privileged get mode
MdListObjectPresentationCheck_Neither_Object_presentation_nor_List_presentation_is_not_filled = Neither Object presentation nor List presentation is not filled

MdListObjectPresentationCheck_decription = Neither Object presentation nor List presentation is not filled
Expand Down Expand Up @@ -141,36 +79,6 @@ MdOwnerAttributeSynonymEmpty_owner_ErrorMessage = Synonym of the 'Owner' standar

MdOwnerAttributeSynonymEmpty_parent_ErrorMessage = Synonym of the 'Parent' standard attribute is not specified

MdScheduledJobDescriptionCheck_description = The description of the predefine sheduled job is set
MdScheduledJobDescriptionCheck_message = The description of the predefine sheduled job is set
MdScheduledJobDescriptionCheck_title = The description of the predefine sheduled job is set
MdScheduledJobPeriodicityCheck_Minimum_job_interval_description = Minimum job interval
MdScheduledJobPeriodicityCheck_The_minimum_job_interval_is_less_then_minute = The minimum job interval is less then {0}s
MdScheduledJobPeriodicityCheck_description = The minimum job interval is less then {0}s
MdScheduledJobPeriodicityCheck_title = The minimum job interval is less then {0}s
RegisterResourcePrecisionCheck_description = Accumulation or accounting register resource precision is more than 25
RegisterResourcePrecisionCheck_message = Accumulation or accounting register resource "{0}" precision is more than {1}
RegisterResourcePrecisionCheck_title = Accumulation or accounting register resource precision is more than 25
SubsystemSynonymTooLongCheck_Exclude_languages_comma_separated = Exclude languages (codes, comma-separated)
SubsystemSynonymTooLongCheck_Length_of_section_name_more_than_symbols_for_language = Length of section synonym "{0}" more than {1} symbols for language {2}
SubsystemSynonymTooLongCheck_Maximum_section_name_length = Maximum section name length
SubsystemSynonymTooLongCheck_description = Section name is more than 35 characters long
SubsystemSynonymTooLongCheck_title = Section name is more than 35 characters long
UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase = Avoid storing passwords in the infobase

UnsafePasswordStorageCheck_Avoid_storing_password_in_infobase_description = To minimize risks of unauthorized access to passwords, avoid storing passwords in the infobase.
Expand Down
Loading

0 comments on commit ce6eb37

Please sign in to comment.