[ 
https://issues.apache.org/jira/browse/KNOX-2053?focusedWorklogId=328460&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-328460
 ]

ASF GitHub Bot logged work on KNOX-2053:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/Oct/19 10:26
            Start Date: 15/Oct/19 10:26
    Worklog Time Spent: 10m 
      Work Description: smolnar82 commented on pull request #164: KNOX-2053 - 
New REST API to create/read/update/delete service definitions
URL: https://github.com/apache/knox/pull/164#discussion_r334871282
 
 

 ##########
 File path: 
gateway-provider-rewrite-common/src/main/java/org/apache/knox/gateway/filter/rewrite/impl/xml/XmlUrlRewriteRulesExporter.java
 ##########
 @@ -59,7 +59,11 @@ public String getFormat() {
   }
 
   @Override
-  public void store( UrlRewriteRulesDescriptor descriptor, Writer writer ) 
throws IOException {
+  public Object store(UrlRewriteRulesDescriptor descriptor, Writer writer) 
throws IOException {
+    return store(descriptor, writer, false);
+  }
+
+  public Object store( UrlRewriteRulesDescriptor descriptor, Writer writer, 
boolean omitXmlHeader ) throws IOException {
 
 Review comment:
   No, JAXB does not handle interfaces.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 328460)
    Time Spent: 50m  (was: 40m)

> Add Service Definition Management to Admin API
> ----------------------------------------------
>
>                 Key: KNOX-2053
>                 URL: https://issues.apache.org/jira/browse/KNOX-2053
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: Server
>            Reporter: Larry McCay
>            Assignee: Sandor Molnar
>            Priority: Major
>             Fix For: 1.4.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Currently, the Admin API allows management and access to topologies, 
> descriptors, provider config, etc but does not provide access to the Service 
> Definitions for the proxied services.
> Let's expand the API the include to include service defs and allow for 
> customization through the API. Changes made via the API will typically 
> require a restart and touch of an topology file that is referencing the 
> change service def. This may require a separate Jira and effort to address. 
> In the meantime, we should be able to change, add and delete service 
> definitions including both service and rewrite XML files.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to