Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: generate rights localconfig #129

Merged
merged 1 commit into from
Nov 28, 2022

Conversation

frisonisland
Copy link
Contributor

Issue

When calling generate-rights target from withing store module, the task tries to read localconfig under /opt/zextras.

Proposed solution

By setting zimbra.config we can tell the class to load the configuration from a specific file.
This file contains minimal information: the zimbra_home path (as current directory). The reason is it will load attrs.xml definition defined in it.

These changes were already made in maven migration: 6f6ec69

@frisonisland frisonisland merged commit 30f13eb into devel Nov 28, 2022
@frisonisland frisonisland deleted the fix/generate-rights-localconfig branch November 28, 2022 15:30
frisonisland added a commit that referenced this pull request Dec 15, 2022
* chore: add release-it (#121)

* chore: add release-it and update README.md

* chore: add CHANGELOG.md

* chore(Jenkinsfile): release-it integration

* chore(Jenkinsfile): add devel repository (#122)

* fix:[CO-440] properly de-register authToken (#119)

- properly remove account AuthToken to invalidate the session cookie
in Soap EndSession

* fix: zimbraReverseProxyDnsLookupInServerEnabled false (#118)

* fix: zimbraReverseProxyDnsLookupInServerEnabled false
* chore(pre-commit): exclude attrs.xml from lint
*chore(attrs.xml): re-apply changes
* chore(attrs.xml): improve zimbraReverseProxyDnsLookupInServerEnabled description

* fix:[CO-457] delete orphaned cert-key pair from domain SSL dir (#126)

* fix: delete orphaned certificate key
pair from domain cert dir

* chore: remove temp null checks

* chore: show in logs if obsolete cert key file is not deletable

* fix(generate-rights): use custom localconfig (#129)

* feat: [CO-459] add new white-label management attributes (#128)

* feat: add primary color attributes for domain entries

* chore: add attribute for Web Ui banner text

* feat: run generate-getters in store

* feat: run generate-rights in store

* feat(attrs.xml): zimbraClamAVDatabaseMirror multiAttr (#130)

* feat(attrs.xml): zimbraClamAVDatabaseMirror multiAttr

* chore: change default clamAV db + description

* chore: generate-getters

* refactor: maven build (#131)

* refactor: move java -> main/java, java-test -> test/java

* refactor: import pom changes from feature/maven-build branch

* chore: adapt Jenkinsfile

* refactor: remove ant and ivy build files

* chore: store + store-conf maven

* chore: minor changes

* chore(zm-native): native dir in main/native

* refactor: move soap-docs classes in soap module

* refactor: store db/hsqldb -> main/db/hsqldb
* refactor: com.zimbra.qa -> test/java/qa
* refactor:  AccountTestUtil moved from qa to src/main/com.zimbra.cs.service.admin

* refactor: store db/hsqldb -> main/db/hsqldb
* chore: DbTag non-final
* refactor: DbTag verify methods to DbTagTestUtil (extends DbTag)
* refactor: TagTest, AuthTest, TestTnefTimezone, RunUnitTests to test classes

* refactor: move test resources location
* refactor: MailboxTestUtil resources location
* refactor: HSQLDB resources location

* refactor: fix hsqldb resources location

* fix: test resources location ref

* fix: test resources crlf

* fix: MimeTest carriage return

* fix: MimeTest

* fix: ignore MimeTest migration info

* chore: MimeTest bug95114 files content

* chore: MimeTest bug95114 files content (2)

* chore: MimeTest CRLF

* chore: snapshot on chore/maven-build

* chore: 23.1.0-SNAPSHOT

* chore: distribution management release repository

* feat: [CO-467] add carbonioCalAVDatabaseCustomURL global multi-attr (#132)

* feat:[CO-475] add carbonio features attributes (#133)

* feat: add attribute definitions

* chore: generate java code and rights definition

Co-authored-by: Keshav Bhatt <keshavnrj@gmail.com>
Co-authored-by: Keshav Bhatt <keshavbhatt@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants