1 package com.oransc.rappmanager.models.rapp;
3 import com.oransc.rappmanager.models.rappinstance.RappACMInstance;
4 import com.oransc.rappmanager.models.rappinstance.RappInstance;
7 public class RappResourceBuilder {
9 public RappResources getResources() {
10 RappResources rappResources = new RappResources();
11 RappResources.ACMResources acmResources = new RappResources.ACMResources("compositions", Set.of());
12 acmResources.setCompositionInstances(Set.of("kserve-instance"));
13 rappResources.setAcm(acmResources);
17 public RappInstance getRappInstance() {
18 RappInstance rappInstance = new RappInstance();
19 RappACMInstance rappACMInstance = new RappACMInstance();
20 rappACMInstance.setInstance("kserve-instance");
21 rappInstance.setAcm(rappACMInstance);