領先一步
VMware 提供培訓和認證,以加速您的進步。
瞭解更多dm Server 2.0.0.M5 現已可用,可以從此處下載。
我們正接近 2.0.0 釋出週期的尾聲,因此此里程碑中的大部分工作都集中在鎖定使用者互動模型上。 檢視 M5 發行說明,瞭解我們一直在努力的完整詳細資訊。 請繼續在我們的部落格、論壇和 JIRA 上發表評論,提供您的反饋。
另請關注部落格,瞭解有關此“新增功能”中引用的許多新功能的詳細帖子。
現在可以將屬性檔案部署在pickup目錄或任何已配置的儲存庫中。 然後可以在 OSGi 的ConfigurationAdmin中訪問這些檔案的內容,PID 指定為檔名,不帶.properties副檔名。
計劃現在可以具有用於替換的全域性定義的屬性。
<attributes>
<attribute name="version" value="[1.0.0, 2.0.0)"/>
</attributes>
<artifact type="bundle" name="org.springframework.context.support" version="${version}"/>
計劃中的工件可以定義屬性,這些屬性在部署時會轉換為 Bundle 清單標頭。
<artifact type="bundle" name="my.webapp" version="[1.0.0, 2.0.0)">
<property name="Web-ContextPath" value="/foo"/>
</artifact>
管理控制檯的“工件”頁面已進行改進,以將使用者安裝的工件的依賴項呈現為樹。 此外,這些樹的每個級別都延遲載入,從而提高了載入時間效能。
dm Server 現在附帶一個命令列 shell,以取代以前使用的 Equinox 控制檯。 可以使用-shell啟動命令在本地訪問此控制檯。
$ bin/startup.sh -shell
<KE0001I> Kernel starting.
<KE0002I> Kernel started.
<SH0001I> dm Kernel ssh shell available on port 2402.
@@@ ***
@@@ ***** .__. .__. .__. .__.
@@@@ ****** __| | _____ _____.| |__ ____ | | | |
@@@@@@ **** / __ | / \ / ___/| | \ ./ __ \ | | | |
@@@@@ *** / /_/ || Y Y \ \___ \ | Y \\ ___/ | |__| |__
@@@ *** \______||__|_|__/ /_____/ |___|__/ \____/ |____/|____/
Type 'help' to see the available commands.
:>
您還可以透過 SSH 訪問此命令列 shell,使用與 Web 和 JMX 訪問相同的登入憑據。
$ ssh -p 2402 admin@localhost
admin@localhost's password:
@@@ ***
@@@ ***** .__. .__. .__. .__.
@@@@ ****** __| | _____ _____.| |__ ____ | | | |
@@@@@@ **** / __ | / \ / ___/| | \ ./ __ \ | | | |
@@@@@ *** / /_/ || Y Y \ \___ \ | Y \\ ___/ | |__| |__
@@@ *** \______||__|_|__/ /_____/ |___|__/ \____/ |____/|____/
Type 'help' to see the available commands.
:>
我們還對 dm Server 的各個基礎結構部分進行了一些更改。 首先,儲存庫區域已簡化為僅包含ext和usr資料夾。usr資料夾配置為受監視的儲存庫,這意味著您無需重新啟動伺服器即可引用已新增到該資料夾的捆綁包。
該config/目錄已展平,並且憑據儲存和金鑰庫已移動。 金鑰庫現在位於config/keystore。 憑據儲存現在位於config/com.springsource.kernel.users.properties中,並在屬性檔案格式中指定了使用者和角色。
##################
# User definitions
##################
user.admin=springsource
##################
# Role definitions
##################
role.admin=admin
最後但並非最不重要的一點是,dm Kernel 現在是一個獨立的可執行發行版。 您可以直接從原始碼構建 zip 包,或者從 此處 下載。