Skip to content

META-249 Publish any version of package headers#53

Open
sherrif10 wants to merge 1 commit into
openmrs:masterfrom
sherrif10:META-249
Open

META-249 Publish any version of package headers#53
sherrif10 wants to merge 1 commit into
openmrs:masterfrom
sherrif10:META-249

Conversation

@sherrif10
Copy link
Copy Markdown
Member

@sherrif10
Copy link
Copy Markdown
Member Author

In consideration, Package headers are published in xml format using xstreams, modifying this class was to bring out the aspect of getting latestSubscriptionHeaderView with groupuuid and version which was already defined . kindly review this PR and your advise is highly appreciated cc. @dkayiwa , @mogoodrich , @mozzy11

@sherrif10
Copy link
Copy Markdown
Member Author

Kindly review this PR cc @ibacher ,@dkayiwa

@sherrif10
Copy link
Copy Markdown
Member Author

Kindly review this ticket @rkorytkowski @dkayiwa @ibacher

Copy link
Copy Markdown
Member Author

@sherrif10 sherrif10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM cc @dkayiwa @ibacher

+ "/download"));
model.addAttribute("header", header);
return new ModelAndView(subscriptionHeaderView, model.asMap());
return new ModelAndView((String) subscriptionHeaderView, model.asMap());
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this actually work? This seems like a weird cast...

*/
@Controller(MetadataSharingConsts.MODULE_ID + ".PublishController")
public class PublishController {
public class PublishController<GetLatestSubscriptionHeaderView> {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the type information here?

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.

2 participants