{"id":351157,"date":"2023-08-02T15:05:31","date_gmt":"2023-08-02T15:05:31","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=351157"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=351157","title":{"rendered":"<span>Nexus RM \u2014 OSS \u2014 Tips<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h3>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430<\/h3>\n<p>\u0412 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 registry \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u0447\u0443\u0434\u043e\u043c \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043b\u0438 \u0434\u0432\u0430 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u043f\u043e\u0440\u0442\u0430 \u043d\u0430 http \u0438 https &#8212; \u043e\u043d\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435.\u041f\u043e\u0441\u043b\u0435 \u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0430 nexus \u043d\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0438\u0437-\u0437\u0430 \u044d\u0442\u043e\u0433\u043e:<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\"><code>attributes.docker.httpsPort: HTTP and HTTPs ports must be different<\/code><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>\u041a\u0430\u043a \u044f \u044d\u0442\u043e \u043b\u0435\u0447\u0438\u043b \u0432 \u043a\u0443\u0431\u0435\u0440\u0435<\/h3>\n<p>\u0412\u0430\u0436\u043d\u043e: \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0434\u043e\u043a\u0435\u0440 \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043a\u043e\u043c\u0443 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u0411\u0414, \u0435\u0441\u043b\u0438 \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c &#8212; \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043f\u043e\u0442\u043e\u043c \u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u043d\u0435 \u0447\u0438\u0442\u0430\u0435\u043c\u044b\u0435 &#8212; \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u0442\u043e\u043c \u0434\u0435\u043b\u0430\u0442\u044c chown \u043d\u0430 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<p>\u0417\u0430\u0439\u0442\u0438 \u043d\u0430 \u043d\u043e\u0434\u0443, \u043a\u0443\u0434\u0430 \u0437\u0430\u0446\u0435\u043f\u0438\u043b\u0441\u044f pv\/pvc<\/p>\n<pre><code>docker run --rm -ti -v \/var\/lib\/kubelet\/plugins\/kubernetes.io\/csi\/pv\/pv-nexus-dev\/globalmount:\/tmp1 sonatype\/nexus3:3.39.0 \/bin\/bash java -jar \/opt\/sonatype\/nexus\/lib\/support\/nexus-orient-console.jar<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432:<\/p>\n<pre><code>connect plocal:\/tmp1\/db\/config admin admin orientdb {db=config}> select * from repository limit 100 +----+------+---------+------+---------+---------+---------+---------------------------------------------------------------------------------------------+ |#   |@RID  |@CLASS   |online|recipe_na|routingRu|repositor|attributes                                                                                   | +----+------+---------+------+---------+---------+---------+---------------------------------------------------------------------------------------------+ |0   |#37:0 |reposi...|true  |nuget-...|         |nuget-...|{storage={writePolicy=ALLOW, blobStoreName=default}}                                         | |1   |#37:1 |reposi...|true  |nuget-...|         |nuget-...|{group={memberNames=[nuget-hosted, nuget.org-proxy]}, storage={blobStoreName=default}}       | |2   |#37:2 |reposi...|true  |maven2...|         |maven-...|{maven={versionPolicy=SNAPSHOT, layoutPolicy=STRICT}, storage={writePolicy=ALLOW, strictCo...| |3   |#37:3 |reposi...|true  |maven2...|         |maven-...|{maven={versionPolicy=MIXED}, group={memberNames=[maven-releases, maven-snapshots, maven-c...| |4   |#37:4 |reposi...|true  |maven2...|         |maven-...|{proxy={contentMaxAge=-1.0, remoteUrl=https:\/\/repo1.maven.org\/maven2\/, metadataMaxAge=1440...| |5   |#37:5 |reposi...|true  |maven2...|         |web-ma...|{maven={versionPolicy=RELEASE, layoutPolicy=STRICT}, storage={strictContentTypeValidation=...| |6   |#37:6 |reposi...|true  |maven2...|         |web-ma...|{cleanup={policyName=[None]}, maven={versionPolicy=RELEASE, layoutPolicy=STRICT}, storage=...| |7   |#37:7 |reposi...|true  |pypi-h...|         |kkryuc...|{cleanup={policyName=[None]}, component={proprietaryComponents=false}, storage={strictCont...| |8   |#37:8 |reposi...|true  |npm-ho...|         |npm-pr...|{storage={strictContentTypeValidation=true, writePolicy=ALLOW_ONCE, blobStoreName=default}}  |<\/code><\/pre>\n<p>\u0412\u044b\u0432\u0435\u0441\u0442\u0438 \u043d\u0443\u0436\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443:<\/p>\n<pre><code>select * from repository where @RID = \"#38:3\" +----+-----+---------+------+---------+---------+---------+---------------------------------------------------------------------------------------------+ |#   |@RID |@CLASS   |online|recipe_na|routingRu|repositor|attributes                                                                                   | +----+-----+---------+------+---------+---------+---------+---------------------------------------------------------------------------------------------+ |0   |#38:3|reposi...|true  |docker...|         |docker...|{component={proprietaryComponents=false}, docker={v1Enabled=true, forceBasicAuth=true, htt...| +----+-----+---------+------+---------+---------+---------+---------------------------------------------------------------------------------------------+<\/code><\/pre>\n<p>\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u0435\u0439:<\/p>\n<pre><code>orientdb {db=config}> DISPLAY RAW RECORD 0   LOW LEVEL CLUSTER INFO status: PRESENT cluster fieldId: 9109013009270833256 cluster name: repository_1 in cluster position: 3 empty: false contentSize: 351 n-pages: 1   +----------PAGE_ID---------------+------IN_PAGE_POSITION----------+---------IN_PAGE_SIZE-----------+----PAGE_CONTENT---->> | 1 | 3 | 360 |ZFoBAAAAFHJlcG9zaXRvcnmDAQAAACufAQAAATydAQAAAUqjAQAAAVmhAQAAAAAABgcSY29tcG9uZW50AAAAVwwHDGRvY2tlcgAAAHUMBw5zdG9yYWdlAAAAzAwCBypwcm9wcmlldGFyeUNvbXBvbmVudHMAAAB0AAAIBxJ2MUVuYWJsZWQAAAC6AAccZm9yY2VCYXNpY0F1dGgAAAC7AAcSaHR0cHNQb3J0AAAAvAUHEGh0dHBQb3J0AAAAxAUBAUC\/kwAAAAAAQL+TAAAAAAAIBzZzdHJpY3RDb250ZW50VHlwZVZhbGlkYXRpb24AAAEoAAcWd3JpdGVQb2xpY3kAAAEpBwcYbGF0ZXN0UG9saWN5AAABLwAHGmJsb2JTdG9yZU5hbWUAAAEwBwEKQUxMT1cAFmRvY2tlci1ibG9iGmRvY2tlci1ob3N0ZWQcZG9ja2VyLXByaXZhdGUBAf\/\/\/\/\/\/\/\/\/\/   RECORD CONTENT INFO  class name: repository  fail on Reading: false  fail position: 0  number of properties : 5    PROPERTIES   property name: attributes   property type: EMBEDDEDMAP   property globalId: 65   fail on reading: false   property value: {component={proprietaryComponents=false}, docker={v1Enabled=true, forceBasicAuth=true, httpsPort=8083.0, httpPort=8083.0}, storage={strictContentTypeValidation=true, writePolicy=ALLOW, latestPolicy=false, blobStoreName=docker-blob}}     property name: recipe_name   property type: STRING   property globalId: 79   fail on reading: false   property value: docker-hosted     property name: repository_name   property type: STRING   property globalId: 78   fail on reading: false   property value: docker-private     property name: online   property type: BOOLEAN   property globalId: 81   fail on reading: false   property value: true     property name: routingRuleId   property type: LINK   property globalId: 80   fail on reading: false   property value: null<\/code><\/pre>\n<p>\u0421\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u0435\u043a\u0430\u043f:<\/p>\n<pre><code>export database \/tmp1\/config.export Exporting current database to: database \/tmp1\/config.export in GZipped JSON format ...   Started export of database 'config' to \/tmp1\/config.export.gz... Exporting database info...OK .......<\/code><\/pre>\n<p>\u0412 \u0444\u0430\u0439\u043b\u0435 \u0431\u0435\u043a\u0430\u043f\u0430 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u0438\u0448\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043f\u0440\u043e\u0430\u043f\u0434\u0435\u0439\u0442\u0438\u0442\u044c:<\/p>\n<p><strong>#  \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u043a\u0430\u0436\u0434\u0443\u044e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0443 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e &#8212; \u0442\u043e\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0437\u043d\u0430\u043a \u0440\u0430\u0432\u043d\u043e<\/strong>  <\/p>\n<pre><code>update repository set attributes.component={\"proprietaryComponents\":false}  where @RID=\"#38:3\" update repository set attributes.docker={\"v1Enabled\":true,\"forceBasicAuth\":true,\"httpPort\":8083.0} where @RID=\"#38:3\"<\/code><\/pre>\n<p>PS:<\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u044b:  <\/p>\n<pre><code>orientdb {db=config}> LIST CLASSES CLASSES +----+------------------------+-------------+-------------------------------------------------------+-----+ |#   |NAME                    |SUPER-CLASSES|CLUSTERS                                               |COUNT| +----+------------------------+-------------+-------------------------------------------------------+-----+ |0   |capability              |             |capability(29),capability_1(30)                        |   13| |1   |change_repo_blobstore   |             |change_repo_blobstore(54),change_repo_blobstore_1(55)  |    0| |2   |cleanup                 |             |cleanup(35),cleanup_1(36)                              |    3| |3   |deploymentidentifier    |             |deploymentidentifier(49)                               |    1| |4   |E                       |             |e(11),e_1(12)                                          |    0| |5   |email                   |             |email(34)                                              |    1| |6   |firewall_ignore_patterns|             |firewall_ignore_patterns(22)                           |    1| |7   |healthcheckconfig       |             |healthcheckconfig(23),healthcheckconfig_1(24)          |   25| |8   |http_client             |             |http_client(33)                                        |    1| |9   |key_store               |             |key_store(27),key_store_1(28)                          |    2| |10  |ldap                    |             |ldap(14),ldap_1(15)                                    |    0| |11  |ldap_connection         |             |ldap_connection(18),ldap_connection_1(19)              |    0| |12  |ldap_host               |             |ldap_host(16),ldap_host_1(17)                          |    0| |13  |ldap_mapping            |             |ldap_mapping(20),ldap_mapping_1(21)                    |    0| |14  |log4j_visualizer        |             |log4j_visualizer(56)                                   |    0| |15  |OFunction               |             |ofunction(6)                                           |    0|<\/code><\/pre>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr><\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p> <!----> <!----><\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/751970\/\"> https:\/\/habr.com\/ru\/articles\/751970\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h3>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430<\/h3>\n<p>\u0412 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 registry \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u0447\u0443\u0434\u043e\u043c \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043b\u0438 \u0434\u0432\u0430 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u043f\u043e\u0440\u0442\u0430 \u043d\u0430 http \u0438 https &#8212; \u043e\u043d\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435.\u041f\u043e\u0441\u043b\u0435 \u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0430 nexus \u043d\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0438\u0437-\u0437\u0430 \u044d\u0442\u043e\u0433\u043e:<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p align=\"left\"><code>attributes.docker.httpsPort: HTTP and HTTPs ports must be different<\/code><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>\u041a\u0430\u043a \u044f \u044d\u0442\u043e \u043b\u0435\u0447\u0438\u043b \u0432 \u043a\u0443\u0431\u0435\u0440\u0435<\/h3>\n<p>\u0412\u0430\u0436\u043d\u043e: \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0434\u043e\u043a\u0435\u0440 \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043a\u043e\u043c\u0443 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u0411\u0414, \u0435\u0441\u043b\u0438 \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c &#8212; \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043f\u043e\u0442\u043e\u043c \u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u043d\u0435 \u0447\u0438\u0442\u0430\u0435\u043c\u044b\u0435 &#8212; \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u0442\u043e\u043c \u0434\u0435\u043b\u0430\u0442\u044c chown \u043d\u0430 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<p>\u0417\u0430\u0439\u0442\u0438 \u043d\u0430 \u043d\u043e\u0434\u0443, \u043a\u0443\u0434\u0430 \u0437\u0430\u0446\u0435\u043f\u0438\u043b\u0441\u044f pv\/pvc<\/p>\n<pre><code>docker run --rm -ti -v \/var\/lib\/kubelet\/plugins\/kubernetes.io\/csi\/pv\/pv-nexus-dev\/globalmount:\/tmp1 sonatype\/nexus3:3.39.0 \/bin\/bash java -jar \/opt\/sonatype\/nexus\/lib\/support\/nexus-orient-console.jar<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432:<\/p>\n<pre><code>connect plocal:\/tmp1\/db\/config admin admin orientdb {db=config}> select * from repository limit 100 +----+------+---------+------+---------+---------+---------+---------------------------------------------------------------------------------------------+ |#   |@RID  |@CLASS   |online|recipe_na|routingRu|repositor|attributes                                                                                   | +----+------+---------+------+---------+---------+---------+---------------------------------------------------------------------------------------------+ |0   |#37:0 |reposi...|true  |nuget-...|         |nuget-...|{storage={writePolicy=ALLOW, blobStoreName=default}}                                         | |1   |#37:1 |reposi...|true  |nuget-...|         |nuget-...|{group={memberNames=[nuget-hosted, nuget.org-proxy]}, storage={blobStoreName=default}}       | |2   |#37:2 |reposi...|true  |maven2...|         |maven-...|{maven={versionPolicy=SNAPSHOT, layoutPolicy=STRICT}, storage={writePolicy=ALLOW, strictCo...| |3   |#37:3 |reposi...|true  |maven2...|         |maven-...|{maven={versionPolicy=MIXED}, group={memberNames=[maven-releases, maven-snapshots, maven-c...| |4   |#37:4 |reposi...|true  |maven2...|         |maven-...|{proxy={contentMaxAge=-1.0, remoteUrl=https:\/\/repo1.maven.org\/maven2\/, metadataMaxAge=1440...| |5   |#37:5 |reposi...|true  |maven2...|         |web-ma...|{maven={versionPolicy=RELEASE, layoutPolicy=STRICT}, storage={strictContentTypeValidation=...| |6   |#37:6 |reposi...|true  |maven2...|         |web-ma...|{cleanup={policyName=[None]}, maven={versionPolicy=RELEASE, layoutPolicy=STRICT}, storage=...| |7   |#37:7 |reposi...|true  |pypi-h...|         |kkryuc...|{cleanup={policyName=[None]}, component={proprietaryComponents=false}, storage={strictCont...| |8   |#37:8 |reposi...|true  |npm-ho...|         |npm-pr...|{storage={strictContentTypeValidation=true, writePolicy=ALLOW_ONCE, blobStoreName=default}}  |<\/code><\/pre>\n<p>\u0412\u044b\u0432\u0435\u0441\u0442\u0438 \u043d\u0443\u0436\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443:<\/p>\n<pre><code>select * from repository where @RID = \"#38:3\" +----+-----+---------+------+---------+---------+---------+---------------------------------------------------------------------------------------------+ |#   |@RID |@CLASS   |online|recipe_na|routingRu|repositor|attributes                                                                                   | +----+-----+---------+------+---------+---------+---------+---------------------------------------------------------------------------------------------+ |0   |#38:3|reposi...|true  |docker...|         |docker...|{component={proprietaryComponents=false}, docker={v1Enabled=true, forceBasicAuth=true, htt...| +----+-----+---------+------+---------+---------+---------+---------------------------------------------------------------------------------------------+<\/code><\/pre>\n<p>\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u0435\u0439:<\/p>\n<pre><code>orientdb {db=config}> DISPLAY RAW RECORD 0   LOW LEVEL CLUSTER INFO status: PRESENT cluster fieldId: 9109013009270833256 cluster name: repository_1 in cluster position: 3 empty: false contentSize: 351 n-pages: 1   +----------PAGE_ID---------------+------IN_PAGE_POSITION----------+---------IN_PAGE_SIZE-----------+----PAGE_CONTENT---->> | 1 | 3 | 360 |ZFoBAAAAFHJlcG9zaXRvcnmDAQAAACufAQAAATydAQAAAUqjAQAAAVmhAQAAAAAABgcSY29tcG9uZW50AAAAVwwHDGRvY2tlcgAAAHUMBw5zdG9yYWdlAAAAzAwCBypwcm9wcmlldGFyeUNvbXBvbmVudHMAAAB0AAAIBxJ2MUVuYWJsZWQAAAC6AAccZm9yY2VCYXNpY0F1dGgAAAC7AAcSaHR0cHNQb3J0AAAAvAUHEGh0dHBQb3J0AAAAxAUBAUC\/kwAAAAAAQL+TAAAAAAAIBzZzdHJpY3RDb250ZW50VHlwZVZhbGlkYXRpb24AAAEoAAcWd3JpdGVQb2xpY3kAAAEpBwcYbGF0ZXN0UG9saWN5AAABLwAHGmJsb2JTdG9yZU5hbWUAAAEwBwEKQUxMT1cAFmRvY2tlci1ibG9iGmRvY2tlci1ob3N0ZWQcZG9ja2VyLXByaXZhdGUBAf\/\/\/\/\/\/\/\/\/\/   RECORD CONTENT INFO  class name: repository  fail on Reading: false  fail position: 0  number of properties : 5    PROPERTIES   property name: attributes   property type: EMBEDDEDMAP   property globalId: 65   fail on reading: false   property value: {component={proprietaryComponents=false}, docker={v1Enabled=true, forceBasicAuth=true, httpsPort=8083.0, httpPort=8083.0}, storage={strictContentTypeValidation=true, writePolicy=ALLOW, latestPolicy=false, blobStoreName=docker-blob}}     property name: recipe_name   property type: STRING   property globalId: 79   fail on reading: false   property value: docker-hosted     property name: repository_name   property type: STRING   property globalId: 78   fail on reading: false   property value: docker-private     property name: online   property type: BOOLEAN   property globalId: 81   fail on reading: false   property value: true     property name: routingRuleId   property type: LINK   property globalId: 80   fail on reading: false   property value: null<\/code><\/pre>\n<p>\u0421\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u0435\u043a\u0430\u043f:<\/p>\n<pre><code>export database \/tmp1\/config.export Exporting current database to: database \/tmp1\/config.export in GZipped JSON format ...   Started export of database 'config' to \/tmp1\/config.export.gz... Exporting database info...OK .......<\/code><\/pre>\n<p>\u0412 \u0444\u0430\u0439\u043b\u0435 \u0431\u0435\u043a\u0430\u043f\u0430 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u0438\u0448\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043f\u0440\u043e\u0430\u043f\u0434\u0435\u0439\u0442\u0438\u0442\u044c:<\/p>\n<p><strong>#  \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u043a\u0430\u0436\u0434\u0443\u044e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0443 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e &#8212; \u0442\u043e\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0437\u043d\u0430\u043a \u0440\u0430\u0432\u043d\u043e<\/strong>  <\/p>\n<pre><code>update repository set attributes.component={\"proprietaryComponents\":false}  where @RID=\"#38:3\" update repository set attributes.docker={\"v1Enabled\":true,\"forceBasicAuth\":true,\"httpPort\":8083.0} where @RID=\"#38:3\"<\/code><\/pre>\n<p>PS:<\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u044b:  <\/p>\n<pre><code>orientdb {db=config}> LIST CLASSES CLASSES +----+------------------------+-------------+-------------------------------------------------------+-----+ |#   |NAME                    |SUPER-CLASSES|CLUSTERS                                               |COUNT| +----+------------------------+-------------+-------------------------------------------------------+-----+ |0   |capability              |             |capability(29),capability_1(30)                        |   13| |1   |change_repo_blobstore   |             |change_repo_blobstore(54),change_repo_blobstore_1(55)  |    0| |2   |cleanup                 |             |cleanup(35),cleanup_1(36)                              |    3| |3   |deploymentidentifier    |             |deploymentidentifier(49)                               |    1| |4   |E                       |             |e(11),e_1(12)                                          |    0| |5   |email                   |             |email(34)                                              |    1| |6   |firewall_ignore_patterns|             |firewall_ignore_patterns(22)                           |    1| |7   |healthcheckconfig       |             |healthcheckconfig(23),healthcheckconfig_1(24)          |   25| |8   |http_client             |             |http_client(33)                                        |    1| |9   |key_store               |             |key_store(27),key_store_1(28)                          |    2| |10  |ldap                    |             |ldap(14),ldap_1(15)                                    |    0| |11  |ldap_connection         |             |ldap_connection(18),ldap_connection_1(19)              |    0| |12  |ldap_host               |             |ldap_host(16),ldap_host_1(17)                          |    0| |13  |ldap_mapping            |             |ldap_mapping(20),ldap_mapping_1(21)                    |    0| |14  |log4j_visualizer        |             |log4j_visualizer(56)                                   |    0| |15  |OFunction               |             |ofunction(6)                                           |    0|<\/code><\/pre>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr><\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p> <!----> <!----><\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/751970\/\"> https:\/\/habr.com\/ru\/articles\/751970\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-351157","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/351157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=351157"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/351157\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=351157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=351157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=351157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}