[
https://issues.apache.org/jira/browse/KNOX-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17000706#comment-17000706
]
ASF subversion and git services commented on KNOX-2154:
-------------------------------------------------------
Commit 56ab602d8f0e9ec92bfa083cc14badce8169468c in knox's branch
refs/heads/master from Sandor Molnar
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=56ab602 ]
KNOX-2154 - Allow KNOX service during topology generation without URLs and
parameters (#226)
> KNOX service should be added during topology generation
> -------------------------------------------------------
>
> Key: KNOX-2154
> URL: https://issues.apache.org/jira/browse/KNOX-2154
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.4.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Fix For: 1.4.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently, the {{manager}}, {{admin}} and {{knoxsso}} topologies are released
> together with Knox. If we wanted to replace them with providers/descriptors
> we should create similar descriptors to these:
> {code:java}
> {
> "provider-config-ref": "manager",
> "services": [
> {
> "name": "KNOX"
> }
> ],
> "applications": [
> {
> "name": "admin-ui"
> }
> ]
> } {code}
> {code:java}
> {
> "provider-config-ref": "admin",
> "services": [
> {
> "name": "KNOX"
> }
> ]
> } {code}
> {code:java}
> {
> "provider-config-ref": "knoxsso",
> "services": [
> {
> "name": "KNOXSSO",
> "params": {
> "knoxsso.cookie.secure.only": "true",
> "knoxsso.token.ttl": "86400000"
> }
> }
> ],
> "applications": [
> {
> "name": "knoxauth"
> }
> ]
> }{code}
>
> As you can see, in case of {{manager}} and {{admin}} descriptors the {{KNOX}}
> service does not have neither any {{url}} nor any {{parameter}} defined. This
> will result in the {{KNOX}} service being excluded from the generated
> topology -> the Admin API/UI won't work as expected.
> Recommended solution: allow the {{KNOX}} service to be included even if there
> is no {{url/param}} set in the descriptor.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)