stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swgkg <>
Subject [GitHub] stratos pull request: Making signup button available only when app...
Date Tue, 15 Sep 2015 06:16:51 GMT
Github user swgkg commented on a diff in the pull request:
    --- Diff: components/
    @@ -1147,15 +1151,18 @@ public static ApplicationBean convertStubApplicationContextToApplicationDefiniti
             if (applicationContext == null) {
                 return null;
    +        Application application = ApplicationManager.getApplications().getApplication(applicationContext.getApplicationId());
             ApplicationBean applicationDefinition = new ApplicationBean();
    -        applicationDefinition.setStatus(applicationContext.getStatus());
    +        if (application.getStatus().name().equals(APPLICATION_STATUS_ACTIVE)) {
    --- End diff --
    Can't we reuse the ApplicationStatus enum without declaring the additional constant of

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message