You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by jh...@apache.org on 2023/05/11 08:38:26 UTC

[netbeans] branch master updated: Service Console has been deprecated - use new replacement URL (#5708)

This is an automated email from the ASF dual-hosted git repository.

jhorvath pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new 75bb740f9d Service Console has been deprecated - use new replacement URL (#5708)
75bb740f9d is described below

commit 75bb740f9d75f237159677f4f0410271b40ece52
Author: Tomas Hurka <to...@gmail.com>
AuthorDate: Thu May 11 10:38:16 2023 +0200

    Service Console has been deprecated - use new replacement URL (#5708)
---
 .../src/org/netbeans/modules/cloud/oracle/database/DatabaseNode.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/database/DatabaseNode.java b/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/database/DatabaseNode.java
index 94af7f8db6..c3ee9ad84b 100644
--- a/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/database/DatabaseNode.java
+++ b/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/database/DatabaseNode.java
@@ -44,6 +44,7 @@ import org.openide.util.NbBundle;
 public class DatabaseNode extends OCINode {
 
     private static final String DB_ICON = "org/netbeans/modules/cloud/oracle/resources/database.svg"; // NOI18N
+    private static final String SERVICE_CONSOLE_SUFFIX = "admin/_sdw/"; // NOI18N
 
     public DatabaseNode(DatabaseItem dbSummary) {
         super(dbSummary, Children.LEAF);
@@ -81,7 +82,7 @@ public class DatabaseNode extends OCINode {
                         DatabaseItem item = new DatabaseItem(
                                 OCID.of(d.getId(), "Databases"), //NOI18N
                                 d.getDbName(),
-                                d.getConnectionUrls().getApexUrl().replace("apex", "admin/_sdw"),
+                                d.getConnectionUrls().getOrdsUrl()+SERVICE_CONSOLE_SUFFIX,
                                 getConnectionName(profiles));
                         StringBuilder sb = new StringBuilder();
                         sb.append(Bundle.LBL_WorkloadType(d.getDbWorkload().getValue()));


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists