-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EPMRPP-95887 removed api models and refactored te code
- Loading branch information
Showing
17 changed files
with
110 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/com/epam/ta/reportportal/dao/project/OrganizationProjectRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/main/java/com/epam/ta/reportportal/entity/organization/OrganizationProfile.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.epam.ta.reportportal.entity.organization; | ||
|
||
import java.time.Instant; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
@Getter | ||
@Setter | ||
public class OrganizationProfile { | ||
|
||
private Long id; | ||
private Instant createdAt; | ||
private Instant updatedAt; | ||
private String name; | ||
private String slug; | ||
private String externalId; | ||
private String type; | ||
private Integer launchesQuantity; | ||
private Instant lastRun; | ||
private Integer projectsQuantity; | ||
private Integer usersQuantity; | ||
|
||
} |
25 changes: 25 additions & 0 deletions
25
src/main/java/com/epam/ta/reportportal/entity/organization/OrganizationUserAccount.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.epam.ta.reportportal.entity.organization; | ||
|
||
import com.epam.ta.reportportal.entity.user.UserRole; | ||
import com.epam.ta.reportportal.entity.user.UserType; | ||
import java.time.Instant; | ||
import java.util.UUID; | ||
import lombok.Data; | ||
|
||
@Data | ||
public class OrganizationUserAccount { | ||
|
||
private Long id; | ||
private String fullName; | ||
private Instant createdAt; | ||
private Instant updatedAt; | ||
private UserRole instanceRole; | ||
private OrganizationRole orgRole; | ||
private UserType authProvider; | ||
private String email; | ||
private Instant lastLoginAt; | ||
private String externalId; | ||
private UUID uuid; | ||
private Integer projectCount; | ||
|
||
} |
22 changes: 22 additions & 0 deletions
22
src/main/java/com/epam/ta/reportportal/entity/project/ProjectProfile.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.epam.ta.reportportal.entity.project; | ||
|
||
import java.time.Instant; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
@Getter | ||
@Setter | ||
public class ProjectProfile { | ||
|
||
private Long id; | ||
private Long organizationId; | ||
private Instant createdAt; | ||
private Instant updatedAt; | ||
private String key; | ||
private String slug; | ||
private String name; | ||
|
||
private Integer launchesQuantity; | ||
private Instant lastRun; | ||
private Integer usersQuantity; | ||
} |
Oops, something went wrong.