Sandor Molnar created KNOX-2154:
-----------------------------------

             Summary: 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
             Fix For: 1.4.0


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)

Reply via email to