Skip to content

Commit

Permalink
Merge branch 'feature/2270' into feature/shibui-2270
Browse files Browse the repository at this point in the history
  • Loading branch information
chasegawa committed Aug 17, 2022
2 parents ecf7bf9 + e52d502 commit a5763c2
Show file tree
Hide file tree
Showing 2 changed files with 711 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
package edu.internet2.tier.shibboleth.admin.ui.domain;

import lombok.Data;
import org.hibernate.envers.Audited;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.UUID;

@Entity(name = "shib_configuration_prop")
@Audited
@Data
public class ShibConfigurationProperty {
@Id
@Column(name = "resource_id", nullable = false)
String resourceId = UUID.randomUUID().toString();

@Column(name = "category", nullable = false)
String category;

@Column(name = "config_file", nullable = false)
String configFile;

@Column(name = "default_value", nullable = false)
String defaultValue;

@Column(name = "description")
String description;

@Column(name = "idp_version", nullable = false)
String idpVersion;

@Column(name = "module")
String module;

@Column(name = "module_version")
String moduleVersion;

@Column(name = "note")
String note;

@Column(name = "property_name", nullable = false)
String propertyName;

@Column(name = "property_type", nullable = false)
PropertyType propertyType;

@Column(name = "property_value", nullable = false)
String propertyValue;
}

enum PropertyType {
BOOLEAN, DURATION, INTEGER, SELECTION_LIST, SPRING_BEAN_ID, STRING
}
Loading

0 comments on commit a5763c2

Please sign in to comment.