sitebuilder
This commit is contained in:
parent
f3484dfa6d
commit
0de40a6d6d
@ -36,7 +36,7 @@ public class PortConstant {
|
||||
public static String GITEA_USERNAME;
|
||||
public static String SITE_BUILDER;
|
||||
public static String LOCAL_HOST;
|
||||
|
||||
public static String SUREOPS_NEW_DOMAIN;
|
||||
|
||||
public static String PROTOCOL;
|
||||
|
||||
@ -80,6 +80,7 @@ public class PortConstant {
|
||||
PROTOCOL = getUrlFromApi(backendPortalDomain, "PROTOCOL");
|
||||
LOCAL_HOST = getUrlFromApi(backendPortalDomain, "LOCAL_HOST");
|
||||
SITE_BUILDER = getUrlFromApi(backendPortalDomain, "SITE_BUILDER");
|
||||
SUREOPS_NEW_DOMAIN = getUrlFromApi(backendPortalDomain, "SUREOPS_NEW_DOMAIN");
|
||||
|
||||
} else {
|
||||
System.out.println("Error: BACKEND_PORTAL_DOMAIN could not be fetched.");
|
||||
|
||||
@ -111,4 +111,6 @@ public class SiteBuilderController {
|
||||
ResponseEntity<?> file = fileHelper.readFile(filepath, filename);
|
||||
return file;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -24,6 +24,7 @@ import com.realnet.realm.Entity.Realm;
|
||||
import com.realnet.realm.Services.RealmService;
|
||||
import com.realnet.users.entity1.AppUser;
|
||||
import com.realnet.users.service1.AppUserServiceImpl;
|
||||
import com.realnet.utils.PortConstant;
|
||||
import com.realnet.utils.RealNetUtils;
|
||||
import com.realnet.vpspack.Entity.SiteBuilder;
|
||||
import com.realnet.vpspack.Repository.SiteBuilderRepository;
|
||||
@ -132,7 +133,7 @@ public class SiteBuilderService {
|
||||
System.out.println(i + " file created ");
|
||||
}
|
||||
|
||||
String url = "http://157.66.191.31:30185/token/createfile1/182/345_123?folderName=" + siteBuilderName;
|
||||
String url = PortConstant.SUREOPS_NEW_DOMAIN + "/token/startContainer/182?folderName=" + siteBuilderName;
|
||||
|
||||
ResponseEntity<Object> get = GET(url);
|
||||
if (get.getStatusCodeValue() < 209) {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#Generated by Maven Integration for Eclipse
|
||||
#Wed Apr 30 08:44:40 IST 2025
|
||||
#Sat May 17 09:03:44 IST 2025
|
||||
artifactId=app
|
||||
groupId=com.realnet
|
||||
m2e.projectLocation=/Users/Gaurav Kumar/Desktop/Workspace/workspace 5/visa APP/visaproject/visaproject-back-b/authsec_springboot/backend
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user